conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_23486853_6 (game INTEGER, opponent VARCHAR)" }, { "from": "human", "value": "What was the game number when the opposing team was the Buffalo Sabres?" }, { "from": "gpt", "value": "SELECT MIN(game) FROM table_23486853_6 WHERE opponent =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_234886_3 (directed_by VARCHAR, no_in_series VARCHAR)" }, { "from": "human", "value": "Who directed episode no. 44 in the series?" }, { "from": "gpt", "value": "SELECT directed_by FROM table_234886_3 WHERE no_in_series = 44" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_234886_3 (no_in_season VARCHAR, prod_code VARCHAR)" }, { "from": "human", "value": "What is the number in the season of the episode with a production code of 2-05?" }, { "from": "gpt", "value": "SELECT COUNT(no_in_season) FROM table_23...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_234886_3 (title VARCHAR, prod_code VARCHAR)" }, { "from": "human", "value": "What is the title of the episode with the production code 2-19?" }, { "from": "gpt", "value": "SELECT title FROM table_234886_3 WHERE prod_code = \"2-19\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_234886_3 (title VARCHAR, no_in_series VARCHAR)" }, { "from": "human", "value": "What is the total number of titles for the episode numbered 29 in the series?" }, { "from": "gpt", "value": "SELECT COUNT(title) FROM table_234886_3 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23492454_1 (title VARCHAR, directed_by VARCHAR)" }, { "from": "human", "value": "What was the name of the episode directed by Jessica Yu?" }, { "from": "gpt", "value": "SELECT title FROM table_23492454_1 WHERE directed_by = \"Jessica Y...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23492454_1 (directed_by VARCHAR, written_by VARCHAR)" }, { "from": "human", "value": "who directed the episode written by Shonda Rhimes?" }, { "from": "gpt", "value": "SELECT directed_by FROM table_23492454_1 WHERE written_by = \"Shond...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23492454_1 (no_in_series VARCHAR, no_in_season VARCHAR)" }, { "from": "human", "value": "How many episodes in the series are also episode 18 in the season?" }, { "from": "gpt", "value": "SELECT COUNT(no_in_series) FROM table_23492454_1...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23486853_8 (opponent VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Who is every opponent on the date of March 16?" }, { "from": "gpt", "value": "SELECT opponent FROM table_23486853_8 WHERE date = \"March 16\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23486853_8 (score VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What is every score for the opponent of Atlanta Thrashers?" }, { "from": "gpt", "value": "SELECT score FROM table_23486853_8 WHERE opponent = \"Atlanta Thras...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23486853_8 (location VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is every location for the date of March 20?" }, { "from": "gpt", "value": "SELECT location FROM table_23486853_8 WHERE date = \"March 20\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23486853_8 (score VARCHAR, location VARCHAR, points VARCHAR)" }, { "from": "human", "value": "What is every score at the location of Verizon Center and points of 68?" }, { "from": "gpt", "value": "SELECT score FROM table_23486853_8 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23486853_8 (date VARCHAR, record VARCHAR)" }, { "from": "human", "value": "What is every date with a record of 30–34–12?" }, { "from": "gpt", "value": "SELECT date FROM table_23486853_8 WHERE record = \"30–34–12\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23508196_2 (officers_o_s INTEGER, total_usaaf VARCHAR)" }, { "from": "human", "value": "How many officers o/s were there on the day when the number of USAAF was 2373882?" }, { "from": "gpt", "value": "SELECT MAX(officers_o_s) FROM tabl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23508196_2 (tot_enlisted VARCHAR, enlisted_o_s VARCHAR)" }, { "from": "human", "value": "How many different numbers of Tot enlisted are there on the dates when the number of Enlisted o/s was 801471?" }, { "from": "gpt", "value": "SELEC...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23508196_2 (tot_officers VARCHAR, tot_enlisted VARCHAR)" }, { "from": "human", "value": "How many tot officers were there on the date when the number of tot enlisted was 329640?" }, { "from": "gpt", "value": "SELECT tot_officers FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23508196_2 (tot_enlisted INTEGER, total_usaaf VARCHAR)" }, { "from": "human", "value": "How many Tot enlisted were there on the day when the number of total USAAF was 2329534?" }, { "from": "gpt", "value": "SELECT MAX(tot_enlisted) FRO...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23495048_2 (age VARCHAR, represent VARCHAR)" }, { "from": "human", "value": "How many contestants where from mitteldeutschland?" }, { "from": "gpt", "value": "SELECT COUNT(age) FROM table_23495048_2 WHERE represent = \"Mitteldeutschlan...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23495048_2 (height__mtr_ VARCHAR, contestant VARCHAR)" }, { "from": "human", "value": "How many meters tall is Ulrike Wolful?" }, { "from": "gpt", "value": "SELECT height__mtr_ FROM table_23495048_2 WHERE contestant = \"Ulrike Wolful\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23495048_2 (represent VARCHAR, height__mtr_ VARCHAR)" }, { "from": "human", "value": "Which country had a contestant that was 1.76 meters tall?" }, { "from": "gpt", "value": "SELECT represent FROM table_23495048_2 WHERE height__mtr_ = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23495048_2 (represent VARCHAR, height__mtr_ VARCHAR)" }, { "from": "human", "value": "What country had a contestant that was 1.70 meters tall?" }, { "from": "gpt", "value": "SELECT represent FROM table_23495048_2 WHERE height__mtr_ = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23501776_18 (points INTEGER, seed VARCHAR)" }, { "from": "human", "value": "If seed number is 2, what is the maximum amount of points?" }, { "from": "gpt", "value": "SELECT MAX(points) FROM table_23501776_18 WHERE seed = 2" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23501776_18 (status VARCHAR, new_points VARCHAR)" }, { "from": "human", "value": "If new points is 1720, what is the status?" }, { "from": "gpt", "value": "SELECT status FROM table_23501776_18 WHERE new_points = 1720" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23512864_4 (winning_party_coalition VARCHAR, election_year VARCHAR)" }, { "from": "human", "value": "Who is the winning party/coalition name in election year 1980?" }, { "from": "gpt", "value": "SELECT winning_party_coalition FROM tabl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23512864_4 (election_year INTEGER, speaker VARCHAR)" }, { "from": "human", "value": "If the speaker is Munu Adhi (2) K. Rajaram, what is the election year maximum?" }, { "from": "gpt", "value": "SELECT MAX(election_year) FROM table_235...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23512864_4 (election_year INTEGER, speaker VARCHAR)" }, { "from": "human", "value": "If the speaker is R. Muthiah, what is the election year maximum?" }, { "from": "gpt", "value": "SELECT MAX(election_year) FROM table_23512864_4 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23512864_4 (speaker VARCHAR, chief_minister VARCHAR)" }, { "from": "human", "value": "What is the name of the speaker if the chief minister is M.G. Ramachandran?" }, { "from": "gpt", "value": "SELECT speaker FROM table_23512864_4 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23512864_4 (election_year INTEGER, assembly VARCHAR)" }, { "from": "human", "value": "If the assembly is the sixth assembly, what is the maximum election year?" }, { "from": "gpt", "value": "SELECT MAX(election_year) FROM table_2351286...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23508196_5 (number_of_crews VARCHAR, type_of_unit VARCHAR)" }, { "from": "human", "value": "Name the number of crews for light bombardment group" }, { "from": "gpt", "value": "SELECT number_of_crews FROM table_23508196_5 WHERE type_of_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23508196_5 (type_of_aircraft VARCHAR, number_of_crews VARCHAR)" }, { "from": "human", "value": "What is the aircraft for 21 crews?" }, { "from": "gpt", "value": "SELECT type_of_aircraft FROM table_23508196_5 WHERE number_of_crews = \"2...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23508196_5 (enlisted VARCHAR, type_of_unit VARCHAR)" }, { "from": "human", "value": "Nam ethe enlisted for troop carrier group" }, { "from": "gpt", "value": "SELECT enlisted FROM table_23508196_5 WHERE type_of_unit = \"Troop carrier gr...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23513241_5 (title VARCHAR, us_viewers__millions_ VARCHAR)" }, { "from": "human", "value": "What was the title when 1.121 million US people watched it?" }, { "from": "gpt", "value": "SELECT title FROM table_23513241_5 WHERE us_viewers__...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23513241_5 (series_episode INTEGER, prod_code VARCHAR)" }, { "from": "human", "value": "What is the lowest series episode with a production code of 406?" }, { "from": "gpt", "value": "SELECT MIN(series_episode) FROM table_23513241_5 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23513241_5 (title VARCHAR, series_episode VARCHAR)" }, { "from": "human", "value": "List the title of series episode 38." }, { "from": "gpt", "value": "SELECT title FROM table_23513241_5 WHERE series_episode = 38" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23548160_1 (formula VARCHAR, driver VARCHAR)" }, { "from": "human", "value": "What type of formula did Stirling Moss drive?" }, { "from": "gpt", "value": "SELECT formula FROM table_23548160_1 WHERE driver = \"Stirling Moss\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23548160_1 (year VARCHAR, driver VARCHAR)" }, { "from": "human", "value": "What year did Randy Lewis drive?" }, { "from": "gpt", "value": "SELECT year FROM table_23548160_1 WHERE driver = \"Randy Lewis\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23548160_1 (constructor VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What was the constructor in 1975?" }, { "from": "gpt", "value": "SELECT constructor FROM table_23548160_1 WHERE year = 1975" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table (weight VARCHAR, market_name VARCHAR)" }, { "from": "human", "value": "If the market name is Xperia U, what is the weight?" }, { "from": "gpt", "value": "SELECT weight FROM table WHERE market_name = \"Xperia U\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table (release_date VARCHAR, code_name VARCHAR)" }, { "from": "human", "value": "What is the release date if the code name is Aoba?" }, { "from": "gpt", "value": "SELECT release_date FROM table WHERE code_name = \"Aoba\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table (battery___mah__ VARCHAR, nfc VARCHAR, weight VARCHAR)" }, { "from": "human", "value": "If the weight is 126g and the NFC is yes, what is the battery (MAH)?" }, { "from": "gpt", "value": "SELECT battery___mah__ FROM table WHERE nfc = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table (platform VARCHAR, weight VARCHAR)" }, { "from": "human", "value": "What is the platform if the weight is 131.5g?" }, { "from": "gpt", "value": "SELECT platform FROM table WHERE weight = \"131.5g\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table (android_version VARCHAR, code_name VARCHAR)" }, { "from": "human", "value": "What is the Android version is the code name is Lotus?" }, { "from": "gpt", "value": "SELECT android_version FROM table WHERE code_name = \"Lotus\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23537091_1 (copper_age VARCHAR, ubaid_period_in_mesopotamia VARCHAR)" }, { "from": "human", "value": "When middle assyrian empire is the ubaid period in mesopotamia what is the copper age?" }, { "from": "gpt", "value": "SELECT copper_a...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23537091_1 (copper_age VARCHAR, ubaid_period_in_mesopotamia VARCHAR)" }, { "from": "human", "value": "When hittite old kingdom , minoan eruption is the ubaid period in mesopotamia what is the copper age?" }, { "from": "gpt", "value": ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23537091_1 (early_chalcolithic VARCHAR, ubaid_period_in_mesopotamia VARCHAR)" }, { "from": "human", "value": "When hittite middle kingdom , new kingdom of egypt is the ubaid period in mesopotamia how many early chalcolithics are there?" }, { ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23537091_1 (early_chalcolithic VARCHAR, ubaid_period_in_mesopotamia VARCHAR)" }, { "from": "human", "value": "When the second intermediate period of egypt is the ubaid period in mesopotamia how many early calcolithics are there?" }, { "fr...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23563375_11 (result VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What was the score against Loic Didavi?" }, { "from": "gpt", "value": "SELECT result FROM table_23563375_11 WHERE opponent = \"Loic Didavi\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23563375_11 (against VARCHAR, w_l VARCHAR, round VARCHAR)" }, { "from": "human", "value": "Who was played against when there was a loss and in the gi po round?" }, { "from": "gpt", "value": "SELECT against FROM table_23563375_11 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23563375_11 (w_l VARCHAR, result VARCHAR)" }, { "from": "human", "value": "What were the w/l when the final score was 2–6, 5–7, 7–6 (11–9) , 1–6?" }, { "from": "gpt", "value": "SELECT w_l FROM table_23563375_11 WHERE result = \"2–6, 5–...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2357201_1 (playoffs VARCHAR, regular_season VARCHAR)" }, { "from": "human", "value": "When Cleveland was 2nd, great lakes in the regular season what did they get to in the playoffs?" }, { "from": "gpt", "value": "SELECT playoffs FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2357201_1 (division INTEGER)" }, { "from": "human", "value": "What is the lowest numbered division Cleveland played in? " }, { "from": "gpt", "value": "SELECT MIN(division) FROM table_2357201_1" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2357201_1 (regular_season VARCHAR, year VARCHAR)" }, { "from": "human", "value": "How did Cleveland do in the regular season in 2006?" }, { "from": "gpt", "value": "SELECT regular_season FROM table_2357201_1 WHERE year = 2006" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2357201_1 (open_cup VARCHAR, year VARCHAR)" }, { "from": "human", "value": "How did Cleveland do in the Open Cup in 2009?" }, { "from": "gpt", "value": "SELECT open_cup FROM table_2357201_1 WHERE year = 2009" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23575917_6 (scores VARCHAR, lees_team VARCHAR)" }, { "from": "human", "value": "When victoria coren and rhod gilbert are both on the lees team what is the score?" }, { "from": "gpt", "value": "SELECT scores FROM table_23575917_6 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23575917_6 (first_broadcast VARCHAR, davids_team VARCHAR)" }, { "from": "human", "value": "When david o'doherty and katherine parkinson are both on the davids team when is the first broadcast?" }, { "from": "gpt", "value": "SELECT firs...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23575917_6 (episode VARCHAR, davids_team VARCHAR)" }, { "from": "human", "value": "When bill oddie and frank skinner are both on the davids team what is the episode?" }, { "from": "gpt", "value": "SELECT episode FROM table_23575917_6 W...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23575917_6 (scores VARCHAR, lees_team VARCHAR)" }, { "from": "human", "value": "When kevin bridges and katy wix are both on the less team what is the score?" }, { "from": "gpt", "value": "SELECT scores FROM table_23575917_6 WHERE lees...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23575917_8 (episode VARCHAR, davids_team VARCHAR)" }, { "from": "human", "value": "How many shows did team David consist of vernon kay and dara Γ³ briain" }, { "from": "gpt", "value": "SELECT COUNT(episode) FROM table_23575917_8 WHERE d...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23576576_2 (represented VARCHAR, hometown VARCHAR)" }, { "from": "human", "value": "If the hometown is Windhoek, what is the represented?" }, { "from": "gpt", "value": "SELECT represented FROM table_23576576_2 WHERE hometown = \"Windho...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23576576_2 (contestant VARCHAR, hometown VARCHAR)" }, { "from": "human", "value": "If the hometown is Omuthiya, what is the contestant name?" }, { "from": "gpt", "value": "SELECT contestant FROM table_23576576_2 WHERE hometown = \"Omut...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23576576_2 (height__in_ VARCHAR, represented VARCHAR)" }, { "from": "human", "value": "What is the height in inches if the represented is Erongo?" }, { "from": "gpt", "value": "SELECT height__in_ FROM table_23576576_2 WHERE represented...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23601267_2 (week VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What week did September 29 fall in?" }, { "from": "gpt", "value": "SELECT COUNT(week) FROM table_23601267_2 WHERE date = \"September 29\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23601267_2 (final_score VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What was the score on the October 28 game?" }, { "from": "gpt", "value": "SELECT final_score FROM table_23601267_2 WHERE date = \"October 28\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23601267_2 (final_score VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What was the score on September 20?" }, { "from": "gpt", "value": "SELECT final_score FROM table_23601267_2 WHERE date = \"September 20\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23614702_1 (main_artillery VARCHAR, warship VARCHAR)" }, { "from": "human", "value": "What's Blanco Encalada's main artillery?" }, { "from": "gpt", "value": "SELECT main_artillery FROM table_23614702_1 WHERE warship = \"Blanco Encalada...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23614702_1 (horse__power VARCHAR, warship VARCHAR)" }, { "from": "human", "value": "How many different horse-powers does the Cochrane have?" }, { "from": "gpt", "value": "SELECT COUNT(horse__power) FROM table_23614702_1 WHERE warship =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23614702_1 (warship VARCHAR, horse__power VARCHAR)" }, { "from": "human", "value": "What warship has horse-power of 1500?" }, { "from": "gpt", "value": "SELECT warship FROM table_23614702_1 WHERE horse__power = 1500" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23614702_1 (tons___lton__ INTEGER, warship VARCHAR)" }, { "from": "human", "value": "How much does the Independencia weight?" }, { "from": "gpt", "value": "SELECT MIN(tons___lton__) FROM table_23614702_1 WHERE warship = \"Independencia...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23614702_1 (built_year VARCHAR, tons___lton__ VARCHAR)" }, { "from": "human", "value": "In how many different years was the warship that weights 1130 tons built?" }, { "from": "gpt", "value": "SELECT COUNT(built_year) FROM table_236147...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23606500_4 (_percentage_20_39 VARCHAR, _percentage_60_74 VARCHAR)" }, { "from": "human", "value": "What is every value for % 20-39 if % 60-74 is 10,46%?" }, { "from": "gpt", "value": "SELECT _percentage_20_39 FROM table_23606500_4 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23606500_4 (_percentage_40_59 VARCHAR, _percentage_60_74 VARCHAR)" }, { "from": "human", "value": "What is every value for % 40-59 if % 60-74 is 12,42%?" }, { "from": "gpt", "value": "SELECT _percentage_40_59 FROM table_23606500_4 W...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23606500_4 (_percentage_20_39 VARCHAR, _percentage_0_19 VARCHAR)" }, { "from": "human", "value": "What is every value for % 20-39 if % 0-19 is 21,11%?" }, { "from": "gpt", "value": "SELECT _percentage_20_39 FROM table_23606500_4 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23606500_4 (_percentage_40_59 VARCHAR, _percentage_60_74 VARCHAR)" }, { "from": "human", "value": "What is every value for % 40-59 if % 60-74 is 12,40%?" }, { "from": "gpt", "value": "SELECT _percentage_40_59 FROM table_23606500_4 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23614702_2 (horse__power VARCHAR, warship VARCHAR)" }, { "from": "human", "value": "How man horse power did the ship covadonga have?" }, { "from": "gpt", "value": "SELECT horse__power FROM table_23614702_2 WHERE warship = \"Covadonga\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23614702_2 (main_artillery VARCHAR, tons___lton__ VARCHAR)" }, { "from": "human", "value": "What is the primary artillery for the 1,051 ships?" }, { "from": "gpt", "value": "SELECT main_artillery FROM table_23614702_2 WHERE tons___lto...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23614702_2 (speed___knots__ VARCHAR, tons___lton__ VARCHAR)" }, { "from": "human", "value": "List the maximum speed for the 1.150 ton ships?" }, { "from": "gpt", "value": "SELECT speed___knots__ FROM table_23614702_2 WHERE tons___lton_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23614702_2 (warship VARCHAR, main_artillery VARCHAR)" }, { "from": "human", "value": "List the ship with 1x115-2x70-2x12-pounders for primary artillery." }, { "from": "gpt", "value": "SELECT warship FROM table_23614702_2 WHERE main_art...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23612439_2 (location VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Which location has the date of October 28?" }, { "from": "gpt", "value": "SELECT location FROM table_23612439_2 WHERE date = \"October 28\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23612439_2 (final_score VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "What is the final score when 22210 is the attendance?" }, { "from": "gpt", "value": "SELECT final_score FROM table_23612439_2 WHERE attendance = 2221...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23612439_2 (opponent VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Which opponents are on the date July 22?" }, { "from": "gpt", "value": "SELECT opponent FROM table_23612439_2 WHERE date = \"July 22\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23612439_2 (opponent VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Which opponents are on the date September 5?" }, { "from": "gpt", "value": "SELECT opponent FROM table_23612439_2 WHERE date = \"September 5\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23612439_2 (final_score VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the final score when July 16 is the date?" }, { "from": "gpt", "value": "SELECT final_score FROM table_23612439_2 WHERE date = \"July 16\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23612439_2 (date VARCHAR, location VARCHAR)" }, { "from": "human", "value": "On which date is Taylor Field the location?" }, { "from": "gpt", "value": "SELECT date FROM table_23612439_2 WHERE location = \"Taylor Field\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2361788_1 (regular_season VARCHAR, year VARCHAR)" }, { "from": "human", "value": "Name the number of regular season for 2007" }, { "from": "gpt", "value": "SELECT COUNT(regular_season) FROM table_2361788_1 WHERE year = 2007" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2361788_1 (year INTEGER, playoffs VARCHAR)" }, { "from": "human", "value": "Name the most year for conference finals" }, { "from": "gpt", "value": "SELECT MAX(year) FROM table_2361788_1 WHERE playoffs = \"Conference Finals\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2361911_2 (regular_season VARCHAR, playoffs VARCHAR)" }, { "from": "human", "value": "Name the regular season for final playoffs" }, { "from": "gpt", "value": "SELECT regular_season FROM table_2361911_2 WHERE playoffs = \"Final\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2361911_2 (division INTEGER)" }, { "from": "human", "value": "Name the least division" }, { "from": "gpt", "value": "SELECT MIN(division) FROM table_2361911_2" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2361911_2 (regular_season VARCHAR, league VARCHAR, playoffs VARCHAR)" }, { "from": "human", "value": "Name the regular season for usisl d-3 pro league did not qualify" }, { "from": "gpt", "value": "SELECT regular_season FROM table_2361...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23619005_3 (position VARCHAR, cfl_team VARCHAR)" }, { "from": "human", "value": "What was the position of the player from Saskatchewan Roughriders?" }, { "from": "gpt", "value": "SELECT position FROM table_23619005_3 WHERE cfl_team = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23619005_3 (cfl_team VARCHAR, position VARCHAR)" }, { "from": "human", "value": "What CFL team was the player playing on SB position drafted for?" }, { "from": "gpt", "value": "SELECT cfl_team FROM table_23619005_3 WHERE position = \"S...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23619005_3 (position VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What was Michael Shaver's position?" }, { "from": "gpt", "value": "SELECT position FROM table_23619005_3 WHERE player = \"Michael Shaver\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23619005_3 (player VARCHAR, cfl_team VARCHAR)" }, { "from": "human", "value": "How many different players got drafted for the Ottawa Renegades?" }, { "from": "gpt", "value": "SELECT COUNT(player) FROM table_23619005_3 WHERE cfl_team = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23619005_3 (position VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What's Doug Borden's position?" }, { "from": "gpt", "value": "SELECT position FROM table_23619005_3 WHERE player = \"Doug Borden\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2007 VARCHAR, _percentage_of_all_immigrants_2008 VARCHAR)" }, { "from": "human", "value": "What's the percentage of all immigrants in 2007 in the country with 1.7% of all immigrants in 2008?" }, { ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2006 VARCHAR, country VARCHAR)" }, { "from": "human", "value": "How many different percentages of immigrants in 2006 can there be for Morocco?" }, { "from": "gpt", "value": "SELECT COUNT(_perce...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2004 VARCHAR, _percentage_of_all_immigrants_2006 VARCHAR)" }, { "from": "human", "value": "What's the percentage of immigrants in 2004 in the country with 2.1% of the immigrants in 2006?" }, { "fro...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2007 VARCHAR, _percentage_of_all_immigrants_2006 VARCHAR)" }, { "from": "human", "value": "What's the percentage of the immigrants in 2007 in the country with 14.1% of the immigrants in 2006?" }, { ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2007 VARCHAR, _percentage_of_all_immigrants_2005 VARCHAR)" }, { "from": "human", "value": "How many different percentages of immigrants are there for the year of 2007 in the countries with 1.2% of the immi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2362486_1 (outcome VARCHAR, score_in_the_final VARCHAR)" }, { "from": "human", "value": "What was the outcome in the championship where the final score was 6–7(1), 2–6, 6–4, 7–5, 6–7(2)?" }, { "from": "gpt", "value": "SELECT outcome FR...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_2362486_1 (opponents_in_the_final VARCHAR, score_in_the_final VARCHAR)" }, { "from": "human", "value": "Who were the opponents in the final where the score was 6–4, 2–6, 6–4, 7–6(3)?" }, { "from": "gpt", "value": "SELECT opponents_in_t...
know_sql
chosen