conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (first_party VARCHAR, second_member VARCHAR, second_party VARCHAR)"
},
{
"from": "human",
"value": "Which of the first parties has second member as Charles Robert Colvile, and a liberal second party?"
},
{
"from": "gpt",
"valu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (election VARCHAR, first_member VARCHAR, second_member VARCHAR, first_party VARCHAR)"
},
{
"from": "human",
"value": "Which election has second member Charles Robert Colvile, a conservative first party, and first member William Mundy?"
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (second_party VARCHAR, first_member VARCHAR, second_member VARCHAR, first_party VARCHAR)"
},
{
"from": "human",
"value": "Which of the second parties has second member Charles Robert Colvile, a conservative first party, and first member Wi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (first_member VARCHAR, election VARCHAR)"
},
{
"from": "human",
"value": "Who is the first member in the 1868 election?"
},
{
"from": "gpt",
"value": "SELECT first_member FROM table_name_79 WHERE election = \"1868\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (source VARCHAR, type VARCHAR, nat VARCHAR)"
},
{
"from": "human",
"value": "WHAT IS THE SOURCE WITH A TYPE OF TRANSFER AND MEX?"
},
{
"from": "gpt",
"value": "SELECT source FROM table_name_14 WHERE type = \"transfer\" AND nat ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (name VARCHAR, moving_to VARCHAR)"
},
{
"from": "human",
"value": "WHAT IS THE NAME WITH BAYER LEVERKUSEN?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_53 WHERE moving_to = \"bayer leverkusen\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (name VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR)"
},
{
"from": "human",
"value": "WHAT NAME HAS A FREE TRANSFER FREE AND RETIRED?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_74 WHERE transfer_fee = \"free\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (transfer_fee VARCHAR, type VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "WHAT TRANSFER FEE HAS A TYPE OF TRANSFER FOR DOS SANTOS?"
},
{
"from": "gpt",
"value": "SELECT transfer_fee FROM table_name_62 WHERE type = \"t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (all_around INTEGER, total VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of the all around with a 37.75 total?"
},
{
"from": "gpt",
"value": "SELECT SUM(all_around) FROM table_name_68 WHERE total = 37.75"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (final INTEGER, all_around VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "What is the average final with an all around larger than 19.4 and total more than 39.9?"
},
{
"from": "gpt",
"value": "SELECT AVG(final) FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (name VARCHAR, dates_active VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the storm active during season aggregates?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_48 WHERE dates_active = \"season ag... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (report VARCHAR, status VARCHAR, against VARCHAR)"
},
{
"from": "human",
"value": "What report has tour match as the status, with an against less than 22?"
},
{
"from": "gpt",
"value": "SELECT report FROM table_name_92 WHERE st... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (against INTEGER, venue VARCHAR)"
},
{
"from": "human",
"value": "How many againsts have asba park, kimberley as the venue?"
},
{
"from": "gpt",
"value": "SELECT SUM(against) FROM table_name_66 WHERE venue = \"asba park, kimber... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (status VARCHAR, opposing_team VARCHAR)"
},
{
"from": "human",
"value": "What status has gauteng falcons as the opposing team?"
},
{
"from": "gpt",
"value": "SELECT status FROM table_name_2 WHERE opposing_team = \"gauteng falcon... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (opposing_team VARCHAR, status VARCHAR)"
},
{
"from": "human",
"value": "What opposing team has second test as the status?"
},
{
"from": "gpt",
"value": "SELECT opposing_team FROM table_name_12 WHERE status = \"second test\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (report VARCHAR, opposing_team VARCHAR)"
},
{
"from": "human",
"value": "What report has gauteng falcons as the opposing team?"
},
{
"from": "gpt",
"value": "SELECT report FROM table_name_81 WHERE opposing_team = \"gauteng falc... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (status VARCHAR, against VARCHAR)"
},
{
"from": "human",
"value": "What status has 18 as the against?"
},
{
"from": "gpt",
"value": "SELECT status FROM table_name_34 WHERE against = 18"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (receipts_per_arrival_2010__col_2___col_1____usd__ VARCHAR, selected_caribbean_and_n_latin_america_countries VARCHAR)"
},
{
"from": "human",
"value": "What is the number of recepits per arrival in 2010 (col 2)/(col 1) USD with colombia (1)... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (initial_syllable_open_semi_open_unstressed_vowels VARCHAR)"
},
{
"from": "human",
"value": "What is 17th c., when Initial-Syllable Open/Semi-Open Unstressed Vowels is \"o /ɵ/\"?"
},
{
"from": "gpt",
"value": "SELECT 17 AS th_c... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (british VARCHAR, examples VARCHAR)"
},
{
"from": "human",
"value": "What is British, when Examples is \"November, rotunda, colossus, proscenium\"?"
},
{
"from": "gpt",
"value": "SELECT british FROM table_name_12 WHERE examples... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (american VARCHAR, british VARCHAR, initial_syllable_open_semi_open_unstressed_vowels VARCHAR)"
},
{
"from": "human",
"value": "What is American, when British is \"ɪ, ə\", and when Initial-Syllable Open/Semi-Open Unstressed Vowels is \"æ /... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (initial_syllable_open_semi_open_unstressed_vowels VARCHAR, australian VARCHAR)"
},
{
"from": "human",
"value": "What is Initial-Syllable Open/Semi-Open Unstresses Vowels, when Australian is \"ə\"?"
},
{
"from": "gpt",
"value":... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (australian VARCHAR, british VARCHAR)"
},
{
"from": "human",
"value": "What is Australian, when British is \"aɪ, ɪ, ə\"?"
},
{
"from": "gpt",
"value": "SELECT australian FROM table_name_12 WHERE british = \"aɪ, ɪ, ə\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (american VARCHAR, initial_syllable_open_semi_open_unstressed_vowels VARCHAR)"
},
{
"from": "human",
"value": "What is American, when Initial-Syllable Open/Semi-Open Unstressed Vowels is \"y /aɪ, ɨ/\"?"
},
{
"from": "gpt",
"valu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (date VARCHAR, catalog VARCHAR)"
},
{
"from": "human",
"value": "What is the date for catalog RCD 10160?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_15 WHERE catalog = \"rcd 10160\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (country VARCHAR, format VARCHAR, catalog VARCHAR)"
},
{
"from": "human",
"value": "What country has CD format and catalog RCD 10523?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_45 WHERE format = \"cd\" AND ca... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (country VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Which country is dated October 20, 1976?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_83 WHERE date = \"october 20, 1976\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (label VARCHAR, catalog VARCHAR)"
},
{
"from": "human",
"value": "Which label has the catalog CDZAP22?"
},
{
"from": "gpt",
"value": "SELECT label FROM table_name_65 WHERE catalog = \"cdzap22\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (date VARCHAR, country VARCHAR, catalog VARCHAR)"
},
{
"from": "human",
"value": "What is the date for the catalog CDZAP22 in the United Kingdom?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_69 WHERE country = \"u... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (place VARCHAR, player VARCHAR, score VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "What is Place, when Score is \"66\", when Country is \"United States\", and when Player is \"Dudley Hart\"?"
},
{
"from": "gpt",
"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (score INTEGER, place VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest Score, when Place is \"1\"?"
},
{
"from": "gpt",
"value": "SELECT MIN(score) FROM table_name_32 WHERE place = \"1\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (to_par VARCHAR, score VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What is To Par, when Score is \"66\", and when Player is \"Brad Faxon\"?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_25 WHERE sco... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (opponent_in_the_final VARCHAR, year VARCHAR, championship VARCHAR)"
},
{
"from": "human",
"value": "What is the Opponent in the final after 2008 at the Paul Hunter Classic?"
},
{
"from": "gpt",
"value": "SELECT opponent_in_the_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (first_elected INTEGER, results VARCHAR, incumbent VARCHAR)"
},
{
"from": "human",
"value": "What is the latest year for first elected with john hostettler as incumbent and a result of lost re-election democratic gain?"
},
{
"from"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (owner_operator VARCHAR, from_to VARCHAR)"
},
{
"from": "human",
"value": "Who is the owner/operator of the line from Kambalda to Esperance?"
},
{
"from": "gpt",
"value": "SELECT owner_operator FROM table_name_18 WHERE from_to ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (name__year_commissioned_ VARCHAR, from_to VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the line from Karratha to Port Hedland?"
},
{
"from": "gpt",
"value": "SELECT name__year_commissioned_ FROM table_name_74 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (maximum_diameter VARCHAR, name__year_commissioned_ VARCHAR)"
},
{
"from": "human",
"value": "What is the maximum diameter of the Mid West Gas Pipeline (1999)?"
},
{
"from": "gpt",
"value": "SELECT maximum_diameter FROM table_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (owner_operator VARCHAR, licence_number VARCHAR)"
},
{
"from": "human",
"value": "Who is the owner operator who has license number PL 59?"
},
{
"from": "gpt",
"value": "SELECT owner_operator FROM table_name_85 WHERE licence_num... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (licence_number VARCHAR, maximum_diameter VARCHAR)"
},
{
"from": "human",
"value": "What is the license number where the maximum diameter is 400 mm?"
},
{
"from": "gpt",
"value": "SELECT licence_number FROM table_name_14 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (name__year_commissioned_ VARCHAR, licence_number VARCHAR)"
},
{
"from": "human",
"value": "What is the name where the license number is PL 22?"
},
{
"from": "gpt",
"value": "SELECT name__year_commissioned_ FROM table_name_7 WHE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (venue VARCHAR, against VARCHAR)"
},
{
"from": "human",
"value": "Which venue has 16 against?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_5 WHERE against = 16"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (against INTEGER, status VARCHAR, opposing_teams VARCHAR)"
},
{
"from": "human",
"value": "What is the against for the opposing team of Wales with the status of Five Nations?"
},
{
"from": "gpt",
"value": "SELECT AVG(against) F... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (average INTEGER, rank VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the average Average that has the Rank larger than 4, and the Player of dean minors?"
},
{
"from": "gpt",
"value": "SELECT AVG(aver... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (venue VARCHAR, runner_up VARCHAR)"
},
{
"from": "human",
"value": "What is the venue where john zibnack was the runner-up?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_54 WHERE runner_up = \"john zibnack\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (winner VARCHAR, location VARCHAR, runner_up VARCHAR)"
},
{
"from": "human",
"value": "Who is the winner in des moines, iowa where p.h. finkbank was the runner-up?"
},
{
"from": "gpt",
"value": "SELECT winner FROM table_name_14... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (location VARCHAR, runner_up VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is the location where ed c. kingsley was the runner-up in 1939?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_63 WHERE r... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (winner VARCHAR, runner_up VARCHAR)"
},
{
"from": "human",
"value": "Who is the winner when mark fuller was the runner-up?"
},
{
"from": "gpt",
"value": "SELECT winner FROM table_name_81 WHERE runner_up = \"mark fuller\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (venue VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is the venue in 2002?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_86 WHERE year = \"2002\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (runner_up VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "Who is the runner-up in 1901?"
},
{
"from": "gpt",
"value": "SELECT runner_up FROM table_name_78 WHERE year = \"1901\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (australian VARCHAR, short_vowels VARCHAR)"
},
{
"from": "human",
"value": "What Australian sound is equivalent to e /ɛ/?"
},
{
"from": "gpt",
"value": "SELECT australian FROM table_name_81 WHERE short_vowels = \"e /ɛ/\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (score VARCHAR, home VARCHAR)"
},
{
"from": "human",
"value": "What was the score of the game when they played at new york islanders?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_99 WHERE home = \"new york island... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (r_epp VARCHAR, j_thiessen VARCHAR)"
},
{
"from": "human",
"value": "Which of the R. Epp, has J Thiessen of Tjoatj?"
},
{
"from": "gpt",
"value": "SELECT r_epp FROM table_name_90 WHERE j_thiessen = \"tjoatj\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (r_epp VARCHAR, ed_zacharias VARCHAR)"
},
{
"from": "human",
"value": "Which of the R. Epp, has Ed Zacharias from Rollen, Jerolt, Golt?"
},
{
"from": "gpt",
"value": "SELECT r_epp FROM table_name_97 WHERE ed_zacharias = \"rolle... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (a_dyck VARCHAR, j_thiessen VARCHAR)"
},
{
"from": "human",
"value": "Which of the A. Dyck has J. Thiessen of Du?"
},
{
"from": "gpt",
"value": "SELECT a_dyck FROM table_name_68 WHERE j_thiessen = \"du\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (h_rempel VARCHAR, j_j_neufeld VARCHAR)"
},
{
"from": "human",
"value": "Which of the H. Rempel has J. J. Neufeld of Sajen?"
},
{
"from": "gpt",
"value": "SELECT h_rempel FROM table_name_31 WHERE j_j_neufeld = \"sajen\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (against INTEGER, status VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of Against, when Status is \"Six Nations\", and when Date is \"30/03/2003\"?"
},
{
"from": "gpt",
"value": "SELECT SUM(against) FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (opposing_teams VARCHAR, against INTEGER)"
},
{
"from": "human",
"value": "What is Opposing Teams, when Against is less than 6?"
},
{
"from": "gpt",
"value": "SELECT opposing_teams FROM table_name_86 WHERE against < 6"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (date VARCHAR, against VARCHAR)"
},
{
"from": "human",
"value": "What is Date, when Against is \"22\"?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_87 WHERE against = 22"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (money___ INTEGER, country VARCHAR)"
},
{
"from": "human",
"value": "What shows for money (£) when South Africa is the country?"
},
{
"from": "gpt",
"value": "SELECT MAX(money___) AS £__ FROM table_name_44 WHERE country = \"sou... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (to_par VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What is the To par when Lanny Wadkins is the player?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_66 WHERE player = \"lanny wadkins\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (score VARCHAR, outcome VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "What was the score of the marco island tournament match when Kathleen Horvath won runner-up?"
},
{
"from": "gpt",
"value": "SELECT score FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (tournament VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the tournament that was on july 6, 1987?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_55 WHERE date = \"july 6, 1987\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (position VARCHAR, pick VARCHAR)"
},
{
"from": "human",
"value": "What is pick 246's position?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_94 WHERE pick = 246"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (pick VARCHAR, player VARCHAR, nfl_club VARCHAR)"
},
{
"from": "human",
"value": "Which Pick has a Player of chuck bryant, and an NFL Club of san diego chargers?"
},
{
"from": "gpt",
"value": "SELECT pick FROM table_name_58 WHE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (position VARCHAR, nfl_club VARCHAR)"
},
{
"from": "human",
"value": "What is the position of the pittsburgh steelers?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_29 WHERE nfl_club = \"pittsburgh steelers\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (nfl_club VARCHAR, player VARCHAR, pick VARCHAR)"
},
{
"from": "human",
"value": "Which NFL Club has a Player of sam tidmore, and a Pick of 81?"
},
{
"from": "gpt",
"value": "SELECT nfl_club FROM table_name_43 WHERE player = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (club VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "Which club had round of group stage round 1 and 5?"
},
{
"from": "gpt",
"value": "SELECT club FROM table_name_1 WHERE round = \"group stage round 1 and 5\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (aggregate VARCHAR, round VARCHAR, club VARCHAR)"
},
{
"from": "human",
"value": "What is the aggregate for the first round for K.S.V. Waregem?"
},
{
"from": "gpt",
"value": "SELECT aggregate FROM table_name_54 WHERE round = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (away VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "What is the away where the round is the second round?"
},
{
"from": "gpt",
"value": "SELECT away FROM table_name_40 WHERE round = \"second round\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (broadcast_date VARCHAR, run_time VARCHAR)"
},
{
"from": "human",
"value": "What was the broadcaste date for the episode with a run time of 24:44?"
},
{
"from": "gpt",
"value": "SELECT broadcast_date FROM table_name_60 WHERE ru... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (episode VARCHAR, viewers__in_millions_ VARCHAR)"
},
{
"from": "human",
"value": "Which Episode had 9.1 million viewers?"
},
{
"from": "gpt",
"value": "SELECT episode FROM table_name_65 WHERE viewers__in_millions_ = \"9.1\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (country VARCHAR, previous_team__league_ VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What is Country, when Previous Team (League) is \"Kingston Frontenacs ( OHL )\", and when Player is \"Anthony Stewart Category:Articles with... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (player VARCHAR, year VARCHAR, pick VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "What is Player, when Pick is \"3\", when Position is \"Defense\", and when Year is less than 2010?"
},
{
"from": "gpt",
"value": "S... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (position VARCHAR, year VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What is Position, when Year is less than 2000, and when Player is \"Radek Dvorak Category:Articles with hCards\"?"
},
{
"from": "gpt",
"value": "... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (player VARCHAR, previous_team__league_ VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is Player, when Previous Team (League) is \"Medicine Hat Tigers ( WHL )\", and when Year is less than 2002?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (country VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is Country, when Year is \"1994\"?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_93 WHERE year = 1994"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (episode VARCHAR, viewers__in_millions_ VARCHAR)"
},
{
"from": "human",
"value": "What episode has 7.8 million viewers?"
},
{
"from": "gpt",
"value": "SELECT episode FROM table_name_13 WHERE viewers__in_millions_ = \"7.8\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (episode VARCHAR, run_time VARCHAR)"
},
{
"from": "human",
"value": "What episode has a run time of 25:12?"
},
{
"from": "gpt",
"value": "SELECT episode FROM table_name_51 WHERE run_time = \"25:12\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR)"
},
{
"from": "human",
"value": "What is the broadcast date with 7.0 million viewers?"
},
{
"from": "gpt",
"value": "SELECT broadcast_date FROM table_name_46 WHERE viewers... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (total INTEGER, player VARCHAR)"
},
{
"from": "human",
"value": "What is the average total for Dave Stockton?"
},
{
"from": "gpt",
"value": "SELECT AVG(total) FROM table_name_66 WHERE player = \"dave stockton\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (to_par INTEGER, total VARCHAR, country VARCHAR, year_s__won VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of the to par for the United States in the winning year of 1967, and has a total of more than 146?"
},
{
"from":... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (score VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "What is the score for the game in which Arsenal was the away team?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_42 WHERE away_team = \"arsenal\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (score VARCHAR, tie_no VARCHAR)"
},
{
"from": "human",
"value": "What is the score for the tie number 15?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_13 WHERE tie_no = \"15\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (outgoing_manager VARCHAR, manner_of_departure VARCHAR, replaced_by VARCHAR)"
},
{
"from": "human",
"value": "What Outgoing manager left at his end of tenure as caretaker and was Replaced by Jesper Hansen?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (team VARCHAR, position_in_table VARCHAR, manner_of_departure VARCHAR)"
},
{
"from": "human",
"value": "What Team's Pre-Season Manager's manner of departure was the end of tenure as caretaker?"
},
{
"from": "gpt",
"value": "SEL... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (place VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What place is Fredrik Jacobson from?"
},
{
"from": "gpt",
"value": "SELECT place FROM table_name_87 WHERE player = \"fredrik jacobson\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (to_par VARCHAR, player VARCHAR, score VARCHAR, place VARCHAR)"
},
{
"from": "human",
"value": "What is the to par of Tiger Woods, where his score was less than 67, and he was in t1 place?"
},
{
"from": "gpt",
"value": "SELECT ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (place VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What place is player Brad Faxon from?"
},
{
"from": "gpt",
"value": "SELECT place FROM table_name_33 WHERE player = \"brad faxon\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (score INTEGER, country VARCHAR)"
},
{
"from": "human",
"value": "What is Sweden's lowest score?"
},
{
"from": "gpt",
"value": "SELECT MIN(score) FROM table_name_90 WHERE country = \"sweden\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (sub_parish__sogn_ VARCHAR, year_built VARCHAR, parish__prestegjeld_ VARCHAR)"
},
{
"from": "human",
"value": "Which Sub-Parish (Sogn) was built after 1894 in the Parish (Prestegjeld) of jostedal parish?"
},
{
"from": "gpt",
"v... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (sub_parish__sogn_ VARCHAR, parish__prestegjeld_ VARCHAR, church_name VARCHAR)"
},
{
"from": "human",
"value": "Which Sub-Parish (Sogn) is in the Parish (Prestegjeld) of hafslo parish and has a church called Hafslo Kyrkje?"
},
{
"f... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (sub_parish__sogn_ VARCHAR, parish__prestegjeld_ VARCHAR, location_of_the_church VARCHAR)"
},
{
"from": "human",
"value": "Which Sub-Parish (Sogn) is in the Parish (Prestegjeld) of hafslo parish and is located in the Church of Urnes?"
},... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (sub_parish__sogn_ VARCHAR, location_of_the_church VARCHAR, year_built VARCHAR, parish__prestegjeld_ VARCHAR)"
},
{
"from": "human",
"value": "Which Sub-Parish (Sogn) was built before 1883 in the Parish (Prestegjeld) of jostedal parish and... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (sub_parish__sogn_ VARCHAR, church_name VARCHAR)"
},
{
"from": "human",
"value": "Which Sub-Parish (Sogn) has a church named Jostedal Kyrkje?"
},
{
"from": "gpt",
"value": "SELECT sub_parish__sogn_ FROM table_name_99 WHERE chur... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (national_title VARCHAR, miss_international VARCHAR)"
},
{
"from": "human",
"value": "What's the national title of miss international ikumi yoshimatsu?"
},
{
"from": "gpt",
"value": "SELECT national_title FROM table_name_11 WHE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (year INTEGER, country_territory VARCHAR)"
},
{
"from": "human",
"value": "What's the earliest year the philippines won?"
},
{
"from": "gpt",
"value": "SELECT MIN(year) FROM table_name_6 WHERE country_territory = \"philippines\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (year INTEGER, country_territory VARCHAR)"
},
{
"from": "human",
"value": "What's the average year lebanon won?"
},
{
"from": "gpt",
"value": "SELECT AVG(year) FROM table_name_51 WHERE country_territory = \"lebanon\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (country_territory VARCHAR, miss_international VARCHAR)"
},
{
"from": "human",
"value": "What country or territory is małgorzata rożniecka from?"
},
{
"from": "gpt",
"value": "SELECT country_territory FROM table_name_33 WHERE m... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (teams VARCHAR, league VARCHAR)"
},
{
"from": "human",
"value": "Which team had a league of regionalliga süd?"
},
{
"from": "gpt",
"value": "SELECT teams FROM table_name_84 WHERE league = \"regionalliga süd\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (home VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "What was the home for season 1949-50?"
},
{
"from": "gpt",
"value": "SELECT home FROM table_name_79 WHERE season = \"1949-50\""
}
] | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.