question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
What is the item "Moving to", when the Transfer fee is £300,000? | CREATE TABLE table_name_56 (moving_to VARCHAR, transfer_fee VARCHAR) | SELECT moving_to FROM table_name_56 WHERE transfer_fee = "£300,000" |
What is the Country, when the Transfer fee is "loan", and when the Name is Lynch? | CREATE TABLE table_name_94 (country VARCHAR, transfer_fee VARCHAR, name VARCHAR) | SELECT country FROM table_name_94 WHERE transfer_fee = "loan" AND name = "lynch" |
What is the Transfer window, when the Transfer fee is "free", and when the Name is Dugdale? | CREATE TABLE table_name_86 (transfer_window VARCHAR, transfer_fee VARCHAR, name VARCHAR) | SELECT transfer_window FROM table_name_86 WHERE transfer_fee = "free" AND name = "dugdale" |
What is the Name, when the Transfer fee is "loan"? | CREATE TABLE table_name_80 (name VARCHAR, transfer_fee VARCHAR) | SELECT name FROM table_name_80 WHERE transfer_fee = "loan" |
What is the Transfer window, when the Transfer fee is "free", and when the item "Moving to" is Norwich City? | CREATE TABLE table_name_30 (transfer_window VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR) | SELECT transfer_window FROM table_name_30 WHERE transfer_fee = "free" AND moving_to = "norwich city" |
What is the Transfer fee, when the Transfer window is "winter", and when the item "Moving to" is Northwich Victoria? | CREATE TABLE table_name_94 (transfer_fee VARCHAR, transfer_window VARCHAR, moving_to VARCHAR) | SELECT transfer_fee FROM table_name_94 WHERE transfer_window = "winter" AND moving_to = "northwich victoria" |
What companyw as the constructor when the Time/Retired was collision, and a Grid of 11? | CREATE TABLE table_name_44 (constructor VARCHAR, time_retired VARCHAR, grid VARCHAR) | SELECT constructor FROM table_name_44 WHERE time_retired = "collision" AND grid = "11" |
What shows as the Time/Retired for Grid 8? | CREATE TABLE table_name_2 (time_retired VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_2 WHERE grid = "8" |
What is the number of laps for Grid 3? | CREATE TABLE table_name_36 (laps VARCHAR, grid VARCHAR) | SELECT laps FROM table_name_36 WHERE grid = "3" |
What company was the constructor when Nick Heidfeld was the driver/ | CREATE TABLE table_name_50 (constructor VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_50 WHERE driver = "nick heidfeld" |
What shows for laps when the Time/Retired was +1:08.577? | CREATE TABLE table_name_48 (laps VARCHAR, time_retired VARCHAR) | SELECT laps FROM table_name_48 WHERE time_retired = "+1:08.577" |
What is the name of the constructor for Grid 1? | CREATE TABLE table_name_11 (constructor VARCHAR, grid VARCHAR) | SELECT constructor FROM table_name_11 WHERE grid = "1" |
When was Mushfiqur Rahim's test career? | CREATE TABLE table_name_98 (test_career VARCHAR, player VARCHAR) | SELECT test_career FROM table_name_98 WHERE player = "mushfiqur rahim" |
Name the sum of points for 1984 | CREATE TABLE table_name_95 (points INTEGER, year INTEGER) | SELECT SUM(points) FROM table_name_95 WHERE year < 1984 |
Name the points for Engine of chevrolet 265c | CREATE TABLE table_name_99 (points VARCHAR, engine VARCHAR) | SELECT points FROM table_name_99 WHERE engine = "chevrolet 265c" |
Name the chassis of 147 points and engine of ford cosworth dfx | CREATE TABLE table_name_43 (chassis VARCHAR, points VARCHAR, engine VARCHAR) | SELECT chassis FROM table_name_43 WHERE points = 147 AND engine = "ford cosworth dfx" |
Which term had a Democratic representative from district 7? | CREATE TABLE table_name_22 (term VARCHAR, district VARCHAR, party VARCHAR) | SELECT term FROM table_name_22 WHERE district = "7" AND party = "democratic" |
What was the term of Bruce Biers Kendall whose hometown is Anchorage? | CREATE TABLE table_name_6 (term VARCHAR, hometown VARCHAR, name VARCHAR) | SELECT term FROM table_name_6 WHERE hometown = "anchorage" AND name = "bruce biers kendall" |
What is the hometown of the representative that served the twenty-sixth legislature? | CREATE TABLE table_name_22 (hometown VARCHAR, legislatures VARCHAR) | SELECT hometown FROM table_name_22 WHERE legislatures = "twenty-sixth" |
What is the qual with a 19 rank? | CREATE TABLE table_name_28 (qual VARCHAR, rank VARCHAR) | SELECT qual FROM table_name_28 WHERE rank = "19" |
What rank has a 25 finish? | CREATE TABLE table_name_33 (rank VARCHAR, finish VARCHAR) | SELECT rank FROM table_name_33 WHERE finish = "25" |
What finish has a 143.056 qual? | CREATE TABLE table_name_69 (finish VARCHAR, qual VARCHAR) | SELECT finish FROM table_name_69 WHERE qual = "143.056" |
What rank had more than 165 laps and a finish of 5? | CREATE TABLE table_name_17 (rank VARCHAR, laps VARCHAR, finish VARCHAR) | SELECT rank FROM table_name_17 WHERE laps > 165 AND finish = "5" |
What was the record at the game against the Blue Jays with a loss of Batista (0–3)? | CREATE TABLE table_name_22 (record VARCHAR, opponent VARCHAR, loss VARCHAR) | SELECT record FROM table_name_22 WHERE opponent = "blue jays" AND loss = "batista (0–3)" |
What was the loss of the game when the record was 14–8? | CREATE TABLE table_name_90 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_90 WHERE record = "14–8" |
What was the score of the game when the record was 28–19? | CREATE TABLE table_name_62 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_62 WHERE record = "28–19" |
What was the record at the game held on May 1st with a loss of Speier (1–3)? | CREATE TABLE table_name_94 (record VARCHAR, date VARCHAR, loss VARCHAR) | SELECT record FROM table_name_94 WHERE date = "may 1" AND loss = "speier (1–3)" |
How many goes played fot hteam that lost less than 12 games, drew 5, and had over 37 points? | CREATE TABLE table_name_75 (played VARCHAR, drawn VARCHAR, lost VARCHAR, points VARCHAR) | SELECT played FROM table_name_75 WHERE lost < 12 AND points > 37 AND drawn = 5 |
How many games lost for the team that drew 5 times and had over 41 points? | CREATE TABLE table_name_83 (lost INTEGER, drawn VARCHAR, points VARCHAR) | SELECT AVG(lost) FROM table_name_83 WHERE drawn = 5 AND points > 41 |
How many games played for the army team with over 51 points and under 5 games drawn? | CREATE TABLE table_name_81 (played VARCHAR, points VARCHAR, drawn VARCHAR, team VARCHAR) | SELECT COUNT(played) FROM table_name_81 WHERE drawn < 5 AND team = "army" AND points > 51 |
How many points for the navy team that lost over 11? | CREATE TABLE table_name_4 (points INTEGER, team VARCHAR, lost VARCHAR) | SELECT SUM(points) FROM table_name_4 WHERE team = "navy" AND lost > 11 |
What class of car had the XI Coppa Acerbo title? | CREATE TABLE table_name_31 (class VARCHAR, race_title VARCHAR) | SELECT class FROM table_name_31 WHERE race_title = "xi coppa acerbo" |
Who won the III Coppa Acerbo title? | CREATE TABLE table_name_67 (driver_s VARCHAR, race_title VARCHAR) | SELECT driver_s FROM table_name_67 WHERE race_title = "iii coppa acerbo" |
What's the name of the title for the Maserati A6GCS? | CREATE TABLE table_name_81 (race_title VARCHAR, vehicle VARCHAR) | SELECT race_title FROM table_name_81 WHERE vehicle = "maserati a6gcs" |
Who won the XXIV Gran Premio di Pescara in the sports car class? | CREATE TABLE table_name_81 (driver_s VARCHAR, class VARCHAR, race_title VARCHAR) | SELECT driver_s FROM table_name_81 WHERE class = "sports car" AND race_title = "xxiv gran premio di pescara" |
What surface was the città di caltanissetta played on? | CREATE TABLE table_name_22 (surface VARCHAR, tournament VARCHAR) | SELECT surface FROM table_name_22 WHERE tournament = "città di caltanissetta" |
What was the score in Volkswagen Challenger tournament? | CREATE TABLE table_name_1 (score VARCHAR, tournament VARCHAR) | SELECT score FROM table_name_1 WHERE tournament = "volkswagen challenger" |
what is the production in 2010 with 2011 production of 2,240,000? | CREATE TABLE table_name_23 (Id VARCHAR) | SELECT 2010 FROM table_name_23 WHERE 2011 = "2,240,000" |
what is the ranking for 2010 production of 2,903,000? | CREATE TABLE table_name_52 (rank VARCHAR) | SELECT rank FROM table_name_52 WHERE 2010 = "2,903,000" |
what is the production in 2010 with rank of 8? | CREATE TABLE table_name_39 (rank VARCHAR) | SELECT 2010 FROM table_name_39 WHERE rank = "8" |
What club captain is John Hutchinson in? | CREATE TABLE table_name_95 (club VARCHAR, captain VARCHAR) | SELECT club FROM table_name_95 WHERE captain = "john hutchinson" |
What Australian Marquee team is Michael Beauchamp a captain of? | CREATE TABLE table_name_13 (australian_marquee VARCHAR, captain VARCHAR) | SELECT australian_marquee FROM table_name_13 WHERE captain = "michael beauchamp" |
What Junior Marquee team is Harry Kewell of? | CREATE TABLE table_name_22 (junior_marquee_player VARCHAR, captain VARCHAR) | SELECT junior_marquee_player FROM table_name_22 WHERE captain = "harry kewell" |
What is the name of call sign that uses a Frequency MHz of 91.1 fm? | CREATE TABLE table_name_33 (call_sign VARCHAR, frequency_mhz VARCHAR) | SELECT call_sign FROM table_name_33 WHERE frequency_mhz = "91.1 fm" |
How much is the total ERP W for an 107.9 fm freqeuncy MHz? | CREATE TABLE table_name_63 (erp_w VARCHAR, frequency_mhz VARCHAR) | SELECT COUNT(erp_w) FROM table_name_63 WHERE frequency_mhz = "107.9 fm" |
Can you tell me what is FCC info for harmony township, new jersey? | CREATE TABLE table_name_39 (fcc_info VARCHAR, city_of_license VARCHAR) | SELECT fcc_info FROM table_name_39 WHERE city_of_license = "harmony township, new jersey" |
What is the smallest ERP for allentown, pennsylvania? | CREATE TABLE table_name_66 (erp_w INTEGER, city_of_license VARCHAR) | SELECT MIN(erp_w) FROM table_name_66 WHERE city_of_license = "allentown, pennsylvania" |
Which grid has a time/retired of +3.9 secs in less than 96 laps? | CREATE TABLE table_name_42 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) | SELECT AVG(grid) FROM table_name_42 WHERE time_retired = "+3.9 secs" AND laps < 96 |
Which driver has 7 points for team Australia? | CREATE TABLE table_name_28 (driver VARCHAR, points VARCHAR, team VARCHAR) | SELECT driver FROM table_name_28 WHERE points = 7 AND team = "team australia" |
What is the fewest number of laps for a Dale Coyne Racing team with a mechanical time/retired and fewer than 5 points? | CREATE TABLE table_name_85 (laps INTEGER, points VARCHAR, team VARCHAR, time_retired VARCHAR) | SELECT MIN(laps) FROM table_name_85 WHERE team = "dale coyne racing" AND time_retired = "mechanical" AND points < 5 |
What is the highest points total scored by Dan Clarke in a grid higher than 10? | CREATE TABLE table_name_61 (points INTEGER, driver VARCHAR, grid VARCHAR) | SELECT MAX(points) FROM table_name_61 WHERE driver = "dan clarke" AND grid > 10 |
What is the earliest episode of the series that is set in Boston, Massachusetts? | CREATE TABLE table_name_80 (total INTEGER, location VARCHAR) | SELECT MIN(total) FROM table_name_80 WHERE location = "boston, massachusetts" |
How many people were surveyed in the poll from June 30, 2010? | CREATE TABLE table_name_84 (sample_size VARCHAR, date_s__administered VARCHAR) | SELECT sample_size FROM table_name_84 WHERE date_s__administered = "june 30, 2010" |
What percentage of the vote with a margin of error of ± 3.3% did Meg Whitman (R) get? | CREATE TABLE table_name_35 (meg_whitman__r_ VARCHAR, margin_of_error VARCHAR) | SELECT meg_whitman__r_ FROM table_name_35 WHERE margin_of_error = "± 3.3%" |
How many people participated in the Rasmussen Reports poll on October 13, 2010? | CREATE TABLE table_name_61 (sample_size VARCHAR, poll_source VARCHAR, date_s__administered VARCHAR) | SELECT sample_size FROM table_name_61 WHERE poll_source = "rasmussen reports" AND date_s__administered = "october 13, 2010" |
What percent of the vote went to Meg Whitman in the poll taken on October 21, 2010. | CREATE TABLE table_name_51 (meg_whitman__r_ VARCHAR, date_s__administered VARCHAR) | SELECT meg_whitman__r_ FROM table_name_51 WHERE date_s__administered = "october 21, 2010" |
What is the Prize, when the Event is Ept Deauville? | CREATE TABLE table_name_10 (prize VARCHAR, event VARCHAR) | SELECT prize FROM table_name_10 WHERE event = "ept deauville" |
What is the City, when the Prize is €880,000? | CREATE TABLE table_name_26 (city VARCHAR, prize VARCHAR) | SELECT city FROM table_name_26 WHERE prize = "€880,000" |
What is the City, when the Winner is Ruben Visser? | CREATE TABLE table_name_25 (city VARCHAR, winner VARCHAR) | SELECT city FROM table_name_25 WHERE winner = "ruben visser" |
Who is the Winner, when the Prize is €880,000? | CREATE TABLE table_name_98 (winner VARCHAR, prize VARCHAR) | SELECT winner FROM table_name_98 WHERE prize = "€880,000" |
What is the City, when the Prize is $1,859,000? | CREATE TABLE table_name_17 (city VARCHAR, prize VARCHAR) | SELECT city FROM table_name_17 WHERE prize = "$1,859,000" |
What is the Prize, when the Event is Ept Sanremo? | CREATE TABLE table_name_11 (prize VARCHAR, event VARCHAR) | SELECT prize FROM table_name_11 WHERE event = "ept sanremo" |
On what date was the venue at Edgbaston? | CREATE TABLE table_name_97 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_97 WHERE venue = "edgbaston" |
What is the lowest image with a 20w Harrison, and less than 20 for Ashmolean? | CREATE TABLE table_name_51 (image INTEGER, harrison VARCHAR, ashmolean VARCHAR) | SELECT MIN(image) FROM table_name_51 WHERE harrison = "20w" AND ashmolean < 20 |
What is the number of Ashmolean with 14s Harrison, and image less than 542? | CREATE TABLE table_name_40 (ashmolean VARCHAR, harrison VARCHAR, image VARCHAR) | SELECT COUNT(ashmolean) FROM table_name_40 WHERE harrison = "14s" AND image < 542 |
What is the cooper with an Ashmolean less than 21, and hahland smaller than 4? | CREATE TABLE table_name_43 (cooper VARCHAR, ashmolean VARCHAR, hahland VARCHAR) | SELECT cooper FROM table_name_43 WHERE ashmolean < 21 AND hahland < 4 |
What is the smith with a 16 ashmolean? | CREATE TABLE table_name_62 (smith VARCHAR, ashmolean VARCHAR) | SELECT smith FROM table_name_62 WHERE ashmolean = 16 |
What order has the Species Authority of hydrochaeris hydrochaeris (linnaeus, 1766)? | CREATE TABLE table_name_84 (order VARCHAR, species_authority VARCHAR) | SELECT order FROM table_name_84 WHERE species_authority = "hydrochaeris hydrochaeris (linnaeus, 1766)" |
What is the highest Red List for the muridae family and species Authority of microtus pinetorum (le conte, 1830)? | CREATE TABLE table_name_70 (red_list INTEGER, family VARCHAR, species_authority VARCHAR) | SELECT MAX(red_list) FROM table_name_70 WHERE family = "muridae" AND species_authority = "microtus pinetorum (le conte, 1830)" |
What is the name for the species Authority of sigmodon hispidus say & ord, 1825? | CREATE TABLE table_name_76 (name VARCHAR, species_authority VARCHAR) | SELECT name FROM table_name_76 WHERE species_authority = "sigmodon hispidus say & ord, 1825" |
What is the largest total with a Silver of 1, and a Rank larger than 7? | CREATE TABLE table_name_73 (total INTEGER, silver VARCHAR, rank VARCHAR) | SELECT MAX(total) FROM table_name_73 WHERE silver = 1 AND rank > 7 |
How many totals have a Bronze smaller than 3, a Nation of zimbabwe, and a Silver smaller than 6? | CREATE TABLE table_name_98 (total VARCHAR, silver VARCHAR, bronze VARCHAR, nation VARCHAR) | SELECT COUNT(total) FROM table_name_98 WHERE bronze < 3 AND nation = "zimbabwe" AND silver < 6 |
What is the smallest silver with a Bronze smaller than 6, a Total of 3, and a Rank smaller than 9? | CREATE TABLE table_name_33 (silver INTEGER, rank VARCHAR, bronze VARCHAR, total VARCHAR) | SELECT MIN(silver) FROM table_name_33 WHERE bronze < 6 AND total = 3 AND rank < 9 |
How many ranks have 0 golds, a Nation of namibia, and a Total smaller than 1? | CREATE TABLE table_name_14 (rank VARCHAR, total VARCHAR, gold VARCHAR, nation VARCHAR) | SELECT COUNT(rank) FROM table_name_14 WHERE gold = 0 AND nation = "namibia" AND total < 1 |
How many totals have a Bronze of 0, and a Gold smaller than 0? | CREATE TABLE table_name_22 (total INTEGER, bronze VARCHAR, gold VARCHAR) | SELECT SUM(total) FROM table_name_22 WHERE bronze = 0 AND gold < 0 |
What is the total silver with a Rank larger than 9, and a Total larger than 1? | CREATE TABLE table_name_94 (silver INTEGER, rank VARCHAR, total VARCHAR) | SELECT SUM(silver) FROM table_name_94 WHERE rank > 9 AND total > 1 |
Which language do 1% of males speak? | CREATE TABLE table_name_31 (percentage___percentage_ VARCHAR, males VARCHAR) | SELECT percentage___percentage_ FROM table_name_31 WHERE males = "1" |
Which language do 87.5% of males speak? | CREATE TABLE table_name_44 (males VARCHAR, percentage___percentage_ VARCHAR) | SELECT males FROM table_name_44 WHERE percentage___percentage_ = "87.5" |
Which language do 706 females speak? | CREATE TABLE table_name_10 (females VARCHAR, number VARCHAR) | SELECT females FROM table_name_10 WHERE number = "706" |
How many females speak Ukrainian? | CREATE TABLE table_name_11 (females VARCHAR, language VARCHAR) | SELECT females FROM table_name_11 WHERE language = "ukrainian" |
What was the position of the team that had a goal difference of less than -11 and played less than 38 games? | CREATE TABLE table_name_98 (position INTEGER, goal_difference VARCHAR, played VARCHAR) | SELECT SUM(position) FROM table_name_98 WHERE goal_difference < -11 AND played < 38 |
Which position had a goal difference of less than 27, lost more than 13 games, scored less than 42 goals and drew 6 games? | CREATE TABLE table_name_61 (played INTEGER, draws VARCHAR, goals_for VARCHAR, goal_difference VARCHAR, losses VARCHAR) | SELECT MAX(played) FROM table_name_61 WHERE goal_difference < 27 AND losses > 13 AND goals_for < 42 AND draws = 6 |
What was the number of wins with goals against of less than 32? | CREATE TABLE table_name_96 (wins VARCHAR, goals_against INTEGER) | SELECT COUNT(wins) FROM table_name_96 WHERE goals_against < 32 |
How many Antonov An-2 Colt aircraft are in service? | CREATE TABLE table_name_37 (in_service INTEGER, aircraft VARCHAR) | SELECT AVG(in_service) FROM table_name_37 WHERE aircraft = "antonov an-2 colt" |
for the position of rb what is the name? | CREATE TABLE table_name_67 (name VARCHAR, position VARCHAR) | SELECT name FROM table_name_67 WHERE position = "rb" |
for the name of joe surratt what is the last update? | CREATE TABLE table_name_75 (last_update VARCHAR, name VARCHAR) | SELECT last_update FROM table_name_75 WHERE name = "joe surratt" |
for the name of jamar jackson what is the last update? | CREATE TABLE table_name_81 (last_update VARCHAR, name VARCHAR) | SELECT last_update FROM table_name_81 WHERE name = "jamar jackson" |
for the name of jamar jackson what is the class? | CREATE TABLE table_name_87 (class VARCHAR, name VARCHAR) | SELECT class FROM table_name_87 WHERE name = "jamar jackson" |
for the name of jamar jackson what is the total of Number? | CREATE TABLE table_name_99 (number VARCHAR, name VARCHAR) | SELECT COUNT(number) FROM table_name_99 WHERE name = "jamar jackson" |
What term did Stewart Mcarthur from Vic serve in office? | CREATE TABLE table_name_68 (term_in_office VARCHAR, state VARCHAR, member VARCHAR) | SELECT term_in_office FROM table_name_68 WHERE state = "vic" AND member = "stewart mcarthur" |
What is Hon Paul Keating's Party? | CREATE TABLE table_name_70 (party VARCHAR, member VARCHAR) | SELECT party FROM table_name_70 WHERE member = "hon paul keating" |
What member is in the liberal party and has an electorate of bruce? | CREATE TABLE table_name_73 (member VARCHAR, party VARCHAR, electorate VARCHAR) | SELECT member FROM table_name_73 WHERE party = "liberal" AND electorate = "bruce" |
Which Electorate is from vic, a labor party, and is David Charles a member of? | CREATE TABLE table_name_6 (electorate VARCHAR, member VARCHAR, state VARCHAR, party VARCHAR) | SELECT electorate FROM table_name_6 WHERE state = "vic" AND party = "labor" AND member = "david charles" |
Name the format on july 27, 1994 for alfa records | CREATE TABLE table_name_59 (format VARCHAR, label VARCHAR, date VARCHAR) | SELECT format FROM table_name_59 WHERE label = "alfa records" AND date = "july 27, 1994" |
Name the region for cd with catalog of alca-9203 | CREATE TABLE table_name_43 (region VARCHAR, format VARCHAR, catalog VARCHAR) | SELECT region FROM table_name_43 WHERE format = "cd" AND catalog = "alca-9203" |
Name the date for alfa records and catalog of alr-28045 | CREATE TABLE table_name_6 (date VARCHAR, label VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_6 WHERE label = "alfa records" AND catalog = "alr-28045" |
Name the region for cd format on february 22, 1984 | CREATE TABLE table_name_30 (region VARCHAR, format VARCHAR, date VARCHAR) | SELECT region FROM table_name_30 WHERE format = "cd" AND date = "february 22, 1984" |
Name the region for february 14, 2002 | CREATE TABLE table_name_6 (region VARCHAR, date VARCHAR) | SELECT region FROM table_name_6 WHERE date = "february 14, 2002" |
What First game has a Lost greater than 16? | CREATE TABLE table_name_16 (first_game INTEGER, lost INTEGER) | SELECT AVG(first_game) FROM table_name_16 WHERE lost > 16 |
What Percentage did the First game of 1998 have? | CREATE TABLE table_name_80 (percentage VARCHAR, first_game VARCHAR) | SELECT percentage FROM table_name_80 WHERE first_game = 1998 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.