conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_2562572_44 (settlement VARCHAR, cyrillic_name_other_names VARCHAR)" }, { "from": "human", "value": "Which settlement has the cyrillic and other name of локве (romanian: locve)?" }, { "from": "gpt", "value": "SELECT settlement FROM tabl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_44 (population__2011_ INTEGER, cyrillic_name_other_names VARCHAR)" }, { "from": "human", "value": "What is the population of the settlement with the cyrillic name of добрица?" }, { "from": "gpt", "value": "SELECT MAX(population...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_46 (settlement VARCHAR, cyrillic_name_other_names VARCHAR)" }, { "from": "human", "value": "Which settlement has a cyrillic and other name of војводинци (romanian: voivodinţ)?" }, { "from": "gpt", "value": "SELECT settlement FR...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_46 (dominant_religion__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)" }, { "from": "human", "value": "What was the dominant religion in 2002 of the settlement with the cyrillic and other name of војводинци (romanian: voivodinţ)?" }, ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_46 (population__2011_ INTEGER, cyrillic_name_other_names VARCHAR)" }, { "from": "human", "value": "What was the population in 2011 of the settlement with the cyrillic name of ватин?" }, { "from": "gpt", "value": "SELECT MAX(pop...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_46 (largest_ethnic_group__2002_ VARCHAR, settlement VARCHAR)" }, { "from": "human", "value": "What was the largest ethnic group in sočica?" }, { "from": "gpt", "value": "SELECT largest_ethnic_group__2002_ FROM table_2562572_46 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_46 (population__2011_ VARCHAR, settlement VARCHAR)" }, { "from": "human", "value": "What was the 2011 population of pavliš?" }, { "from": "gpt", "value": "SELECT population__2011_ FROM table_2562572_46 WHERE settlement = \"Pavl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_46 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)" }, { "from": "human", "value": "What was the largest ethnic group in 2002 of the settlement with the cyrillic name of ватин?" }, { "from": "gpt", "val...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_50 (dominant_religion__2002_ VARCHAR, settlement VARCHAR)" }, { "from": "human", "value": "What was the dominant religion (2002) of the Mala Remeta settlement?" }, { "from": "gpt", "value": "SELECT dominant_religion__2002_ FROM...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_50 (type VARCHAR, settlement VARCHAR)" }, { "from": "human", "value": "What type of settlemen is Krušedol Selo?" }, { "from": "gpt", "value": "SELECT type FROM table_2562572_50 WHERE settlement = \"Krušedol Selo\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_50 (type VARCHAR, settlement VARCHAR)" }, { "from": "human", "value": "How many types of settlement if Neradin?" }, { "from": "gpt", "value": "SELECT COUNT(type) FROM table_2562572_50 WHERE settlement = \"Neradin\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_50 (type VARCHAR, settlement VARCHAR)" }, { "from": "human", "value": "What type of settlement is Jazak?" }, { "from": "gpt", "value": "SELECT type FROM table_2562572_50 WHERE settlement = \"Jazak\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_53 (settlement VARCHAR, population__2011_ VARCHAR)" }, { "from": "human", "value": "What is the name of the settlement that had a population of 9443 in 2011?" }, { "from": "gpt", "value": "SELECT settlement FROM table_2562572_5...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_53 (type VARCHAR, settlement VARCHAR)" }, { "from": "human", "value": "How many different types of settlements does Nova Pazova fall into?" }, { "from": "gpt", "value": "SELECT COUNT(type) FROM table_2562572_53 WHERE settlement...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_53 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name VARCHAR)" }, { "from": "human", "value": "What ethnic group had the largest population in сурдук in 2002?" }, { "from": "gpt", "value": "SELECT largest_ethnic_group__2002_ ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_53 (dominant_religion__2002_ VARCHAR, population__2011_ VARCHAR)" }, { "from": "human", "value": "How many dominant religions were in the settlement that had a population of 17105?" }, { "from": "gpt", "value": "SELECT COUNT(do...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_53 (population__2011_ VARCHAR, cyrillic_name VARCHAR)" }, { "from": "human", "value": "What was the population of сурдук in 2011?" }, { "from": "gpt", "value": "SELECT COUNT(population__2011_) FROM table_2562572_53 WHERE cyrill...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_13 (meas_num INTEGER, description VARCHAR)" }, { "from": "human", "value": "When extending eminent domain over roads and ways is the description what is the highest means number?" }, { "from": "gpt", "value": "SELECT MAX(meas_nu...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_13 (type VARCHAR, description VARCHAR)" }, { "from": "human", "value": "When restoring capital punishment is the description how many types are there?" }, { "from": "gpt", "value": "SELECT COUNT(type) FROM table_256286_13 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_13 (no_votes INTEGER)" }, { "from": "human", "value": "What is the lowest overall amount of no votes?" }, { "from": "gpt", "value": "SELECT MIN(no_votes) FROM table_256286_13" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_7 (urban_settlement VARCHAR, city___municipality VARCHAR)" }, { "from": "human", "value": "What was the urban settlement when the city / municipality was kovin?" }, { "from": "gpt", "value": "SELECT urban_settlement FROM table_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_7 (population__1991_ VARCHAR, population__2002_ VARCHAR)" }, { "from": "human", "value": "What is the population (1991) where population (2002) was 14250?" }, { "from": "gpt", "value": "SELECT COUNT(population__1991_) FROM tab...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_7 (population__1991_ INTEGER, cyrillic_name VARCHAR)" }, { "from": "human", "value": "What is the population (1991) when cyrillic name is панчево?" }, { "from": "gpt", "value": "SELECT MIN(population__1991_) FROM table_2562572_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_56 (settlement VARCHAR)" }, { "from": "human", "value": "What is the settlement destiny in Aleksandrovo? " }, { "from": "gpt", "value": "SELECT settlement AS destiny FROM table_2562572_56 WHERE settlement = \"Aleksandrovo\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_56 (cyrillic_name_other_names VARCHAR, settlement VARCHAR)" }, { "from": "human", "value": "What is the Cyrillic name for Novi Vladimirovac? " }, { "from": "gpt", "value": "SELECT cyrillic_name_other_names FROM table_2562572_56...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_54 (population__2011_ VARCHAR, settlement VARCHAR)" }, { "from": "human", "value": "How many items appear in the population 2011 column for the krčedin settlement?" }, { "from": "gpt", "value": "SELECT COUNT(population__2011_) ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_54 (dominant_religion__2002_ VARCHAR, population__2011_ VARCHAR)" }, { "from": "human", "value": "What is the dominant religion in 2002 for the population of 2337 in 2011?" }, { "from": "gpt", "value": "SELECT dominant_religion...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_54 (population__2011_ INTEGER, settlement VARCHAR)" }, { "from": "human", "value": "What is the lowest population in 2011 for the settlement of čortanovci?" }, { "from": "gpt", "value": "SELECT MIN(population__2011_) FROM table...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_54 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)" }, { "from": "human", "value": "What is the largest ethnic group in 2002 for the cyrillic name, other name of бешка?" }, { "from": "gpt", "value": "SE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_8 (population__2002_ INTEGER, population__2011_ VARCHAR)" }, { "from": "human", "value": "What was the lowes population of 2002 when the 2011 population was 30076?" }, { "from": "gpt", "value": "SELECT MIN(population__2002_) FR...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_9 (dominant_religion__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)" }, { "from": "human", "value": "What is the dominant religion in степановићево during 2002?" }, { "from": "gpt", "value": "SELECT dominant_religion__2002_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_9 (cyrillic_name_other_names VARCHAR, population__2011_ VARCHAR)" }, { "from": "human", "value": "What is the cyrillic name for the settlement with the population of 2125?" }, { "from": "gpt", "value": "SELECT cyrillic_name_oth...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_9 (type VARCHAR, cyrillic_name_other_names VARCHAR)" }, { "from": "human", "value": "What type of settlement is футог?" }, { "from": "gpt", "value": "SELECT type FROM table_2562572_9 WHERE cyrillic_name_other_names = \"Футог\""...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_9 (cyrillic_name_other_names VARCHAR, population__2011_ VARCHAR)" }, { "from": "human", "value": "What is the cyrillic name for the settlement with the population of 5414?" }, { "from": "gpt", "value": "SELECT cyrillic_name_oth...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_9 (cyrillic_name_other_names VARCHAR, settlement VARCHAR)" }, { "from": "human", "value": "What is the cyrillic name for Budisava?" }, { "from": "gpt", "value": "SELECT cyrillic_name_other_names FROM table_2562572_9 WHERE settl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2562572_9 (dominant_religion__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)" }, { "from": "human", "value": "What is the dominant religion for нови сад in 2002?" }, { "from": "gpt", "value": "SELECT dominant_religion__2002_ FROM ta...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_19 (yes_votes INTEGER, no_votes VARCHAR)" }, { "from": "human", "value": "What is the largest number of yest votes for the measure with 61307 no votes?" }, { "from": "gpt", "value": "SELECT MAX(yes_votes) FROM table_256286_19 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_19 (meas_num VARCHAR, _percentage_yes VARCHAR)" }, { "from": "human", "value": "What numbered measure had a 58.29% yes%?" }, { "from": "gpt", "value": "SELECT meas_num FROM table_256286_19 WHERE _percentage_yes = \"58.29%\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_19 (passed VARCHAR, no_votes VARCHAR)" }, { "from": "human", "value": "What was the passing result for the measure with 61307 no votes?" }, { "from": "gpt", "value": "SELECT passed FROM table_256286_19 WHERE no_votes = 61307" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_19 (meas_num INTEGER, _percentage_yes VARCHAR)" }, { "from": "human", "value": "What is the lowest measure number for the measure with a 33.57% yes percentage?" }, { "from": "gpt", "value": "SELECT MIN(meas_num) FROM table_25628...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_19 (passed VARCHAR, description VARCHAR)" }, { "from": "human", "value": "What was the passing result for the measure with a description of bus and truck operating license bill?" }, { "from": "gpt", "value": "SELECT passed FROM...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_22 (passed VARCHAR, _percentage_yes VARCHAR)" }, { "from": "human", "value": "What was the result of the ballot that had a 52.49% yes vote percentage?" }, { "from": "gpt", "value": "SELECT passed FROM table_256286_22 WHERE _perc...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_21 (type VARCHAR, meas_num VARCHAR)" }, { "from": "human", "value": "What type of proposal is measure number 3?" }, { "from": "gpt", "value": "SELECT type FROM table_256286_21 WHERE meas_num = 3" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_23 (yes_votes VARCHAR, _percentage_yes VARCHAR)" }, { "from": "human", "value": "How many yes votes did the measure that got 60.39% yes votes get?" }, { "from": "gpt", "value": "SELECT yes_votes FROM table_256286_23 WHERE _perce...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_23 (description VARCHAR, _percentage_yes VARCHAR)" }, { "from": "human", "value": "What is the description of the measure that got 39.57% yes votes?" }, { "from": "gpt", "value": "SELECT description FROM table_256286_23 WHERE _p...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_23 (meas_num INTEGER, description VARCHAR)" }, { "from": "human", "value": "What is the number of the tax supervising and conservation bill?" }, { "from": "gpt", "value": "SELECT MIN(meas_num) FROM table_256286_23 WHERE descript...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_39 (passed VARCHAR, _percentage_yes VARCHAR)" }, { "from": "human", "value": "How many ballot measures had a percentage yes of 52.11%?" }, { "from": "gpt", "value": "SELECT COUNT(passed) FROM table_256286_39 WHERE _percentage_ye...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_39 (description VARCHAR, _percentage_yes VARCHAR)" }, { "from": "human", "value": "What is the measure where the yes% is 44.06%?" }, { "from": "gpt", "value": "SELECT description FROM table_256286_39 WHERE _percentage_yes = \"44...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_39 (passed VARCHAR, yes_votes VARCHAR)" }, { "from": "human", "value": "How many measures had a yes vote of 216545?" }, { "from": "gpt", "value": "SELECT COUNT(passed) FROM table_256286_39 WHERE yes_votes = 216545" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_39 (meas_num INTEGER)" }, { "from": "human", "value": "What is the highest measure number?" }, { "from": "gpt", "value": "SELECT MAX(meas_num) FROM table_256286_39" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_45 (_percentage_yes VARCHAR, no_votes VARCHAR)" }, { "from": "human", "value": "What was the percentage of yes votes for the measure where the no votes number 199174?" }, { "from": "gpt", "value": "SELECT _percentage_yes FROM ta...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_45 (type VARCHAR, yes_votes VARCHAR)" }, { "from": "human", "value": "How many types are there for the measure where there were 312680 yes votes?" }, { "from": "gpt", "value": "SELECT COUNT(type) FROM table_256286_45 WHERE yes_v...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_45 (no_votes VARCHAR, description VARCHAR)" }, { "from": "human", "value": "How many figures are there for No votes for the Forest Rehabilitation Debt Limit Amendment?" }, { "from": "gpt", "value": "SELECT COUNT(no_votes) FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_45 (type VARCHAR, description VARCHAR)" }, { "from": "human", "value": "What is the type of measure that voted on the Power Development Debt Limit Amendment?" }, { "from": "gpt", "value": "SELECT type FROM table_256286_45 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_40 (passed VARCHAR, description VARCHAR)" }, { "from": "human", "value": "What vote passed for the measure with the description, authorizing state acceptance of certain gifts? " }, { "from": "gpt", "value": "SELECT passed FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_40 (passed VARCHAR, yes_votes VARCHAR)" }, { "from": "human", "value": "How many votes passed are listed on the measure that had 390338 yes votes? " }, { "from": "gpt", "value": "SELECT COUNT(passed) FROM table_256286_40 WHERE y...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_40 (type VARCHAR, yes_votes VARCHAR)" }, { "from": "human", "value": "What was the type when there were 175932 yes votes? " }, { "from": "gpt", "value": "SELECT type FROM table_256286_40 WHERE yes_votes = 175932" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_41 (yes_votes VARCHAR, no_votes VARCHAR, _percentage_yes VARCHAR)" }, { "from": "human", "value": "What is the aggregate number of yes votes where no votes is littler than 299939.1619948521 and % yes is 66.49%" }, { "from": "gpt", ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_55 (description VARCHAR, _percentage_yes VARCHAR)" }, { "from": "human", "value": "What is the description of the measure that got 78.27% yes votes?" }, { "from": "gpt", "value": "SELECT description FROM table_256286_55 WHERE _p...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_55 (meas_num INTEGER)" }, { "from": "human", "value": "What is the highest measure number?" }, { "from": "gpt", "value": "SELECT MAX(meas_num) FROM table_256286_55" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_5 (type VARCHAR, description VARCHAR)" }, { "from": "human", "value": "How many type classifications are given to the measure with the description, calling convention to revise state constitution? " }, { "from": "gpt", "value": ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_5 (_percentage_yes VARCHAR, yes_votes VARCHAR)" }, { "from": "human", "value": "What is the yes percentage in the measure that had 35270 yes votes? " }, { "from": "gpt", "value": "SELECT _percentage_yes FROM table_256286_5 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_54 (meas_num INTEGER, no_votes VARCHAR)" }, { "from": "human", "value": "When the no votes was 322682, what was the max meas. number?" }, { "from": "gpt", "value": "SELECT MAX(meas_num) FROM table_256286_54 WHERE no_votes = 3226...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_60 (yes_votes INTEGER, meas_num VARCHAR)" }, { "from": "human", "value": "How yes votes were there for measure 4? " }, { "from": "gpt", "value": "SELECT MAX(yes_votes) FROM table_256286_60 WHERE meas_num = 4" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_60 (meas_num INTEGER)" }, { "from": "human", "value": "What was the lowest measure number? " }, { "from": "gpt", "value": "SELECT MIN(meas_num) FROM table_256286_60" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_8 (type VARCHAR, _percentage_yes VARCHAR)" }, { "from": "human", "value": "What was the type of ballot measures if the % of yes vote is 32.47%?" }, { "from": "gpt", "value": "SELECT type FROM table_256286_8 WHERE _percentage_yes...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_8 (type VARCHAR, description VARCHAR)" }, { "from": "human", "value": "What was the type of ballot measure with the description of Department of Industry and Public Works Amendment?" }, { "from": "gpt", "value": "SELECT type FRO...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_8 (no_votes VARCHAR, description VARCHAR)" }, { "from": "human", "value": "How many data are there under NO vote with a description of $1500 tax exemption amendment?" }, { "from": "gpt", "value": "SELECT COUNT(no_votes) FROM tab...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_61 (_percentage_yes VARCHAR, yes_votes VARCHAR)" }, { "from": "human", "value": "What is the percentage of yes when there were 218846 yes votes" }, { "from": "gpt", "value": "SELECT _percentage_yes FROM table_256286_61 WHERE yes...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_61 (type VARCHAR, _percentage_yes VARCHAR)" }, { "from": "human", "value": "How many type catagories are listed when the percentage of yes is 68.91%?" }, { "from": "gpt", "value": "SELECT COUNT(type) FROM table_256286_61 WHERE _...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_61 (type VARCHAR, yes_votes VARCHAR)" }, { "from": "human", "value": "What is the type when yes votes are 546255? " }, { "from": "gpt", "value": "SELECT type FROM table_256286_61 WHERE yes_votes = 546255" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_256286_61 (meas_num VARCHAR, description VARCHAR)" }, { "from": "human", "value": "What is the measure number for the bill described as obscenity and sexual conduct bill? " }, { "from": "gpt", "value": "SELECT meas_num FROM table_25628...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25647137_2 (points VARCHAR, player VARCHAR)" }, { "from": "human", "value": "How many points did art renner have?" }, { "from": "gpt", "value": "SELECT COUNT(points) FROM table_25647137_2 WHERE player = \"Art Renner\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25647137_2 (touchdowns VARCHAR, player VARCHAR)" }, { "from": "human", "value": "How many touchdowns did bill culligan have?" }, { "from": "gpt", "value": "SELECT COUNT(touchdowns) FROM table_25647137_2 WHERE player = \"Bill Culligan\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25647137_2 (touchdowns INTEGER)" }, { "from": "human", "value": "What was the highest number of touchdowns by a player?" }, { "from": "gpt", "value": "SELECT MAX(touchdowns) FROM table_25647137_2" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25647137_2 (points INTEGER, player VARCHAR)" }, { "from": "human", "value": "How many points did robert stenberg have?" }, { "from": "gpt", "value": "SELECT MIN(points) FROM table_25647137_2 WHERE player = \"Robert Stenberg\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25643046_1 (location VARCHAR, origin_time VARCHAR)" }, { "from": "human", "value": "Where was the quake that began at 14:07?" }, { "from": "gpt", "value": "SELECT location FROM table_25643046_1 WHERE origin_time = \"14:07\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25643046_1 (epicentre__lat VARCHAR, _s_ VARCHAR, origin_time VARCHAR)" }, { "from": "human", "value": "What was the epicenter latitude for the quake that started at 17:09?" }, { "from": "gpt", "value": "SELECT epicentre__lat, _s_ FROM ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25649467_2 (series__number VARCHAR, season__number VARCHAR)" }, { "from": "human", "value": "When 12 is the season number how many series numbers are there?" }, { "from": "gpt", "value": "SELECT COUNT(series__number) FROM table_2564946...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25655781_17 (mountains_classification VARCHAR, winner VARCHAR)" }, { "from": "human", "value": "Who had the mountains classification when borut božič was the winner?" }, { "from": "gpt", "value": "SELECT mountains_classification FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25655781_17 (team_classification VARCHAR, winner VARCHAR, points_classification VARCHAR)" }, { "from": "human", "value": "What was the team classification where andré greipel was the winner and had the points classification?" }, { "from": ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25655781_17 (stage INTEGER)" }, { "from": "human", "value": "How many stages are there?" }, { "from": "gpt", "value": "SELECT MAX(stage) FROM table_25655781_17" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25655781_17 (sprint_classification VARCHAR, winner VARCHAR)" }, { "from": "human", "value": "How many sprint classifications are there where marco frapporti is the winner?" }, { "from": "gpt", "value": "SELECT COUNT(sprint_classificati...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25664518_3 (second_couple VARCHAR, itv1_weekly_ranking VARCHAR)" }, { "from": "human", "value": "Who was the second couple for the episode having an ITV1 ranking of 29?" }, { "from": "gpt", "value": "SELECT second_couple FROM table_256...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25664518_3 (itv1_weekly_ranking INTEGER)" }, { "from": "human", "value": "What is the maximum ITV1 weekly ranking?" }, { "from": "gpt", "value": "SELECT MAX(itv1_weekly_ranking) FROM table_25664518_3" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25664518_3 (viewers__millions_ VARCHAR, fourth_couple VARCHAR)" }, { "from": "human", "value": "What was the number of viewers for the episode having a fourth couple of Tony and Jamie?" }, { "from": "gpt", "value": "SELECT viewers__mil...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25664518_3 (first_couple VARCHAR, fourth_couple VARCHAR)" }, { "from": "human", "value": "Who was the first couple in the episode having a fourth couple of Sammy and Nat?" }, { "from": "gpt", "value": "SELECT first_couple FROM table_25...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25664518_3 (itv1_weekly_ranking INTEGER, viewers__millions_ VARCHAR)" }, { "from": "human", "value": "What is the minimum ITV1 ranking for the episode having viewership of 5.42 million?" }, { "from": "gpt", "value": "SELECT MIN(itv1_we...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25668962_1 (no_in_series INTEGER, us_viewers__million_ VARCHAR)" }, { "from": "human", "value": "What episode number in the series was viewed by 13.66 million people in the U.S.?" }, { "from": "gpt", "value": "SELECT MAX(no_in_series) ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25668962_1 (us_viewers__million_ VARCHAR, production_code VARCHAR)" }, { "from": "human", "value": "How many million U.S. viewers watched the epiode with a production code of 1arc12?" }, { "from": "gpt", "value": "SELECT us_viewers__mi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25668962_1 (us_viewers__million_ VARCHAR, production_code VARCHAR)" }, { "from": "human", "value": "How many million U.S. viewers watched the episode with a production code of 1arc03?" }, { "from": "gpt", "value": "SELECT us_viewers__m...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25668962_1 (us_viewers__million_ VARCHAR, no_in_series VARCHAR)" }, { "from": "human", "value": "How many million U.S. viewers watched episode number 6 in the series?" }, { "from": "gpt", "value": "SELECT us_viewers__million_ FROM tabl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25668962_1 (directed_by VARCHAR, no_in_series VARCHAR)" }, { "from": "human", "value": "Who directed episode number 18 in the series?" }, { "from": "gpt", "value": "SELECT directed_by FROM table_25668962_1 WHERE no_in_series = 18" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25664518_4 (viewers__millions_ VARCHAR)" }, { "from": "human", "value": "Who were the 3rd couple that were viewed by 4.89 million viewers? " }, { "from": "gpt", "value": "SELECT 3 AS rd_couple FROM table_25664518_4 WHERE viewers__milli...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25668203_2 (location VARCHAR, most_laps_led VARCHAR)" }, { "from": "human", "value": "What location(s) did patrick mckenna lead the most laps?" }, { "from": "gpt", "value": "SELECT location FROM table_25668203_2 WHERE most_laps_led = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25668203_2 (fastest_lap VARCHAR, rnd VARCHAR)" }, { "from": "human", "value": "How many races went for 10 rounds?" }, { "from": "gpt", "value": "SELECT COUNT(fastest_lap) FROM table_25668203_2 WHERE rnd = \"10\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25668203_2 (most_laps_led VARCHAR, location VARCHAR, winning_driver VARCHAR)" }, { "from": "human", "value": "Who had the most laps led in monterey, california when scott rarick won the race?" }, { "from": "gpt", "value": "SELECT most_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25668203_2 (winning_team VARCHAR, winning_driver VARCHAR)" }, { "from": "human", "value": "What was the winning team when mikhail goikhberg was the winning driver?" }, { "from": "gpt", "value": "SELECT winning_team FROM table_25668203_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25679312_2 (directed_by VARCHAR, prod_code VARCHAR)" }, { "from": "human", "value": "Who directed the episode with the production code 10?" }, { "from": "gpt", "value": "SELECT directed_by FROM table_25679312_2 WHERE prod_code = 10" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_25679312_2 (written_by VARCHAR, prod_code VARCHAR)" }, { "from": "human", "value": "Who wrote the episode with production code 2?" }, { "from": "gpt", "value": "SELECT written_by FROM table_25679312_2 WHERE prod_code = 2" } ]
know_sql
chosen