conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_name_41 (record VARCHAR, high_assists VARCHAR, game VARCHAR)" }, { "from": "human", "value": "What is the record of game 26 with beno udrih (4) as the highest assists?" }, { "from": "gpt", "value": "SELECT record FROM table_name_41 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_37 (score VARCHAR, game VARCHAR)" }, { "from": "human", "value": "What is the score of game 25?" }, { "from": "gpt", "value": "SELECT score FROM table_name_37 WHERE game = 25" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_73 (draw INTEGER, song VARCHAR, points VARCHAR)" }, { "from": "human", "value": "WHAT IS THE DRAW FOR u ritmu ljubavi, POINTS LARGER THAN 87?" }, { "from": "gpt", "value": "SELECT MAX(draw) FROM table_name_73 WHERE song = \"u ritm...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_76 (draw VARCHAR, performer VARCHAR)" }, { "from": "human", "value": "WHAT IS THE DRAW FOR PERFORMER ANDREA CUBRIC?" }, { "from": "gpt", "value": "SELECT draw FROM table_name_76 WHERE performer = \"andrea cubric\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_77 (game INTEGER, record VARCHAR)" }, { "from": "human", "value": "What is the game number when the record is 30-22?" }, { "from": "gpt", "value": "SELECT AVG(game) FROM table_name_77 WHERE record = \"30-22\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_68 (location VARCHAR, score VARCHAR)" }, { "from": "human", "value": "At what location was the score W 82-76?" }, { "from": "gpt", "value": "SELECT location FROM table_name_68 WHERE score = \"w 82-76\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_75 (record VARCHAR, location VARCHAR)" }, { "from": "human", "value": "What was the record when the game was at the Rose Garden?" }, { "from": "gpt", "value": "SELECT record FROM table_name_75 WHERE location = \"rose garden\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_33 (games INTEGER, draws VARCHAR, lost VARCHAR)" }, { "from": "human", "value": "What is the highest number of games with more than 0 draws and 11 losses?" }, { "from": "gpt", "value": "SELECT MAX(games) FROM table_name_33 WHERE d...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_22 (Id VARCHAR)" }, { "from": "human", "value": "What is the 1994 finish in the event that had a 1998 finish of 2R?" }, { "from": "gpt", "value": "SELECT 1994 FROM table_name_22 WHERE 1998 = \"2r\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_75 (tournament VARCHAR)" }, { "from": "human", "value": "Which tournament had a 1994 finish of RR and 1996 and 1998 finishes of A?" }, { "from": "gpt", "value": "SELECT tournament FROM table_name_75 WHERE 1996 = \"a\" AND 1998 = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_92 (Id VARCHAR)" }, { "from": "human", "value": "What is the 1994 finish associated with a 1995 finish of 3R and 1997 of QF?" }, { "from": "gpt", "value": "SELECT 1994 FROM table_name_92 WHERE 1997 = \"qf\" AND 1995 = \"3r\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_24 (tournament VARCHAR)" }, { "from": "human", "value": "What is the 1999 finish for the tournament in Rome?" }, { "from": "gpt", "value": "SELECT 1999 FROM table_name_24 WHERE tournament = \"rome\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_60 (Id VARCHAR)" }, { "from": "human", "value": "What is the 1991 finish for the 1993 Grand Slams?" }, { "from": "gpt", "value": "SELECT 1991 FROM table_name_60 WHERE 1993 = \"grand slams\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (playoff_apps VARCHAR, position VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What was the playoff apps for Thomas Heary, that had the position df?" }, { "from": "gpt", "value": "SELECT playoff_apps FROM table_name_10...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_28 (squad_no INTEGER, playoff_goals VARCHAR, total_goals VARCHAR, league_goals VARCHAR)" }, { "from": "human", "value": "What's the lowest squad number with more than 6 goals, fewer than 8 league goals, and more than 0 playoff goals?" }, ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (total_goals INTEGER, league_cup_goals VARCHAR, playoff_apps VARCHAR, fa_cup_apps VARCHAR)" }, { "from": "human", "value": "How many total goals did the squad with 2 playoff apps, 2 FA Cup Apps, and 0 League Cup goals get?" }, { "f...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_28 (title VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "Which title had rank 9?" }, { "from": "gpt", "value": "SELECT title FROM table_name_28 WHERE rank = 9" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_7 (title VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "Which title placed in rank 7?" }, { "from": "gpt", "value": "SELECT title FROM table_name_7 WHERE rank = 7" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_78 (volume VARCHAR, artist VARCHAR)" }, { "from": "human", "value": "shows for the artist Santana featuring the product g&b?" }, { "from": "gpt", "value": "SELECT volume AS :issue FROM table_name_78 WHERE artist = \"santana featur...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_47 (volume VARCHAR, weeks_on_top VARCHAR, artist VARCHAR)" }, { "from": "human", "value": "What volume 3 weeks on top for Third Eye Blind?" }, { "from": "gpt", "value": "SELECT volume AS :issue FROM table_name_47 WHERE weeks_on_to...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_91 (music_video VARCHAR, album VARCHAR, length VARCHAR)" }, { "from": "human", "value": "What was the music video that was from the album High Society, with a length of 3:50?" }, { "from": "gpt", "value": "SELECT music_video FROM ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (music_video VARCHAR, album VARCHAR)" }, { "from": "human", "value": "Which music video was from the album Map of the Human Soul?" }, { "from": "gpt", "value": "SELECT music_video FROM table_name_96 WHERE album = \"map of the h...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (agg VARCHAR, team_2 VARCHAR)" }, { "from": "human", "value": "What is the agg when team 2 was Cementarnica?" }, { "from": "gpt", "value": "SELECT agg FROM table_name_94 WHERE team_2 = \"cementarnica\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_86 (podiums VARCHAR, fastest_laps VARCHAR, races VARCHAR)" }, { "from": "human", "value": "What are the total number of podiums for more than 4 laps, and less than 149 races?" }, { "from": "gpt", "value": "SELECT COUNT(podiums) FR...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (score VARCHAR, country VARCHAR)" }, { "from": "human", "value": "What was the score for the golfer from the country of fiji?" }, { "from": "gpt", "value": "SELECT COUNT(score) FROM table_name_88 WHERE country = \"fiji\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (score INTEGER, to_par VARCHAR, country VARCHAR)" }, { "from": "human", "value": "What was the score of the golfer from the united states who had a To par of e?" }, { "from": "gpt", "value": "SELECT SUM(score) FROM table_name_9...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_2 (player VARCHAR, country VARCHAR, place VARCHAR)" }, { "from": "human", "value": "Which united states player finished with a place of t10?" }, { "from": "gpt", "value": "SELECT player FROM table_name_2 WHERE country = \"united s...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_24 (label VARCHAR, format VARCHAR, catalog VARCHAR)" }, { "from": "human", "value": "What label uses the stereo LP for catalog scyl-934,623?" }, { "from": "gpt", "value": "SELECT label FROM table_name_24 WHERE format = \"stereo lp...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_64 (date VARCHAR, region VARCHAR, catalog VARCHAR)" }, { "from": "human", "value": "On what date was the catalog cy-24623 for New Zealand?" }, { "from": "gpt", "value": "SELECT date FROM table_name_64 WHERE region = \"new zealand\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_29 (date VARCHAR, catalog VARCHAR, region VARCHAR)" }, { "from": "human", "value": "On what date was the catalog scyl-934,623 for Australia?" }, { "from": "gpt", "value": "SELECT date FROM table_name_29 WHERE catalog = \"scyl-934,...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_91 (label VARCHAR, catalog VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Which label has a catalog of y8hr 1006 in 1972?" }, { "from": "gpt", "value": "SELECT label FROM table_name_91 WHERE catalog = \"y8hr 1006\" AND da...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (catalog VARCHAR, format VARCHAR)" }, { "from": "human", "value": "What catalog uses the stereo compact cassette format?" }, { "from": "gpt", "value": "SELECT catalog FROM table_name_10 WHERE format = \"stereo compact cassette\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_91 (game INTEGER, date VARCHAR)" }, { "from": "human", "value": "What is the average game that has December 6 as the date?" }, { "from": "gpt", "value": "SELECT AVG(game) FROM table_name_91 WHERE date = \"december 6\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_32 (game INTEGER, date VARCHAR)" }, { "from": "human", "value": "What is the average game that has December 17 as the date?" }, { "from": "gpt", "value": "SELECT AVG(game) FROM table_name_32 WHERE date = \"december 17\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_92 (total INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "Can you tell me the average Total that had the Silver of 0, and the Rank of 6, and the Gold smaller than 0?" }, { "from": "gpt", "valu...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_15 (gold INTEGER, bronze VARCHAR, total VARCHAR)" }, { "from": "human", "value": "Can you tell me the highest Gold that has the Bronze larger than 3, and the Total smaller than 24?" }, { "from": "gpt", "value": "SELECT MAX(gold) F...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_87 (gold INTEGER, bronze VARCHAR, total VARCHAR)" }, { "from": "human", "value": "Can you tell me the highest Gold that has the Bronze smaller than 1, and the Total larger than 4?" }, { "from": "gpt", "value": "SELECT MAX(gold) FR...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_76 (_specialist_ VARCHAR, physician__gp_ INTEGER, all_nurses VARCHAR)" }, { "from": "human", "value": "What is the number of physicians in the region with an all nurses number of 91?" }, { "from": "gpt", "value": "SELECT MIN(physi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_27 (moving_from VARCHAR, type VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What is Moving, when Type is \"Transfer\", and when Name is \"Andy Webster\"?" }, { "from": "gpt", "value": "SELECT moving_from FROM table_name_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_65 (moving_from VARCHAR, ends INTEGER)" }, { "from": "human", "value": "What is Moving From, when Ends is before 2011?" }, { "from": "gpt", "value": "SELECT moving_from FROM table_name_65 WHERE ends < 2011" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_80 (category VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What was the category that sheridan smith was nominated for in 2011?" }, { "from": "gpt", "value": "SELECT category FROM table_name_80 WHERE year = 2011" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_62 (award VARCHAR, nominated_work VARCHAR, category VARCHAR)" }, { "from": "human", "value": "What ward was she nominated at for her work, Flare Path for the category of best featured actress in a play?" }, { "from": "gpt", "value...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_33 (result VARCHAR, year VARCHAR, category VARCHAR, award VARCHAR)" }, { "from": "human", "value": "What is the result for the nomination at the Laurence Olivier award in 2009 for best actress in a musical?" }, { "from": "gpt", "v...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_69 (week INTEGER, opponent VARCHAR)" }, { "from": "human", "value": "What is the lowest attendance when the Atlanta Falcons were the opponent?" }, { "from": "gpt", "value": "SELECT MIN(week) FROM table_name_69 WHERE opponent = \"a...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (date_departed VARCHAR, class VARCHAR)" }, { "from": "human", "value": "What's the departed date for Grimsby Class Sloop?" }, { "from": "gpt", "value": "SELECT date_departed FROM table_name_38 WHERE class = \"grimsby class sloo...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_51 (date_departed VARCHAR, navy VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What's the departed date that the HMS Leith of the Royal Navy?" }, { "from": "gpt", "value": "SELECT date_departed FROM table_name_51 WHERE na...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_51 (class VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What's the class of the HMS Fowey?" }, { "from": "gpt", "value": "SELECT class FROM table_name_51 WHERE name = \"hms fowey\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_75 (class VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What's the class of the HMS Heartsease?" }, { "from": "gpt", "value": "SELECT class FROM table_name_75 WHERE name = \"hms heartsease\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_9 (record VARCHAR, game VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "Can you tell me the Record that has the Game larger than 15, and the Opponent of edmonton oilers?" }, { "from": "gpt", "value": "SELECT record FRO...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Can you tell me the Score that has the Date of 11/17/1979?" }, { "from": "gpt", "value": "SELECT score FROM table_name_98 WHERE date = \"11/17/1979\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_8 (opponent VARCHAR, record VARCHAR)" }, { "from": "human", "value": "Can you tell me the Opponent that has the Record of 7-7-1?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_8 WHERE record = \"7-7-1\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_97 (score VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "Can you tell me the Score that has the Opponent of at edmonton oilers?" }, { "from": "gpt", "value": "SELECT score FROM table_name_97 WHERE opponent = \"at edmo...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_11 (date VARCHAR, record VARCHAR)" }, { "from": "human", "value": "Can you tell me the Date thay has the Reocrd of 9-10-2?" }, { "from": "gpt", "value": "SELECT date FROM table_name_11 WHERE record = \"9-10-2\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_44 (fin_pos VARCHAR, grid VARCHAR)" }, { "from": "human", "value": "What is the finishing position for the person who had a grid of 3?" }, { "from": "gpt", "value": "SELECT fin_pos FROM table_name_44 WHERE grid = \"3\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_72 (team VARCHAR, car_no VARCHAR)" }, { "from": "human", "value": "Which team had car number 15?" }, { "from": "gpt", "value": "SELECT team FROM table_name_72 WHERE car_no = \"15\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_19 (laps VARCHAR, grid VARCHAR)" }, { "from": "human", "value": "What is the number of laps completed by the car in grid 10?" }, { "from": "gpt", "value": "SELECT laps FROM table_name_19 WHERE grid = \"10\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_91 (driver VARCHAR, team VARCHAR, points VARCHAR)" }, { "from": "human", "value": "Which driver earned 32 points from the Andretti Green team?" }, { "from": "gpt", "value": "SELECT driver FROM table_name_91 WHERE team = \"andretti...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_46 (date VARCHAR, serial VARCHAR)" }, { "from": "human", "value": "What is the date for the 10b serial?" }, { "from": "gpt", "value": "SELECT date FROM table_name_46 WHERE serial = \"10b\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_20 (team VARCHAR, goals_for VARCHAR, goals_against VARCHAR, points_2 VARCHAR)" }, { "from": "human", "value": "What team has less than 64 goals against, 101 goals for, and a Points 2 total of 63?" }, { "from": "gpt", "value": "SEL...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (points_2 INTEGER, played INTEGER)" }, { "from": "human", "value": "What is the Points 2 average of teams that have played more than 46 games?" }, { "from": "gpt", "value": "SELECT AVG(points_2) FROM table_name_96 WHERE played ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_41 (mkhedruli VARCHAR, asomtavruli VARCHAR)" }, { "from": "human", "value": "What is the Mkhedruli symbol for the Asomtavruli ⴒ?" }, { "from": "gpt", "value": "SELECT mkhedruli FROM table_name_41 WHERE asomtavruli = \"ⴒ\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (letter_name VARCHAR, asomtavruli VARCHAR)" }, { "from": "human", "value": "What is the letter name for the Asomtavruli ⴙ?" }, { "from": "gpt", "value": "SELECT letter_name FROM table_name_74 WHERE asomtavruli = \"ⴙ\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_43 (phoneme VARCHAR, nuskhuri VARCHAR)" }, { "from": "human", "value": "What is the Phoneme symbol for ⴥ in Nuskhuri?" }, { "from": "gpt", "value": "SELECT phoneme FROM table_name_43 WHERE nuskhuri = \"ⴥ\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (phoneme VARCHAR, letter_name VARCHAR)" }, { "from": "human", "value": "What is the Phoneme symbol for the letter name zɛn?" }, { "from": "gpt", "value": "SELECT phoneme FROM table_name_18 WHERE letter_name = \"zɛn\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_80 (nuskhuri VARCHAR, asomtavruli VARCHAR)" }, { "from": "human", "value": "What is teh Nuskhuri symbol for ⴋ in Asomtavruli?" }, { "from": "gpt", "value": "SELECT nuskhuri FROM table_name_80 WHERE asomtavruli = \"ⴋ\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_87 (pick__number INTEGER, round VARCHAR, position VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What is the average value for Pick #, when Position is Linebacker, when Player is Bob Bruenig, and when Round is less than 3?" }, ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_36 (pick__number INTEGER, position VARCHAR, round VARCHAR)" }, { "from": "human", "value": "What is the sum of Pick #, when Position is Guard, and when Round is greater than 2?" }, { "from": "gpt", "value": "SELECT SUM(pick__numbe...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_22 (round INTEGER, pick__number VARCHAR, position VARCHAR)" }, { "from": "human", "value": "What is the average Round, when Pick # is greater than 70, and when Position is Tackle?" }, { "from": "gpt", "value": "SELECT AVG(round) F...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_50 (round INTEGER, position VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What is the lowest Round, when Position is Linebacker, and when Player is Thomas Henderson?" }, { "from": "gpt", "value": "SELECT MIN(round) FRO...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_55 (pick__number VARCHAR, college VARCHAR, round VARCHAR)" }, { "from": "human", "value": "What is the total number of Pick #, when College is Oklahoma, and when Round is less than 4?" }, { "from": "gpt", "value": "SELECT COUNT(pi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_60 (team VARCHAR, head_coach VARCHAR)" }, { "from": "human", "value": "Which Team has a Head Coach of michalis pamboris?" }, { "from": "gpt", "value": "SELECT team FROM table_name_60 WHERE head_coach = \"michalis pamboris\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_23 (capacity INTEGER, kitmaker VARCHAR)" }, { "from": "human", "value": "What is umbro's highest capacity?" }, { "from": "gpt", "value": "SELECT MAX(capacity) FROM table_name_23 WHERE kitmaker = \"umbro\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_37 (venue VARCHAR, kitmaker VARCHAR, team VARCHAR)" }, { "from": "human", "value": "Which Venue has a Kitmaker of lotto, and a Team of apoel?" }, { "from": "gpt", "value": "SELECT venue FROM table_name_37 WHERE kitmaker = \"lotto\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_12 (drawn VARCHAR, tries_for VARCHAR)" }, { "from": "human", "value": "What is the drawn number when there are 58 tries?" }, { "from": "gpt", "value": "SELECT drawn FROM table_name_12 WHERE tries_for = \"58\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_1 (played VARCHAR, tries_against VARCHAR)" }, { "from": "human", "value": "What is the played number when the tries against shows correct as of 18:13 26 May 2008?" }, { "from": "gpt", "value": "SELECT played FROM table_name_1 WHER...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_85 (drawn VARCHAR, points_for VARCHAR)" }, { "from": "human", "value": "What is the drawn when there are 402 points?" }, { "from": "gpt", "value": "SELECT drawn FROM table_name_85 WHERE points_for = \"402\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_90 (try_bonus VARCHAR, points_against VARCHAR)" }, { "from": "human", "value": "What is the try bonus when there are 492 points?" }, { "from": "gpt", "value": "SELECT try_bonus FROM table_name_90 WHERE points_against = \"492\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_19 (points_against VARCHAR, tries_against VARCHAR)" }, { "from": "human", "value": "What is the number of points against when the tries against was 53?" }, { "from": "gpt", "value": "SELECT points_against FROM table_name_19 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_78 (played VARCHAR, points_against VARCHAR)" }, { "from": "human", "value": "What is the played number when the points against is 179?" }, { "from": "gpt", "value": "SELECT played FROM table_name_78 WHERE points_against = \"179\""...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_63 (series_percent VARCHAR, total_attempted VARCHAR, percent_made VARCHAR)" }, { "from": "human", "value": "what is the total series percent that has total attempted less than 49, and a percent made of 0.777" }, { "from": "gpt", "...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_21 (total_attempted VARCHAR, total_made VARCHAR)" }, { "from": "human", "value": "what is the total attempted with a total made 16" }, { "from": "gpt", "value": "SELECT COUNT(total_attempted) FROM table_name_21 WHERE total_made = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_67 (district INTEGER, took_office VARCHAR, senator VARCHAR)" }, { "from": "human", "value": "What is the sum of District, when Took Office is greater than 1981, and when Senator is Cyndi Taylor Krier?" }, { "from": "gpt", "value":...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_22 (party VARCHAR, home_town VARCHAR, district VARCHAR, took_office VARCHAR)" }, { "from": "human", "value": "What is Party, when District is less than 10, when Took Office is less than 1991, and when Home Town is Mount Pleasant?" }, { ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_50 (took_office INTEGER, senator VARCHAR, district VARCHAR)" }, { "from": "human", "value": "What is the lowest Took Office, when Senator is Eddie Bernice Johnson, and when District is greater than 23?" }, { "from": "gpt", "value"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_9 (period VARCHAR, player VARCHAR)" }, { "from": "human", "value": "In which period did Stanislav Chistov get a penalty?" }, { "from": "gpt", "value": "SELECT period FROM table_name_9 WHERE player = \"stanislav chistov\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_89 (penalty VARCHAR, time VARCHAR)" }, { "from": "human", "value": "What was a penalty given for at time 29:17?" }, { "from": "gpt", "value": "SELECT penalty FROM table_name_89 WHERE time = \"29:17\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_13 (team VARCHAR, time VARCHAR)" }, { "from": "human", "value": "What team was the player that received a penalty at time 32:17 playing for?" }, { "from": "gpt", "value": "SELECT team FROM table_name_13 WHERE time = \"32:17\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_87 (team VARCHAR, penalty VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What team was Ryan Callahan, who received a penalty for roughing, playing for?" }, { "from": "gpt", "value": "SELECT team FROM table_name_87 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_95 (head_coach VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "Who was the head coach when the opponent was Arsenal?" }, { "from": "gpt", "value": "SELECT head_coach FROM table_name_95 WHERE opponent = \"arsenal\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_33 (opponent VARCHAR, head_coach VARCHAR)" }, { "from": "human", "value": "Who was the opponent when the head coach was B. Sathianathan?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_33 WHERE head_coach = \"b. sat...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_62 (date VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "When was the opponent Arsenal?" }, { "from": "gpt", "value": "SELECT date FROM table_name_62 WHERE opponent = \"arsenal\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_56 (result VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What was the result when the opponent was Arsenal?" }, { "from": "gpt", "value": "SELECT result FROM table_name_56 WHERE opponent = \"arsenal\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_89 (Home INTEGER, institution VARCHAR, wins VARCHAR)" }, { "from": "human", "value": "What is the sum of the home wins of the Boston College Eagles, which has more than 6 wins?" }, { "from": "gpt", "value": "SELECT SUM(Home) AS wi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_40 (record VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What is the Record when Evangelista Cyborg was the opponent?" }, { "from": "gpt", "value": "SELECT record FROM table_name_40 WHERE opponent = \"evangelista cyb...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_55 (method VARCHAR, location VARCHAR)" }, { "from": "human", "value": "What is the Method for Brazil?" }, { "from": "gpt", "value": "SELECT method FROM table_name_55 WHERE location = \"brazil\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (round VARCHAR, method VARCHAR)" }, { "from": "human", "value": "What round was the method submission (punches)?" }, { "from": "gpt", "value": "SELECT COUNT(round) FROM table_name_18 WHERE method = \"submission (punches)\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_63 (method VARCHAR, record VARCHAR)" }, { "from": "human", "value": "What is the method when the record was 3-2?" }, { "from": "gpt", "value": "SELECT method FROM table_name_63 WHERE record = \"3-2\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_35 (method VARCHAR, round VARCHAR)" }, { "from": "human", "value": "What is the method when the round shows 3?" }, { "from": "gpt", "value": "SELECT method FROM table_name_35 WHERE round = 3" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_4 (run_3 VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "What was the run 3 for the team in rank 12?" }, { "from": "gpt", "value": "SELECT run_3 FROM table_name_4 WHERE rank = \"12\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_40 (run_3 VARCHAR, run_1 VARCHAR)" }, { "from": "human", "value": "What was the run 3 for the team with a run 1 of 1:17.6?" }, { "from": "gpt", "value": "SELECT run_3 FROM table_name_40 WHERE run_1 = \"1:17.6\"" } ]
know_sql
chosen