conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (position VARCHAR, team VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "What Position is Team Sahara Force india f1 team with 46 Points?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_38 WHERE team = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (poles VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "Which Poles have a position of 4th?"
},
{
"from": "gpt",
"value": "SELECT poles FROM table_name_63 WHERE position = \"4th\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (f_laps VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "Which F/Laps have 27 Points?"
},
{
"from": "gpt",
"value": "SELECT f_laps FROM table_name_77 WHERE points = \"27\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (country VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What country has the SBA Towers Tower Hayneville?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_71 WHERE name = \"sba towers tower hayneville\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (structure_type VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What type of structure is there at the American Tower Christmas?"
},
{
"from": "gpt",
"value": "SELECT structure_type FROM table_name_17 WHERE name = \"ame... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (name VARCHAR, town VARCHAR)"
},
{
"from": "human",
"value": "What's the name of the structure at Egypt, Arkansas?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_53 WHERE town = \"egypt, arkansas\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (country VARCHAR, date VARCHAR, birth_date VARCHAR)"
},
{
"from": "human",
"value": "What country was the woman from who was born 1976-07-23 and became a grandmaster in 1991?"
},
{
"from": "gpt",
"value": "SELECT country FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (points INTEGER, team VARCHAR, wins VARCHAR)"
},
{
"from": "human",
"value": "Name the Points which has a Team of sportivo luqueño, and Wins larger than 1?"
},
{
"from": "gpt",
"value": "SELECT MIN(points) FROM table_name_41 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (wins INTEGER, scored VARCHAR, points VARCHAR, losses VARCHAR)"
},
{
"from": "human",
"value": "Name the Wins which has Points smaller than 10, Losses smaller than 3, and a Scored of 11?"
},
{
"from": "gpt",
"value": "SELECT MI... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (conceded INTEGER, played INTEGER)"
},
{
"from": "human",
"value": "Please name the highest Conceded which has a Played smaller than 5?"
},
{
"from": "gpt",
"value": "SELECT MAX(conceded) FROM table_name_4 WHERE played < 5"
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (losses INTEGER, played INTEGER)"
},
{
"from": "human",
"value": "Please name the Losses that has a Played smaller than 5?"
},
{
"from": "gpt",
"value": "SELECT MAX(losses) FROM table_name_57 WHERE played < 5"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (scored VARCHAR, position INTEGER)"
},
{
"from": "human",
"value": "Name the Scored which has a Position larger than 6?"
},
{
"from": "gpt",
"value": "SELECT COUNT(scored) FROM table_name_28 WHERE position > 6"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (week INTEGER, opponent VARCHAR)"
},
{
"from": "human",
"value": "What is the earliest week with an opponent of cincinnati bengals?"
},
{
"from": "gpt",
"value": "SELECT MIN(week) FROM table_name_15 WHERE opponent = \"cincinnat... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (week INTEGER, date VARCHAR)"
},
{
"from": "human",
"value": "What is the sum for the week with the date october 30, 1994?"
},
{
"from": "gpt",
"value": "SELECT SUM(week) FROM table_name_55 WHERE date = \"october 30, 1994\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (date VARCHAR, week VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What is the date for a week before 9, and a opponent of dallas cowboys?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_18 WHERE week < ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (week INTEGER, opponent VARCHAR)"
},
{
"from": "human",
"value": "What is the biggest week with an opponent of washington redskins?"
},
{
"from": "gpt",
"value": "SELECT MAX(week) FROM table_name_18 WHERE opponent = \"washingto... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (attendance VARCHAR, week VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What was the attendance for a week larger than 3, and an opponent of philadelphia eagles?"
},
{
"from": "gpt",
"value": "SELECT attendance FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (res VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What is the result of the match with Jeff Monson as opponent?"
},
{
"from": "gpt",
"value": "SELECT res FROM table_name_96 WHERE opponent = \"jeff monson\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (round VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "How many rounds was the match against Jason Fairn?"
},
{
"from": "gpt",
"value": "SELECT round FROM table_name_78 WHERE opponent = \"jason fairn\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (method VARCHAR, opponent VARCHAR, round VARCHAR, res VARCHAR)"
},
{
"from": "human",
"value": "What is the method of the match where there was a loss to Carlos Newton in round 1?"
},
{
"from": "gpt",
"value": "SELECT method FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (high_points VARCHAR, game INTEGER)"
},
{
"from": "human",
"value": "Who had the most points in games over 59?"
},
{
"from": "gpt",
"value": "SELECT high_points FROM table_name_12 WHERE game > 59"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (score VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What was the score for the game against San Antonio?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_97 WHERE team = \"san antonio\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (high_assists VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "Who had the most assists in the game against Indiana?"
},
{
"from": "gpt",
"value": "SELECT high_assists FROM table_name_57 WHERE team = \"indiana\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (railway VARCHAR, objectnumber VARCHAR)"
},
{
"from": "human",
"value": "What is the UK Railway with an ObjectNumber of 1975-7023?"
},
{
"from": "gpt",
"value": "SELECT railway FROM table_name_16 WHERE objectnumber = \"1975-702... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (replaced_by VARCHAR, position_in_table VARCHAR, manner_of_departure VARCHAR)"
},
{
"from": "human",
"value": "Who was the manager that was positioned 11th in table and resigned in departure?"
},
{
"from": "gpt",
"value": "SELE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (tournaments_played INTEGER, year VARCHAR)"
},
{
"from": "human",
"value": "what is the least tournaments played when the year is 1998?"
},
{
"from": "gpt",
"value": "SELECT MIN(tournaments_played) FROM table_name_62 WHERE year... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (year INTEGER, earnings___$__ VARCHAR, tournaments_played VARCHAR, cuts_made VARCHAR)"
},
{
"from": "human",
"value": "what is the year when tournaments played is less than 2, cuts made is 1 and earnings ($) is less than 10,547?"
},
{
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (best_finish VARCHAR, cuts_made VARCHAR, money_list_rank VARCHAR, earnings___$__ VARCHAR)"
},
{
"from": "human",
"value": "what is the best finish when money list rank is n/a, earnings ($) is more than 0 and cuts made is more than 1?"
},... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (tournaments_played VARCHAR, money_list_rank VARCHAR, cuts_made VARCHAR)"
},
{
"from": "human",
"value": "how many times is the money list rank 221 and cuts more than 2?"
},
{
"from": "gpt",
"value": "SELECT COUNT(tournaments_p... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (year INTEGER, best_finish VARCHAR)"
},
{
"from": "human",
"value": "what is the earliest year with the best finish t-65?"
},
{
"from": "gpt",
"value": "SELECT MIN(year) FROM table_name_82 WHERE best_finish = \"t-65\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (tournaments_played INTEGER, cuts_made VARCHAR)"
},
{
"from": "human",
"value": "what is the average tournaments played when cuts made is 14?"
},
{
"from": "gpt",
"value": "SELECT AVG(tournaments_played) FROM table_name_63 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (took_office INTEGER, district VARCHAR)"
},
{
"from": "human",
"value": "What is the earliest date of taking office for district 22?"
},
{
"from": "gpt",
"value": "SELECT MIN(took_office) FROM table_name_2 WHERE district = 22"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (district INTEGER, party VARCHAR, home_town VARCHAR)"
},
{
"from": "human",
"value": "What district has a democratic leader from Roby?"
},
{
"from": "gpt",
"value": "SELECT SUM(district) FROM table_name_37 WHERE party = \"democ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (district INTEGER, took_office VARCHAR, party VARCHAR, senator VARCHAR)"
},
{
"from": "human",
"value": "What is the district where Steve Carriker is the Democratic Senator and he took office later than 1988?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (series_number VARCHAR, dvd_region_1_release_date VARCHAR, original_air_date VARCHAR, number_of_episodes VARCHAR)"
},
{
"from": "human",
"value": "How many series originally aired before 1999 with more than 7 episodes and a DVD Region 1 re... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (original_air_date INTEGER, dvd_region_2_release_date VARCHAR, number_of_episodes VARCHAR)"
},
{
"from": "human",
"value": "What's the latest original air date with more than 10 episodes and a DVD Region 2 release date of 23 april 2012?"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (original_air_date INTEGER, series_number VARCHAR)"
},
{
"from": "human",
"value": "What was the original air date of series number 10?"
},
{
"from": "gpt",
"value": "SELECT AVG(original_air_date) FROM table_name_20 WHERE serie... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (number_of_episodes INTEGER, dvd_region_2_release_date VARCHAR, original_air_date VARCHAR, series_number VARCHAR)"
},
{
"from": "human",
"value": "What's the sum of the number of episodes that originally aired after 1991 with a series numb... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (series_number INTEGER, number_of_episodes VARCHAR, original_air_date VARCHAR, dvd_region_2_release_date VARCHAR)"
},
{
"from": "human",
"value": "What's the lowest series number that originally aired before 2009 with more than 7 episodes ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (bronze VARCHAR, silver INTEGER)"
},
{
"from": "human",
"value": "What is the total of bronze that has more silvers than 2?"
},
{
"from": "gpt",
"value": "SELECT COUNT(bronze) FROM table_name_15 WHERE silver > 2"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (gold VARCHAR, bronze VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "What is the total of Golds with more bronzes than 1 and totaled larger than 4?"
},
{
"from": "gpt",
"value": "SELECT COUNT(gold) FROM table_name_64 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (total INTEGER, bronze VARCHAR, silver VARCHAR)"
},
{
"from": "human",
"value": "What is the least total that had more Bronzes than 1 and more silvers than 2?"
},
{
"from": "gpt",
"value": "SELECT MIN(total) FROM table_name_82 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (total INTEGER, bronze VARCHAR, gold VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What is the least total that has fewer golds than 2, a higher rank than 4 and fewer bronzes than 1?"
},
{
"from": "gpt",
"value": "SEL... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (bronze INTEGER, rank VARCHAR, silver VARCHAR)"
},
{
"from": "human",
"value": "What is the lest amount of bronzes that ranked 2 and has less silvers than 0?"
},
{
"from": "gpt",
"value": "SELECT MIN(bronze) FROM table_name_79 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (total VARCHAR, silver VARCHAR, bronze VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "How many Total(s) are there, when the number of Bronze is greater than 13, when the Rank is 8, and when the number of Silver is less than 11?"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (nation VARCHAR, bronze VARCHAR, gold VARCHAR)"
},
{
"from": "human",
"value": "What is the Nation, when the number of Bronze is less than 17, and when the number of Gold is less than 16?"
},
{
"from": "gpt",
"value": "SELECT n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (silver INTEGER, nation VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "What is the highest number of Silver, when the Nation is Japan (JPN), and when the Total is greater than 37?"
},
{
"from": "gpt",
"value": "SELECT... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (gold INTEGER, silver VARCHAR, bronze VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest number of Gold, when the number of Bronze is less than 36, when the Rank is 2, and when Silver is less than 37?"
},
{
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (res VARCHAR, event VARCHAR)"
},
{
"from": "human",
"value": "What is Res., when Event is \"FT 6 - Full Throttle 6\"?"
},
{
"from": "gpt",
"value": "SELECT res FROM table_name_83 WHERE event = \"ft 6 - full throttle 6\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (opponent VARCHAR, event VARCHAR)"
},
{
"from": "human",
"value": "What is Opponent, when Event is \"ISCF - Southeast Championships\"?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_17 WHERE event = \"iscf - sou... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (event VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What is Event, when Record is \"3-0\"?"
},
{
"from": "gpt",
"value": "SELECT event FROM table_name_13 WHERE record = \"3-0\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (date VARCHAR, opponents VARCHAR, league_position VARCHAR)"
},
{
"from": "human",
"value": "What is the date of the game against Chelsea when the league position is 14th?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_na... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (method VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "Which method had a time of 0:46?"
},
{
"from": "gpt",
"value": "SELECT method FROM table_name_85 WHERE time = \"0:46\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (round VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "In the fight against Brandon Bledsoe, how many rounds did the fight last?"
},
{
"from": "gpt",
"value": "SELECT round FROM table_name_91 WHERE opponent = \"bran... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (method VARCHAR, event VARCHAR)"
},
{
"from": "human",
"value": "What methos did Keith Wisniewski use in the ufc fight night: teixeira vs. bader?"
},
{
"from": "gpt",
"value": "SELECT method FROM table_name_99 WHERE event = \"u... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (vmax VARCHAR, capacity VARCHAR)"
},
{
"from": "human",
"value": "What was the maximum speed of the car with 1.556 cc capacity?"
},
{
"from": "gpt",
"value": "SELECT vmax FROM table_name_45 WHERE capacity = \"1.556 cc\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (vmax VARCHAR, type VARCHAR, cylinder VARCHAR, capacity VARCHAR)"
},
{
"from": "human",
"value": "What was the maximum speed for straight-4, 1.466 cc Type r 150?"
},
{
"from": "gpt",
"value": "SELECT vmax FROM table_name_60 WHE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (vmax VARCHAR, type VARCHAR)"
},
{
"from": "human",
"value": "What was the maximum speed for the P4-1 (24/36 ps)?"
},
{
"from": "gpt",
"value": "SELECT vmax FROM table_name_78 WHERE type = \"p4-1 (24/36 ps)\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (country VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What country is Jack Nicklaus from?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_17 WHERE player = \"jack nicklaus\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (to_par VARCHAR, place VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What was the To par for bill britton when he placed t7?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_37 WHERE place = \"t7\" AND p... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (to_par VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What was the To par of Jack Nicklaus?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_71 WHERE player = \"jack nicklaus\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (country VARCHAR, money___$__ VARCHAR)"
},
{
"from": "human",
"value": "What country was the golfer from who had a money amount of 45,000?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_39 WHERE money___$__ = \"4... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (to_par VARCHAR, country VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What was the To par for United States golfer fred couples?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_17 WHERE country = \"uni... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (fate VARCHAR, nationality VARCHAR, ship VARCHAR)"
},
{
"from": "human",
"value": "what is the fate when the nationality is french and the ship is pierre lott?"
},
{
"from": "gpt",
"value": "SELECT fate FROM table_name_97 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (ship VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "what is the ship with the date of 28.1.1915?"
},
{
"from": "gpt",
"value": "SELECT ship FROM table_name_87 WHERE date = \"28.1.1915\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (nationality VARCHAR, ship VARCHAR)"
},
{
"from": "human",
"value": "what is the nationality when the ship is willerby?"
},
{
"from": "gpt",
"value": "SELECT nationality FROM table_name_64 WHERE ship = \"willerby\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (tonnage_grt INTEGER, nationality VARCHAR, ship VARCHAR)"
},
{
"from": "human",
"value": "what is the least tonnage grt when the nationality is british and the ship is kidalton?"
},
{
"from": "gpt",
"value": "SELECT MIN(tonnage... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (season VARCHAR, team_2 VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the Season that has the Team 2 of hanoi acb?"
},
{
"from": "gpt",
"value": "SELECT season FROM table_name_99 WHERE team_2 = \"hanoi acb\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (team_2 VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the Team 2 that has the Venue of binh duong stadium, vietnam?"
},
{
"from": "gpt",
"value": "SELECT team_2 FROM table_name_27 WHERE venue = \"binh... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (season VARCHAR, team_2 VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the total number of Season that has the Team 2 of chonburi, and the Score of 0:1?"
},
{
"from": "gpt",
"value": "SELECT COUNT(seas... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (score VARCHAR, place VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "Which Score has a Place of t6, and a Player of raymond floyd?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_43 WHERE place = \"t6\" A... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (to_par VARCHAR, place VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "How much To par has a Place of t1, and a Score of 70-70-71-71=282?"
},
{
"from": "gpt",
"value": "SELECT COUNT(to_par) FROM table_name_47 WHERE pla... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (to_par INTEGER, player VARCHAR)"
},
{
"from": "human",
"value": "What is tony lema's to par?"
},
{
"from": "gpt",
"value": "SELECT SUM(to_par) FROM table_name_56 WHERE player = \"tony lema\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (score VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What was gary player's score?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_25 WHERE player = \"gary player\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (year VARCHAR, score VARCHAR, class VARCHAR, program_title VARCHAR)"
},
{
"from": "human",
"value": "What was the total number for the PIW Class' The Adventures Of... and had a score bigger than 94.6?"
},
{
"from": "gpt",
"valu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (class VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What class had a score of 95.1?"
},
{
"from": "gpt",
"value": "SELECT class FROM table_name_33 WHERE score = 95.1"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (score INTEGER, year VARCHAR, placement VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest score for a year before 2008 and had 3rd place?"
},
{
"from": "gpt",
"value": "SELECT MIN(score) FROM table_name_89 WHERE year... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (year INTEGER, program_title VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What was the latest year placement for Taboo with a score smaller than 96.125?"
},
{
"from": "gpt",
"value": "SELECT MAX(year) FROM table_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (winning_score VARCHAR, year VARCHAR, runner_s__up VARCHAR)"
},
{
"from": "human",
"value": "What is the winning score before 1959, with runner-up Jackie Pung?"
},
{
"from": "gpt",
"value": "SELECT winning_score FROM table_name... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (directed_by VARCHAR, original_air_date VARCHAR)"
},
{
"from": "human",
"value": "Which Directed by has an Original air date of april 29, 2000?"
},
{
"from": "gpt",
"value": "SELECT directed_by FROM table_name_27 WHERE original... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (result VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the result of the game from September 10, 2000?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_68 WHERE date = \"september 10, 2000\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (ceremony VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Which award ceremony took place on May 15, 1965?"
},
{
"from": "gpt",
"value": "SELECT ceremony FROM table_name_91 WHERE date = \"may 15, 1965\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (film_of_the_year VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Which movie was awarded Film of the Year on May 8, 1964?"
},
{
"from": "gpt",
"value": "SELECT film_of_the_year FROM table_name_2 WHERE date = \"may 8, 19... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (dcsf_number INTEGER, name VARCHAR, ofsted_number VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the highest DCSF number that has the Name of field, and the Ofsted number larger than 117160?"
},
{
"from": "gpt",
"val... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (intake INTEGER, faith VARCHAR, dcsf_number VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the sum of Intake that has the Faith of rc, and the DCSF number larger than 2428?"
},
{
"from": "gpt",
"value": "SELECT SUM(i... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (name VARCHAR, dcsf_number VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the Name that has the DCSF number of 2117?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_11 WHERE dcsf_number = 2117"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (ofsted_number INTEGER, type VARCHAR, intake VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the highest Ofsted number that has the Type of infants, and the Intake larger than 60?"
},
{
"from": "gpt",
"value": "SELECT... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (week VARCHAR, opponent VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of Week, when Opponent is At Chicago Bears, and when Attendance is greater than 49,070?"
},
{
"from": "gpt",
"value"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (date VARCHAR, week VARCHAR)"
},
{
"from": "human",
"value": "What is Date, when Week is 11?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_45 WHERE week = 11"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (week INTEGER, attendance VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest Week, when Attendance is 38,624?"
},
{
"from": "gpt",
"value": "SELECT MIN(week) FROM table_name_27 WHERE attendance = 38 OFFSET 624"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (international_mail INTEGER, change VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "How much international mail has a change of +35,7% later than 2008?"
},
{
"from": "gpt",
"value": "SELECT SUM(international_mail) FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (domestic_freight INTEGER, change VARCHAR, total_freight_and_mail VARCHAR)"
},
{
"from": "human",
"value": "What is the most domestic freight with a change of +9,8% and a total freight and mail of more than 3,278?"
},
{
"from": "gp... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (international_freight VARCHAR, change VARCHAR, international_mail VARCHAR)"
},
{
"from": "human",
"value": "How much international freight has a change of +0,2% with more than 0 international mail?"
},
{
"from": "gpt",
"value"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (international_mail INTEGER, change VARCHAR, domestic_mail VARCHAR)"
},
{
"from": "human",
"value": "What is the international mail with the highest number that has a change of +0,2% and less than 0 domestic mail?"
},
{
"from": "gp... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (international_mail INTEGER, total_freight_and_mail VARCHAR, year VARCHAR, domestic_freight VARCHAR, domestic_mail VARCHAR)"
},
{
"from": "human",
"value": "What is the international mail with the lowest number to have less than 72 domesti... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (venue VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "what is the venue when the date is 16 january 1996?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_99 WHERE date = \"16 january 1996\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (competition VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "what is the competition when the date is 16 january 1996?"
},
{
"from": "gpt",
"value": "SELECT competition FROM table_name_14 WHERE date = \"16 january 1996\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (record VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "WHAT IS THE RECORD FOR FEBRUARY 11?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_62 WHERE date = \"february 11\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (award VARCHAR, year INTEGER)"
},
{
"from": "human",
"value": "What was the award before 2001?"
},
{
"from": "gpt",
"value": "SELECT award FROM table_name_32 WHERE year < 2001"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (week INTEGER, location VARCHAR)"
},
{
"from": "human",
"value": "What is the highest week for a game that was located at the Molson Stadium?"
},
{
"from": "gpt",
"value": "SELECT MAX(week) FROM table_name_66 WHERE location = \... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.