conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_name_94 (gold INTEGER, rank VARCHAR, total VARCHAR, nation VARCHAR)" }, { "from": "human", "value": "How many gold did Gabon have when they were ranked no higher than 17, and less than 7 in total?" }, { "from": "gpt", "value": "SELECT ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_5 (opponent VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Name the opponent for april 24" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_5 WHERE date = \"april 24\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_63 (score VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "Name the score for attendance of 13,617" }, { "from": "gpt", "value": "SELECT score FROM table_name_63 WHERE attendance = \"13,617\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_92 (opponent VARCHAR, score VARCHAR)" }, { "from": "human", "value": "Name the opponent for Score of postponed (rain) not rescheduled" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_92 WHERE score = \"postponed (rai...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_47 (h_s_asst_principal VARCHAR, glendale_principal VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What is the H.S. Asst. principal with a Glendale principal Joyce Brace during 2002-2003?" }, { "from": "gpt", "value": "SEL...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_99 (hs_principal VARCHAR, wr_principal VARCHAR, ms_principal VARCHAR)" }, { "from": "human", "value": "Who is the h.s. principal with Dave Lovering as w.r. principal and Marty Pizur as m.s. principal?" }, { "from": "gpt", "value":...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_58 (glendale_principal VARCHAR, year VARCHAR, ms_principal VARCHAR, hs_principal VARCHAR)" }, { "from": "human", "value": "Who is the Glendale principal with Greg Smorel as m.s. principal and Joleen Reinholz as H.S. principal during 2006-2007...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_55 (hh_principal VARCHAR, wr_principal VARCHAR, hs_principal VARCHAR, maplemere_principal VARCHAR)" }, { "from": "human", "value": "Who is the h.h. principal with Jim Haught as h.s. principal, Charlie Taylor as maplemere principal, and Rich A...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_16 (hh_principal VARCHAR, superintendent VARCHAR, maplemere_principal VARCHAR)" }, { "from": "human", "value": "Who is the h.h. principal with James Finch as the superintendent and Charlie Taylor as the maplemere principal?" }, { "fro...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (hs_principal VARCHAR, year VARCHAR)" }, { "from": "human", "value": "Who is the h.s. principal during 1973-1974?" }, { "from": "gpt", "value": "SELECT hs_principal FROM table_name_81 WHERE year = \"1973-1974\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_7 (engine VARCHAR, year VARCHAR, points VARCHAR)" }, { "from": "human", "value": "what is the engine for year less than 1959 and points more than 4?" }, { "from": "gpt", "value": "SELECT engine FROM table_name_7 WHERE year < 1959 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_75 (year INTEGER, points VARCHAR)" }, { "from": "human", "value": "what is the least year for 4 points?" }, { "from": "gpt", "value": "SELECT MIN(year) FROM table_name_75 WHERE points = 4" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_6 (entrant VARCHAR, engine VARCHAR, points VARCHAR)" }, { "from": "human", "value": "what is the entrant for the ferrari v8 with points less than 4?" }, { "from": "gpt", "value": "SELECT entrant FROM table_name_6 WHERE engine = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_85 (year INTEGER, points VARCHAR, engine VARCHAR)" }, { "from": "human", "value": "what is the average year for 0 points and ferrari v8?" }, { "from": "gpt", "value": "SELECT AVG(year) FROM table_name_85 WHERE points = 0 AND engin...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (launched VARCHAR, territory VARCHAR, channel VARCHAR)" }, { "from": "human", "value": "When did channel 83 in singapore launch?" }, { "from": "gpt", "value": "SELECT launched FROM table_name_81 WHERE territory = \"singapore\" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_86 (territory VARCHAR, channel VARCHAR)" }, { "from": "human", "value": "Where is channel 83 broadcasted?" }, { "from": "gpt", "value": "SELECT territory FROM table_name_86 WHERE channel = 83" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_12 (broadcaster VARCHAR, territory VARCHAR)" }, { "from": "human", "value": "Who broadcasts in malaysia?" }, { "from": "gpt", "value": "SELECT broadcaster FROM table_name_12 WHERE territory = \"malaysia\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_19 (engine_s_ VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What are the engines for 1983?" }, { "from": "gpt", "value": "SELECT engine_s_ FROM table_name_19 WHERE year = 1983" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_75 (appearances VARCHAR, goals VARCHAR, name VARCHAR)" }, { "from": "human", "value": "How many appearances did Gary Depalma make when he scored less than 30 goals?" }, { "from": "gpt", "value": "SELECT appearances FROM table_name...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (intergiro_classification VARCHAR, trofeo_fast_team VARCHAR, stage VARCHAR)" }, { "from": "human", "value": "In stage 13, what is the intergiro classification and is on the team of Asics-c.g.a.?" }, { "from": "gpt", "value": "S...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_53 (intergiro_classification VARCHAR, trofeo_fast_team VARCHAR, stage VARCHAR)" }, { "from": "human", "value": "Which intergiro classification is there for team Polti at stage 14?" }, { "from": "gpt", "value": "SELECT intergiro_cl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_97 (winner VARCHAR, general_classification VARCHAR, stage VARCHAR)" }, { "from": "human", "value": "Who was the winner in stage 7 with a general classification of Pavel Tonkov?" }, { "from": "gpt", "value": "SELECT winner FROM tab...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_52 (winner VARCHAR, trofeo_fast_team VARCHAR, mountains_classification VARCHAR)" }, { "from": "human", "value": "Who was the winner from team Asics-c.g.a. and has a mountains classification of Mariano Piccoli?" }, { "from": "gpt", ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_54 (points_classification VARCHAR, stage VARCHAR)" }, { "from": "human", "value": "Which points classification was used in stage 15?" }, { "from": "gpt", "value": "SELECT points_classification FROM table_name_54 WHERE stage = \"15...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_70 (winner VARCHAR, mountains_classification VARCHAR, stage VARCHAR)" }, { "from": "human", "value": "Which winner of stage 1 was not awarded a mountains classification?" }, { "from": "gpt", "value": "SELECT winner FROM table_name...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (muzzle_device VARCHAR, barrel_twist VARCHAR)" }, { "from": "human", "value": "Name the muzzel device with barrel twist of 1:10" }, { "from": "gpt", "value": "SELECT muzzle_device FROM table_name_18 WHERE barrel_twist = \"1:10\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_92 (bayonet_lug VARCHAR, name VARCHAR)" }, { "from": "human", "value": "Name the bayonet lug with ar-15 lightweight" }, { "from": "gpt", "value": "SELECT bayonet_lug FROM table_name_92 WHERE name = \"ar-15 lightweight\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_8 (hand_guards VARCHAR, name VARCHAR, barrel_twist VARCHAR)" }, { "from": "human", "value": "Name the hand guards for ar-15a2 government carbine and barrel twist of 1:9" }, { "from": "gpt", "value": "SELECT hand_guards FROM table_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_90 (barrel_length VARCHAR, barrel_twist VARCHAR)" }, { "from": "human", "value": "Name the barrel length for barrel twist of 1:7" }, { "from": "gpt", "value": "SELECT barrel_length FROM table_name_90 WHERE barrel_twist = \"1:7\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (three_mora_word VARCHAR, one_mora VARCHAR, accented_mora VARCHAR)" }, { "from": "human", "value": "What is the three-mora word with a low tone accented mora and a one mora of 2?" }, { "from": "gpt", "value": "SELECT three_mora...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_73 (one_mora VARCHAR, three_mora_word VARCHAR)" }, { "from": "human", "value": "What is the one mora for the three-mora word /kaze/ [kázé]?" }, { "from": "gpt", "value": "SELECT one_mora FROM table_name_73 WHERE three_mora_word = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_29 (one_mora VARCHAR, three_mora_word VARCHAR)" }, { "from": "human", "value": "What is the one mora for the three-mora word /˩haruꜜ/ [hàɽɯ́ ~ hàɽɯ̂]?" }, { "from": "gpt", "value": "SELECT one_mora FROM table_name_29 WHERE three_m...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_53 (two_mora_word VARCHAR, gloss VARCHAR, accented_mora VARCHAR)" }, { "from": "human", "value": "What is the two-mora word with a low tone accented mora and a gloss of /˩kusuꜜri/ [kɯ̀sɯ́ɽì]?" }, { "from": "gpt", "value": "SELECT ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_95 (one_mora VARCHAR, gloss VARCHAR, accented_mora VARCHAR)" }, { "from": "human", "value": "What is the one mora for a low tone mora with a gloss of /˩okiru/ [òkìɽɯ́]?" }, { "from": "gpt", "value": "SELECT one_mora FROM table_nam...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_27 (total_medals INTEGER, gold_medals VARCHAR, ensemble VARCHAR)" }, { "from": "human", "value": "What is the highest Total Medals that has 0 Gold Medal and a Ensemble of east 80 indoor percussion?" }, { "from": "gpt", "value": "S...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_76 (total_medals INTEGER, ensemble VARCHAR, bronze_medals VARCHAR)" }, { "from": "human", "value": "What is the lowest Total Medals that has madison independent and Bronze Medals larger than 0" }, { "from": "gpt", "value": "SELECT...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (gold_medals INTEGER, ensemble VARCHAR, silver_medals VARCHAR)" }, { "from": "human", "value": "what is Gold Medals that has salem blue devils and a Silver Medals less than 1?" }, { "from": "gpt", "value": "SELECT MIN(gold_med...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_19 (location VARCHAR, method VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What is the location of the match where the method was submission (armbar) and Mayra Conde was the opponent?" }, { "from": "gpt", "value": "S...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_86 (opponent VARCHAR, method VARCHAR, record VARCHAR)" }, { "from": "human", "value": "Who is the opponent of the match with a method of submission (armbar) and a 9-3-1 record?" }, { "from": "gpt", "value": "SELECT opponent FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_5 (time__eest_ VARCHAR, stage VARCHAR)" }, { "from": "human", "value": "What is the Time (EEST), when the Stage is ss8?" }, { "from": "gpt", "value": "SELECT time__eest_ FROM table_name_5 WHERE stage = \"ss8\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_19 (stage VARCHAR, rally_leader VARCHAR)" }, { "from": "human", "value": "What is the Stage, when the Rally leader is C. Atkinson?" }, { "from": "gpt", "value": "SELECT stage FROM table_name_19 WHERE rally_leader = \"c. atkinson\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_92 (winner VARCHAR, name VARCHAR)" }, { "from": "human", "value": "Who is the Winner, when the Name is Ouninpohja 1?" }, { "from": "gpt", "value": "SELECT winner FROM table_name_92 WHERE name = \"ouninpohja 1\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_68 (length VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What is the Length, when the Name is Himos?" }, { "from": "gpt", "value": "SELECT length FROM table_name_68 WHERE name = \"himos\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_95 (winner VARCHAR, length VARCHAR)" }, { "from": "human", "value": "Who is the Winner when the Length is 21.27km?" }, { "from": "gpt", "value": "SELECT winner FROM table_name_95 WHERE length = \"21.27km\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_92 (name VARCHAR, time VARCHAR)" }, { "from": "human", "value": "What is the Name, when the Time is 8:10.1?" }, { "from": "gpt", "value": "SELECT name FROM table_name_92 WHERE time = \"8:10.1\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_2 (entrant VARCHAR, chassis VARCHAR, points VARCHAR, year VARCHAR)" }, { "from": "human", "value": "In the Formula One World Championships, which entrant had 0 points with a Ferrari 156 Chassis after 1961?" }, { "from": "gpt", "va...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_80 (engine VARCHAR, year VARCHAR)" }, { "from": "human", "value": "During the Formula One World Championships, which engine was used in 1965?" }, { "from": "gpt", "value": "SELECT engine FROM table_name_80 WHERE year = 1965" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_78 (points VARCHAR, chassis VARCHAR)" }, { "from": "human", "value": "How many points were earned with a Chassis of a Ferrari 156?" }, { "from": "gpt", "value": "SELECT COUNT(points) FROM table_name_78 WHERE chassis = \"ferrari 15...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_76 (finish VARCHAR, qual VARCHAR, laps VARCHAR, start VARCHAR)" }, { "from": "human", "value": "Where did the driver who started 9 with a qualifing speed of 152.672 and finished fewer than 197 laps finish?" }, { "from": "gpt", "va...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_1 (location VARCHAR, game VARCHAR)" }, { "from": "human", "value": "What is the location of game 7?" }, { "from": "gpt", "value": "SELECT location FROM table_name_1 WHERE game = 7" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_20 (location VARCHAR, game VARCHAR)" }, { "from": "human", "value": "what is the location of game 4?" }, { "from": "gpt", "value": "SELECT location FROM table_name_20 WHERE game = 4" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_61 (scorers VARCHAR, group_position VARCHAR, opponents VARCHAR)" }, { "from": "human", "value": "Who were the 2nd group scorers that were opponents of olympiacos?" }, { "from": "gpt", "value": "SELECT scorers FROM table_name_61 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (scorers VARCHAR, result_f_a VARCHAR)" }, { "from": "human", "value": "Who were F–A of 1–0 scorers?" }, { "from": "gpt", "value": "SELECT scorers FROM table_name_94 WHERE result_f_a = \"1–0\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_33 (final_score VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What was the final score of the game on November 17?" }, { "from": "gpt", "value": "SELECT final_score FROM table_name_33 WHERE date = \"november 17\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_23 (final_score VARCHAR, visiting_team VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What was the final score of the game on November 24 with the visiting team the Indianapolis Colts?" }, { "from": "gpt", "value": "SELEC...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_37 (date VARCHAR, final_score VARCHAR, stadium VARCHAR)" }, { "from": "human", "value": "When was the game at Gillette Stadium that ended in a final score of 30-17?" }, { "from": "gpt", "value": "SELECT date FROM table_name_37 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_41 (visiting_team VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Who was the visiting team that played on September 15?" }, { "from": "gpt", "value": "SELECT visiting_team FROM table_name_41 WHERE date = \"september 15\""...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (year VARCHAR, regular_season VARCHAR)" }, { "from": "human", "value": "What year did the Nashville Metros have the Regular Season 2nd, central?" }, { "from": "gpt", "value": "SELECT year FROM table_name_74 WHERE regular_season...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (division VARCHAR, regular_season VARCHAR, playoffs VARCHAR, league VARCHAR)" }, { "from": "human", "value": "What division did the Nashville Metros play in during the year that they did not qualify for the Playoffs, where in the USL PDL L...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_78 (year INTEGER, regular_season VARCHAR, playoffs VARCHAR, open_cup VARCHAR)" }, { "from": "human", "value": "What was the average year that the Nashville Metros did not qualify for the Playoffs, did not qualify for the Open Cup, and had the...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_55 (chassis VARCHAR, points VARCHAR)" }, { "from": "human", "value": "Which chassis scored 52 points?" }, { "from": "gpt", "value": "SELECT chassis FROM table_name_55 WHERE points = 52" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_51 (engine VARCHAR, points VARCHAR, chassis VARCHAR)" }, { "from": "human", "value": "Which engine scored 6 points and used the march 88c chassis?" }, { "from": "gpt", "value": "SELECT engine FROM table_name_51 WHERE points = 6 AN...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_70 (d_43 VARCHAR, d_48 VARCHAR)" }, { "from": "human", "value": "Name the D 43 with D 48 of d 9" }, { "from": "gpt", "value": "SELECT d_43 FROM table_name_70 WHERE d_48 = \"d 9\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_7 (d_42 VARCHAR, d_43 VARCHAR)" }, { "from": "human", "value": "Name the D 42 with D 43 of d 14" }, { "from": "gpt", "value": "SELECT d_42 FROM table_name_7 WHERE d_43 = \"d 14\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_11 (d_47 VARCHAR, d_48 VARCHAR)" }, { "from": "human", "value": "Name the D 47 when it has D 48 of d 29" }, { "from": "gpt", "value": "SELECT d_47 FROM table_name_11 WHERE d_48 = \"d 29\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_45 (d_43 VARCHAR, d_48 VARCHAR)" }, { "from": "human", "value": "Name the D 43 and D 48 of r 28" }, { "from": "gpt", "value": "SELECT d_43 FROM table_name_45 WHERE d_48 = \"r 28\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (d_47 VARCHAR, d_42 VARCHAR)" }, { "from": "human", "value": "Name the D 47 which has D 42 of d 22" }, { "from": "gpt", "value": "SELECT d_47 FROM table_name_10 WHERE d_42 = \"d 22\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_2 (region VARCHAR, label VARCHAR)" }, { "from": "human", "value": "Which region had a label of Central Station?" }, { "from": "gpt", "value": "SELECT region FROM table_name_2 WHERE label = \"central station\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_46 (nhl_team VARCHAR, position VARCHAR, pick__number VARCHAR)" }, { "from": "human", "value": "What NHL team has a centre and pick number of 105?" }, { "from": "gpt", "value": "SELECT nhl_team FROM table_name_46 WHERE position = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_13 (pick__number VARCHAR, nhl_team VARCHAR)" }, { "from": "human", "value": "What Pick # does the St. Louis Blues have?" }, { "from": "gpt", "value": "SELECT pick__number FROM table_name_13 WHERE nhl_team = \"st. louis blues\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (position VARCHAR, pick__number VARCHAR)" }, { "from": "human", "value": "What is the position of the player with a Pick # of 108?" }, { "from": "gpt", "value": "SELECT position FROM table_name_18 WHERE pick__number = \"108\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_43 (position VARCHAR, nhl_team VARCHAR, pick__number VARCHAR)" }, { "from": "human", "value": "What position in the Vancouver Canucks has a Pick # of 101?" }, { "from": "gpt", "value": "SELECT position FROM table_name_43 WHERE nhl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_22 (record VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "What was the team's record at the game attended by 30,452?" }, { "from": "gpt", "value": "SELECT record FROM table_name_22 WHERE attendance = \"30,452\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_34 (attendance VARCHAR, loss VARCHAR)" }, { "from": "human", "value": "What was the attendance at the game that had a loss of Crabtree (0-1)?" }, { "from": "gpt", "value": "SELECT attendance FROM table_name_34 WHERE loss = \"crabt...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_22 (tournament VARCHAR, runner_s__up VARCHAR)" }, { "from": "human", "value": "What races were Chi-Chi Rodriguez the runner-up in?" }, { "from": "gpt", "value": "SELECT tournament FROM table_name_22 WHERE runner_s__up = \"chi-chi ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_12 (margin_of_victory VARCHAR, runner_s__up VARCHAR)" }, { "from": "human", "value": "What was the margin of victory for Isao Aoki when he was a runner-up?" }, { "from": "gpt", "value": "SELECT margin_of_victory FROM table_name_12...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_5 (winning_score VARCHAR, tournament VARCHAR)" }, { "from": "human", "value": "What was the winning score in the mazda senior tournament players championship?" }, { "from": "gpt", "value": "SELECT winning_score FROM table_name_5 W...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_16 (tournament VARCHAR, winning_score VARCHAR)" }, { "from": "human", "value": "Which tournament ended with a winning score of –27 (65-68-64-64=261)?" }, { "from": "gpt", "value": "SELECT tournament FROM table_name_16 WHERE winnin...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_39 (runner_s__up VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Who was the runner(s)-up for the Feb 18, 1996 tournament?" }, { "from": "gpt", "value": "SELECT runner_s__up FROM table_name_39 WHERE date = \"feb 18, 1996\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (grid INTEGER, laps VARCHAR, driver VARCHAR)" }, { "from": "human", "value": "What is Oriol Servia's average Grid on races with more than 43 laps?" }, { "from": "gpt", "value": "SELECT AVG(grid) FROM table_name_10 WHERE laps > ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (laps VARCHAR, points VARCHAR)" }, { "from": "human", "value": "How many laps were there in the race that netted the winner 19 points?" }, { "from": "gpt", "value": "SELECT laps FROM table_name_96 WHERE points = 19" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (season VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "In what Season is Necaxa an Opponent?" }, { "from": "gpt", "value": "SELECT season FROM table_name_96 WHERE opponent = \"necaxa\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_97 (season VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "In what season is Victoria the Opponent?" }, { "from": "gpt", "value": "SELECT season FROM table_name_97 WHERE opponent = \"victoria\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_32 (authority VARCHAR, decile VARCHAR, name VARCHAR)" }, { "from": "human", "value": "Name the authority when the decile is 6 for pongaroa school" }, { "from": "gpt", "value": "SELECT authority FROM table_name_32 WHERE decile = 6 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_48 (years VARCHAR, name VARCHAR)" }, { "from": "human", "value": "Name the years for dannevirke south school" }, { "from": "gpt", "value": "SELECT years FROM table_name_48 WHERE name = \"dannevirke south school\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_78 (decile INTEGER, roll VARCHAR, authority VARCHAR, area VARCHAR)" }, { "from": "human", "value": "Name the least decile for state authority and area of eketahuna with roll more than 44" }, { "from": "gpt", "value": "SELECT MIN(d...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_16 (name VARCHAR, area VARCHAR)" }, { "from": "human", "value": "Tell me the name with area of eketahuna" }, { "from": "gpt", "value": "SELECT name FROM table_name_16 WHERE area = \"eketahuna\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_28 (completed VARCHAR, launched VARCHAR)" }, { "from": "human", "value": "Name what was completed on 12 april 1934" }, { "from": "gpt", "value": "SELECT completed FROM table_name_28 WHERE launched = \"12 april 1934\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_91 (launched VARCHAR, completed VARCHAR)" }, { "from": "human", "value": "Name the launched for 13 september 1934 completion" }, { "from": "gpt", "value": "SELECT launched FROM table_name_91 WHERE completed = \"13 september 1934\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_22 (ship VARCHAR, launched VARCHAR)" }, { "from": "human", "value": "Name the ship launched 29 may 1934" }, { "from": "gpt", "value": "SELECT ship FROM table_name_22 WHERE launched = \"29 may 1934\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_39 (laid_down VARCHAR, launched VARCHAR)" }, { "from": "human", "value": "Name the laid down for launched being 16 february 1934" }, { "from": "gpt", "value": "SELECT laid_down FROM table_name_39 WHERE launched = \"16 february 193...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_43 (pennant_number VARCHAR, launched VARCHAR, completed VARCHAR)" }, { "from": "human", "value": "Name the pennant number for completion of 30 october 1934 and launched 29 march 1934" }, { "from": "gpt", "value": "SELECT pennant_n...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_67 (laid_down VARCHAR, completed VARCHAR)" }, { "from": "human", "value": "Name the laid down for completed of 22 october 1934" }, { "from": "gpt", "value": "SELECT laid_down FROM table_name_67 WHERE completed = \"22 october 1934\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (votes INTEGER, rank VARCHAR, riding VARCHAR)" }, { "from": "human", "value": "what is the lowest votes of the candidate ranked 5th and riding in victoria?" }, { "from": "gpt", "value": "SELECT MIN(votes) FROM table_name_94 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_21 (home_captain VARCHAR, result VARCHAR)" }, { "from": "human", "value": "Which home captian has aus by 295 runs as the result?" }, { "from": "gpt", "value": "SELECT home_captain FROM table_name_21 WHERE result = \"aus by 295 run...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_11 (result VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "Which result has adelaide oval as the venue?" }, { "from": "gpt", "value": "SELECT result FROM table_name_11 WHERE venue = \"adelaide oval\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_44 (height VARCHAR, position VARCHAR, year_born VARCHAR)" }, { "from": "human", "value": "Born in 1982, this guard has what listed as a height?" }, { "from": "gpt", "value": "SELECT height FROM table_name_44 WHERE position = \"gua...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_8 (points_classification_navy_blue_jersey VARCHAR, general_classification_yellow_jersey VARCHAR)" }, { "from": "human", "value": "Which Points Classification Navy Blue Jersey that has a Jersey of Graeme Brown" }, { "from": "gpt", ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_34 (intermediate_sprints_classification_red_jersey VARCHAR, mountains_classification_green_jersey VARCHAR, points_classification_navy_blue_jersey VARCHAR)" }, { "from": "human", "value": "What is the Intermediate Sprints Classification Red Je...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (general_classification_yellow_jersey VARCHAR, mountains_classification_green_jersey VARCHAR, team_classification VARCHAR)" }, { "from": "human", "value": "What is General Classification Yellow Jersey that has a Murilo Antonio Fischer, an...
know_sql
chosen