conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_name_22 (country VARCHAR, score VARCHAR)" }, { "from": "human", "value": "Which country scored 69-67-69-70=275?" }, { "from": "gpt", "value": "SELECT country FROM table_name_22 WHERE score = 69 - 67 - 69 - 70 = 275" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_69 (date VARCHAR, game VARCHAR)" }, { "from": "human", "value": "What is the Date, when Game is 17?" }, { "from": "gpt", "value": "SELECT date FROM table_name_69 WHERE game = 17" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_97 (date VARCHAR, away_team VARCHAR)" }, { "from": "human", "value": "What day was the away team Cardiff City?" }, { "from": "gpt", "value": "SELECT date FROM table_name_97 WHERE away_team = \"cardiff city\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_33 (home_team VARCHAR, away_team VARCHAR)" }, { "from": "human", "value": "What home team had an away team of Aston Villa?" }, { "from": "gpt", "value": "SELECT home_team FROM table_name_33 WHERE away_team = \"aston villa\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_89 (score VARCHAR, home_team VARCHAR)" }, { "from": "human", "value": "What was the score when York City was home?" }, { "from": "gpt", "value": "SELECT score FROM table_name_89 WHERE home_team = \"york city\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_77 (total INTEGER, to_par VARCHAR, player VARCHAR)" }, { "from": "human", "value": "If the player is Corey Pavin when he had a To par of over 7, what was the sum of his totals?" }, { "from": "gpt", "value": "SELECT SUM(total) FROM...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_8 (round INTEGER, event VARCHAR)" }, { "from": "human", "value": "What is the round for the ufc on fox: velasquez vs. dos santos event?" }, { "from": "gpt", "value": "SELECT AVG(round) FROM table_name_8 WHERE event = \"ufc on fox:...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_31 (game_site VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "Where was the game played when 71,060 people attended?" }, { "from": "gpt", "value": "SELECT game_site FROM table_name_31 WHERE attendance = \"71,060\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_87 (result VARCHAR, week VARCHAR, game_site VARCHAR)" }, { "from": "human", "value": "When the game was played at Mile High Stadium before week 9, what was the result?" }, { "from": "gpt", "value": "SELECT result FROM table_name_8...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_64 (result VARCHAR, week VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "Against the Houston Oilers after week 14, what was the result of the game?" }, { "from": "gpt", "value": "SELECT result FROM table_name_64 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_23 (player VARCHAR, to_par VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What player has +3 to par and score of 75-72=147?" }, { "from": "gpt", "value": "SELECT player FROM table_name_23 WHERE to_par = \"+3\" AND score ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_30 (country VARCHAR, to_par VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What is the country that the player is from with +3 to par and score of 74-73=147?" }, { "from": "gpt", "value": "SELECT country FROM table_name_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_29 (player VARCHAR, to_par VARCHAR)" }, { "from": "human", "value": "What player has +2 to par?" }, { "from": "gpt", "value": "SELECT player FROM table_name_29 WHERE to_par = \"+2\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_87 (team VARCHAR, time_retired VARCHAR, grid VARCHAR)" }, { "from": "human", "value": "Name the Team which has a Time/Retired of contact, and a Grid smaller than 17?" }, { "from": "gpt", "value": "SELECT team FROM table_name_87 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_53 (bronze INTEGER, nation VARCHAR, total VARCHAR)" }, { "from": "human", "value": "What is the average Bronze, when Nation is \"North Korea\", and when Total is greater than 5?" }, { "from": "gpt", "value": "SELECT AVG(bronze) FR...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_83 (bronze INTEGER, rank VARCHAR, silver VARCHAR)" }, { "from": "human", "value": "What is the lowest Bronze, when Total is greater than 10, when Silver is greater than 0, and when Rank is \"Total\"?" }, { "from": "gpt", "value": ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_29 (rank VARCHAR, total VARCHAR, silver VARCHAR, bronze VARCHAR)" }, { "from": "human", "value": "What is Rank, when Silver is less than 6, when Bronze is greater than 4, and when Total is 10?" }, { "from": "gpt", "value": "SELECT...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (gold VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "What is Gold, when Rank is 7?" }, { "from": "gpt", "value": "SELECT gold FROM table_name_38 WHERE rank = \"7\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_15 (surface VARCHAR, date VARCHAR)" }, { "from": "human", "value": "what is the surface on july 26, 2010?" }, { "from": "gpt", "value": "SELECT surface FROM table_name_15 WHERE date = \"july 26, 2010\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (tournament VARCHAR, date VARCHAR)" }, { "from": "human", "value": "what is the tournament on august 17, 2008?" }, { "from": "gpt", "value": "SELECT tournament FROM table_name_14 WHERE date = \"august 17, 2008\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_86 (opponent VARCHAR, score VARCHAR)" }, { "from": "human", "value": "who is the opponent when the score is 7–5, 7–6 (8–6)?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_86 WHERE score = \"7–5, 7–6 (8–6)\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_11 (tournament VARCHAR, date VARCHAR)" }, { "from": "human", "value": "what is the tournament on july 23, 2006?" }, { "from": "gpt", "value": "SELECT tournament FROM table_name_11 WHERE date = \"july 23, 2006\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_9 (score VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "what is the score when the opponent is fernando vicente?" }, { "from": "gpt", "value": "SELECT score FROM table_name_9 WHERE opponent = \"fernando vicente\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_22 (opponent VARCHAR, score VARCHAR)" }, { "from": "human", "value": "who is the opponent when the score is 3–6, 6–1, 7–5?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_22 WHERE score = \"3–6, 6–1, 7–5\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_33 (to_par VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What is Scott Hoch's to par?" }, { "from": "gpt", "value": "SELECT to_par FROM table_name_33 WHERE player = \"scott hoch\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (place VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What place is Nolan Henke in?" }, { "from": "gpt", "value": "SELECT place FROM table_name_10 WHERE player = \"nolan henke\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_29 (total_votes VARCHAR, election VARCHAR, share_of_votes VARCHAR)" }, { "from": "human", "value": "What is the vote total for elections after 2001 with 44.5% participation?" }, { "from": "gpt", "value": "SELECT total_votes FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_62 (league_cup_goals INTEGER, name VARCHAR, fa_cup_goals VARCHAR)" }, { "from": "human", "value": "What is the most league cup goals for David Beresford having less than 0 FA Cup Goals?" }, { "from": "gpt", "value": "SELECT MAX(le...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_95 (league_goals INTEGER, league_apps VARCHAR, league_cup_goals VARCHAR)" }, { "from": "human", "value": "What is the league goals when the league cup goals is less than 0 and 16 (1) league apps?" }, { "from": "gpt", "value": "SEL...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_13 (league_cup_apps VARCHAR, total_apps VARCHAR, position VARCHAR, league_goals VARCHAR)" }, { "from": "human", "value": "What is the league cup apps when the league goals are greater than 3, there are 30 (2) total apps, and has a position of...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_53 (fa_cup_apps VARCHAR, league_goals VARCHAR, squad_no VARCHAR)" }, { "from": "human", "value": "What is the FA Cup App for Squad Number 3 having fewer than 4 league goals?" }, { "from": "gpt", "value": "SELECT fa_cup_apps FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_17 (fa_cup INTEGER, premier_league VARCHAR, league_cup VARCHAR, total VARCHAR)" }, { "from": "human", "value": "What is the lowest FA cup with 1 league cup, less than 12 total and 1 premier league?" }, { "from": "gpt", "value": "S...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_77 (league_cup INTEGER, total VARCHAR, fa_cup VARCHAR, premier_league VARCHAR)" }, { "from": "human", "value": "What is the highest league cup with more than 0 FA cups, a premier league less than 34 and a total of 11?" }, { "from": "g...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_43 (total INTEGER, name VARCHAR, premier_league VARCHAR)" }, { "from": "human", "value": "What is the average total of kenwyne jones, who has more than 10 premier leagues?" }, { "from": "gpt", "value": "SELECT AVG(total) FROM tabl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_97 (league_cup INTEGER, name VARCHAR, premier_league VARCHAR)" }, { "from": "human", "value": "What is the highest league cup of danny collins, who has more than 1 premier league?" }, { "from": "gpt", "value": "SELECT MAX(league_c...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_5 (high_assists VARCHAR, game INTEGER)" }, { "from": "human", "value": "Who had the high assists in the game less than 19?" }, { "from": "gpt", "value": "SELECT high_assists FROM table_name_5 WHERE game < 19" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_17 (high_rebounds VARCHAR, location_attendance VARCHAR)" }, { "from": "human", "value": "Who had the high rebounds in Philips Arena 12,088?" }, { "from": "gpt", "value": "SELECT high_rebounds FROM table_name_17 WHERE location_atte...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_59 (high_points VARCHAR, score VARCHAR)" }, { "from": "human", "value": "Who had the high points when the score was w 108–105 (ot)?" }, { "from": "gpt", "value": "SELECT high_points FROM table_name_59 WHERE score = \"w 108–105 (ot...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_97 (competition VARCHAR, result VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What was the competition on 29 November 1997 that resulted in a draw?" }, { "from": "gpt", "value": "SELECT competition FROM table_name_97 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (area__in_km²_ INTEGER, markatal INTEGER)" }, { "from": "human", "value": "What is the average Area (in km²), when Markatal is less than 0?" }, { "from": "gpt", "value": "SELECT AVG(area__in_km²_) FROM table_name_81 WHERE marka...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_69 (markatal INTEGER, municipality VARCHAR, inhabitants_per_km² VARCHAR)" }, { "from": "human", "value": "What is the highest Markatal, when Municipality is Leirvík, and when Inhabitants Per Km² is greater than 79?" }, { "from": "gpt"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (population INTEGER, municipality VARCHAR, markatal VARCHAR, inhabitants_per_km² VARCHAR)" }, { "from": "human", "value": "What is the sum of Population, when Markatal is greater than 48, when Inhabitants Per Km² is greater than 24, and wh...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_47 (markatal INTEGER, inhabitants_per_km² VARCHAR, area__in_km²_ VARCHAR)" }, { "from": "human", "value": "What is the sum of Markatal, when Inhabitants Per Km² is less than 13, and when Area (in Km²) is 27?" }, { "from": "gpt", "...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_53 (season VARCHAR, wins VARCHAR, loses VARCHAR, competition VARCHAR)" }, { "from": "human", "value": "How many seasons have Losses larger than 1, and a Competition of fiba europe cup, and Wins smaller than 4?" }, { "from": "gpt", ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_26 (wins INTEGER, loses VARCHAR, against VARCHAR)" }, { "from": "human", "value": "How many Wins have Losses larger than 2, and an Against of 73.3?" }, { "from": "gpt", "value": "SELECT SUM(wins) FROM table_name_26 WHERE loses > 2...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_54 (year INTEGER, date VARCHAR)" }, { "from": "human", "value": "In what Year was the Game on September 26?" }, { "from": "gpt", "value": "SELECT SUM(year) FROM table_name_54 WHERE date = \"september 26\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_32 (loser VARCHAR, result VARCHAR)" }, { "from": "human", "value": "What was the Loser of the Game with a Result of 35-27?" }, { "from": "gpt", "value": "SELECT loser FROM table_name_32 WHERE result = \"35-27\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (year INTEGER, result VARCHAR)" }, { "from": "human", "value": "In what Year was the Result of the game 16-14?" }, { "from": "gpt", "value": "SELECT MAX(year) FROM table_name_81 WHERE result = \"16-14\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_44 (year INTEGER, result VARCHAR)" }, { "from": "human", "value": "What Year had a Result of 34-25?" }, { "from": "gpt", "value": "SELECT AVG(year) FROM table_name_44 WHERE result = \"34-25\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_7 (winner VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the Winner of the Game on November 26?" }, { "from": "gpt", "value": "SELECT winner FROM table_name_7 WHERE date = \"november 26\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_66 (position INTEGER, pilot VARCHAR)" }, { "from": "human", "value": "What is the highest Position, when Pilot is \"Mario Kiessling\"?" }, { "from": "gpt", "value": "SELECT MAX(position) FROM table_name_66 WHERE pilot = \"mario ki...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_97 (position INTEGER, speed VARCHAR)" }, { "from": "human", "value": "What is the average Position, when Speed is \"143.5km/h\"?" }, { "from": "gpt", "value": "SELECT AVG(position) FROM table_name_97 WHERE speed = \"143.5km/h\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_40 (glider VARCHAR, speed VARCHAR)" }, { "from": "human", "value": "What is Glider, when Speed is \"147.3km/h\"?" }, { "from": "gpt", "value": "SELECT glider FROM table_name_40 WHERE speed = \"147.3km/h\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_64 (distance VARCHAR, pilot VARCHAR)" }, { "from": "human", "value": "What is Distance, when Pilot is \"Stanislaw Wujczak\"?" }, { "from": "gpt", "value": "SELECT distance FROM table_name_64 WHERE pilot = \"stanislaw wujczak\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_84 (player VARCHAR, jersey_number_s_ VARCHAR)" }, { "from": "human", "value": "Who has a Jersey number of 31?" }, { "from": "gpt", "value": "SELECT player FROM table_name_84 WHERE jersey_number_s_ = \"31\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_58 (position VARCHAR, years VARCHAR)" }, { "from": "human", "value": "What was the position in 1999?" }, { "from": "gpt", "value": "SELECT position FROM table_name_58 WHERE years = \"1999\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_40 (away_team VARCHAR, tie_no VARCHAR)" }, { "from": "human", "value": "What is the name of the away team with a Tie no of 7?" }, { "from": "gpt", "value": "SELECT away_team FROM table_name_40 WHERE tie_no = \"7\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_83 (tie_no VARCHAR, home_team VARCHAR)" }, { "from": "human", "value": "What is home team Chelsea's Tie no?" }, { "from": "gpt", "value": "SELECT tie_no FROM table_name_83 WHERE home_team = \"chelsea\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_97 (away_team VARCHAR, tie_no VARCHAR)" }, { "from": "human", "value": "What away team has a Tie no of 5?" }, { "from": "gpt", "value": "SELECT away_team FROM table_name_97 WHERE tie_no = \"5\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_76 (score VARCHAR, player VARCHAR)" }, { "from": "human", "value": "Can you tell me the Score that has the Player of raymond floyd?" }, { "from": "gpt", "value": "SELECT score FROM table_name_76 WHERE player = \"raymond floyd\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_68 (player VARCHAR, country VARCHAR, score VARCHAR)" }, { "from": "human", "value": "Can you tell me the Player that has the Country of united states, and the Score of 77-72-72=221?" }, { "from": "gpt", "value": "SELECT player FRO...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_45 (score VARCHAR, country VARCHAR, to_par VARCHAR)" }, { "from": "human", "value": "Can you tell me the Score that has the Country of united states, and the To par of 8?" }, { "from": "gpt", "value": "SELECT score FROM table_name...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_68 (time VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What was the time when his opponent was Cleber Luciano?" }, { "from": "gpt", "value": "SELECT time FROM table_name_68 WHERE opponent = \"cleber luciano\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_87 (method VARCHAR, round VARCHAR, event VARCHAR)" }, { "from": "human", "value": "What was the method in round 1 of the UFC 20 event?" }, { "from": "gpt", "value": "SELECT method FROM table_name_87 WHERE round = 1 AND event = \"u...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_90 (points VARCHAR, tries_for VARCHAR)" }, { "from": "human", "value": "What is Points, when Tries For is \"correct as of 00:00 11 June 2008\"?" }, { "from": "gpt", "value": "SELECT points FROM table_name_90 WHERE tries_for = \"co...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_52 (try_bonus VARCHAR, lost VARCHAR, points VARCHAR)" }, { "from": "human", "value": "What is Try Bonus, when Lost is \"5\", and when Points is \"73\"?" }, { "from": "gpt", "value": "SELECT try_bonus FROM table_name_52 WHERE lost ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_64 (points VARCHAR, played VARCHAR, club VARCHAR)" }, { "from": "human", "value": "What is Points, when Played is \"20\", and when Club is \"Caldicot RFC\"?" }, { "from": "gpt", "value": "SELECT points FROM table_name_64 WHERE pla...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_67 (points VARCHAR, drawn VARCHAR, lost VARCHAR)" }, { "from": "human", "value": "What is Points, when Drawn is \"1\", and when Lost is \"5\"?" }, { "from": "gpt", "value": "SELECT points FROM table_name_67 WHERE drawn = \"1\" AND...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_11 (lost VARCHAR, points_for VARCHAR)" }, { "from": "human", "value": "What is Lost, when Points For is \"257\"?" }, { "from": "gpt", "value": "SELECT lost FROM table_name_11 WHERE points_for = \"257\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_64 (lost VARCHAR, losing_bonus VARCHAR, club VARCHAR)" }, { "from": "human", "value": "What is Lost, when Losing Bonus is \"3\", and when Club is \"Bettws RFC\"?" }, { "from": "gpt", "value": "SELECT lost FROM table_name_64 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_90 (record VARCHAR, visitor VARCHAR)" }, { "from": "human", "value": "What was the record when the visitor was Atlanta Hawks?" }, { "from": "gpt", "value": "SELECT record FROM table_name_90 WHERE visitor = \"atlanta hawks\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_78 (visitor VARCHAR, score VARCHAR)" }, { "from": "human", "value": "Who was the visitor when the score was 136–120?" }, { "from": "gpt", "value": "SELECT visitor FROM table_name_78 WHERE score = \"136–120\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_79 (home VARCHAR, visitor VARCHAR)" }, { "from": "human", "value": "Who was the home when the visitor was New York Knicks?" }, { "from": "gpt", "value": "SELECT home FROM table_name_79 WHERE visitor = \"new york knicks\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_87 (date VARCHAR, home VARCHAR)" }, { "from": "human", "value": "When was the home Los Angeles Lakers?" }, { "from": "gpt", "value": "SELECT date FROM table_name_87 WHERE home = \"los angeles lakers\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (visitor VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Who was the visitor on december 15, 1976?" }, { "from": "gpt", "value": "SELECT visitor FROM table_name_94 WHERE date = \"december 15, 1976\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_85 (high_points VARCHAR, location_attendance VARCHAR)" }, { "from": "human", "value": "At Time Warner Cable Arena 12,096, what was the high points?" }, { "from": "gpt", "value": "SELECT high_points FROM table_name_85 WHERE locatio...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_27 (record VARCHAR, date VARCHAR)" }, { "from": "human", "value": "On November 2 what was the record of the team?" }, { "from": "gpt", "value": "SELECT record FROM table_name_27 WHERE date = \"november 2\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (frequency_mhz INTEGER, erp_w VARCHAR)" }, { "from": "human", "value": "Average frequency with ERP W of 62?" }, { "from": "gpt", "value": "SELECT AVG(frequency_mhz) FROM table_name_88 WHERE erp_w = \"62\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_40 (frequency_mhz VARCHAR, erp_w VARCHAR)" }, { "from": "human", "value": "Total frequency with ERP W of 62?" }, { "from": "gpt", "value": "SELECT COUNT(frequency_mhz) FROM table_name_40 WHERE erp_w = \"62\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_4 (frequency_mhz VARCHAR, call_sign VARCHAR)" }, { "from": "human", "value": "Frequency for kamy?" }, { "from": "gpt", "value": "SELECT frequency_mhz FROM table_name_4 WHERE call_sign = \"kamy\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_84 (method VARCHAR, record VARCHAR)" }, { "from": "human", "value": "What was the method of resolution when LaVerne Clark's record was 23-16-1?" }, { "from": "gpt", "value": "SELECT method FROM table_name_84 WHERE record = \"23-16...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_24 (population VARCHAR, english_name VARCHAR)" }, { "from": "human", "value": "how many subdivisions have an English Name of jiyang?" }, { "from": "gpt", "value": "SELECT COUNT(population) FROM table_name_24 WHERE english_name = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_73 (population INTEGER, english_name VARCHAR)" }, { "from": "human", "value": "What is the Population of the subdivision with the English Name of nanbin farm?" }, { "from": "gpt", "value": "SELECT MIN(population) FROM table_name_7...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_27 (traditional VARCHAR, pinyin VARCHAR)" }, { "from": "human", "value": "What is the Traditional when the Pinyin is hédōng qū?" }, { "from": "gpt", "value": "SELECT traditional FROM table_name_27 WHERE pinyin = \"hédōng qū\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_28 (traditional VARCHAR, area VARCHAR)" }, { "from": "human", "value": "What is the Traditional for area 35?" }, { "from": "gpt", "value": "SELECT traditional FROM table_name_28 WHERE area = \"35\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_91 (class VARCHAR, verb_meaning VARCHAR)" }, { "from": "human", "value": "Which class has the verb meaning of to run?" }, { "from": "gpt", "value": "SELECT class FROM table_name_91 WHERE verb_meaning = \"to run\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (part_1 VARCHAR, class VARCHAR)" }, { "from": "human", "value": "What is the entry for Part 1 for class 7d?" }, { "from": "gpt", "value": "SELECT part_1 FROM table_name_81 WHERE class = \"7d\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_31 (part_3 VARCHAR, part_4 VARCHAR)" }, { "from": "human", "value": "What is the part 3 entry that has a part 4 entry of giboran?" }, { "from": "gpt", "value": "SELECT part_3 FROM table_name_31 WHERE part_4 = \"giboran\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_36 (part_2 VARCHAR, class VARCHAR)" }, { "from": "human", "value": "What is the part 2 entry for class 3a?" }, { "from": "gpt", "value": "SELECT part_2 FROM table_name_36 WHERE class = \"3a\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (part_4 VARCHAR, class VARCHAR)" }, { "from": "human", "value": "What is the part 4 entry for class 7b?" }, { "from": "gpt", "value": "SELECT part_4 FROM table_name_88 WHERE class = \"7b\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_24 (date VARCHAR, result VARCHAR)" }, { "from": "human", "value": "On what date was the result a draw?" }, { "from": "gpt", "value": "SELECT date FROM table_name_24 WHERE result = \"draw\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_6 (score VARCHAR, competition VARCHAR, result VARCHAR)" }, { "from": "human", "value": "What is the score at the 2010 FIFA World Cup Qualification that results in a win?" }, { "from": "gpt", "value": "SELECT score FROM table_name_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_83 (power__kw_ VARCHAR, location VARCHAR)" }, { "from": "human", "value": "What is the Power (kW) for the station located in Cebu?" }, { "from": "gpt", "value": "SELECT power__kw_ FROM table_name_83 WHERE location = \"cebu\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_72 (power__kw_ VARCHAR, frequency VARCHAR)" }, { "from": "human", "value": "What is the Power (kW) for the station with a frequency of 95.1mhz?" }, { "from": "gpt", "value": "SELECT power__kw_ FROM table_name_72 WHERE frequency = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_31 (callsign VARCHAR, branding VARCHAR)" }, { "from": "human", "value": "What is the Callsign for the station with the branding 93dot5 home radio Cagayan De Oro?" }, { "from": "gpt", "value": "SELECT callsign FROM table_name_31 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (frequency VARCHAR, branding VARCHAR)" }, { "from": "human", "value": "What is the frequency for the station with the branding of 94dot3 home radio Palawan?" }, { "from": "gpt", "value": "SELECT frequency FROM table_name_74 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_25 (branding VARCHAR, location VARCHAR)" }, { "from": "human", "value": "What is the Branding for the station located in Zamboanga?" }, { "from": "gpt", "value": "SELECT branding FROM table_name_25 WHERE location = \"zamboanga\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_26 (power__kw_ VARCHAR, frequency VARCHAR)" }, { "from": "human", "value": "What is the Power (kW) for the station with the frequency of 98.7mhz?" }, { "from": "gpt", "value": "SELECT power__kw_ FROM table_name_26 WHERE frequency ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_52 (total VARCHAR, nation VARCHAR)" }, { "from": "human", "value": "What is the medal total of Denmark?" }, { "from": "gpt", "value": "SELECT COUNT(total) FROM table_name_52 WHERE nation = \"denmark\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_32 (record VARCHAR, game VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the record of the game with a game number greater than 24 on December 19?" }, { "from": "gpt", "value": "SELECT record FROM table_name_32 WHE...
know_sql
chosen