conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_name_23 (country VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What country has a 72-70-75-72=289 score?" }, { "from": "gpt", "value": "SELECT country FROM table_name_23 WHERE score = 72 - 70 - 75 - 72 = 289" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_20 (player VARCHAR, country VARCHAR, to_par VARCHAR, score VARCHAR)" }, { "from": "human", "value": "Who is the player from the United States with a 4 to par and a 74-73-72-69=288 score?" }, { "from": "gpt", "value": "SELECT playe...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_75 (money___$__ VARCHAR, to_par VARCHAR, score VARCHAR)" }, { "from": "human", "value": "How much money does the player with a to par less than 4 and a score of 74-72-68-73=287 have?" }, { "from": "gpt", "value": "SELECT money___$...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_64 (high_assists VARCHAR, high_points VARCHAR)" }, { "from": "human", "value": "What is High Assists, when High Points is \"Tayshaun Prince (23)\"?" }, { "from": "gpt", "value": "SELECT high_assists FROM table_name_64 WHERE high_p...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_72 (date VARCHAR, team VARCHAR)" }, { "from": "human", "value": "What is Date, when Team is \"Orlando\"?" }, { "from": "gpt", "value": "SELECT date FROM table_name_72 WHERE team = \"orlando\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_95 (team VARCHAR, pos VARCHAR, year VARCHAR)" }, { "from": "human", "value": "Which team has finished in 1st place in 2011?" }, { "from": "gpt", "value": "SELECT team FROM table_name_95 WHERE pos = \"1st\" AND year = 2011" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_19 (episode VARCHAR, year VARCHAR, show VARCHAR)" }, { "from": "human", "value": "What is the Episode number of Ernest Dickerson in 2009 when the show was dexter?" }, { "from": "gpt", "value": "SELECT episode FROM table_name_19 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_39 (result VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the result on 29 September 2007?" }, { "from": "gpt", "value": "SELECT result FROM table_name_39 WHERE date = \"29 september 2007\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_66 (competition VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Which competition was on 29 September 2007?" }, { "from": "gpt", "value": "SELECT competition FROM table_name_66 WHERE date = \"29 september 2007\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_35 (location VARCHAR, points VARCHAR)" }, { "from": "human", "value": "Where was the game where the senators scored 80 points?" }, { "from": "gpt", "value": "SELECT location FROM table_name_35 WHERE points = 80" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_1 (points INTEGER, opponent VARCHAR, game VARCHAR)" }, { "from": "human", "value": "What is the highest number of points against the boston bruins on game 77?" }, { "from": "gpt", "value": "SELECT MAX(points) FROM table_name_1 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_72 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)" }, { "from": "human", "value": "WHAT IS THE LOWEST GRID FOR RETIREMENT, AND LAPS LARGER THAN 17?" }, { "from": "gpt", "value": "SELECT MIN(grid) FROM table_name_72 WHERE time_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_72 (grid INTEGER, time_retired VARCHAR, manufacturer VARCHAR)" }, { "from": "human", "value": "WHAT IS THE GRID WITH AN ACCIDENT AND HONDA MANUFACTURER?" }, { "from": "gpt", "value": "SELECT MAX(grid) FROM table_name_72 WHERE time...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_61 (death_date VARCHAR, rank VARCHAR, age__as_of_1_february_2014_ VARCHAR)" }, { "from": "human", "value": "What was the date of death for a rank below 14 and age of 103 years, 148 days?" }, { "from": "gpt", "value": "SELECT death...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_15 (age__as_of_1_february_2014_ VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What is the age of Fred Gibson?" }, { "from": "gpt", "value": "SELECT age__as_of_1_february_2014_ FROM table_name_15 WHERE name = \"fred gibso...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_72 (name VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "Who is at rank 9?" }, { "from": "gpt", "value": "SELECT name FROM table_name_72 WHERE rank = 9" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_25 (finish VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What is the finish of player Hale Irwin?" }, { "from": "gpt", "value": "SELECT finish FROM table_name_25 WHERE player = \"hale irwin\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_63 (finish VARCHAR, country VARCHAR)" }, { "from": "human", "value": "What is the finish of South Africa?" }, { "from": "gpt", "value": "SELECT finish FROM table_name_63 WHERE country = \"south africa\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_56 (ergative VARCHAR, nominative VARCHAR)" }, { "from": "human", "value": "With a nominative of chven-i what is the ergative?" }, { "from": "gpt", "value": "SELECT ergative FROM table_name_56 WHERE nominative = \"chven-i\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_42 (instrumental VARCHAR, genitive VARCHAR)" }, { "from": "human", "value": "What instrumental has tkven-i as the genitive?" }, { "from": "gpt", "value": "SELECT instrumental FROM table_name_42 WHERE genitive = \"tkven-i\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_91 (nominative VARCHAR, dative VARCHAR)" }, { "from": "human", "value": "What nominative has mis as the dative?" }, { "from": "gpt", "value": "SELECT nominative FROM table_name_91 WHERE dative = \"mis\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_85 (ergative VARCHAR, dative VARCHAR)" }, { "from": "human", "value": "With chem-s as the dative, what is the ergative?" }, { "from": "gpt", "value": "SELECT ergative FROM table_name_85 WHERE dative = \"chem-s\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_87 (instrumental VARCHAR, adverbial VARCHAR)" }, { "from": "human", "value": "What instrumental has chven-s as the adverbial?" }, { "from": "gpt", "value": "SELECT instrumental FROM table_name_87 WHERE adverbial = \"chven-s\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_48 (ergative VARCHAR, nominative VARCHAR)" }, { "from": "human", "value": "Mis-i is the nominative of what ergative?" }, { "from": "gpt", "value": "SELECT ergative FROM table_name_48 WHERE nominative = \"mis-i\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (week VARCHAR, surface VARCHAR, tournament VARCHAR)" }, { "from": "human", "value": "what was the week for the match on a hard surface at Indian Wells tournament?" }, { "from": "gpt", "value": "SELECT week FROM table_name_88 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (week VARCHAR, tournament VARCHAR)" }, { "from": "human", "value": "What week was the tournament at Cincinnati?" }, { "from": "gpt", "value": "SELECT week FROM table_name_57 WHERE tournament = \"cincinnati\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_75 (tournament VARCHAR, surface VARCHAR, finalist VARCHAR)" }, { "from": "human", "value": "Where was the tournament where the match was on a hard surface and jan-michael gambill (19) was the finalist?" }, { "from": "gpt", "value"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_21 (semifinalists VARCHAR, tournament VARCHAR)" }, { "from": "human", "value": "Who was the semifinalist at the tournament in miami?" }, { "from": "gpt", "value": "SELECT semifinalists FROM table_name_21 WHERE tournament = \"miami...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_11 (winner VARCHAR, tournament VARCHAR)" }, { "from": "human", "value": "Who was the winner at the tournament in Hamburg?" }, { "from": "gpt", "value": "SELECT winner FROM table_name_11 WHERE tournament = \"hamburg\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_43 (venue VARCHAR, year VARCHAR)" }, { "from": "human", "value": "what is the venue on 21 june 1987?" }, { "from": "gpt", "value": "SELECT venue FROM table_name_43 WHERE year = \"21 june 1987\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_65 (year VARCHAR, venue VARCHAR, winner VARCHAR, runner_up VARCHAR)" }, { "from": "human", "value": "When is the winner panathinaikos, the runner-up olympiacos and the venue nikos goumas stadium?" }, { "from": "gpt", "value": "SEL...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_12 (year VARCHAR, runner_up VARCHAR, winner VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "When is the winner olympiacos, the venue is georgios karaiskakis stadium and the runner-up is iraklis?" }, { "from": "gpt", "valu...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_44 (year VARCHAR, venue VARCHAR, score VARCHAR)" }, { "from": "human", "value": "when is the venue nikos goumas stadium and the score is 2–2 4–4 a.e.t. 6–5 pso?" }, { "from": "gpt", "value": "SELECT year FROM table_name_44 WHERE v...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_78 (score VARCHAR, venue VARCHAR, year VARCHAR)" }, { "from": "human", "value": "what is the score when the venue is athens olympic stadium on 30 april 2011?" }, { "from": "gpt", "value": "SELECT score FROM table_name_78 WHERE ven...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_79 (season VARCHAR, skip VARCHAR, third VARCHAR)" }, { "from": "human", "value": "Which Season has a Skip of Eve Muirhead with a thirs of Jackie Lockhart (e/o) Kelly Wood (w)?" }, { "from": "gpt", "value": "SELECT season FROM tabl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_42 (season VARCHAR, skip VARCHAR, third VARCHAR)" }, { "from": "human", "value": "What is the season with a Skip of Eve Muirhead and a third of Kerry Barr?" }, { "from": "gpt", "value": "SELECT season FROM table_name_42 WHERE skip...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_78 (second VARCHAR, lead VARCHAR)" }, { "from": "human", "value": "Who is the second with a lead of Sarah Macintyre (jr) Anne Laird (w)?" }, { "from": "gpt", "value": "SELECT second FROM table_name_78 WHERE lead = \"sarah macintyr...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_55 (skip VARCHAR, third VARCHAR, season VARCHAR)" }, { "from": "human", "value": "What is the skip that has a third of Anna Sloan in season 2012-13?" }, { "from": "gpt", "value": "SELECT skip FROM table_name_55 WHERE third = \"ann...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (lead VARCHAR, second VARCHAR, third VARCHAR)" }, { "from": "human", "value": "What is the lead with a second of Vicki Adams and a third of Anna Sloan?" }, { "from": "gpt", "value": "SELECT lead FROM table_name_74 WHERE second ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_80 (second VARCHAR, third VARCHAR)" }, { "from": "human", "value": "Who is the second where the third of Kelly Wood (e) Anna Sloan (Jr)?" }, { "from": "gpt", "value": "SELECT second FROM table_name_80 WHERE third = \"kelly wood (e...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_6 (date VARCHAR, game VARCHAR)" }, { "from": "human", "value": "What is Date, when Game is \"65\"?" }, { "from": "gpt", "value": "SELECT date FROM table_name_6 WHERE game = 65" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_8 (high_rebounds VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is High Rebounds, when Date is \"March 12\"?" }, { "from": "gpt", "value": "SELECT high_rebounds FROM table_name_8 WHERE date = \"march 12\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_93 (high_rebounds VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is High Rebounds, when Date is \"March 13\"?" }, { "from": "gpt", "value": "SELECT high_rebounds FROM table_name_93 WHERE date = \"march 13\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_17 (record VARCHAR, location_attendance VARCHAR)" }, { "from": "human", "value": "What is Record, when Location Attendance is \"TD Banknorth Garden 18,624\"?" }, { "from": "gpt", "value": "SELECT record FROM table_name_17 WHERE lo...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_25 (team VARCHAR, game VARCHAR)" }, { "from": "human", "value": "What is Team, when Game is \"59\"?" }, { "from": "gpt", "value": "SELECT team FROM table_name_25 WHERE game = 59" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_12 (score VARCHAR, away_team VARCHAR)" }, { "from": "human", "value": "What is the Score when the Away Team is Torquay United?" }, { "from": "gpt", "value": "SELECT score FROM table_name_12 WHERE away_team = \"torquay united\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_55 (away_team VARCHAR, tie_no VARCHAR, home_team VARCHAR)" }, { "from": "human", "value": "Which Away Team has a Tie no of replay and a Home Team of Chesterfield?" }, { "from": "gpt", "value": "SELECT away_team FROM table_name_55 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_48 (away_team VARCHAR, attendance VARCHAR, home_team VARCHAR)" }, { "from": "human", "value": "What is the Away Team when the Home Team is Torquay United and the Attendence is 6 December 1997?" }, { "from": "gpt", "value": "SELECT...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_47 (chassis VARCHAR, engine VARCHAR, sponsor VARCHAR)" }, { "from": "human", "value": "What is the Chassis of the Honda Engine with a Motorola sponsor?" }, { "from": "gpt", "value": "SELECT chassis FROM table_name_47 WHERE engine ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_16 (engine VARCHAR, tire VARCHAR, sponsor VARCHAR)" }, { "from": "human", "value": "What is the engine of the goodyear tire and Herdez as a sponsor?" }, { "from": "gpt", "value": "SELECT engine FROM table_name_16 WHERE tire = \"go...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_63 (engine VARCHAR, team VARCHAR)" }, { "from": "human", "value": "What engine does the Tasman Motorsports team have?" }, { "from": "gpt", "value": "SELECT engine FROM table_name_63 WHERE team = \"tasman motorsports\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_20 (tire VARCHAR, sponsor VARCHAR)" }, { "from": "human", "value": "Which Tire has a Sponsor of Duracell?" }, { "from": "gpt", "value": "SELECT tire FROM table_name_20 WHERE sponsor = \"duracell\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_48 (team VARCHAR, sponsor VARCHAR, tire VARCHAR, chassis VARCHAR)" }, { "from": "human", "value": "Which team has Firestone Tires a Reynard 95i Chassis and is sponsored by Motorola?" }, { "from": "gpt", "value": "SELECT team FROM ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_22 (_number_of_constituency_votes INTEGER, election VARCHAR)" }, { "from": "human", "value": "What is the highest # Of Constituency Votes, when Election is 2005?" }, { "from": "gpt", "value": "SELECT MAX(_number_of_constituency_vo...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (_number_of_constituency_votes INTEGER, _number_of_candidates VARCHAR, election VARCHAR, leader VARCHAR)" }, { "from": "human", "value": "What is the highest # Of Constituency Votes, when Election is before 1976, when Leader is Eisaku Satō...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_82 (overall VARCHAR, college VARCHAR, position VARCHAR)" }, { "from": "human", "value": "What was the overall draft pick of the player who was a db and attended college in iowa?" }, { "from": "gpt", "value": "SELECT overall FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_51 (pick INTEGER, overall VARCHAR, round VARCHAR)" }, { "from": "human", "value": "What number pick was the player drafted in round 3 at #28 overall?" }, { "from": "gpt", "value": "SELECT AVG(pick) FROM table_name_51 WHERE overall...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_72 (total INTEGER, data_processing_and_exploitation VARCHAR, management_and_support VARCHAR)" }, { "from": "human", "value": "What is the lowest total data processing and exploitation of 00 0,228, and a management and support larger than 1,7?...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_46 (permanent_account VARCHAR, userpics_free VARCHAR, registration VARCHAR)" }, { "from": "human", "value": "Which permanent account has registration of invite-only and userpics free of unknown?" }, { "from": "gpt", "value": "SELE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_92 (year_began VARCHAR, userpics_paid VARCHAR, userpics_free VARCHAR)" }, { "from": "human", "value": "What is the year began for the site with free userpics cost of $1 and a userpics paid value of N/A?" }, { "from": "gpt", "value...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (week VARCHAR, tournament VARCHAR)" }, { "from": "human", "value": "Which Week has a Tournament of monte carlo?" }, { "from": "gpt", "value": "SELECT week FROM table_name_18 WHERE tournament = \"monte carlo\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_70 (winner_and_score VARCHAR, finalist VARCHAR)" }, { "from": "human", "value": "Which Winner and score has a Finalist of aaron krickstein?" }, { "from": "gpt", "value": "SELECT winner_and_score FROM table_name_70 WHERE finalist =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_95 (semifinalists VARCHAR, surface VARCHAR, winner_and_score VARCHAR)" }, { "from": "human", "value": "Which Semifinalists have a Surface of hard, and a Winner and score of pete sampras 6–3, 3–6, 6–3?" }, { "from": "gpt", "value":...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_86 (finalist VARCHAR, winner_and_score VARCHAR)" }, { "from": "human", "value": "Which Finalist has a Winner and score of boris becker 7–6(3), 6–3, 3–6, 6–3?" }, { "from": "gpt", "value": "SELECT finalist FROM table_name_86 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_82 (semifinalists VARCHAR, finalist VARCHAR)" }, { "from": "human", "value": "Which Semifinalists have a Finalist of andrei chesnokov?" }, { "from": "gpt", "value": "SELECT semifinalists FROM table_name_82 WHERE finalist = \"andre...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_92 (surface VARCHAR, semifinalists VARCHAR)" }, { "from": "human", "value": "Which Surface has Semifinalists of wally masur malivai washington?" }, { "from": "gpt", "value": "SELECT surface FROM table_name_92 WHERE semifinalists =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_86 (place VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What place had a score of 73-69-68=210?" }, { "from": "gpt", "value": "SELECT place FROM table_name_86 WHERE score = 73 - 69 - 68 = 210" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (country VARCHAR, place VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What country is Gary Player from in T9 place?" }, { "from": "gpt", "value": "SELECT country FROM table_name_38 WHERE place = \"t9\" AND player = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_3 (score VARCHAR, country VARCHAR)" }, { "from": "human", "value": "What's the score of New Zealand?" }, { "from": "gpt", "value": "SELECT score FROM table_name_3 WHERE country = \"new zealand\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_30 (player VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What player has a score of 67-70-77=214?" }, { "from": "gpt", "value": "SELECT player FROM table_name_30 WHERE score = 67 - 70 - 77 = 214" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_34 (country VARCHAR, finish VARCHAR)" }, { "from": "human", "value": "What country has a finish of 59?" }, { "from": "gpt", "value": "SELECT country FROM table_name_34 WHERE finish = \"59\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_56 (to_par VARCHAR, finish VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What is the To Par when the finish was t16 and the player was Julius Boros?" }, { "from": "gpt", "value": "SELECT to_par FROM table_name_56 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_59 (finish VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What was the finish for Billy Casper?" }, { "from": "gpt", "value": "SELECT finish FROM table_name_59 WHERE player = \"billy casper\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_95 (downhill VARCHAR, points VARCHAR)" }, { "from": "human", "value": "What is the 1st run that is down hill less than 46, and 84.45 points?" }, { "from": "gpt", "value": "SELECT 1 AS st_run FROM table_name_95 WHERE downhill < 46 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_84 (away_team VARCHAR, home_team VARCHAR)" }, { "from": "human", "value": "What away team score has hawthorn as the home team?" }, { "from": "gpt", "value": "SELECT away_team AS score FROM table_name_84 WHERE home_team = \"hawthor...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_24 (make VARCHAR, drivers VARCHAR)" }, { "from": "human", "value": "What is the make of the vehicle for driver Hisashi Wada?" }, { "from": "gpt", "value": "SELECT make FROM table_name_24 WHERE drivers = \"hisashi wada\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_51 (rounds VARCHAR, team VARCHAR)" }, { "from": "human", "value": "In what rounds was the featured team of Avanzza Rosso?" }, { "from": "gpt", "value": "SELECT rounds FROM table_name_51 WHERE team = \"avanzza rosso\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_59 (rounds VARCHAR, tyre VARCHAR, drivers VARCHAR)" }, { "from": "human", "value": "In what rounds was the featured driver Tomonobu Fujii with a Tyre of Y?" }, { "from": "gpt", "value": "SELECT rounds FROM table_name_59 WHERE tyre...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_61 (drivers VARCHAR, tyre VARCHAR, team VARCHAR)" }, { "from": "human", "value": "Who is the driver with a tyre of k for Avanzza Rosso?" }, { "from": "gpt", "value": "SELECT drivers FROM table_name_61 WHERE tyre = \"k\" AND team =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_97 (tyre VARCHAR, drivers VARCHAR)" }, { "from": "human", "value": "What is the tyre for Yoshihisa Namekata?" }, { "from": "gpt", "value": "SELECT tyre FROM table_name_97 WHERE drivers = \"yoshihisa namekata\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_55 (overall INTEGER, position VARCHAR, pick VARCHAR)" }, { "from": "human", "value": "If the pick is under 28 and the position is k, what's the highest Overall pick?" }, { "from": "gpt", "value": "SELECT MAX(overall) FROM table_na...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_62 (overall INTEGER, position VARCHAR, round VARCHAR)" }, { "from": "human", "value": "During round 8 when the Position being picked was rb, what was the highest overall pick?" }, { "from": "gpt", "value": "SELECT MAX(overall) FRO...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_34 (county VARCHAR, bush_number VARCHAR)" }, { "from": "human", "value": "Which county had a Bush number of votes of 566?" }, { "from": "gpt", "value": "SELECT county FROM table_name_34 WHERE bush_number = 566" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_50 (opponent VARCHAR, year VARCHAR, outcome VARCHAR)" }, { "from": "human", "value": "who is the opponent when the year is after 1996 and the outcome is winner?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_50 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_23 (surface VARCHAR, championship VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "what is the surface when the championship is rome and the opponent is sergi bruguera?" }, { "from": "gpt", "value": "SELECT surface FROM...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_85 (score VARCHAR, surface VARCHAR, outcome VARCHAR)" }, { "from": "human", "value": "what is the score when the surface is hard and outcome is runner-up?" }, { "from": "gpt", "value": "SELECT score FROM table_name_85 WHERE surfac...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_29 (game INTEGER, date VARCHAR)" }, { "from": "human", "value": "What was the number of the game played on February 24?" }, { "from": "gpt", "value": "SELECT SUM(game) FROM table_name_29 WHERE date = \"february 24\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_9 (location_attendance VARCHAR, team VARCHAR)" }, { "from": "human", "value": "Where was the game played when the opponent was Oklahoma City, and what was the attendance?" }, { "from": "gpt", "value": "SELECT location_attendance F...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_59 (record VARCHAR, game VARCHAR)" }, { "from": "human", "value": "What was the record when they played game 58?" }, { "from": "gpt", "value": "SELECT record FROM table_name_59 WHERE game = 58" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (score_in_the_final VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is Score In The Final, when Date is \"22 October 1990\"?" }, { "from": "gpt", "value": "SELECT score_in_the_final FROM table_name_94 WHERE date = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_32 (outcome VARCHAR, surface VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is Outcome, when Surface is \"Carpet (I)\", and when Date is \"15 November 1993\"?" }, { "from": "gpt", "value": "SELECT outcome FROM table_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_49 (tournament VARCHAR, opponent_in_the_final VARCHAR)" }, { "from": "human", "value": "What is Tournament, when Opponent In The Final is \"Andre Agassi\"?" }, { "from": "gpt", "value": "SELECT tournament FROM table_name_49 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_20 (score_in_the_final VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is Score In The Final, when Date is \"30 August 1993\"?" }, { "from": "gpt", "value": "SELECT score_in_the_final FROM table_name_20 WHERE date = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_72 (date VARCHAR, outcome VARCHAR, surface VARCHAR)" }, { "from": "human", "value": "What is Date, when Outcome is \"Winner\", and when Surface is \"Grass\"?" }, { "from": "gpt", "value": "SELECT date FROM table_name_72 WHERE outc...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_67 (opponent_in_the_final VARCHAR, tournament VARCHAR, outcome VARCHAR, surface VARCHAR)" }, { "from": "human", "value": "What is Opponent In The Final, when Outcome is \"Winner\", when Surface is \"Carpet (I)\", and when Tournament is \"Lyon...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_89 (goals_against VARCHAR, wins VARCHAR, played VARCHAR)" }, { "from": "human", "value": "What are the total goals against the winner with less than 5 wins, and less than 5 plays?" }, { "from": "gpt", "value": "SELECT COUNT(goals_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_23 (losses INTEGER, goals_for INTEGER)" }, { "from": "human", "value": "What is the average losses for 22 goals?" }, { "from": "gpt", "value": "SELECT AVG(losses) FROM table_name_23 WHERE goals_for > 22" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_2 (wins INTEGER, losses VARCHAR, ties VARCHAR, goals_against VARCHAR)" }, { "from": "human", "value": "What is the total wins with less than 2 ties, 18 goals, and less than 2 losses?" }, { "from": "gpt", "value": "SELECT SUM(wins)...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_4 (overall_record VARCHAR, last_10_meetings VARCHAR, at_norman VARCHAR)" }, { "from": "human", "value": "What is the Overall Record when the Last 10 Meetings is ou, 7-3, and Norman is ou, 18-3?" }, { "from": "gpt", "value": "SELEC...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_15 (oklahoma_vs VARCHAR, current_streak VARCHAR, at_neutral_site VARCHAR)" }, { "from": "human", "value": "What is Oklahoma vs. when Current Streak is l 1, and Neutral Site is osu, 7-6?" }, { "from": "gpt", "value": "SELECT oklaho...
know_sql
chosen