conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_name_51 (date VARCHAR, record VARCHAR)" }, { "from": "human", "value": "When is the record 5-4?" }, { "from": "gpt", "value": "SELECT date FROM table_name_51 WHERE record = \"5-4\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_7 (genre VARCHAR, artist VARCHAR)" }, { "from": "human", "value": "What is the Genre when the Artist is Prince?" }, { "from": "gpt", "value": "SELECT genre FROM table_name_7 WHERE artist = \"prince\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_79 (genre VARCHAR, release_year_of_first_charted_record VARCHAR, country_of_origin VARCHAR)" }, { "from": "human", "value": "What is the Genre, when the Release-year of first charted record is 1968, and when the Country of origin is United St...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_15 (rr_nos VARCHAR, builder VARCHAR, year VARCHAR)" }, { "from": "human", "value": "Name the RR numbers of hudswell clarke and years before 1914" }, { "from": "gpt", "value": "SELECT rr_nos FROM table_name_15 WHERE builder = \"hud...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_67 (to_par VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What is the To par has the presence of Vijay Singh?" }, { "from": "gpt", "value": "SELECT to_par FROM table_name_67 WHERE player = \"vijay singh\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_51 (laps VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "How many laps did Dick Rathmann complete when he ranked 14?" }, { "from": "gpt", "value": "SELECT laps FROM table_name_51 WHERE rank = \"14\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_35 (finish VARCHAR, qual VARCHAR)" }, { "from": "human", "value": "What was Dick Rathmann's Finish the year he Qualed at 130.928?" }, { "from": "gpt", "value": "SELECT finish FROM table_name_35 WHERE qual = \"130.928\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_49 (total_produced INTEGER, prime_mover VARCHAR)" }, { "from": "human", "value": "What is the average total produced when the prime mover is 12-251c?" }, { "from": "gpt", "value": "SELECT AVG(total_produced) FROM table_name_49 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_80 (build_date VARCHAR, total_produced VARCHAR)" }, { "from": "human", "value": "What is the build date when total produced is 2?" }, { "from": "gpt", "value": "SELECT build_date FROM table_name_80 WHERE total_produced = 2" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_47 (total_produced INTEGER, model VARCHAR)" }, { "from": "human", "value": "What is the smallest total produced with a model of M-420?" }, { "from": "gpt", "value": "SELECT MIN(total_produced) FROM table_name_47 WHERE model = \"m-...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_87 (prime_mover VARCHAR, build_date VARCHAR)" }, { "from": "human", "value": "What is the prime mover for a build date in 1975?" }, { "from": "gpt", "value": "SELECT prime_mover FROM table_name_87 WHERE build_date = \"1975\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_15 (model VARCHAR, total_produced VARCHAR, prime_mover VARCHAR)" }, { "from": "human", "value": "What model has a total produced more than 5 and a prime move of 12-251c?" }, { "from": "gpt", "value": "SELECT model FROM table_name_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_85 (date VARCHAR, record VARCHAR, decision VARCHAR, home VARCHAR)" }, { "from": "human", "value": "What was the date of the home Detroit game with a decision of Joseph and a record of 27–13–5–2?" }, { "from": "gpt", "value": "SELE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_16 (score VARCHAR, decision VARCHAR, home VARCHAR)" }, { "from": "human", "value": "What was the score of the home Dallas game that had a decision of Legace?" }, { "from": "gpt", "value": "SELECT score FROM table_name_16 WHERE dec...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_24 (score VARCHAR, decision VARCHAR, record VARCHAR)" }, { "from": "human", "value": "What was the score of the game that had a record of 26–13–4–2 and a decision of Joseph?" }, { "from": "gpt", "value": "SELECT score FROM table_n...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_86 (visitor VARCHAR, record VARCHAR)" }, { "from": "human", "value": "Who was the visiting team when the record was 28–14–6–2?" }, { "from": "gpt", "value": "SELECT visitor FROM table_name_86 WHERE record = \"28–14–6–2\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_36 (points INTEGER, engine VARCHAR, chassis VARCHAR)" }, { "from": "human", "value": "What are the lowest points that have a Mugen V8 engine and a Reynard 91D chassis?" }, { "from": "gpt", "value": "SELECT MIN(points) FROM table_n...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_83 (points INTEGER, engine VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What are the highest points that have a Mugen V8 engine and happened in 1991?" }, { "from": "gpt", "value": "SELECT MAX(points) FROM table_name_83 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_3 (year INTEGER, engine VARCHAR, entrant VARCHAR)" }, { "from": "human", "value": "How many years did John Player Lotus used Cosworth v8?" }, { "from": "gpt", "value": "SELECT SUM(year) FROM table_name_3 WHERE engine = \"cosworth ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_2 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)" }, { "from": "human", "value": "Who used Eurobrun er189b after 1989?" }, { "from": "gpt", "value": "SELECT entrant FROM table_name_2 WHERE year > 1989 AND chassis = \"eurobrun er...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_50 (entrant VARCHAR, chassis VARCHAR, points VARCHAR, year VARCHAR, engine VARCHAR)" }, { "from": "human", "value": "Who used Ford v8 and Jordan 191 after 1990 and got 8 points?" }, { "from": "gpt", "value": "SELECT entrant FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_90 (leftfielder VARCHAR, year VARCHAR, shortstop VARCHAR, second_baseman VARCHAR, first_baseman VARCHAR)" }, { "from": "human", "value": "What is the name of the Leftfielder when Davey Lopes was the Second Baseman and first baseman was steve ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_40 (shortstop VARCHAR, second_baseman VARCHAR, catcher VARCHAR, third_baseman VARCHAR)" }, { "from": "human", "value": "What is the name of the shortstop when the Catcher was johnny roseboro, and a Third Baseman of jim lefebvre, and a Second ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_53 (first_baseman VARCHAR, shortstop VARCHAR)" }, { "from": "human", "value": "Who was the First Baseman when the Shortstop was zoilo versalles?" }, { "from": "gpt", "value": "SELECT first_baseman FROM table_name_53 WHERE shortsto...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_25 (leftfielder VARCHAR, year VARCHAR, shortstop VARCHAR, second_baseman VARCHAR)" }, { "from": "human", "value": "What is the name of the Leftfielder when the Shortstop was bill russell, and the Second Baseman was steve sax in 1983?" }, ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_40 (year INTEGER, points VARCHAR, entrant VARCHAR)" }, { "from": "human", "value": "What is the earliest year with less than 3 points and Parmalat Forti Ford was the entrant?" }, { "from": "gpt", "value": "SELECT MIN(year) FROM ta...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_17 (points INTEGER, entrant VARCHAR)" }, { "from": "human", "value": "What is the average Points when equipe ligier gauloises blondes is the entrant?" }, { "from": "gpt", "value": "SELECT AVG(points) FROM table_name_17 WHERE entra...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_86 (points INTEGER, entrant VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What is the smallest amount of points for parmalat forti ford entrant later than 1995?" }, { "from": "gpt", "value": "SELECT MIN(points) FROM tabl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_19 (chassis VARCHAR, entrant VARCHAR)" }, { "from": "human", "value": "What is the company that made the chassis for the entrant danka arrows yamaha?" }, { "from": "gpt", "value": "SELECT chassis FROM table_name_19 WHERE entrant =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_2 (college VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What college did Ray Graves attend?" }, { "from": "gpt", "value": "SELECT college FROM table_name_2 WHERE name = \"ray graves\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_70 (pick__number VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What number pick was Bill Athey?" }, { "from": "gpt", "value": "SELECT pick__number FROM table_name_70 WHERE name = \"bill athey\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_47 (overall VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What is John Cole's overall pick number?" }, { "from": "gpt", "value": "SELECT COUNT(overall) FROM table_name_47 WHERE name = \"john cole\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_50 (date_made VARCHAR, class VARCHAR)" }, { "from": "human", "value": "What is the date of the locomotive with a Waterford class?" }, { "from": "gpt", "value": "SELECT date_made FROM table_name_50 WHERE class = \"waterford\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_69 (date_made VARCHAR, names VARCHAR)" }, { "from": "human", "value": "What is the date of the locomotive named Blacklion Glencar?" }, { "from": "gpt", "value": "SELECT date_made FROM table_name_69 WHERE names = \"blacklion glenca...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_67 (quantity_made VARCHAR, class VARCHAR)" }, { "from": "human", "value": "What is the quantity made of the locomotive with a Waterford class?" }, { "from": "gpt", "value": "SELECT quantity_made FROM table_name_67 WHERE class = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_16 (class VARCHAR, quantity_made VARCHAR, type VARCHAR)" }, { "from": "human", "value": "What is the class of the locomotive with a quantity made of 1 and a 0-6-0t type?" }, { "from": "gpt", "value": "SELECT class FROM table_name_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_23 (class VARCHAR, type VARCHAR)" }, { "from": "human", "value": "What is the class of the locomotive with a 0-4-0st type?" }, { "from": "gpt", "value": "SELECT class FROM table_name_23 WHERE type = \"0-4-0st\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_98 (names VARCHAR, class VARCHAR)" }, { "from": "human", "value": "What is the name of the locomotive with a Glencar class?" }, { "from": "gpt", "value": "SELECT names FROM table_name_98 WHERE class = \"glencar\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_75 (country VARCHAR, type VARCHAR, moving_from VARCHAR)" }, { "from": "human", "value": "What country has signed type moving from porto?" }, { "from": "gpt", "value": "SELECT country FROM table_name_75 WHERE type = \"signed\" AND ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (transfer_window VARCHAR, moving_from VARCHAR)" }, { "from": "human", "value": "Which transfer window was moving from borussia dortmund?" }, { "from": "gpt", "value": "SELECT transfer_window FROM table_name_38 WHERE moving_from...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_64 (moving_from VARCHAR, country VARCHAR, transfer_fee VARCHAR)" }, { "from": "human", "value": "What is moving from esp with transfer fee of youth system?" }, { "from": "gpt", "value": "SELECT moving_from FROM table_name_64 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_85 (transfer_window VARCHAR, ends VARCHAR, country VARCHAR, type VARCHAR)" }, { "from": "human", "value": "What is the transfer window in esp with promoted type and more than 2010 ends?" }, { "from": "gpt", "value": "SELECT transf...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (week_12 VARCHAR, week_2 VARCHAR)" }, { "from": "human", "value": "Who is the week 12 for the week 2 with Magda Tomek?" }, { "from": "gpt", "value": "SELECT week_12 FROM table_name_38 WHERE week_2 = \"magda tomek\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_35 (week_12 VARCHAR, week_4 VARCHAR)" }, { "from": "human", "value": "Who is the week 12 for the week 4 of Gerard Ewelina?" }, { "from": "gpt", "value": "SELECT week_12 FROM table_name_35 WHERE week_4 = \"gerard ewelina\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_12 (points VARCHAR, rebounds VARCHAR)" }, { "from": "human", "value": "Who was the leader in Points when Al Jefferson (7) was the leader in Rebounds?" }, { "from": "gpt", "value": "SELECT points FROM table_name_12 WHERE rebounds =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_87 (steals VARCHAR, rebounds VARCHAR)" }, { "from": "human", "value": "Who was the leader in Steals when Travis Watson (9) was the leader in Rebounds?" }, { "from": "gpt", "value": "SELECT steals FROM table_name_87 WHERE rebounds ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_22 (year INTEGER, rebounds VARCHAR)" }, { "from": "human", "value": "What was the 1st Year Al Harrington (9) the leader in Rebounds?" }, { "from": "gpt", "value": "SELECT MIN(year) FROM table_name_22 WHERE rebounds = \"al harringt...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_7 (points VARCHAR, steals VARCHAR, assists VARCHAR)" }, { "from": "human", "value": "Who was the leader in Points with Assists of 2 tied (5) and Steals of 3 tied (2)?" }, { "from": "gpt", "value": "SELECT points FROM table_name_7 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_40 (average INTEGER, tally VARCHAR, total VARCHAR)" }, { "from": "human", "value": "Name the average with tally of 0-29 and total more than 29" }, { "from": "gpt", "value": "SELECT AVG(average) FROM table_name_40 WHERE tally = \"0...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_86 (tally VARCHAR, total VARCHAR, average VARCHAR)" }, { "from": "human", "value": "Name the tally with total less than 27 and average more than 3.41" }, { "from": "gpt", "value": "SELECT tally FROM table_name_86 WHERE total < 27 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (year INTEGER, engine VARCHAR, entrant VARCHAR)" }, { "from": "human", "value": "For engines of Maserati Straight-6 and entrants of H H Gould, what is the latest year?" }, { "from": "gpt", "value": "SELECT MAX(year) FROM table_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_41 (points INTEGER, year VARCHAR, entrant VARCHAR, engine VARCHAR)" }, { "from": "human", "value": "What is the fewest number of points scored by Goulds' Garage (Bristol), engines of Maserati Straight-6, in years before 1956?" }, { "f...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_59 (chassis VARCHAR, year VARCHAR, points VARCHAR, entrant VARCHAR)" }, { "from": "human", "value": "Which chassis has fewer than 2 points, entrants of Goulds' Garage (Bristol), in 1954?" }, { "from": "gpt", "value": "SELECT chass...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_39 (points INTEGER, chassis VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What is the most points that the Maserati 250F chassis scored in years after 1955?" }, { "from": "gpt", "value": "SELECT MAX(points) FROM table_na...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (engine VARCHAR, year INTEGER)" }, { "from": "human", "value": "Which engine has a year larger than 1956?" }, { "from": "gpt", "value": "SELECT engine FROM table_name_74 WHERE year > 1956" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (age_on_mission INTEGER, name VARCHAR)" }, { "from": "human", "value": "What is the lowest age of an astronaut named Stu Roosa?" }, { "from": "gpt", "value": "SELECT MIN(age_on_mission) FROM table_name_81 WHERE name = \"stu roo...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_70 (mission VARCHAR, service VARCHAR, age_on_mission VARCHAR)" }, { "from": "human", "value": "What mission did the astronaut who 38 years old on the mission and who served in NASA serve on?" }, { "from": "gpt", "value": "SELECT m...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_54 (lithium VARCHAR, rubidium VARCHAR)" }, { "from": "human", "value": "what is the type of lithium when rubidium is nabr (1.9)?" }, { "from": "gpt", "value": "SELECT lithium FROM table_name_54 WHERE rubidium = \"nabr (1.9)\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_98 (sodium VARCHAR, rubidium VARCHAR)" }, { "from": "human", "value": "what is the properties of sodium when rubidium is nacl (2.1)?" }, { "from": "gpt", "value": "SELECT sodium FROM table_name_98 WHERE rubidium = \"nacl (2.1)\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_76 (potassium VARCHAR, lithium VARCHAR, sodium VARCHAR)" }, { "from": "human", "value": "what is the properties of potassium when lithium is h a l o g e n s and sodium is bromine?" }, { "from": "gpt", "value": "SELECT potassium FR...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_17 (lithium VARCHAR, caesium VARCHAR)" }, { "from": "human", "value": "what is the properties of lithium when caesium is ki (1.7)?" }, { "from": "gpt", "value": "SELECT lithium FROM table_name_17 WHERE caesium = \"ki (1.7)\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (sodium VARCHAR, lithium VARCHAR, rubidium VARCHAR)" }, { "from": "human", "value": "what is the properties of sodium when lithium is h a l o g e n s and rubidium is nacl (2.1)?" }, { "from": "gpt", "value": "SELECT sodium FROM...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_66 (sodium VARCHAR, potassium VARCHAR)" }, { "from": "human", "value": "what is the properties of sodium when potassium is lii (1.5)?" }, { "from": "gpt", "value": "SELECT sodium FROM table_name_66 WHERE potassium = \"lii (1.5)\""...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_61 (prime_mover VARCHAR, model VARCHAR)" }, { "from": "human", "value": "Which prime mover had a Model of rs-18?" }, { "from": "gpt", "value": "SELECT prime_mover FROM table_name_61 WHERE model = \"rs-18\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_98 (model VARCHAR, specification VARCHAR)" }, { "from": "human", "value": "Which model had a Specification of dl-718?" }, { "from": "gpt", "value": "SELECT model FROM table_name_98 WHERE specification = \"dl-718\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_23 (power_output VARCHAR, build_date VARCHAR)" }, { "from": "human", "value": "Which power output had a Build date of 1951–1956?" }, { "from": "gpt", "value": "SELECT power_output FROM table_name_23 WHERE build_date = \"1951–1956\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_9 (wheel_arrangement VARCHAR, specification VARCHAR)" }, { "from": "human", "value": "Which wheel arrangement had a Specification of dl-700?" }, { "from": "gpt", "value": "SELECT wheel_arrangement FROM table_name_9 WHERE specifica...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_2 (player VARCHAR, year_born VARCHAR, height VARCHAR)" }, { "from": "human", "value": "Who is the player born before 1985 who is less than 2.02 tall?" }, { "from": "gpt", "value": "SELECT player FROM table_name_2 WHERE year_born <...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_22 (player VARCHAR, year_born VARCHAR, current_club VARCHAR)" }, { "from": "human", "value": "Who is the player who was born before 1980 who currently plays for the Toronto Raptors?" }, { "from": "gpt", "value": "SELECT player FRO...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_39 (position VARCHAR, player VARCHAR, height VARCHAR, year_born VARCHAR)" }, { "from": "human", "value": "What position does Sergio RodrΓ­guez, who is less than 1.96 tall and was born after 1980, play?" }, { "from": "gpt", "value":...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_25 (year_born VARCHAR, position VARCHAR, current_club VARCHAR)" }, { "from": "human", "value": "What year was the Guard who currently plays for the Memphis Grizzlies born?" }, { "from": "gpt", "value": "SELECT year_born FROM table...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_1 (height VARCHAR, position VARCHAR, current_club VARCHAR)" }, { "from": "human", "value": "What is the height of the Forward who currently plays for the Toronto Raptors?" }, { "from": "gpt", "value": "SELECT height FROM table_nam...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_55 (group_position VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Date of 24 september 2002 is what group position?" }, { "from": "gpt", "value": "SELECT group_position FROM table_name_55 WHERE date = \"24 september 2002\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_37 (result_f_a VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Date of 24 september 2002 had what F-A result?" }, { "from": "gpt", "value": "SELECT result_f_a FROM table_name_37 WHERE date = \"24 september 2002\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_42 (attendance VARCHAR, result_f_a VARCHAR)" }, { "from": "human", "value": "Result F–A of 2–0 had what total number of attendance?" }, { "from": "gpt", "value": "SELECT COUNT(attendance) FROM table_name_42 WHERE result_f_a = \"2–...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_47 (score VARCHAR, loss VARCHAR)" }, { "from": "human", "value": "What was the score of the game with a loss of Myers (5-6)?" }, { "from": "gpt", "value": "SELECT score FROM table_name_47 WHERE loss = \"myers (5-6)\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_50 (loss VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "What was the loss of the game attended by 41,212?" }, { "from": "gpt", "value": "SELECT loss FROM table_name_50 WHERE attendance = \"41,212\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_84 (attendance VARCHAR, loss VARCHAR)" }, { "from": "human", "value": "What was the attendance of the game that had a loss of Wolf (3-4)?" }, { "from": "gpt", "value": "SELECT attendance FROM table_name_84 WHERE loss = \"wolf (3-4...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_60 (nation VARCHAR, athlete VARCHAR)" }, { "from": "human", "value": "what nation is bianca knight the answer for?" }, { "from": "gpt", "value": "SELECT nation FROM table_name_60 WHERE athlete = \"bianca knight\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_16 (wind__m_s_ INTEGER, nation VARCHAR, athlete VARCHAR)" }, { "from": "human", "value": "what is the wind speed when brenda morehead was in the united states?" }, { "from": "gpt", "value": "SELECT MIN(wind__m_s_) FROM table_name_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_97 (rank INTEGER, location VARCHAR, fastest_time__s_ VARCHAR)" }, { "from": "human", "value": "what is the highest rank in dresden with a time faster than 10.88?" }, { "from": "gpt", "value": "SELECT MAX(rank) FROM table_name_97 W...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (course VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the course on 1 June?" }, { "from": "gpt", "value": "SELECT course FROM table_name_10 WHERE date = \"1 june\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_95 (winner VARCHAR, course VARCHAR)" }, { "from": "human", "value": "Who is the winner of the Florence to Genoa course?" }, { "from": "gpt", "value": "SELECT winner FROM table_name_95 WHERE course = \"florence to genoa\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_44 (date VARCHAR, course VARCHAR)" }, { "from": "human", "value": "What is the date of the Rome to Florence course?" }, { "from": "gpt", "value": "SELECT date FROM table_name_44 WHERE course = \"rome to florence\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (assists VARCHAR, blocks VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What is Assists that has a Blocks of 2 tied (1) with a Year larger than 1995" }, { "from": "gpt", "value": "SELECT assists FROM table_name_94 WHER...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (lane INTEGER, heat VARCHAR, time VARCHAR)" }, { "from": "human", "value": "What is the highest lane for heat 6 with a time of dns?" }, { "from": "gpt", "value": "SELECT MAX(lane) FROM table_name_81 WHERE heat = 6 AND time = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_43 (lane INTEGER, time VARCHAR, heat VARCHAR)" }, { "from": "human", "value": "What is the lowest lane with a time of 2:05.90, and a Heat larger than 3?" }, { "from": "gpt", "value": "SELECT MIN(lane) FROM table_name_43 WHERE time...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_70 (nationality VARCHAR, lane VARCHAR, time VARCHAR)" }, { "from": "human", "value": "What nationality has a lane larger than 4 and a Time of 2:00.37?" }, { "from": "gpt", "value": "SELECT nationality FROM table_name_70 WHERE lane...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (lane INTEGER, nationality VARCHAR)" }, { "from": "human", "value": "What is the average Lane where Belarus is the nationality?" }, { "from": "gpt", "value": "SELECT AVG(lane) FROM table_name_57 WHERE nationality = \"belarus\""...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_16 (lane INTEGER, name VARCHAR)" }, { "from": "human", "value": "What is the highest lane for nisha millet?" }, { "from": "gpt", "value": "SELECT MAX(lane) FROM table_name_16 WHERE name = \"nisha millet\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_31 (date VARCHAR, course VARCHAR)" }, { "from": "human", "value": "On what date was the race course from Rome to Naples?" }, { "from": "gpt", "value": "SELECT date FROM table_name_31 WHERE course = \"rome to naples\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_72 (losing_bp VARCHAR, played VARCHAR, try_bp VARCHAR)" }, { "from": "human", "value": "Name the Losing BP with 22 played and 9 Try BP." }, { "from": "gpt", "value": "SELECT losing_bp FROM table_name_72 WHERE played = \"22\" AND t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (losing_bp VARCHAR, drawn VARCHAR, try_bp VARCHAR)" }, { "from": "human", "value": "Name the Losing BP with drawn of 1 and a Try BP of 6." }, { "from": "gpt", "value": "SELECT losing_bp FROM table_name_14 WHERE drawn = \"1\" AN...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (losing_bp VARCHAR, lost VARCHAR, club VARCHAR)" }, { "from": "human", "value": "Name the Losing BP of Newport Saracens RFC and has a Lost of 19." }, { "from": "gpt", "value": "SELECT losing_bp FROM table_name_14 WHERE lost = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_39 (drawn VARCHAR, played VARCHAR, club VARCHAR)" }, { "from": "human", "value": "Name the Drawn for Ystrad Rhondda RFC and has Played of 22." }, { "from": "gpt", "value": "SELECT drawn FROM table_name_39 WHERE played = \"22\" AND...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_60 (drawn VARCHAR, lost VARCHAR)" }, { "from": "human", "value": "Can you name the drawn with a Lost of 1?" }, { "from": "gpt", "value": "SELECT drawn FROM table_name_60 WHERE lost = \"1\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_34 (drawn VARCHAR, losing_bp VARCHAR)" }, { "from": "human", "value": "With a Losing BP of 8, what is the drawn?" }, { "from": "gpt", "value": "SELECT drawn FROM table_name_34 WHERE losing_bp = \"8\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_84 (disposals VARCHAR, marks VARCHAR)" }, { "from": "human", "value": "What is the number of disposals when marks is 134?" }, { "from": "gpt", "value": "SELECT disposals FROM table_name_84 WHERE marks = \"134\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_9 (score1 VARCHAR, match VARCHAR)" }, { "from": "human", "value": "What is the Score1 of Match 42?" }, { "from": "gpt", "value": "SELECT score1 FROM table_name_9 WHERE match = 42" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_2 (date VARCHAR, opponent VARCHAR, match VARCHAR, ground VARCHAR)" }, { "from": "human", "value": "On what date was the match higher than 8 on ground A against Guiseley?" }, { "from": "gpt", "value": "SELECT date FROM table_name_2...
know_sql
chosen