question stringlengths 16 239 | answer stringlengths 18 400 | context stringlengths 30 308 | text stringlengths 108 764 |
|---|---|---|---|
What is the print resolution (FPI) for December 2002? | SELECT print_resolution__dpi__resolution_is_given_in_dots_per_inch__dpi_ FROM table_10528691_4 WHERE introduction = "December 2002" | CREATE TABLE table_10528691_4 (print_resolution__dpi__resolution_is_given_in_dots_per_inch__dpi_ VARCHAR, introduction VARCHAR) | <s>[INST] What is the print resolution (FPI) for December 2002?
context: CREATE TABLE table_10528691_4 (print_resolution__dpi__resolution_is_given_in_dots_per_inch__dpi_ VARCHAR, introduction VARCHAR) [/INST] SELECT print_resolution__dpi__resolution_is_given_in_dots_per_inch__dpi_ FROM table_10528691_4 WHERE introduct... |
When the winning driver was jacques villeneuve what was the fastest lap driven? | SELECT fastest_lap FROM table_name_31 WHERE winning_driver = "jacques villeneuve" | CREATE TABLE table_name_31 (fastest_lap VARCHAR, winning_driver VARCHAR) | <s>[INST] When the winning driver was jacques villeneuve what was the fastest lap driven?
context: CREATE TABLE table_name_31 (fastest_lap VARCHAR, winning_driver VARCHAR) [/INST] SELECT fastest_lap FROM table_name_31 WHERE winning_driver = "jacques villeneuve" </s> |
In what round was a left wing drafted? | SELECT round FROM table_name_58 WHERE position = "left wing" | CREATE TABLE table_name_58 (round VARCHAR, position VARCHAR) | <s>[INST] In what round was a left wing drafted?
context: CREATE TABLE table_name_58 (round VARCHAR, position VARCHAR) [/INST] SELECT round FROM table_name_58 WHERE position = "left wing" </s> |
What is every Swedish name for residence city is Loviisa? | SELECT swedish_name FROM table_198175_2 WHERE residence_city = "Loviisa" | CREATE TABLE table_198175_2 (swedish_name VARCHAR, residence_city VARCHAR) | <s>[INST] What is every Swedish name for residence city is Loviisa?
context: CREATE TABLE table_198175_2 (swedish_name VARCHAR, residence_city VARCHAR) [/INST] SELECT swedish_name FROM table_198175_2 WHERE residence_city = "Loviisa" </s> |
who are the candidates for district new york 10? | SELECT candidates FROM table_2668347_14 WHERE district = "New York 10" | CREATE TABLE table_2668347_14 (candidates VARCHAR, district VARCHAR) | <s>[INST] who are the candidates for district new york 10?
context: CREATE TABLE table_2668347_14 (candidates VARCHAR, district VARCHAR) [/INST] SELECT candidates FROM table_2668347_14 WHERE district = "New York 10" </s> |
How many new entries are there for a second phase that has 4 winners from previous rounds? | SELECT new_entries_this_round FROM table_name_71 WHERE phase = "second phase" AND winners_from_previous_round = "4" | CREATE TABLE table_name_71 (new_entries_this_round VARCHAR, phase VARCHAR, winners_from_previous_round VARCHAR) | <s>[INST] How many new entries are there for a second phase that has 4 winners from previous rounds?
context: CREATE TABLE table_name_71 (new_entries_this_round VARCHAR, phase VARCHAR, winners_from_previous_round VARCHAR) [/INST] SELECT new_entries_this_round FROM table_name_71 WHERE phase = "second phase" AND winners... |
What torque does 1.9 diesel with 1905 cc have? | SELECT torque FROM table_name_30 WHERE name = "1.9 diesel" AND capacity = "1905 cc" | CREATE TABLE table_name_30 (torque VARCHAR, name VARCHAR, capacity VARCHAR) | <s>[INST] What torque does 1.9 diesel with 1905 cc have?
context: CREATE TABLE table_name_30 (torque VARCHAR, name VARCHAR, capacity VARCHAR) [/INST] SELECT torque FROM table_name_30 WHERE name = "1.9 diesel" AND capacity = "1905 cc" </s> |
Name the conventional for defter | SELECT conventional FROM table_2008069_2 WHERE uyghur___yenɡi_yezik̢__ = "Defter" | CREATE TABLE table_2008069_2 (conventional VARCHAR, uyghur___yenɡi_yezik̢__ VARCHAR) | <s>[INST] Name the conventional for defter
context: CREATE TABLE table_2008069_2 (conventional VARCHAR, uyghur___yenɡi_yezik̢__ VARCHAR) [/INST] SELECT conventional FROM table_2008069_2 WHERE uyghur___yenɡi_yezik̢__ = "Defter" </s> |
What was Des Dickson's lowest rank for matches smaller than 285 and less than 219 goals? | SELECT MIN(rank) FROM table_name_89 WHERE matches < 285 AND name = "des dickson" AND goals < 219 | CREATE TABLE table_name_89 (rank INTEGER, goals VARCHAR, matches VARCHAR, name VARCHAR) | <s>[INST] What was Des Dickson's lowest rank for matches smaller than 285 and less than 219 goals?
context: CREATE TABLE table_name_89 (rank INTEGER, goals VARCHAR, matches VARCHAR, name VARCHAR) [/INST] SELECT MIN(rank) FROM table_name_89 WHERE matches < 285 AND name = "des dickson" AND goals < 219 </s> |
What is No. 7, when No. 4 is Madison, and when No. 10 is Amelia? | SELECT no_7 FROM table_name_15 WHERE no_4 = "madison" AND no_10 = "amelia" | CREATE TABLE table_name_15 (no_7 VARCHAR, no_4 VARCHAR, no_10 VARCHAR) | <s>[INST] What is No. 7, when No. 4 is Madison, and when No. 10 is Amelia?
context: CREATE TABLE table_name_15 (no_7 VARCHAR, no_4 VARCHAR, no_10 VARCHAR) [/INST] SELECT no_7 FROM table_name_15 WHERE no_4 = "madison" AND no_10 = "amelia" </s> |
For the 2013 completion schedule, what is the total S.no.? | SELECT SUM(sno) FROM table_name_53 WHERE completion_schedule = "2013" | CREATE TABLE table_name_53 (sno INTEGER, completion_schedule VARCHAR) | <s>[INST] For the 2013 completion schedule, what is the total S.no.?
context: CREATE TABLE table_name_53 (sno INTEGER, completion_schedule VARCHAR) [/INST] SELECT SUM(sno) FROM table_name_53 WHERE completion_schedule = "2013" </s> |
What is the total number of Round with a Method of submission (ankle lock), a Location of tokyo, japan, and a Record of 13-5-2? | SELECT SUM(round) FROM table_name_84 WHERE method = "submission (ankle lock)" AND location = "tokyo, japan" AND record = "13-5-2" | CREATE TABLE table_name_84 (round INTEGER, record VARCHAR, method VARCHAR, location VARCHAR) | <s>[INST] What is the total number of Round with a Method of submission (ankle lock), a Location of tokyo, japan, and a Record of 13-5-2?
context: CREATE TABLE table_name_84 (round INTEGER, record VARCHAR, method VARCHAR, location VARCHAR) [/INST] SELECT SUM(round) FROM table_name_84 WHERE method = "submission (ankle ... |
Name the sumof points for year less than 1994 and chassis of lola lc89b | SELECT SUM(points) FROM table_name_47 WHERE year < 1994 AND chassis = "lola lc89b" | CREATE TABLE table_name_47 (points INTEGER, year VARCHAR, chassis VARCHAR) | <s>[INST] Name the sumof points for year less than 1994 and chassis of lola lc89b
context: CREATE TABLE table_name_47 (points INTEGER, year VARCHAR, chassis VARCHAR) [/INST] SELECT SUM(points) FROM table_name_47 WHERE year < 1994 AND chassis = "lola lc89b" </s> |
What is the N117/2400 IEC3 associated with an N100IEC3 of 25? | SELECT n117_2400_iec3 FROM table_name_10 WHERE n100_iec3 = "25" | CREATE TABLE table_name_10 (n117_2400_iec3 VARCHAR, n100_iec3 VARCHAR) | <s>[INST] What is the N117/2400 IEC3 associated with an N100IEC3 of 25?
context: CREATE TABLE table_name_10 (n117_2400_iec3 VARCHAR, n100_iec3 VARCHAR) [/INST] SELECT n117_2400_iec3 FROM table_name_10 WHERE n100_iec3 = "25" </s> |
when was the death when the birth was 8 december 1542? | SELECT death FROM table_name_45 WHERE birth = "8 december 1542" | CREATE TABLE table_name_45 (death VARCHAR, birth VARCHAR) | <s>[INST] when was the death when the birth was 8 december 1542?
context: CREATE TABLE table_name_45 (death VARCHAR, birth VARCHAR) [/INST] SELECT death FROM table_name_45 WHERE birth = "8 december 1542" </s> |
How many points did the Weslake v12 get in 1966? | SELECT MAX(points) FROM table_name_28 WHERE engine = "weslake v12" AND year < 1966 | CREATE TABLE table_name_28 (points INTEGER, engine VARCHAR, year VARCHAR) | <s>[INST] How many points did the Weslake v12 get in 1966?
context: CREATE TABLE table_name_28 (points INTEGER, engine VARCHAR, year VARCHAR) [/INST] SELECT MAX(points) FROM table_name_28 WHERE engine = "weslake v12" AND year < 1966 </s> |
Who proceeded to the quarter final when the london irish were eliminated from competition? | SELECT proceed_to_quarter_final FROM table_28068063_3 WHERE eliminated_from_competition = "London Irish" | CREATE TABLE table_28068063_3 (proceed_to_quarter_final VARCHAR, eliminated_from_competition VARCHAR) | <s>[INST] Who proceeded to the quarter final when the london irish were eliminated from competition?
context: CREATE TABLE table_28068063_3 (proceed_to_quarter_final VARCHAR, eliminated_from_competition VARCHAR) [/INST] SELECT proceed_to_quarter_final FROM table_28068063_3 WHERE eliminated_from_competition = "London I... |
What is the average attendance when the rank is 5? | SELECT avgatt FROM table_name_90 WHERE rank = "5" | CREATE TABLE table_name_90 (avgatt VARCHAR, rank VARCHAR) | <s>[INST] What is the average attendance when the rank is 5?
context: CREATE TABLE table_name_90 (avgatt VARCHAR, rank VARCHAR) [/INST] SELECT avgatt FROM table_name_90 WHERE rank = "5" </s> |
What is Diego Junqueira Gabriel Trujillo-Soler's opponent's score? | SELECT score FROM table_name_35 WHERE opponents = "diego junqueira gabriel trujillo-soler" | CREATE TABLE table_name_35 (score VARCHAR, opponents VARCHAR) | <s>[INST] What is Diego Junqueira Gabriel Trujillo-Soler's opponent's score?
context: CREATE TABLE table_name_35 (score VARCHAR, opponents VARCHAR) [/INST] SELECT score FROM table_name_35 WHERE opponents = "diego junqueira gabriel trujillo-soler" </s> |
What is the region 2 for the complete fifth series? | SELECT region_2 FROM table_1337525_1 WHERE complete_series = "The Complete Fifth Series" | CREATE TABLE table_1337525_1 (region_2 VARCHAR, complete_series VARCHAR) | <s>[INST] What is the region 2 for the complete fifth series?
context: CREATE TABLE table_1337525_1 (region_2 VARCHAR, complete_series VARCHAR) [/INST] SELECT region_2 FROM table_1337525_1 WHERE complete_series = "The Complete Fifth Series" </s> |
Which works number has a class of 15th and year of 1940? | SELECT works_no FROM table_name_69 WHERE class = "15th" AND year = "1940" | CREATE TABLE table_name_69 (works_no VARCHAR, class VARCHAR, year VARCHAR) | <s>[INST] Which works number has a class of 15th and year of 1940?
context: CREATE TABLE table_name_69 (works_no VARCHAR, class VARCHAR, year VARCHAR) [/INST] SELECT works_no FROM table_name_69 WHERE class = "15th" AND year = "1940" </s> |
What is the average react for a rank more than 8? | SELECT AVG(react) FROM table_name_36 WHERE rank > 8 | CREATE TABLE table_name_36 (react INTEGER, rank INTEGER) | <s>[INST] What is the average react for a rank more than 8?
context: CREATE TABLE table_name_36 (react INTEGER, rank INTEGER) [/INST] SELECT AVG(react) FROM table_name_36 WHERE rank > 8 </s> |
What is josé maría olazábal's country? | SELECT country FROM table_name_39 WHERE player = "josé maría olazábal" | CREATE TABLE table_name_39 (country VARCHAR, player VARCHAR) | <s>[INST] What is josé maría olazábal's country?
context: CREATE TABLE table_name_39 (country VARCHAR, player VARCHAR) [/INST] SELECT country FROM table_name_39 WHERE player = "josé maría olazábal" </s> |
Tell me the record for a time in seconds smaller than 5.22. | SELECT record FROM table_name_45 WHERE time__seconds_ < 5.22 | CREATE TABLE table_name_45 (record VARCHAR, time__seconds_ INTEGER) | <s>[INST] Tell me the record for a time in seconds smaller than 5.22.
context: CREATE TABLE table_name_45 (record VARCHAR, time__seconds_ INTEGER) [/INST] SELECT record FROM table_name_45 WHERE time__seconds_ < 5.22 </s> |
What is Opponent, when Record is 17-44? | SELECT opponent FROM table_name_98 WHERE record = "17-44" | CREATE TABLE table_name_98 (opponent VARCHAR, record VARCHAR) | <s>[INST] What is Opponent, when Record is 17-44?
context: CREATE TABLE table_name_98 (opponent VARCHAR, record VARCHAR) [/INST] SELECT opponent FROM table_name_98 WHERE record = "17-44" </s> |
Name the first elected for lost renomination democratic loss | SELECT first_elected FROM table_1342249_32 WHERE result = "Lost renomination Democratic loss" | CREATE TABLE table_1342249_32 (first_elected VARCHAR, result VARCHAR) | <s>[INST] Name the first elected for lost renomination democratic loss
context: CREATE TABLE table_1342249_32 (first_elected VARCHAR, result VARCHAR) [/INST] SELECT first_elected FROM table_1342249_32 WHERE result = "Lost renomination Democratic loss" </s> |
what is the average rating when the air date is november 23, 2007? | SELECT AVG(rating) FROM table_name_46 WHERE air_date = "november 23, 2007" | CREATE TABLE table_name_46 (rating INTEGER, air_date VARCHAR) | <s>[INST] what is the average rating when the air date is november 23, 2007?
context: CREATE TABLE table_name_46 (rating INTEGER, air_date VARCHAR) [/INST] SELECT AVG(rating) FROM table_name_46 WHERE air_date = "november 23, 2007" </s> |
What is the earliest year that a candidate was first elected? | SELECT MIN(first_elected) FROM table_1341897_42 | CREATE TABLE table_1341897_42 (first_elected INTEGER) | <s>[INST] What is the earliest year that a candidate was first elected?
context: CREATE TABLE table_1341897_42 (first_elected INTEGER) [/INST] SELECT MIN(first_elected) FROM table_1341897_42 </s> |
What is friday day six when thursday day five is پچھمبے pachhambey? | SELECT friday_day_six FROM table_1277350_7 WHERE thursday_day_five = "پچھمبے pachhambey" | CREATE TABLE table_1277350_7 (friday_day_six VARCHAR, thursday_day_five VARCHAR) | <s>[INST] What is friday day six when thursday day five is پچھمبے pachhambey?
context: CREATE TABLE table_1277350_7 (friday_day_six VARCHAR, thursday_day_five VARCHAR) [/INST] SELECT friday_day_six FROM table_1277350_7 WHERE thursday_day_five = "پچھمبے pachhambey" </s> |
What is the change in population since 1993 in the region where the % of country's population was 4.2? | SELECT COUNT(change_in_population_since_1993) FROM table_2637317_1 WHERE _percentage_of_countrys_population = "4.2" | CREATE TABLE table_2637317_1 (change_in_population_since_1993 VARCHAR, _percentage_of_countrys_population VARCHAR) | <s>[INST] What is the change in population since 1993 in the region where the % of country's population was 4.2?
context: CREATE TABLE table_2637317_1 (change_in_population_since_1993 VARCHAR, _percentage_of_countrys_population VARCHAR) [/INST] SELECT COUNT(change_in_population_since_1993) FROM table_2637317_1 WHERE ... |
how many highest with team being forfar athletic | SELECT COUNT(highest) FROM table_14003108_1 WHERE team = "Forfar Athletic" | CREATE TABLE table_14003108_1 (highest VARCHAR, team VARCHAR) | <s>[INST] how many highest with team being forfar athletic
context: CREATE TABLE table_14003108_1 (highest VARCHAR, team VARCHAR) [/INST] SELECT COUNT(highest) FROM table_14003108_1 WHERE team = "Forfar Athletic" </s> |
What is Opponent, when Date is December 18, 1988? | SELECT opponent FROM table_name_7 WHERE date = "december 18, 1988" | CREATE TABLE table_name_7 (opponent VARCHAR, date VARCHAR) | <s>[INST] What is Opponent, when Date is December 18, 1988?
context: CREATE TABLE table_name_7 (opponent VARCHAR, date VARCHAR) [/INST] SELECT opponent FROM table_name_7 WHERE date = "december 18, 1988" </s> |
who is the the fastest lap with grand prix being european grand prix | SELECT fastest_lap FROM table_12161822_5 WHERE grand_prix = "European grand_prix" | CREATE TABLE table_12161822_5 (fastest_lap VARCHAR, grand_prix VARCHAR) | <s>[INST] who is the the fastest lap with grand prix being european grand prix
context: CREATE TABLE table_12161822_5 (fastest_lap VARCHAR, grand_prix VARCHAR) [/INST] SELECT fastest_lap FROM table_12161822_5 WHERE grand_prix = "European grand_prix" </s> |
What is Score, when Player is "Bob Murphy"? | SELECT score FROM table_name_9 WHERE player = "bob murphy" | CREATE TABLE table_name_9 (score VARCHAR, player VARCHAR) | <s>[INST] What is Score, when Player is "Bob Murphy"?
context: CREATE TABLE table_name_9 (score VARCHAR, player VARCHAR) [/INST] SELECT score FROM table_name_9 WHERE player = "bob murphy" </s> |
Where was the game held where Hawthorn was the away team? | SELECT venue FROM table_name_46 WHERE away_team = "hawthorn" | CREATE TABLE table_name_46 (venue VARCHAR, away_team VARCHAR) | <s>[INST] Where was the game held where Hawthorn was the away team?
context: CREATE TABLE table_name_46 (venue VARCHAR, away_team VARCHAR) [/INST] SELECT venue FROM table_name_46 WHERE away_team = "hawthorn" </s> |
Which Points have a Drawn larger than 0, and a Lost larger than 1? | SELECT AVG(points) FROM table_name_38 WHERE drawn > 0 AND lost > 1 | CREATE TABLE table_name_38 (points INTEGER, drawn VARCHAR, lost VARCHAR) | <s>[INST] Which Points have a Drawn larger than 0, and a Lost larger than 1?
context: CREATE TABLE table_name_38 (points INTEGER, drawn VARCHAR, lost VARCHAR) [/INST] SELECT AVG(points) FROM table_name_38 WHERE drawn > 0 AND lost > 1 </s> |
Who were the candidates in the election in the Tennessee 9 district? | SELECT candidates FROM table_1342370_41 WHERE district = "Tennessee 9" | CREATE TABLE table_1342370_41 (candidates VARCHAR, district VARCHAR) | <s>[INST] Who were the candidates in the election in the Tennessee 9 district?
context: CREATE TABLE table_1342370_41 (candidates VARCHAR, district VARCHAR) [/INST] SELECT candidates FROM table_1342370_41 WHERE district = "Tennessee 9" </s> |
Which chassis has a year later than 1964, a Ford engine, and 13 points? | SELECT chassis FROM table_name_95 WHERE year > 1964 AND engine = "ford" AND pts = 13 | CREATE TABLE table_name_95 (chassis VARCHAR, pts VARCHAR, year VARCHAR, engine VARCHAR) | <s>[INST] Which chassis has a year later than 1964, a Ford engine, and 13 points?
context: CREATE TABLE table_name_95 (chassis VARCHAR, pts VARCHAR, year VARCHAR, engine VARCHAR) [/INST] SELECT chassis FROM table_name_95 WHERE year > 1964 AND engine = "ford" AND pts = 13 </s> |
What was the 'calling at' station of the train that departed on 18.16? | SELECT calling_at FROM table_18365784_3 WHERE departure = "18.16" | CREATE TABLE table_18365784_3 (calling_at VARCHAR, departure VARCHAR) | <s>[INST] What was the 'calling at' station of the train that departed on 18.16?
context: CREATE TABLE table_18365784_3 (calling_at VARCHAR, departure VARCHAR) [/INST] SELECT calling_at FROM table_18365784_3 WHERE departure = "18.16" </s> |
WHAT DATE HAS A CATALOG OF 486553.4? | SELECT MAX(date) FROM table_name_70 WHERE catalog = "486553.4" | CREATE TABLE table_name_70 (date INTEGER, catalog VARCHAR) | <s>[INST] WHAT DATE HAS A CATALOG OF 486553.4?
context: CREATE TABLE table_name_70 (date INTEGER, catalog VARCHAR) [/INST] SELECT MAX(date) FROM table_name_70 WHERE catalog = "486553.4" </s> |
What was the score against Portland in game numbers under 20? | SELECT score FROM table_name_74 WHERE game < 20 AND team = "portland" | CREATE TABLE table_name_74 (score VARCHAR, game VARCHAR, team VARCHAR) | <s>[INST] What was the score against Portland in game numbers under 20?
context: CREATE TABLE table_name_74 (score VARCHAR, game VARCHAR, team VARCHAR) [/INST] SELECT score FROM table_name_74 WHERE game < 20 AND team = "portland" </s> |
Name the region for cd with catalog of alca-9203 | SELECT region FROM table_name_43 WHERE format = "cd" AND catalog = "alca-9203" | CREATE TABLE table_name_43 (region VARCHAR, format VARCHAR, catalog VARCHAR) | <s>[INST] Name the region for cd with catalog of alca-9203
context: CREATE TABLE table_name_43 (region VARCHAR, format VARCHAR, catalog VARCHAR) [/INST] SELECT region FROM table_name_43 WHERE format = "cd" AND catalog = "alca-9203" </s> |
Name the innings for 5088 runs scored | SELECT COUNT(innings) FROM table_21486890_1 WHERE runs_scored = 5088 | CREATE TABLE table_21486890_1 (innings VARCHAR, runs_scored VARCHAR) | <s>[INST] Name the innings for 5088 runs scored
context: CREATE TABLE table_21486890_1 (innings VARCHAR, runs_scored VARCHAR) [/INST] SELECT COUNT(innings) FROM table_21486890_1 WHERE runs_scored = 5088 </s> |
How many viewers tuned in for season 2? | SELECT us_viewers__million_ FROM table_22347090_4 WHERE no_in_season = 2 | CREATE TABLE table_22347090_4 (us_viewers__million_ VARCHAR, no_in_season VARCHAR) | <s>[INST] How many viewers tuned in for season 2?
context: CREATE TABLE table_22347090_4 (us_viewers__million_ VARCHAR, no_in_season VARCHAR) [/INST] SELECT us_viewers__million_ FROM table_22347090_4 WHERE no_in_season = 2 </s> |
What is the country named feeney with a bbc sport start source? | SELECT country FROM table_name_16 WHERE start_source = "bbc sport" AND name = "feeney" | CREATE TABLE table_name_16 (country VARCHAR, start_source VARCHAR, name VARCHAR) | <s>[INST] What is the country named feeney with a bbc sport start source?
context: CREATE TABLE table_name_16 (country VARCHAR, start_source VARCHAR, name VARCHAR) [/INST] SELECT country FROM table_name_16 WHERE start_source = "bbc sport" AND name = "feeney" </s> |
What is Li-FeS 2, when Type is Nominal Voltage? | SELECT li_fes_2 FROM table_name_9 WHERE type = "nominal voltage" | CREATE TABLE table_name_9 (li_fes_2 VARCHAR, type VARCHAR) | <s>[INST] What is Li-FeS 2, when Type is Nominal Voltage?
context: CREATE TABLE table_name_9 (li_fes_2 VARCHAR, type VARCHAR) [/INST] SELECT li_fes_2 FROM table_name_9 WHERE type = "nominal voltage" </s> |
Which Attendance has an Opponent of pittsburgh pirates, and a Date of may 5? | SELECT AVG(attendance) FROM table_name_32 WHERE opponent = "pittsburgh pirates" AND date = "may 5" | CREATE TABLE table_name_32 (attendance INTEGER, opponent VARCHAR, date VARCHAR) | <s>[INST] Which Attendance has an Opponent of pittsburgh pirates, and a Date of may 5?
context: CREATE TABLE table_name_32 (attendance INTEGER, opponent VARCHAR, date VARCHAR) [/INST] SELECT AVG(attendance) FROM table_name_32 WHERE opponent = "pittsburgh pirates" AND date = "may 5" </s> |
Who was the away team at punt road oval? | SELECT away_team FROM table_name_5 WHERE venue = "punt road oval" | CREATE TABLE table_name_5 (away_team VARCHAR, venue VARCHAR) | <s>[INST] Who was the away team at punt road oval?
context: CREATE TABLE table_name_5 (away_team VARCHAR, venue VARCHAR) [/INST] SELECT away_team FROM table_name_5 WHERE venue = "punt road oval" </s> |
When was republican incumbent Joseph McKenna first elected? | SELECT first_elected FROM table_name_28 WHERE party = "republican" AND incumbent = "joseph mckenna" | CREATE TABLE table_name_28 (first_elected VARCHAR, party VARCHAR, incumbent VARCHAR) | <s>[INST] When was republican incumbent Joseph McKenna first elected?
context: CREATE TABLE table_name_28 (first_elected VARCHAR, party VARCHAR, incumbent VARCHAR) [/INST] SELECT first_elected FROM table_name_28 WHERE party = "republican" AND incumbent = "joseph mckenna" </s> |
What did they do in the game when their record was 3-2-1? | SELECT result FROM table_21058823_1 WHERE record = "3-2-1" | CREATE TABLE table_21058823_1 (result VARCHAR, record VARCHAR) | <s>[INST] What did they do in the game when their record was 3-2-1?
context: CREATE TABLE table_21058823_1 (result VARCHAR, record VARCHAR) [/INST] SELECT result FROM table_21058823_1 WHERE record = "3-2-1" </s> |
What are the positions with both players having more than 20 points and less than 10 points. | SELECT POSITION FROM player WHERE Points > 20 INTERSECT SELECT POSITION FROM player WHERE Points < 10 | CREATE TABLE player (POSITION VARCHAR, Points INTEGER) | <s>[INST] What are the positions with both players having more than 20 points and less than 10 points.
context: CREATE TABLE player (POSITION VARCHAR, Points INTEGER) [/INST] SELECT POSITION FROM player WHERE Points > 20 INTERSECT SELECT POSITION FROM player WHERE Points < 10 </s> |
What is the smallest number of "goals for" out of the clubs where there were 18 wins and fewer than 38 "goals against"? | SELECT MIN(goals_for) FROM table_name_85 WHERE wins = 18 AND goals_against < 38 | CREATE TABLE table_name_85 (goals_for INTEGER, wins VARCHAR, goals_against VARCHAR) | <s>[INST] What is the smallest number of "goals for" out of the clubs where there were 18 wins and fewer than 38 "goals against"?
context: CREATE TABLE table_name_85 (goals_for INTEGER, wins VARCHAR, goals_against VARCHAR) [/INST] SELECT MIN(goals_for) FROM table_name_85 WHERE wins = 18 AND goals_against < 38 </s> |
Find all the songs whose name contains the word "the". | SELECT title FROM songs WHERE title LIKE '% the %' | CREATE TABLE songs (title VARCHAR) | <s>[INST] Find all the songs whose name contains the word "the".
context: CREATE TABLE songs (title VARCHAR) [/INST] SELECT title FROM songs WHERE title LIKE '% the %' </s> |
Which event did he win with a method of submission (triangle choke) and a time of n/a? | SELECT event FROM table_name_25 WHERE res = "win" AND time = "n/a" AND method = "submission (triangle choke)" | CREATE TABLE table_name_25 (event VARCHAR, method VARCHAR, res VARCHAR, time VARCHAR) | <s>[INST] Which event did he win with a method of submission (triangle choke) and a time of n/a?
context: CREATE TABLE table_name_25 (event VARCHAR, method VARCHAR, res VARCHAR, time VARCHAR) [/INST] SELECT event FROM table_name_25 WHERE res = "win" AND time = "n/a" AND method = "submission (triangle choke)" </s> |
What is the Name of the Player from Albuquerque, New Mexico? | SELECT name FROM table_name_69 WHERE hometown = "albuquerque, new mexico" | CREATE TABLE table_name_69 (name VARCHAR, hometown VARCHAR) | <s>[INST] What is the Name of the Player from Albuquerque, New Mexico?
context: CREATE TABLE table_name_69 (name VARCHAR, hometown VARCHAR) [/INST] SELECT name FROM table_name_69 WHERE hometown = "albuquerque, new mexico" </s> |
what is the competition when the date is 16 january 1996? | SELECT competition FROM table_name_14 WHERE date = "16 january 1996" | CREATE TABLE table_name_14 (competition VARCHAR, date VARCHAR) | <s>[INST] what is the competition when the date is 16 january 1996?
context: CREATE TABLE table_name_14 (competition VARCHAR, date VARCHAR) [/INST] SELECT competition FROM table_name_14 WHERE date = "16 january 1996" </s> |
When did the playoffs reached Conference Finals? | SELECT year FROM table_15409403_1 WHERE playoffs = "Conference Finals" | CREATE TABLE table_15409403_1 (year VARCHAR, playoffs VARCHAR) | <s>[INST] When did the playoffs reached Conference Finals?
context: CREATE TABLE table_15409403_1 (year VARCHAR, playoffs VARCHAR) [/INST] SELECT year FROM table_15409403_1 WHERE playoffs = "Conference Finals" </s> |
What event is before 1964 and has an athlete of lászló tábori gunnar nielsen? | SELECT event FROM table_name_79 WHERE year < 1964 AND athlete = "lászló tábori gunnar nielsen" | CREATE TABLE table_name_79 (event VARCHAR, year VARCHAR, athlete VARCHAR) | <s>[INST] What event is before 1964 and has an athlete of lászló tábori gunnar nielsen?
context: CREATE TABLE table_name_79 (event VARCHAR, year VARCHAR, athlete VARCHAR) [/INST] SELECT event FROM table_name_79 WHERE year < 1964 AND athlete = "lászló tábori gunnar nielsen" </s> |
How much is the population density with a GDP at $188,112? | SELECT population_density__per_km²_ FROM table_name_31 WHERE gdp__ppp__$m_usd = "$188,112" | CREATE TABLE table_name_31 (population_density__per_km²_ VARCHAR, gdp__ppp__$m_usd VARCHAR) | <s>[INST] How much is the population density with a GDP at $188,112?
context: CREATE TABLE table_name_31 (population_density__per_km²_ VARCHAR, gdp__ppp__$m_usd VARCHAR) [/INST] SELECT population_density__per_km²_ FROM table_name_31 WHERE gdp__ppp__$m_usd = "$188,112" </s> |
What was the result at the Berlin International Film Festival in a year greater than 1987? | SELECT result FROM table_name_80 WHERE year > 1987 AND awards = "berlin international film festival" | CREATE TABLE table_name_80 (result VARCHAR, year VARCHAR, awards VARCHAR) | <s>[INST] What was the result at the Berlin International Film Festival in a year greater than 1987?
context: CREATE TABLE table_name_80 (result VARCHAR, year VARCHAR, awards VARCHAR) [/INST] SELECT result FROM table_name_80 WHERE year > 1987 AND awards = "berlin international film festival" </s> |
What was the score on June 12? | SELECT score FROM table_name_76 WHERE date = "june 12" | CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR) | <s>[INST] What was the score on June 12?
context: CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR) [/INST] SELECT score FROM table_name_76 WHERE date = "june 12" </s> |
What is the total number of Years when the LLWS is 4th place, and when the City is Westport? | SELECT COUNT(year) FROM table_name_19 WHERE llws = "4th place" AND city = "westport" | CREATE TABLE table_name_19 (year VARCHAR, llws VARCHAR, city VARCHAR) | <s>[INST] What is the total number of Years when the LLWS is 4th place, and when the City is Westport?
context: CREATE TABLE table_name_19 (year VARCHAR, llws VARCHAR, city VARCHAR) [/INST] SELECT COUNT(year) FROM table_name_19 WHERE llws = "4th place" AND city = "westport" </s> |
What is the NHL team that has Peter Strom? | SELECT nhl_team FROM table_1013129_8 WHERE player = "Peter Strom" | CREATE TABLE table_1013129_8 (nhl_team VARCHAR, player VARCHAR) | <s>[INST] What is the NHL team that has Peter Strom?
context: CREATE TABLE table_1013129_8 (nhl_team VARCHAR, player VARCHAR) [/INST] SELECT nhl_team FROM table_1013129_8 WHERE player = "Peter Strom" </s> |
What were the 2009 results that has 0 in 2010? | SELECT 2009 FROM table_name_52 WHERE 2010 = "0" | CREATE TABLE table_name_52 (Id VARCHAR) | <s>[INST] What were the 2009 results that has 0 in 2010?
context: CREATE TABLE table_name_52 (Id VARCHAR) [/INST] SELECT 2009 FROM table_name_52 WHERE 2010 = "0" </s> |
Which Round is the highest one that has a Position of running back? | SELECT MAX(round) FROM table_name_14 WHERE position = "running back" | CREATE TABLE table_name_14 (round INTEGER, position VARCHAR) | <s>[INST] Which Round is the highest one that has a Position of running back?
context: CREATE TABLE table_name_14 (round INTEGER, position VARCHAR) [/INST] SELECT MAX(round) FROM table_name_14 WHERE position = "running back" </s> |
which party is the newark representative from | SELECT party FROM table_29486189_4 WHERE residence = "Newark" | CREATE TABLE table_29486189_4 (party VARCHAR, residence VARCHAR) | <s>[INST] which party is the newark representative from
context: CREATE TABLE table_29486189_4 (party VARCHAR, residence VARCHAR) [/INST] SELECT party FROM table_29486189_4 WHERE residence = "Newark" </s> |
Which Team has Balls smaller than 258, and Inns of 10, and Matches smaller than 12? | SELECT team FROM table_name_27 WHERE balls < 258 AND inns = 10 AND matches < 12 | CREATE TABLE table_name_27 (team VARCHAR, matches VARCHAR, balls VARCHAR, inns VARCHAR) | <s>[INST] Which Team has Balls smaller than 258, and Inns of 10, and Matches smaller than 12?
context: CREATE TABLE table_name_27 (team VARCHAR, matches VARCHAR, balls VARCHAR, inns VARCHAR) [/INST] SELECT team FROM table_name_27 WHERE balls < 258 AND inns = 10 AND matches < 12 </s> |
What is the total number of Entered when the eliminated number is 3? | SELECT COUNT(entered) FROM table_name_53 WHERE eliminated = "3" | CREATE TABLE table_name_53 (entered VARCHAR, eliminated VARCHAR) | <s>[INST] What is the total number of Entered when the eliminated number is 3?
context: CREATE TABLE table_name_53 (entered VARCHAR, eliminated VARCHAR) [/INST] SELECT COUNT(entered) FROM table_name_53 WHERE eliminated = "3" </s> |
How many points were scored by Rolla Bigelow? | SELECT points FROM table_14342480_7 WHERE player = "Rolla Bigelow" | CREATE TABLE table_14342480_7 (points VARCHAR, player VARCHAR) | <s>[INST] How many points were scored by Rolla Bigelow?
context: CREATE TABLE table_14342480_7 (points VARCHAR, player VARCHAR) [/INST] SELECT points FROM table_14342480_7 WHERE player = "Rolla Bigelow" </s> |
When there were 767 points, what was the point difference? | SELECT points_difference FROM table_name_34 WHERE points_against = "767" | CREATE TABLE table_name_34 (points_difference VARCHAR, points_against VARCHAR) | <s>[INST] When there were 767 points, what was the point difference?
context: CREATE TABLE table_name_34 (points_difference VARCHAR, points_against VARCHAR) [/INST] SELECT points_difference FROM table_name_34 WHERE points_against = "767" </s> |
What is the total number of white (Hispanic/Non-Hispanic) having a black (Hispanic/Non-Hispanic) of 9.9 and Hispanic under 99.5? | SELECT COUNT(white__both_hispanic_and_non_hispanic_) FROM table_name_77 WHERE black__both_hispanic_and_non_hispanic_ = 9.9 AND hispanic__of_any_race_ < 99.5 | CREATE TABLE table_name_77 (white__both_hispanic_and_non_hispanic_ VARCHAR, black__both_hispanic_and_non_hispanic_ VARCHAR, hispanic__of_any_race_ VARCHAR) | <s>[INST] What is the total number of white (Hispanic/Non-Hispanic) having a black (Hispanic/Non-Hispanic) of 9.9 and Hispanic under 99.5?
context: CREATE TABLE table_name_77 (white__both_hispanic_and_non_hispanic_ VARCHAR, black__both_hispanic_and_non_hispanic_ VARCHAR, hispanic__of_any_race_ VARCHAR) [/INST] SELECT ... |
Name the most number in series for production code of 3abc11 | SELECT MAX(no_in_series) FROM table_23289934_1 WHERE production_code = "3ABC11" | CREATE TABLE table_23289934_1 (no_in_series INTEGER, production_code VARCHAR) | <s>[INST] Name the most number in series for production code of 3abc11
context: CREATE TABLE table_23289934_1 (no_in_series INTEGER, production_code VARCHAR) [/INST] SELECT MAX(no_in_series) FROM table_23289934_1 WHERE production_code = "3ABC11" </s> |
Churai has what as the fewest number of electorates? | SELECT MIN(number_of_electorates__2009_) FROM table_name_2 WHERE name = "churai" | CREATE TABLE table_name_2 (number_of_electorates__2009_ INTEGER, name VARCHAR) | <s>[INST] Churai has what as the fewest number of electorates?
context: CREATE TABLE table_name_2 (number_of_electorates__2009_ INTEGER, name VARCHAR) [/INST] SELECT MIN(number_of_electorates__2009_) FROM table_name_2 WHERE name = "churai" </s> |
Who was the partner at the Australian Open, Melbourne when the score was 2–6, 7–5, 6–2, 4–6, 3–6? | SELECT partner FROM table_name_6 WHERE championship = "australian open, melbourne" AND score = "2–6, 7–5, 6–2, 4–6, 3–6" | CREATE TABLE table_name_6 (partner VARCHAR, championship VARCHAR, score VARCHAR) | <s>[INST] Who was the partner at the Australian Open, Melbourne when the score was 2–6, 7–5, 6–2, 4–6, 3–6?
context: CREATE TABLE table_name_6 (partner VARCHAR, championship VARCHAR, score VARCHAR) [/INST] SELECT partner FROM table_name_6 WHERE championship = "australian open, melbourne" AND score = "2–6, 7–5, 6–2, 4–... |
Who set the record in the 500 metres event? | SELECT name FROM table_name_14 WHERE event = "500 metres" | CREATE TABLE table_name_14 (name VARCHAR, event VARCHAR) | <s>[INST] Who set the record in the 500 metres event?
context: CREATE TABLE table_name_14 (name VARCHAR, event VARCHAR) [/INST] SELECT name FROM table_name_14 WHERE event = "500 metres" </s> |
Find the name and address of the customers who have both New and Pending orders. | SELECT T1.customer_name, T1.customer_address FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = "New" INTERSECT SELECT T1.customer_name, T1.customer_address FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_stat... | CREATE TABLE customers (customer_name VARCHAR, customer_address VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_status_code VARCHAR) | <s>[INST] Find the name and address of the customers who have both New and Pending orders.
context: CREATE TABLE customers (customer_name VARCHAR, customer_address VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_status_code VARCHAR) [/INST] SELECT T1.customer_name, T1.customer_a... |
Name the 2008 for wta premier mandatory tournaments of 2007 | SELECT 2008 FROM table_name_77 WHERE 2007 = "wta premier mandatory tournaments" | CREATE TABLE table_name_77 (Id VARCHAR) | <s>[INST] Name the 2008 for wta premier mandatory tournaments of 2007
context: CREATE TABLE table_name_77 (Id VARCHAR) [/INST] SELECT 2008 FROM table_name_77 WHERE 2007 = "wta premier mandatory tournaments" </s> |
What is the average PI GP of the player from round 5 with a pick # larger than 151? | SELECT AVG(pl_gp) FROM table_name_19 WHERE rd__number = 5 AND pick__number > 151 | CREATE TABLE table_name_19 (pl_gp INTEGER, rd__number VARCHAR, pick__number VARCHAR) | <s>[INST] What is the average PI GP of the player from round 5 with a pick # larger than 151?
context: CREATE TABLE table_name_19 (pl_gp INTEGER, rd__number VARCHAR, pick__number VARCHAR) [/INST] SELECT AVG(pl_gp) FROM table_name_19 WHERE rd__number = 5 AND pick__number > 151 </s> |
What is the title when the series # is 7? | SELECT title FROM table_29747178_2 WHERE series__number = 7 | CREATE TABLE table_29747178_2 (title VARCHAR, series__number VARCHAR) | <s>[INST] What is the title when the series # is 7?
context: CREATE TABLE table_29747178_2 (title VARCHAR, series__number VARCHAR) [/INST] SELECT title FROM table_29747178_2 WHERE series__number = 7 </s> |
What was the voting order when bunny carr was the commentator? | SELECT SUM(voting_order) FROM table_name_50 WHERE commentator = "bunny carr" | CREATE TABLE table_name_50 (voting_order INTEGER, commentator VARCHAR) | <s>[INST] What was the voting order when bunny carr was the commentator?
context: CREATE TABLE table_name_50 (voting_order INTEGER, commentator VARCHAR) [/INST] SELECT SUM(voting_order) FROM table_name_50 WHERE commentator = "bunny carr" </s> |
Which player had a place of T4? | SELECT player FROM table_name_62 WHERE place = "t4" | CREATE TABLE table_name_62 (player VARCHAR, place VARCHAR) | <s>[INST] Which player had a place of T4?
context: CREATE TABLE table_name_62 (player VARCHAR, place VARCHAR) [/INST] SELECT player FROM table_name_62 WHERE place = "t4" </s> |
What is the total number of Block(s), when Spike is less than 341, when Weight is greater than 82, and when Name is Theodoros Baev? | SELECT COUNT(block) FROM table_name_41 WHERE spike < 341 AND weight > 82 AND name = "theodoros baev" | CREATE TABLE table_name_41 (block VARCHAR, name VARCHAR, spike VARCHAR, weight VARCHAR) | <s>[INST] What is the total number of Block(s), when Spike is less than 341, when Weight is greater than 82, and when Name is Theodoros Baev?
context: CREATE TABLE table_name_41 (block VARCHAR, name VARCHAR, spike VARCHAR, weight VARCHAR) [/INST] SELECT COUNT(block) FROM table_name_41 WHERE spike < 341 AND weight > 82... |
What is the livery of the steam locomotive built after 1950 with a wheel arrangement of 2-6-2? | SELECT livery FROM table_name_45 WHERE locomotive_type = "steam" AND year_built > 1950 AND wheel_arrangement = "2-6-2" | CREATE TABLE table_name_45 (livery VARCHAR, wheel_arrangement VARCHAR, locomotive_type VARCHAR, year_built VARCHAR) | <s>[INST] What is the livery of the steam locomotive built after 1950 with a wheel arrangement of 2-6-2?
context: CREATE TABLE table_name_45 (livery VARCHAR, wheel_arrangement VARCHAR, locomotive_type VARCHAR, year_built VARCHAR) [/INST] SELECT livery FROM table_name_45 WHERE locomotive_type = "steam" AND year_built >... |
Name the Score on 17 december 1979? | SELECT score FROM table_name_80 WHERE date = "17 december 1979" | CREATE TABLE table_name_80 (score VARCHAR, date VARCHAR) | <s>[INST] Name the Score on 17 december 1979?
context: CREATE TABLE table_name_80 (score VARCHAR, date VARCHAR) [/INST] SELECT score FROM table_name_80 WHERE date = "17 december 1979" </s> |
Who was the home team where Trail Blazers were the visitor? | SELECT home FROM table_name_70 WHERE visitor = "trail blazers" | CREATE TABLE table_name_70 (home VARCHAR, visitor VARCHAR) | <s>[INST] Who was the home team where Trail Blazers were the visitor?
context: CREATE TABLE table_name_70 (home VARCHAR, visitor VARCHAR) [/INST] SELECT home FROM table_name_70 WHERE visitor = "trail blazers" </s> |
Which vocal type is the most frequently appearring type? | SELECT TYPE FROM vocals GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1 | CREATE TABLE vocals (TYPE VARCHAR) | <s>[INST] Which vocal type is the most frequently appearring type?
context: CREATE TABLE vocals (TYPE VARCHAR) [/INST] SELECT TYPE FROM vocals GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1 </s> |
Who played as Team 1 against Lomé i? | SELECT team_1 FROM table_name_8 WHERE team_2 = "lomé i" | CREATE TABLE table_name_8 (team_1 VARCHAR, team_2 VARCHAR) | <s>[INST] Who played as Team 1 against Lomé i?
context: CREATE TABLE table_name_8 (team_1 VARCHAR, team_2 VARCHAR) [/INST] SELECT team_1 FROM table_name_8 WHERE team_2 = "lomé i" </s> |
What is the number of draws when the played 9 and lost 3? | SELECT drew FROM table_name_23 WHERE played = "9" AND lost = "3" | CREATE TABLE table_name_23 (drew VARCHAR, played VARCHAR, lost VARCHAR) | <s>[INST] What is the number of draws when the played 9 and lost 3?
context: CREATE TABLE table_name_23 (drew VARCHAR, played VARCHAR, lost VARCHAR) [/INST] SELECT drew FROM table_name_23 WHERE played = "9" AND lost = "3" </s> |
What is the average area for code 98030 with population over 312? | SELECT AVG(area__km_2__) FROM table_name_80 WHERE code = 98030 AND population > 312 | CREATE TABLE table_name_80 (area__km_2__ INTEGER, code VARCHAR, population VARCHAR) | <s>[INST] What is the average area for code 98030 with population over 312?
context: CREATE TABLE table_name_80 (area__km_2__ INTEGER, code VARCHAR, population VARCHAR) [/INST] SELECT AVG(area__km_2__) FROM table_name_80 WHERE code = 98030 AND population > 312 </s> |
What place did jacky cupit take when his To par was under 13? | SELECT place FROM table_name_67 WHERE to_par < 13 AND player = "jacky cupit" | CREATE TABLE table_name_67 (place VARCHAR, to_par VARCHAR, player VARCHAR) | <s>[INST] What place did jacky cupit take when his To par was under 13?
context: CREATE TABLE table_name_67 (place VARCHAR, to_par VARCHAR, player VARCHAR) [/INST] SELECT place FROM table_name_67 WHERE to_par < 13 AND player = "jacky cupit" </s> |
What was the crowd attendance when the home team was Melbourne? | SELECT COUNT(crowd) FROM table_name_73 WHERE home_team = "melbourne" | CREATE TABLE table_name_73 (crowd VARCHAR, home_team VARCHAR) | <s>[INST] What was the crowd attendance when the home team was Melbourne?
context: CREATE TABLE table_name_73 (crowd VARCHAR, home_team VARCHAR) [/INST] SELECT COUNT(crowd) FROM table_name_73 WHERE home_team = "melbourne" </s> |
What date did Toumani Diagouraga, who played position MF, start? | SELECT date_from FROM table_name_81 WHERE position = "mf" AND name = "toumani diagouraga" | CREATE TABLE table_name_81 (date_from VARCHAR, position VARCHAR, name VARCHAR) | <s>[INST] What date did Toumani Diagouraga, who played position MF, start?
context: CREATE TABLE table_name_81 (date_from VARCHAR, position VARCHAR, name VARCHAR) [/INST] SELECT date_from FROM table_name_81 WHERE position = "mf" AND name = "toumani diagouraga" </s> |
What were the scores of the games with a record of 47-34? | SELECT score FROM table_27902171_9 WHERE record = "47-34" | CREATE TABLE table_27902171_9 (score VARCHAR, record VARCHAR) | <s>[INST] What were the scores of the games with a record of 47-34?
context: CREATE TABLE table_27902171_9 (score VARCHAR, record VARCHAR) [/INST] SELECT score FROM table_27902171_9 WHERE record = "47-34" </s> |
Show the name for regions not affected. | SELECT region_name FROM region WHERE NOT region_id IN (SELECT region_id FROM affected_region) | CREATE TABLE region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE affected_region (region_name VARCHAR, region_id VARCHAR) | <s>[INST] Show the name for regions not affected.
context: CREATE TABLE region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE affected_region (region_name VARCHAR, region_id VARCHAR) [/INST] SELECT region_name FROM region WHERE NOT region_id IN (SELECT region_id FROM affected_region) </s> |
what is the episode with the 183,000 viewers? | SELECT episode FROM table_name_64 WHERE viewers = "183,000" | CREATE TABLE table_name_64 (episode VARCHAR, viewers VARCHAR) | <s>[INST] what is the episode with the 183,000 viewers?
context: CREATE TABLE table_name_64 (episode VARCHAR, viewers VARCHAR) [/INST] SELECT episode FROM table_name_64 WHERE viewers = "183,000" </s> |
Show the product type codes which have at least two products. | SELECT product_type_code FROM products GROUP BY product_type_code HAVING COUNT(*) >= 2 | CREATE TABLE products (product_type_code VARCHAR) | <s>[INST] Show the product type codes which have at least two products.
context: CREATE TABLE products (product_type_code VARCHAR) [/INST] SELECT product_type_code FROM products GROUP BY product_type_code HAVING COUNT(*) >= 2 </s> |
When chris barnes is on team usa how many europe teams are there? | SELECT COUNT(team_europe) FROM table_19072602_3 WHERE team_usa = "Chris Barnes" | CREATE TABLE table_19072602_3 (team_europe VARCHAR, team_usa VARCHAR) | <s>[INST] When chris barnes is on team usa how many europe teams are there?
context: CREATE TABLE table_19072602_3 (team_europe VARCHAR, team_usa VARCHAR) [/INST] SELECT COUNT(team_europe) FROM table_19072602_3 WHERE team_usa = "Chris Barnes" </s> |
What was the label in the region of Argentina and had a format of CD? | SELECT label FROM table_name_82 WHERE format = "cd" AND region = "argentina" | CREATE TABLE table_name_82 (label VARCHAR, format VARCHAR, region VARCHAR) | <s>[INST] What was the label in the region of Argentina and had a format of CD?
context: CREATE TABLE table_name_82 (label VARCHAR, format VARCHAR, region VARCHAR) [/INST] SELECT label FROM table_name_82 WHERE format = "cd" AND region = "argentina" </s> |
For which play was the points 271? | SELECT played FROM table_name_74 WHERE points_against = "271" | CREATE TABLE table_name_74 (played VARCHAR, points_against VARCHAR) | <s>[INST] For which play was the points 271?
context: CREATE TABLE table_name_74 (played VARCHAR, points_against VARCHAR) [/INST] SELECT played FROM table_name_74 WHERE points_against = "271" </s> |
What is the lowest match that has a lost greater than 3, and kolejarz rawicz as the team? | SELECT MIN(match) FROM table_name_99 WHERE lost > 3 AND team = "kolejarz rawicz" | CREATE TABLE table_name_99 (match INTEGER, lost VARCHAR, team VARCHAR) | <s>[INST] What is the lowest match that has a lost greater than 3, and kolejarz rawicz as the team?
context: CREATE TABLE table_name_99 (match INTEGER, lost VARCHAR, team VARCHAR) [/INST] SELECT MIN(match) FROM table_name_99 WHERE lost > 3 AND team = "kolejarz rawicz" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.