text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_2562572_22 (dominant_religion__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)
<</SYS>>
SELECT dominant_religion__2002_ FROM table_2562572_22 WHERE cyrillic_name_other_names = "Станишић"[/INST] Name the dominant religion for станишић</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27734769_9 (high_rebounds VARCHAR, team VARCHAR)
<</SYS>>
SELECT high_rebounds FROM table_27734769_9 WHERE team = "Minnesota"[/INST] Who did the high rebounds for the team Minnesota?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_3 (year VARCHAR, nominee VARCHAR)
<</SYS>>
SELECT year FROM table_name_3 WHERE nominee = "martin sheen"[/INST] In what year was Martin Sheen nominated?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25711913_2 (field_goals VARCHAR, position VARCHAR)
<</SYS>>
SELECT COUNT(field_goals) FROM table_25711913_2 WHERE position = "Left end"[/INST] How many numbers were recorded on the fields goals of the Left End player?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (country VARCHAR, to_par VARCHAR)
<</SYS>>
SELECT country FROM table_name_76 WHERE to_par = "+4"[/INST] What is the country for the player who had a To Par of +4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (released VARCHAR, dvd_name VARCHAR)
<</SYS>>
SELECT released FROM table_name_64 WHERE dvd_name = "escape to river cottage"[/INST] What was escape to river cottage released?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_79 (lost INTEGER, name VARCHAR, played VARCHAR)
<</SYS>>
SELECT MIN(lost) FROM table_name_79 WHERE name = "esc holzkirchen" AND played < 14[/INST] Which Lost is the lowest one that has a Name of esc holzkirchen, and Played smaller than 14?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23423_2 (deaths_per_year VARCHAR, life_expectancy_females VARCHAR)
<</SYS>>
SELECT deaths_per_year FROM table_23423_2 WHERE life_expectancy_females = "66.3"[/INST] How many deaths per year have 66.3 as the life expectancy females?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_96 (wins INTEGER, losses VARCHAR)
<</SYS>>
SELECT MIN(wins) FROM table_name_96 WHERE losses = 2[/INST] What is the lowest amount of wins of someone who has 2 losses?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_39 (nationality VARCHAR, date VARCHAR)
<</SYS>>
SELECT nationality FROM table_name_39 WHERE date = "8 may 1942"[/INST] Which Nationality has a Date of 8 may 1942?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (country VARCHAR, player VARCHAR)
<</SYS>>
SELECT country FROM table_name_49 WHERE player = "rocco mediate"[/INST] What Country is Rocco Mediate from?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE mill (architect_id VARCHAR); CREATE TABLE architect (id VARCHAR, name VARCHAR, gender VARCHAR); CREATE TABLE bridge (architect_id VARCHAR)
<</SYS>>
SELECT T1.id, T1.name, T1.gender FROM architect AS T1 JOIN bridge AS T2 ON T1.id = T2.architect_id GROUP BY T1.id HAVING COUNT(*) = 2 UNION SELECT T1.id, T1.name, T1.gender FROM architect AS T1 JOIN mill AS T2 ON T1.id = T2.architect_id GROUP BY T1.id HAVING COUNT(*) = 1[/INST] What are the ids, names and genders of the architects who built two bridges or one mill?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26982362_2 (title VARCHAR, original_airdate VARCHAR)
<</SYS>>
SELECT title FROM table_26982362_2 WHERE original_airdate = "April 23, 2010"[/INST] What is the title of the episode whose original airdate is April 23, 2010?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (outgoing_manager VARCHAR, replaced_by VARCHAR)
<</SYS>>
SELECT outgoing_manager FROM table_name_62 WHERE replaced_by = "michael oenning"[/INST] What is the name of the manager that was replaced by Michael Oenning?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11963601_11 (series VARCHAR, game VARCHAR)
<</SYS>>
SELECT series FROM table_11963601_11 WHERE game = 5[/INST] What was the series count at for game 5? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (number_of_dances INTEGER, place VARCHAR, average VARCHAR)
<</SYS>>
SELECT MIN(number_of_dances) FROM table_name_83 WHERE place < 2 AND average < 27.5[/INST] What is the lowest number of dances with a less than 2 place and an average smaller than 27.5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (year_introduced INTEGER, memory__gb_ VARCHAR)
<</SYS>>
SELECT MAX(year_introduced) FROM table_name_26 WHERE memory__gb_ = "0.125–2"[/INST] Which Year Introduced has a Memory (GB) of 0.125–2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_6 (away_team VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT away_team AS score FROM table_name_6 WHERE home_team = "fitzroy"[/INST] What is the away team score when Home team is fitzroy?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (location VARCHAR, year INTEGER)
<</SYS>>
SELECT location FROM table_name_82 WHERE year > 2012[/INST] What was the location for a year later than 2012?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_30 (opponent VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_30 WHERE attendance = "60,066"[/INST] Who was the opponent in the game that had an attendance of 60,066?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (bask VARCHAR, indoor_track VARCHAR, school VARCHAR)
<</SYS>>
SELECT bask FROM table_name_69 WHERE indoor_track = "yes" AND school = "valparaiso"[/INST] What is the basketball status for Valparaiso who has an indoor track status of yes?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (rank INTEGER, player VARCHAR)
<</SYS>>
SELECT SUM(rank) FROM table_name_62 WHERE player = "matt ruth"[/INST] Which Rank has a Player of matt ruth?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (city_location VARCHAR, pole_position VARCHAR, winning_driver VARCHAR)
<</SYS>>
SELECT city_location FROM table_name_70 WHERE pole_position = "rick mears" AND winning_driver = "rick mears"[/INST] Where did Rick Mears win, after starting in Pole Position?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (date VARCHAR, championship VARCHAR)
<</SYS>>
SELECT date FROM table_name_72 WHERE championship = "mackay"[/INST] What is Date, when Championship is Mackay?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (Severe INTEGER, strongest_storm VARCHAR, tropical_lows VARCHAR)
<</SYS>>
SELECT MIN(Severe) AS tropical_cyclones FROM table_name_88 WHERE strongest_storm = "tiffany" AND tropical_lows > 10[/INST] What is the least number of tropical cyclones when the strongest storm was Tiffany and less than 10 tropical lows.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_48 (competition VARCHAR, away_result VARCHAR, season VARCHAR)
<</SYS>>
SELECT competition FROM table_name_48 WHERE away_result = "0–3" AND season = "1969-70"[/INST] Away result of 0–3, and a Season of 1969-70 is what competition?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_39 (version VARCHAR, genre VARCHAR, title VARCHAR)
<</SYS>>
SELECT version FROM table_name_39 WHERE genre = "action" AND title = "hairball"[/INST] What is Version, when Genre is "Action", and when Title is "Hairball"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_45 (season INTEGER, coach VARCHAR, actual_adjusted_record VARCHAR)
<</SYS>>
SELECT AVG(season) FROM table_name_45 WHERE coach = "fisher" AND actual_adjusted_record = "0–11"[/INST] What is the average Season for coach Fisher, and an actual adjusted record of 0–11?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_13 (away_team VARCHAR, footytab_winner VARCHAR)
<</SYS>>
SELECT away_team FROM table_name_13 WHERE footytab_winner = "st. george"[/INST] What is the Away team when the FootyTAB winner was st. george?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_45 (pick__number VARCHAR, player VARCHAR)
<</SYS>>
SELECT pick__number FROM table_name_45 WHERE player = "brent meeke"[/INST] What is the Pick # for brent meeke?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_34 (result VARCHAR, city VARCHAR)
<</SYS>>
SELECT result FROM table_name_34 WHERE city = "halifax"[/INST] What was the result of the game in halifax?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_10818465_1 (ga_date VARCHAR, processor_frequency VARCHAR)
<</SYS>>
SELECT ga_date FROM table_10818465_1 WHERE processor_frequency = "1.0, 1.2, 1.4GHz"[/INST] What ga date do the models with 1.0, 1.2, 1.4ghz processor frequencies have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_61 (attendance VARCHAR, record VARCHAR)
<</SYS>>
SELECT attendance FROM table_name_61 WHERE record = "34-51"[/INST] Name the attendance with record of 34-51</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (result VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT result FROM table_name_41 WHERE attendance = "82,113"[/INST] What are the results for the game with 82,113 attending?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_48 (played INTEGER, first_game VARCHAR, drawn VARCHAR)
<</SYS>>
SELECT AVG(played) FROM table_name_48 WHERE first_game = 1997 AND drawn > 0[/INST] What is the average number of games played associated with a first game in 1997 and over 0 games drawn?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (score VARCHAR, home VARCHAR)
<</SYS>>
SELECT score FROM table_name_64 WHERE home = "kings"[/INST] Home of kings had what score?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (top_10 VARCHAR, starts VARCHAR, avg_finish VARCHAR)
<</SYS>>
SELECT COUNT(top_10) FROM table_name_69 WHERE starts = 7 AND avg_finish < 16.7[/INST] How many top 10s belong to the team with a start of 7 and an average finish less than 16.7?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (Id VARCHAR)
<</SYS>>
SELECT MAX(1970) FROM table_name_81 WHERE 1960 < 61.9 AND 1980 < 3.8 AND 1990 = 3.3 AND 2000 > 3.2[/INST] What is the highest value for 1970, when the value for 1960 is less than 61.9, when the value for 1980 is less than 3.8, when the value for 1990 is 3.3, and when the value for 2000 is greater than 3.2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11236195_2 (losingteam VARCHAR, score VARCHAR)
<</SYS>>
SELECT losingteam FROM table_11236195_2 WHERE score = "24-12"[/INST] Which losing team had a score of 24-12?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_95 (year INTEGER, round VARCHAR, winner VARCHAR)
<</SYS>>
SELECT SUM(year) FROM table_name_95 WHERE winner = "ivanovic" AND "ivanovic" > 4 AND round = "r16"[/INST] What year did Ivanovic win with Ivanovic greater than 4 and round of R16?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2186447_1 (opponents VARCHAR, score VARCHAR)
<</SYS>>
SELECT opponents FROM table_2186447_1 WHERE score = "5–7, 6–7 (4–7)"[/INST] Who was playing when the score was 5–7, 6–7 (4–7)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (competition VARCHAR, date VARCHAR)
<</SYS>>
SELECT competition FROM table_name_42 WHERE date = "august 11, 1996"[/INST] Which competition was on August 11, 1996?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (date VARCHAR, venue VARCHAR)
<</SYS>>
SELECT date FROM table_name_47 WHERE venue = "junction oval"[/INST] what is the date when the venue is junction oval?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (first_elected INTEGER, district VARCHAR, committee VARCHAR)
<</SYS>>
SELECT MAX(first_elected) FROM table_name_99 WHERE district = "06.0 6" AND committee = "economic matters"[/INST] What is the Highest first elected year that has a district of 06.0 6, and a committee of economic matters?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_95 (general_election VARCHAR, _number_of_seats_won VARCHAR, _number_of_candidates VARCHAR)
<</SYS>>
SELECT COUNT(general_election) FROM table_name_95 WHERE _number_of_seats_won < 23 AND _number_of_candidates > 108[/INST] How many general elections that have won smaller than 23 with candidates larger than 108?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14598_5 (s_hindu VARCHAR, buddhist VARCHAR)
<</SYS>>
SELECT COUNT(s_hindu) FROM table_14598_5 WHERE buddhist = "73.0%"[/INST] What is the data point for s hindu where the buddhist data point is 73.0%?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (rank INTEGER, points VARCHAR, team VARCHAR, name VARCHAR)
<</SYS>>
SELECT SUM(rank) FROM table_name_87 WHERE team = "tau cerámica" AND name = "igor rakočević" AND points > 377[/INST] What's the rank of Igor Rakočević of Tau Cerámica with more than 377 points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_30 (week_4_sept_21 VARCHAR, week_10_nov_2 VARCHAR)
<</SYS>>
SELECT week_4_sept_21 FROM table_name_30 WHERE week_10_nov_2 = "michigan state (8-2)"[/INST] What is the week 4 opponent for the year with a week 10 opponent of Michigan State (8-2)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (number VARCHAR, name VARCHAR)
<</SYS>>
SELECT number FROM table_name_22 WHERE name = "tony dixon"[/INST] What number is Tony Dixon?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (vuelta_wins VARCHAR, country VARCHAR, points VARCHAR)
<</SYS>>
SELECT COUNT(vuelta_wins) FROM table_name_31 WHERE country = "ireland" AND points > 4[/INST] How many times is the country ireland and points more than 4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_34 (college VARCHAR, pick VARCHAR, player VARCHAR)
<</SYS>>
SELECT college FROM table_name_34 WHERE pick < 145 AND player = "jeff wilkins"[/INST] What is College, when Pick is less than 145, and when Player is Jeff Wilkins?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (player VARCHAR, score VARCHAR)
<</SYS>>
SELECT player FROM table_name_62 WHERE score = 70 - 75 = 145[/INST] Who is the player with a 70-75=145 score?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_15869204_7 (team VARCHAR, date VARCHAR)
<</SYS>>
SELECT COUNT(team) FROM table_15869204_7 WHERE date = "February 18"[/INST] How many teams are listed for February 18?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (date VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT date FROM table_name_54 WHERE away_team = "carlton"[/INST] What date did Carlton play as the away team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (production_code INTEGER, series__number VARCHAR)
<</SYS>>
SELECT MIN(production_code) FROM table_name_14 WHERE series__number = 10[/INST] What was the lowest production code value in series #10?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (year INTEGER, game VARCHAR)
<</SYS>>
SELECT MIN(year) FROM table_name_90 WHERE game = "the legend of zelda: twilight princess"[/INST] What is the earliest year that had the Legend of Zelda: Twilight Princess game?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (week VARCHAR, date VARCHAR)
<</SYS>>
SELECT week FROM table_name_87 WHERE date = "november 19, 1995"[/INST] What week was it on November 19, 1995?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (score VARCHAR, january INTEGER)
<</SYS>>
SELECT score FROM table_name_92 WHERE january < 4[/INST] What was the score in January that was less than 4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (floors VARCHAR, location VARCHAR)
<</SYS>>
SELECT COUNT(floors) FROM table_name_42 WHERE location = "little italy"[/INST] How many floors are in little Italy?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (athlete VARCHAR, nationality VARCHAR, group VARCHAR, rank VARCHAR, result VARCHAR)
<</SYS>>
SELECT athlete FROM table_name_82 WHERE rank > 15 AND result < 7.68 AND group = "b" AND nationality = "great britain"[/INST] Which athlete's rank is more than 15 when the result is less than 7.68, the group is b, and the nationality listed is Great Britain?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341718_44 (result VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT result FROM table_1341718_44 WHERE incumbent = "Ray Roberts"[/INST] What was the result when Ray Roberts was elected?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (age INTEGER, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR)
<</SYS>>
SELECT AVG(t3.age) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Hopkins Student Enterprises"[/INST] Find the average age of members of the club "Hopkins Student Enterprises".</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (date VARCHAR, goal VARCHAR)
<</SYS>>
SELECT date FROM table_name_76 WHERE goal = 24[/INST] On what date did Goal 24 take place?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (song VARCHAR, artist VARCHAR)
<</SYS>>
SELECT song FROM table_name_8 WHERE artist = "liam reilly"[/INST] What's the song of artist liam reilly?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2370579_1 (prod__number INTEGER, episode__number VARCHAR)
<</SYS>>
SELECT MIN(prod__number) FROM table_2370579_1 WHERE episode__number = 23[/INST] What is the production number for episode 23?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (attempts INTEGER, net_yards VARCHAR, touchdowns VARCHAR)
<</SYS>>
SELECT MAX(attempts) FROM table_name_53 WHERE net_yards < 631 AND touchdowns = 2[/INST] What are the highest attempts that have net yards less than 631, and 2 for the touchdowns?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (area__km_2__ INTEGER, location VARCHAR, area__sq_mi_ VARCHAR)
<</SYS>>
SELECT AVG(area__km_2__) FROM table_name_81 WHERE location = "rhode island" AND area__sq_mi_ > 38[/INST] What is the area located in Rhode Island with more than 38 sq mi area?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_11 (rank INTEGER, earnings___$__ INTEGER)
<</SYS>>
SELECT MIN(rank) FROM table_name_11 WHERE earnings___$__ < 71 OFFSET 979[/INST] What is the lowest rank for a player earning $71,979?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2610582_7 (frequency VARCHAR, callsign VARCHAR)
<</SYS>>
SELECT frequency FROM table_2610582_7 WHERE callsign = "DXEC-FM"[/INST] What frequency is dxec-fm?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (venue VARCHAR, competition VARCHAR, date VARCHAR)
<</SYS>>
SELECT venue FROM table_name_29 WHERE competition = "2000 tiger cup" AND date = "november 10, 2000"[/INST] What venue did the 2000 tiger cup take place at on November 10, 2000?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_45 (goal INTEGER, competition VARCHAR)
<</SYS>>
SELECT MIN(goal) FROM table_name_45 WHERE competition = "2006 fifa world cup qualification"[/INST] What is the smallest goal during the 2006 fifa world cup qualification competition?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23248940_7 (record VARCHAR, team VARCHAR)
<</SYS>>
SELECT record FROM table_23248940_7 WHERE team = "Milwaukee"[/INST] Name the record for milwaukee</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (year INTEGER, author VARCHAR)
<</SYS>>
SELECT MIN(year) FROM table_name_42 WHERE author = "reki kawahara"[/INST] what is the earliest year when the author is reki kawahara?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (position VARCHAR, round VARCHAR, pick VARCHAR, college VARCHAR)
<</SYS>>
SELECT position FROM table_name_88 WHERE pick < 5 AND college = "notre dame" AND round = 7[/INST] Which Notre Dame position has a pick lower than 5 and round 7?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (live VARCHAR, share INTEGER, viewers_ INTEGER)
<</SYS>>
SELECT SUM(viewers_)[live] AS __m_ FROM table_name_77 WHERE share > 5[/INST] What is the sum of the live viewers for episodes with share over 5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (home VARCHAR, date VARCHAR)
<</SYS>>
SELECT home FROM table_name_82 WHERE date = "january 11"[/INST] Which Home is on january 11?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (losses VARCHAR, central_murray VARCHAR, draws VARCHAR)
<</SYS>>
SELECT COUNT(losses) FROM table_name_65 WHERE central_murray = "tooleybuc manangatang" AND draws < 0[/INST] What is the total number of losses of the central murray of tooleybuc manangatang, which has less than 0 draws?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_3 (host_country___countries VARCHAR, year VARCHAR)
<</SYS>>
SELECT host_country___countries FROM table_name_3 WHERE year = "2007"[/INST] Who was the host country in 2007?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE film_market_estimation (TYPE VARCHAR, YEAR VARCHAR)
<</SYS>>
SELECT TYPE FROM film_market_estimation WHERE YEAR = 1995[/INST] What are the types of film market estimations in year 1995?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_12159115_3 (series__number VARCHAR, written_by VARCHAR)
<</SYS>>
SELECT COUNT(series__number) FROM table_12159115_3 WHERE written_by = "William N. Fordes"[/INST] How many episodes were written only by William N. Fordes?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (result VARCHAR, round VARCHAR)
<</SYS>>
SELECT result FROM table_name_14 WHERE round = "r3"[/INST] What is the result the R3 round?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (time_retired VARCHAR, rider VARCHAR, grid VARCHAR, laps VARCHAR)
<</SYS>>
SELECT time_retired FROM table_name_80 WHERE grid < 9 AND laps = 21 AND rider = "jeremy mcwilliams"[/INST] What was the time of the race that was on a grid smaller than 9 with jeremy mcwilliams as the rider doing 21 laps?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (loss INTEGER, name VARCHAR, long VARCHAR)
<</SYS>>
SELECT SUM(loss) FROM table_name_72 WHERE name = "bullock, chris" AND long < 36[/INST] Which Loss has a Name of bullock, chris, and a Long smaller than 36?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (nat VARCHAR, type VARCHAR, transfer_fee VARCHAR)
<</SYS>>
SELECT nat FROM table_name_32 WHERE type = "loan" AND transfer_fee = "loan"[/INST] What is the type of loan and the transfer fee loan?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (venue VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT venue FROM table_name_47 WHERE home_team = "collingwood"[/INST] What venue features collingwood as the home side?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (points INTEGER, place VARCHAR, draw VARCHAR)
<</SYS>>
SELECT AVG(points) FROM table_name_55 WHERE place = "8th" AND draw > 8[/INST] What is the average of points for 8th place with draw more than 8?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (winning_driver VARCHAR, constructor VARCHAR)
<</SYS>>
SELECT winning_driver FROM table_name_27 WHERE constructor = "brm"[/INST] Who is the winning driver that has a construction of brm?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (score VARCHAR, high_points VARCHAR)
<</SYS>>
SELECT score FROM table_name_56 WHERE high_points = "raymond felton (32)"[/INST] Which Score has High points of raymond felton (32)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE store_district (store_id VARCHAR); CREATE TABLE district (district_id VARCHAR, city_population VARCHAR); CREATE TABLE store (store_name VARCHAR, store_id VARCHAR)
<</SYS>>
SELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id WHERE district_id = (SELECT district_id FROM district ORDER BY city_population DESC LIMIT 1)[/INST] Find all the stores in the district with the most population.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_86 (date VARCHAR, week INTEGER)
<</SYS>>
SELECT date FROM table_name_86 WHERE week > 15[/INST] What was the date of the game played after week 15?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (team VARCHAR, home_run VARCHAR)
<</SYS>>
SELECT team FROM table_name_18 WHERE home_run = 27[/INST] Which team has a Home Run of 27?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (score VARCHAR, december VARCHAR, record VARCHAR)
<</SYS>>
SELECT score FROM table_name_14 WHERE december > 8 AND record = "25-8-3"[/INST] What's the Score that's got a listing of December that larger than 8 and Record of 25-8-3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_39 (result_f___a VARCHAR, group_position VARCHAR, opponents VARCHAR)
<</SYS>>
SELECT result_f___a FROM table_name_39 WHERE group_position = "1st" AND opponents = "dynamo kyiv"[/INST] What was the final score agains Dynamo Kyiv, when the group position was 1st?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_15607589_2 (points_against VARCHAR, date VARCHAR)
<</SYS>>
SELECT points_against FROM table_15607589_2 WHERE date = "November 14"[/INST] Name the points against for november 14</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (mascot VARCHAR, enrollment INTEGER)
<</SYS>>
SELECT mascot FROM table_name_23 WHERE enrollment > 2 OFFSET 464[/INST] What Mascot has an Enrollment greater than 2,464?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_13498403_1 (barrier INTEGER, trainer VARCHAR)
<</SYS>>
SELECT MAX(barrier) FROM table_13498403_1 WHERE trainer = "Daniel Morton"[/INST] How old is Daniel Morton</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_96 (game VARCHAR, score VARCHAR, points VARCHAR)
<</SYS>>
SELECT COUNT(game) FROM table_name_96 WHERE score = "5–4" AND points < 49[/INST] How many Games have a Score of 5–4, and Points smaller than 49?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE nomination (Festival_ID VARCHAR, Artwork_ID VARCHAR); CREATE TABLE festival_detail (Festival_Name VARCHAR, Festival_ID VARCHAR); CREATE TABLE artwork (Artwork_ID VARCHAR)
<</SYS>>
SELECT T1.Festival_ID, T3.Festival_Name FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID GROUP BY T1.Festival_ID HAVING COUNT(*) >= 2[/INST] Show the ids and names of festivals that have at least two nominations for artworks.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (plural VARCHAR, plural_gender VARCHAR, meaning VARCHAR)
<</SYS>>
SELECT plural FROM table_name_92 WHERE plural_gender = "n" AND meaning = "python"[/INST] What is the plural if the meaning is python and the plural gender is n?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (rank VARCHAR, reb_avg INTEGER)
<</SYS>>
SELECT COUNT(rank) FROM table_name_27 WHERE reb_avg < 6.1[/INST] How many ranks have a rebound average smaller than 6.1?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.