conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_name_56 (crowd INTEGER, venue VARCHAR)" }, { "from": "human", "value": "How large was the crowd when they played at princes park?" }, { "from": "gpt", "value": "SELECT SUM(crowd) FROM table_name_56 WHERE venue = \"princes park\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (away_team VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "Who is the away team at junction oval?" }, { "from": "gpt", "value": "SELECT away_team FROM table_name_74 WHERE venue = \"junction oval\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_49 (away_team VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "What is the away team's score at princes park?" }, { "from": "gpt", "value": "SELECT away_team AS score FROM table_name_49 WHERE venue = \"princes park\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_51 (_percentage_internet_users INTEGER, _percentage_growth__2000_2008_ VARCHAR)" }, { "from": "human", "value": "What was the highest percentage of internet users a nation with a 1622% growth in 2000-2008 had?" }, { "from": "gpt", ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_50 (home_team VARCHAR, away_team VARCHAR)" }, { "from": "human", "value": "Who was the home team when Footscray was the away team?" }, { "from": "gpt", "value": "SELECT home_team FROM table_name_50 WHERE away_team = \"footscray\""...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_28 (date VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What day did the team play the buffalo bills?" }, { "from": "gpt", "value": "SELECT date FROM table_name_28 WHERE opponent = \"buffalo bills\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_8 (bb_pop VARCHAR, riaa VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What is the BB Pop for the song with RIAA of G that was in a year earlier than 1961?" }, { "from": "gpt", "value": "SELECT bb_pop FROM table_name_8 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_7 (name VARCHAR, other VARCHAR)" }, { "from": "human", "value": "Which player has an Other of 3 (15)?" }, { "from": "gpt", "value": "SELECT name FROM table_name_7 WHERE other = \"3 (15)\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (name VARCHAR, time VARCHAR)" }, { "from": "human", "value": "What Name has a Time of 01:17:01?" }, { "from": "gpt", "value": "SELECT name FROM table_name_14 WHERE time = \"01:17:01\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_49 (magnitude VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the Magnitude on the Date May 28, 2004?" }, { "from": "gpt", "value": "SELECT magnitude FROM table_name_49 WHERE date = \"may 28, 2004\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_46 (name VARCHAR, time VARCHAR)" }, { "from": "human", "value": "What Name has a Time of 01:56:52?" }, { "from": "gpt", "value": "SELECT name FROM table_name_46 WHERE time = \"01:56:52\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_79 (fatalities VARCHAR, epicenter VARCHAR)" }, { "from": "human", "value": "What number of Fatalities did the Epicenter Māzandarān have?" }, { "from": "gpt", "value": "SELECT fatalities FROM table_name_79 WHERE epicenter = \"māzan...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_78 (fatalities VARCHAR, time VARCHAR)" }, { "from": "human", "value": "What number of Fatalties is associated with the Time of 12:38:46?" }, { "from": "gpt", "value": "SELECT fatalities FROM table_name_78 WHERE time = \"12:38:46\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (time VARCHAR, epicenter VARCHAR)" }, { "from": "human", "value": "What is the Time when the Epicenter was Bam?" }, { "from": "gpt", "value": "SELECT time FROM table_name_94 WHERE epicenter = \"bam\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_2 (chief_judge VARCHAR, appointed_by VARCHAR)" }, { "from": "human", "value": "Who did Clinton appoint as a Chief Judge?" }, { "from": "gpt", "value": "SELECT chief_judge FROM table_name_2 WHERE appointed_by = \"clinton\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (crowd INTEGER, away_team VARCHAR)" }, { "from": "human", "value": "What was the smallest crowd for a Carlton away game?" }, { "from": "gpt", "value": "SELECT MIN(crowd) FROM table_name_14 WHERE away_team = \"carlton\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_11 (res VARCHAR, time VARCHAR)" }, { "from": "human", "value": "What is the result when the time is 1:13?" }, { "from": "gpt", "value": "SELECT res FROM table_name_11 WHERE time = \"1:13\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_45 (opponent VARCHAR, time VARCHAR)" }, { "from": "human", "value": "Who was the opponent when the time was 1:47?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_45 WHERE time = \"1:47\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_61 (venue VARCHAR, away_team VARCHAR)" }, { "from": "human", "value": "What venue did South Melbourne play as the away team?" }, { "from": "gpt", "value": "SELECT venue FROM table_name_61 WHERE away_team = \"south melbourne\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_77 (away_team VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "What was the away team's score in the match at Victoria Park?" }, { "from": "gpt", "value": "SELECT away_team AS score FROM table_name_77 WHERE venue = \"victo...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_34 (position VARCHAR, round VARCHAR, college VARCHAR)" }, { "from": "human", "value": "Which position has a Round of 7, and a College of kansas state?" }, { "from": "gpt", "value": "SELECT position FROM table_name_34 WHERE round =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_66 (round VARCHAR, overall VARCHAR, position VARCHAR)" }, { "from": "human", "value": "How many rounds have an Overall larger than 17, and a Position of quarterback?" }, { "from": "gpt", "value": "SELECT COUNT(round) FROM table_na...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_80 (overall INTEGER, round VARCHAR, position VARCHAR)" }, { "from": "human", "value": "Which average overall has a Round of 1, and a Position of center?" }, { "from": "gpt", "value": "SELECT AVG(overall) FROM table_name_80 WHERE r...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_37 (venue VARCHAR, home_team VARCHAR)" }, { "from": "human", "value": "Where did North Melbourne play as the home team?" }, { "from": "gpt", "value": "SELECT venue FROM table_name_37 WHERE home_team = \"north melbourne\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_11 (crowd INTEGER, venue VARCHAR)" }, { "from": "human", "value": "What was the attendance when VFL played MCG?" }, { "from": "gpt", "value": "SELECT MAX(crowd) FROM table_name_11 WHERE venue = \"mcg\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_98 (away_team VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "What was the score of the away team when they played at Windy Hill?" }, { "from": "gpt", "value": "SELECT away_team AS score FROM table_name_98 WHERE venue = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_77 (crowd VARCHAR, away_team VARCHAR)" }, { "from": "human", "value": "How large was the crowd when the away team was melbourne?" }, { "from": "gpt", "value": "SELECT crowd FROM table_name_77 WHERE away_team = \"melbourne\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_58 (crowd VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "How many people watched a Glenferrie Oval?" }, { "from": "gpt", "value": "SELECT COUNT(crowd) FROM table_name_58 WHERE venue = \"glenferrie oval\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_52 (away_team VARCHAR, home_team VARCHAR)" }, { "from": "human", "value": "How faced Geelong at home?" }, { "from": "gpt", "value": "SELECT away_team AS score FROM table_name_52 WHERE home_team = \"geelong\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_77 (crowd INTEGER, away_team VARCHAR)" }, { "from": "human", "value": "How many people watch Essendon as an away team?" }, { "from": "gpt", "value": "SELECT SUM(crowd) FROM table_name_77 WHERE away_team = \"essendon\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_98 (home_team VARCHAR, away_team VARCHAR)" }, { "from": "human", "value": "Where did South Melbourne go to play a team at home?" }, { "from": "gpt", "value": "SELECT home_team FROM table_name_98 WHERE away_team = \"south melbourne...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_1 (away_team VARCHAR)" }, { "from": "human", "value": "What is essendon's away team score?" }, { "from": "gpt", "value": "SELECT away_team AS score FROM table_name_1 WHERE away_team = \"essendon\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_63 (date VARCHAR, away_team VARCHAR)" }, { "from": "human", "value": "What is the date with geelong as Away team?" }, { "from": "gpt", "value": "SELECT date FROM table_name_63 WHERE away_team = \"geelong\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_7 (crowd INTEGER, venue VARCHAR)" }, { "from": "human", "value": "What is the highest crowd at arden street oval?" }, { "from": "gpt", "value": "SELECT MAX(crowd) FROM table_name_7 WHERE venue = \"arden street oval\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_13 (crowd INTEGER, away_team VARCHAR)" }, { "from": "human", "value": "What is geelong's aberage crowd as Away Team?" }, { "from": "gpt", "value": "SELECT AVG(crowd) FROM table_name_13 WHERE away_team = \"geelong\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (date VARCHAR, away_team VARCHAR)" }, { "from": "human", "value": "What was the date of the game when North Melbourne was the away team?" }, { "from": "gpt", "value": "SELECT date FROM table_name_10 WHERE away_team = \"north me...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (team VARCHAR, grid VARCHAR)" }, { "from": "human", "value": "What is the team with grid 9?" }, { "from": "gpt", "value": "SELECT team FROM table_name_10 WHERE grid = 9" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (team VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What team features garth tander?" }, { "from": "gpt", "value": "SELECT team FROM table_name_14 WHERE name = \"garth tander\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_11 (stages VARCHAR, distance VARCHAR)" }, { "from": "human", "value": "How many stages are in a distance of 2,192 km?" }, { "from": "gpt", "value": "SELECT stages FROM table_name_11 WHERE distance = \"2,192 km\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (distance VARCHAR, stages VARCHAR, year VARCHAR)" }, { "from": "human", "value": "How long was the 16 staged event in 1997?" }, { "from": "gpt", "value": "SELECT distance FROM table_name_38 WHERE stages = \"16\" AND year = \"19...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_99 (time VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What was the winning time in 1984?" }, { "from": "gpt", "value": "SELECT time FROM table_name_99 WHERE year = \"1984\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_83 (winner VARCHAR, stages VARCHAR, year VARCHAR)" }, { "from": "human", "value": "Who won the 17 staged event in 1987?" }, { "from": "gpt", "value": "SELECT winner FROM table_name_83 WHERE stages = \"17\" AND year = \"1987\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_91 (name VARCHAR, year VARCHAR)" }, { "from": "human", "value": "Which event happened in 1988?" }, { "from": "gpt", "value": "SELECT name FROM table_name_91 WHERE year = \"1988\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_70 (city_location VARCHAR, pole_position VARCHAR, winning_driver VARCHAR)" }, { "from": "human", "value": "Where did Rick Mears win, after starting in Pole Position?" }, { "from": "gpt", "value": "SELECT city_location FROM table_n...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_48 (city_location VARCHAR, race_name VARCHAR)" }, { "from": "human", "value": "Where is the budweiser/g. i. joe's 200?" }, { "from": "gpt", "value": "SELECT city_location FROM table_name_48 WHERE race_name = \"budweiser/g. i. joe'...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_60 (city_location VARCHAR, pole_position VARCHAR)" }, { "from": "human", "value": "Where is Emerson Fittipaldi starting in Pole position?" }, { "from": "gpt", "value": "SELECT city_location FROM table_name_60 WHERE pole_position =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_56 (circuit VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Which Circuit is on July 24?" }, { "from": "gpt", "value": "SELECT circuit FROM table_name_56 WHERE date = \"july 24\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_34 (date VARCHAR, winning_constructor VARCHAR)" }, { "from": "human", "value": "What date did Delage win?" }, { "from": "gpt", "value": "SELECT date FROM table_name_34 WHERE winning_constructor = \"delage\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_58 (circuit VARCHAR, winning_driver VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What circuit did Luigi Villoresi win the Lausanne Grand Prix?" }, { "from": "gpt", "value": "SELECT circuit FROM table_name_58 WHERE winni...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_2 (name VARCHAR, winning_driver VARCHAR)" }, { "from": "human", "value": "Which Grand Prix did Nello Pagani win?" }, { "from": "gpt", "value": "SELECT name FROM table_name_2 WHERE winning_driver = \"nello pagani\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_8 (home_team VARCHAR, away_team VARCHAR)" }, { "from": "human", "value": "What did the home team score when playing Fitzroy as the away team?" }, { "from": "gpt", "value": "SELECT home_team AS score FROM table_name_8 WHERE away_te...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_41 (home_team VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "What did the home team score when playing at Western Oval?" }, { "from": "gpt", "value": "SELECT home_team AS score FROM table_name_41 WHERE venue = \"western ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_20 (away_team VARCHAR, home_team VARCHAR)" }, { "from": "human", "value": "What away team played Collingwood?" }, { "from": "gpt", "value": "SELECT away_team FROM table_name_20 WHERE home_team = \"collingwood\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_20 (date VARCHAR, home_team VARCHAR)" }, { "from": "human", "value": "On what date did Collingwood play at home?" }, { "from": "gpt", "value": "SELECT date FROM table_name_20 WHERE home_team = \"collingwood\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_28 (round INTEGER, overall VARCHAR, player VARCHAR)" }, { "from": "human", "value": "Name the average round where Dave Stachelski was picked smaller than 187." }, { "from": "gpt", "value": "SELECT AVG(round) FROM table_name_28 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_79 (position VARCHAR, overall VARCHAR, player VARCHAR)" }, { "from": "human", "value": "Which position did David Nugent play with an overall small than 187?" }, { "from": "gpt", "value": "SELECT position FROM table_name_79 WHERE o...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_46 (college VARCHAR, position VARCHAR, overall VARCHAR, round VARCHAR)" }, { "from": "human", "value": "Name the college that has an overall larger than 187 and a round smaller than 7 for the defensive end position." }, { "from": "gpt...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (player VARCHAR, years VARCHAR, games VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "Which player has less than 201 games, is ranked 2, and played between 2007-2012?" }, { "from": "gpt", "value": "SELECT player FROM ta...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_99 (games INTEGER, player VARCHAR)" }, { "from": "human", "value": "How many average games did Nick Rimando have?" }, { "from": "gpt", "value": "SELECT AVG(games) FROM table_name_99 WHERE player = \"nick rimando\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_47 (party VARCHAR, left_office VARCHAR)" }, { "from": "human", "value": "What is the party of the politician who left office on January 12, 1857" }, { "from": "gpt", "value": "SELECT party FROM table_name_47 WHERE left_office = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_4 (governor VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What is the party of the governor under Hugh Thomas Miller." }, { "from": "gpt", "value": "SELECT governor FROM table_name_4 WHERE name = \"hugh thomas miller\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_32 (name VARCHAR, left_office VARCHAR)" }, { "from": "human", "value": "Who left office on January 9, 1893" }, { "from": "gpt", "value": "SELECT name FROM table_name_32 WHERE left_office = \"january 9, 1893\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_8 (took_office VARCHAR, governor VARCHAR)" }, { "from": "human", "value": "Who took office under the government of Matthew E. Welsh?" }, { "from": "gpt", "value": "SELECT took_office FROM table_name_8 WHERE governor = \"matthew e....
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_4 (governor VARCHAR, took_office VARCHAR)" }, { "from": "human", "value": "Which governor took office on January 13, 1877" }, { "from": "gpt", "value": "SELECT governor FROM table_name_4 WHERE took_office = \"january 13, 1877\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (away_team VARCHAR)" }, { "from": "human", "value": "What is the score of the Geelong away team?" }, { "from": "gpt", "value": "SELECT away_team AS score FROM table_name_18 WHERE away_team = \"geelong\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_85 (away_team VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "What is the score of the team that plays in lake oval?" }, { "from": "gpt", "value": "SELECT away_team AS score FROM table_name_85 WHERE venue = \"lake oval\""...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_25 (date VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "What the date of the game of the team that plays in princes park?" }, { "from": "gpt", "value": "SELECT date FROM table_name_25 WHERE venue = \"princes park\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_60 (home_team VARCHAR)" }, { "from": "human", "value": "What was the score of the home team of carlton?" }, { "from": "gpt", "value": "SELECT home_team AS score FROM table_name_60 WHERE home_team = \"carlton\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_63 (crowd VARCHAR, away_team VARCHAR)" }, { "from": "human", "value": "How many people watched the away team of Geelong?" }, { "from": "gpt", "value": "SELECT crowd FROM table_name_63 WHERE away_team = \"geelong\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_99 (home_team VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "Which home team has the Brunswick Street Oval venue?" }, { "from": "gpt", "value": "SELECT home_team AS score FROM table_name_99 WHERE venue = \"brunswick stre...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_8 (home_team VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "Which home team has the Brunswick Street Oval venue?" }, { "from": "gpt", "value": "SELECT home_team FROM table_name_8 WHERE venue = \"brunswick street oval\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_26 (total INTEGER, new_south_wales VARCHAR, victoria VARCHAR)" }, { "from": "human", "value": "Which is the lowest crop total with New South Wales at 42 kilotonnes and Victorian at less than 68 kilotonnes?" }, { "from": "gpt", "va...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_43 (qual_1 VARCHAR, best VARCHAR)" }, { "from": "human", "value": "Who had a qual 1 best of 1:01.704?" }, { "from": "gpt", "value": "SELECT qual_1 FROM table_name_43 WHERE best = \"1:01.704\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_78 (team VARCHAR, qual_1 VARCHAR)" }, { "from": "human", "value": "What team had a qual 1 of 1:02.755?" }, { "from": "gpt", "value": "SELECT team FROM table_name_78 WHERE qual_1 = \"1:02.755\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_87 (qual_1 VARCHAR, team VARCHAR, best VARCHAR)" }, { "from": "human", "value": "What is the qual 1 for rusport and had a best of 58.665?" }, { "from": "gpt", "value": "SELECT qual_1 FROM table_name_87 WHERE team = \"rusport\" AND...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_72 (team VARCHAR, qual_1 VARCHAR)" }, { "from": "human", "value": "What team had a qual 1 of 59.895?" }, { "from": "gpt", "value": "SELECT team FROM table_name_72 WHERE qual_1 = \"59.895\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_98 (name VARCHAR, qual_1 VARCHAR)" }, { "from": "human", "value": "Who had a qual 1 of 1:01.461?" }, { "from": "gpt", "value": "SELECT name FROM table_name_98 WHERE qual_1 = \"1:01.461\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (lfn_support VARCHAR, architecture VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What is the LFN support with 32-bit architecture on Windows Home Server?" }, { "from": "gpt", "value": "SELECT lfn_support FROM table_na...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_68 (lfn_support VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What is the LFN support on Windows NT 3.1?" }, { "from": "gpt", "value": "SELECT lfn_support FROM table_name_68 WHERE name = \"windows nt 3.1\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_64 (venue VARCHAR, away_team VARCHAR)" }, { "from": "human", "value": "What venue features hawthorn as the away team?" }, { "from": "gpt", "value": "SELECT venue FROM table_name_64 WHERE away_team = \"hawthorn\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_48 (cup_apps INTEGER, league_apps INTEGER)" }, { "from": "human", "value": "How many cop apps in the season with fewer than 12 league apps?" }, { "from": "gpt", "value": "SELECT SUM(cup_apps) FROM table_name_48 WHERE league_apps <...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_87 (season VARCHAR, cup_apps VARCHAR, cup_goals VARCHAR)" }, { "from": "human", "value": "What season saw 6 cup apps and 5 cup goals?" }, { "from": "gpt", "value": "SELECT season FROM table_name_87 WHERE cup_apps = 6 AND cup_goals...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_22 (league_apps INTEGER, cup_goals VARCHAR, cup_apps VARCHAR)" }, { "from": "human", "value": "How many league apps in the season with more than 2 cup goals and more than 6 cup apps?" }, { "from": "gpt", "value": "SELECT SUM(leagu...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_9 (cup_goals INTEGER, league_apps INTEGER)" }, { "from": "human", "value": "How many cup goals for the season with more than 34 league apps?" }, { "from": "gpt", "value": "SELECT AVG(cup_goals) FROM table_name_9 WHERE league_apps ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_78 (cup_goals INTEGER, league_goals VARCHAR, league_apps VARCHAR, cup_apps VARCHAR)" }, { "from": "human", "value": "How many cup goals in the season with more than 5 league apps, 1 cup apps and fewer than 4 league goals?" }, { "from"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_17 (cup_apps VARCHAR, league_goals VARCHAR, league_apps VARCHAR)" }, { "from": "human", "value": "How many cup apps for the season where there are more than 10 league goals and 23 league apps?" }, { "from": "gpt", "value": "SELECT...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_12 (route VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Which route has a Date of 2 july?" }, { "from": "gpt", "value": "SELECT route FROM table_name_12 WHERE date = \"2 july\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_37 (length VARCHAR, stage VARCHAR)" }, { "from": "human", "value": "Which length has a Stage of 9?" }, { "from": "gpt", "value": "SELECT length FROM table_name_37 WHERE stage = \"9\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_34 (date VARCHAR, terrain VARCHAR, stage VARCHAR)" }, { "from": "human", "value": "Which date has a Terrain of plain stage, and a Stage of 4?" }, { "from": "gpt", "value": "SELECT date FROM table_name_34 WHERE terrain = \"plain st...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_53 (home_team VARCHAR)" }, { "from": "human", "value": "What is the score for Fitzroy when they are the home team?" }, { "from": "gpt", "value": "SELECT home_team AS score FROM table_name_53 WHERE home_team = \"fitzroy\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (crowd INTEGER, home_team VARCHAR)" }, { "from": "human", "value": "What is the smallest crowd for a game when Melbourne is the home team?" }, { "from": "gpt", "value": "SELECT MIN(crowd) FROM table_name_38 WHERE home_team = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_44 (drafting_team VARCHAR, graduated VARCHAR, college_prior VARCHAR)" }, { "from": "human", "value": "Who drafted the player from Michigan after 2010?" }, { "from": "gpt", "value": "SELECT drafting_team FROM table_name_44 WHERE gr...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_32 (home_town VARCHAR, graduated VARCHAR, college_prior VARCHAR)" }, { "from": "human", "value": "Where was the player from who graduated from Michigan after 2010?" }, { "from": "gpt", "value": "SELECT home_town FROM table_name_32...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_7 (home_town VARCHAR, player VARCHAR)" }, { "from": "human", "value": "From what town was Steve Zakuani?" }, { "from": "gpt", "value": "SELECT home_town FROM table_name_7 WHERE player = \"steve zakuani\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (graduated INTEGER, player VARCHAR)" }, { "from": "human", "value": "What year did Omar Gonzalez graduate?" }, { "from": "gpt", "value": "SELECT SUM(graduated) FROM table_name_94 WHERE player = \"omar gonzalez\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_12 (host VARCHAR, city VARCHAR)" }, { "from": "human", "value": "Which university hosted in Long Beach?" }, { "from": "gpt", "value": "SELECT host FROM table_name_12 WHERE city = \"long beach\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (venue VARCHAR, host VARCHAR)" }, { "from": "human", "value": "What is the venue that Saint Joseph's University hosted at?" }, { "from": "gpt", "value": "SELECT venue FROM table_name_38 WHERE host = \"saint joseph's university\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_84 (city VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "In which city is Hayman Hall (Tom Gola Arena) located?" }, { "from": "gpt", "value": "SELECT city FROM table_name_84 WHERE venue = \"hayman hall (tom gola arena)\""...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_3 (venue VARCHAR, city VARCHAR)" }, { "from": "human", "value": "Which venue is in the city of Villanova?" }, { "from": "gpt", "value": "SELECT venue FROM table_name_3 WHERE city = \"villanova\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (date VARCHAR, team VARCHAR, player VARCHAR)" }, { "from": "human", "value": "On which date did Ger Loughnane from Team Clare have a match?" }, { "from": "gpt", "value": "SELECT date FROM table_name_88 WHERE team = \"clare\" AN...
know_sql
chosen