conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (podiums VARCHAR, f_laps VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "What listing for Podiums has 0 F/laps and 39 points?"
},
{
"from": "gpt",
"value": "SELECT podiums FROM table_name_38 WHERE f_laps = \"0\" AND p... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (loss VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Which Loss has a Record of 20–16–9?"
},
{
"from": "gpt",
"value": "SELECT loss FROM table_name_75 WHERE record = \"20–16–9\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (date VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Which Date has a Record of 19–16–8?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_43 WHERE record = \"19–16–8\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (time VARCHAR, lane VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the Time that has the Lane of 8?"
},
{
"from": "gpt",
"value": "SELECT time FROM table_name_35 WHERE lane = 8"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (rank VARCHAR, lane VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the Total number of Rankthat has the Lane of 4?"
},
{
"from": "gpt",
"value": "SELECT COUNT(rank) FROM table_name_67 WHERE lane = 4"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (rank INTEGER, lane VARCHAR, nationality VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the lowest Rank that has the Nationality of australia, and the Name of leisel jones, and the Lane larger than 4?"
},
{
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (name VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the Name that has the Rank of 4?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_10 WHERE rank = 4"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (against INTEGER, opposing_team VARCHAR)"
},
{
"from": "human",
"value": "What is the highest Against for a game against Bristol City?"
},
{
"from": "gpt",
"value": "SELECT MAX(against) FROM table_name_7 WHERE opposing_team = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (date VARCHAR, opposing_team VARCHAR)"
},
{
"from": "human",
"value": "What was the date of the game against Oxford United?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_87 WHERE opposing_team = \"oxford united\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (country VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What country is ranked number 4?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_41 WHERE rank = 4"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (notes VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What are the notes from the rank of 1?"
},
{
"from": "gpt",
"value": "SELECT notes FROM table_name_47 WHERE rank = 1"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (rowers VARCHAR, notes VARCHAR)"
},
{
"from": "human",
"value": "What rowers have FA as the notes?"
},
{
"from": "gpt",
"value": "SELECT rowers FROM table_name_41 WHERE notes = \"fa\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (rank INTEGER, time VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest rank has 7:09.06 as the time?"
},
{
"from": "gpt",
"value": "SELECT MIN(rank) FROM table_name_81 WHERE time = \"7:09.06\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (notes VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What notes have 2 as the rank?"
},
{
"from": "gpt",
"value": "SELECT notes FROM table_name_62 WHERE rank = 2"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (match VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What was the match that happened in Bishop's Stortford?"
},
{
"from": "gpt",
"value": "SELECT match FROM table_name_91 WHERE opponent = \"bishop's stortford\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (score1 VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What was the final score for the Thurrock?"
},
{
"from": "gpt",
"value": "SELECT score1 FROM table_name_99 WHERE opponent = \"thurrock\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (ihsaa_class VARCHAR, mascot VARCHAR)"
},
{
"from": "human",
"value": "Which IHSAA class has a mascot of the Raiders?"
},
{
"from": "gpt",
"value": "SELECT ihsaa_class FROM table_name_80 WHERE mascot = \"raiders\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (school VARCHAR, mascot VARCHAR)"
},
{
"from": "human",
"value": "Which school has a mascot of the Panthers?"
},
{
"from": "gpt",
"value": "SELECT school FROM table_name_25 WHERE mascot = \"panthers\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (time VARCHAR, notes VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "What's Italy's time when the notes were SA/B?"
},
{
"from": "gpt",
"value": "SELECT time FROM table_name_96 WHERE notes = \"sa/b\" AND country = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (rank VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "What is Italy's rank?"
},
{
"from": "gpt",
"value": "SELECT rank FROM table_name_15 WHERE country = \"italy\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (appearances VARCHAR, club VARCHAR, goals VARCHAR)"
},
{
"from": "human",
"value": "How many appearances did the player for the Rayo Vallecano club that scored more than 37 goals make?"
},
{
"from": "gpt",
"value": "SELECT COUN... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (player VARCHAR, eliminated VARCHAR)"
},
{
"from": "human",
"value": "Who's the player that was eliminated on episode 4?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_32 WHERE eliminated = \"episode 4\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (player VARCHAR, placing VARCHAR)"
},
{
"from": "human",
"value": "Who is the player in 20th place?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_65 WHERE placing = \"20th place\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (original_season VARCHAR, placing VARCHAR)"
},
{
"from": "human",
"value": "What's the original season in 11th place?"
},
{
"from": "gpt",
"value": "SELECT original_season FROM table_name_15 WHERE placing = \"11th place\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (player VARCHAR, eliminated VARCHAR)"
},
{
"from": "human",
"value": "Who's the player eliminated on episode 5?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_50 WHERE eliminated = \"episode 5\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (player VARCHAR, gender VARCHAR, original_season VARCHAR)"
},
{
"from": "human",
"value": "Who's the player that's male and on the original season of RW: Key West?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_36... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (player VARCHAR, original_season VARCHAR, eliminated VARCHAR)"
},
{
"from": "human",
"value": "Who's the player eliminated on episode 8 of Fresh Meat?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_59 WHERE origin... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (status VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "The boat named Agamemnon has what status?"
},
{
"from": "gpt",
"value": "SELECT status FROM table_name_94 WHERE name = \"agamemnon\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (status VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What status does the boat Ajax have?"
},
{
"from": "gpt",
"value": "SELECT status FROM table_name_54 WHERE name = \"ajax\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (upper_index_mj__nm_3 INTEGER, upper_index_kcal__nm_3 VARCHAR)"
},
{
"from": "human",
"value": "What is the average upper index MJ/Nm 3 for the upper index Kcal/Nm 3 entry of 19,376?"
},
{
"from": "gpt",
"value": "SELECT AVG(up... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (upper_index_kcal__nm_3 VARCHAR, fuel_gas VARCHAR, lower_index_mj__nm_3 VARCHAR)"
},
{
"from": "human",
"value": "What is the Upper index Kcal/ Nm 3 of iso-butane, and a Lower index MJ/ Nm 3 smaller than 84.71?"
},
{
"from": "gpt",... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (lower_index_kcal__nm_3 INTEGER, lower_index_mj__nm_3 VARCHAR, upper_index_kcal__nm_3 VARCHAR)"
},
{
"from": "human",
"value": "What is the Lower index Kcal/ Nm 3 entry, for the row with entries of an Upper index Kcal/ Nm 3 smaller than 19,... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (upper_index_kcal__nm_3 INTEGER, lower_index_mj__nm_3 VARCHAR, upper_index_mj__nm_3 VARCHAR)"
},
{
"from": "human",
"value": "What is the entry for Upper index Kcal/ Nm 3 for the row with an entry that has a Lower index MJ/ Nm 3 of 47.91, ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (upper_index_kcal__nm_3 INTEGER, upper_index_mj__nm_3 VARCHAR, lower_index_mj__nm_3 VARCHAR, fuel_gas VARCHAR)"
},
{
"from": "human",
"value": "What is the entry for Upper index Kcal/ Nm 3 for the row with an entry that has a Lower index MJ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (match INTEGER, ground VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What match number has a ground of H and the opponent Chelsea under 18s?"
},
{
"from": "gpt",
"value": "SELECT AVG(match) FROM table_name_37 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (date VARCHAR, opponent VARCHAR, match VARCHAR, ground VARCHAR)"
},
{
"from": "human",
"value": "On what date is there a match lower than 14 with a ground of H and the opponent Aston Villa under 18s?"
},
{
"from": "gpt",
"value... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (date VARCHAR, score1 VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "On what date is there a score1 of 2 - 4 with the opponent Chelsea under 18s?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_69 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (ticket_price_s_ VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "What is the ticket price at Canadian National Exhibition Stadium?"
},
{
"from": "gpt",
"value": "SELECT ticket_price_s_ FROM table_name_7 WHERE venue = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (ticket_price_s_ VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "What was the ticket price at Red Rocks Amphitheatre?"
},
{
"from": "gpt",
"value": "SELECT ticket_price_s_ FROM table_name_96 WHERE venue = \"red rocks a... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (ticket_price_s_ VARCHAR, date_s_ VARCHAR)"
},
{
"from": "human",
"value": "What was the ticket price on September 16, 1986?"
},
{
"from": "gpt",
"value": "SELECT ticket_price_s_ FROM table_name_56 WHERE date_s_ = \"september 1... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (opposition VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "Who was the opposition for the player who has a total of 10 points?"
},
{
"from": "gpt",
"value": "SELECT opposition FROM table_name_72 WHERE total = 10"
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (player VARCHAR, county VARCHAR)"
},
{
"from": "human",
"value": "Which player is from County Dublin?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_89 WHERE county = \"dublin\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (metropolitan_population__2006__millions INTEGER, metropolitan_area VARCHAR, gdp__ppp__us$_per_capita VARCHAR)"
},
{
"from": "human",
"value": "What is the average 2006 metropolitan population of Lima with a GDP per capita over $13,100?"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (rank INTEGER, time VARCHAR)"
},
{
"from": "human",
"value": "Who placed highest with a time of 1:47.70?"
},
{
"from": "gpt",
"value": "SELECT MIN(rank) FROM table_name_22 WHERE time = \"1:47.70\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (prominence__m_ INTEGER, elevation__m_ VARCHAR)"
},
{
"from": "human",
"value": "Which Prominence (m) has an Elevation (m) of 3,095?"
},
{
"from": "gpt",
"value": "SELECT MIN(prominence__m_) FROM table_name_67 WHERE elevation__... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (duration VARCHAR, character VARCHAR)"
},
{
"from": "human",
"value": "How long did Witold Latoszek character lasted?"
},
{
"from": "gpt",
"value": "SELECT duration FROM table_name_53 WHERE character = \"witold latoszek\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (no_in_season INTEGER, written_by VARCHAR)"
},
{
"from": "human",
"value": "Which episode was the last written by chris hawkshaw this season?"
},
{
"from": "gpt",
"value": "SELECT MAX(no_in_season) FROM table_name_72 WHERE writ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (change_06_07 VARCHAR)"
},
{
"from": "human",
"value": "What is the greatest 2007 when the change 06-07 was 14.7%?"
},
{
"from": "gpt",
"value": "SELECT MAX(2007) FROM table_name_61 WHERE change_06_07 = \"14.7%\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (completed VARCHAR, laid_down VARCHAR)"
},
{
"from": "human",
"value": "when was the ship completed when laid down is 21 august 1925?"
},
{
"from": "gpt",
"value": "SELECT completed FROM table_name_32 WHERE laid_down = \"21 aug... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (completed VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "When was satsuki dd-27 completed?"
},
{
"from": "gpt",
"value": "SELECT completed FROM table_name_25 WHERE name = \"satsuki dd-27\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (launched VARCHAR, builder VARCHAR, laid_down VARCHAR)"
},
{
"from": "human",
"value": "when was the ship launched when it was laid down 20 october 1924 and built by fujinagata shipyards, japan?"
},
{
"from": "gpt",
"value": "S... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (completed VARCHAR, laid_down VARCHAR)"
},
{
"from": "human",
"value": "when was the ship completed that was laid down on 23 march 1926?"
},
{
"from": "gpt",
"value": "SELECT completed FROM table_name_31 WHERE laid_down = \"23 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (laid_down VARCHAR, completed VARCHAR)"
},
{
"from": "human",
"value": "when was the ship laid down when it was completed on 3 july 1926?"
},
{
"from": "gpt",
"value": "SELECT laid_down FROM table_name_43 WHERE completed = \"3 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (score VARCHAR, location_attendance VARCHAR)"
},
{
"from": "human",
"value": "What was the score of the game at the Chicago Stadium?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_38 WHERE location_attendance = \"c... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (date VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What was the date of the game when the record was 46-31?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_9 WHERE record = \"46-31\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (score VARCHAR, location_attendance VARCHAR)"
},
{
"from": "human",
"value": "What was the score of the game at the Chicago Stadium?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_67 WHERE location_attendance = \"c... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (rank INTEGER, lane VARCHAR)"
},
{
"from": "human",
"value": "What is the Rank of the Swimmer in Lane 5?"
},
{
"from": "gpt",
"value": "SELECT AVG(rank) FROM table_name_16 WHERE lane = 5"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (rank VARCHAR, time VARCHAR, lane VARCHAR)"
},
{
"from": "human",
"value": "What is the Rank of the swimmer with a Time of 49 in Lane 7 or larger?"
},
{
"from": "gpt",
"value": "SELECT COUNT(rank) FROM table_name_41 WHERE time ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (lane INTEGER, rank VARCHAR)"
},
{
"from": "human",
"value": "What is the Lane of the swimmer with a Rank of 8?"
},
{
"from": "gpt",
"value": "SELECT MAX(lane) FROM table_name_24 WHERE rank = 8"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (level VARCHAR, season INTEGER)"
},
{
"from": "human",
"value": "What Level has a Season larger than 2010?"
},
{
"from": "gpt",
"value": "SELECT level FROM table_name_54 WHERE season > 2010"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (administration VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "What Adminstration has a Season of 2000?"
},
{
"from": "gpt",
"value": "SELECT administration FROM table_name_56 WHERE season = 2000"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (position VARCHAR, season VARCHAR, level VARCHAR)"
},
{
"from": "human",
"value": "What Position has a Season larger than 2000 with a Level of Tier 3?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_21 WHERE seas... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (position VARCHAR, level VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "What Position has a Level of tier 4 with a Season smaller than 2003?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_85 WHERE lev... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (high_rebounds VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "Who had the most rebounds in the game against New York?"
},
{
"from": "gpt",
"value": "SELECT high_rebounds FROM table_name_74 WHERE opponent = \"new yo... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (opponent VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "Who was the opponent for game 30?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_10 WHERE game = 30"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (high_rebounds VARCHAR, location VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Who had the most rebounds in the game at the Mohegan Sun Arena that led to a 24-7 record?"
},
{
"from": "gpt",
"value": "SELECT high_reb... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (attendance INTEGER, date VARCHAR)"
},
{
"from": "human",
"value": "How many people attended the September 21, 1980 game?"
},
{
"from": "gpt",
"value": "SELECT AVG(attendance) FROM table_name_22 WHERE date = \"september 21, 198... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (total INTEGER, date VARCHAR, greater_doubles VARCHAR)"
},
{
"from": "human",
"value": "Which Total has a Date of 1602, and Greater Doubles smaller than 16?"
},
{
"from": "gpt",
"value": "SELECT MAX(total) FROM table_name_72 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (size__steps_ VARCHAR, just_ratio VARCHAR, size__cents_ VARCHAR)"
},
{
"from": "human",
"value": "What is the value of the size (steps) that has just ratio 10:9 and a size (cents) more than 160"
},
{
"from": "gpt",
"value": "SE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (audio VARCHAR, just_ratio VARCHAR)"
},
{
"from": "human",
"value": "what is the value of the audio with a just ratio 21:20"
},
{
"from": "gpt",
"value": "SELECT audio FROM table_name_28 WHERE just_ratio = \"21:20\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (error VARCHAR, size__steps_ VARCHAR, just__cents_ VARCHAR)"
},
{
"from": "human",
"value": "What is the error that has a size (steps) more than 5 and a just (cents) value 536.95"
},
{
"from": "gpt",
"value": "SELECT error FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (size__cents_ INTEGER, interval_name VARCHAR, size__steps_ VARCHAR)"
},
{
"from": "human",
"value": "What is the average size (cents) with an interval of major third and size (steps) more than 5"
},
{
"from": "gpt",
"value": "S... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (points INTEGER, place VARCHAR, draw VARCHAR)"
},
{
"from": "human",
"value": "What is the average number of points for places over 7 and having a draw order of 4?"
},
{
"from": "gpt",
"value": "SELECT AVG(points) FROM table_na... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (league_goals VARCHAR, fa_cup_goals VARCHAR, league_apps VARCHAR)"
},
{
"from": "human",
"value": "How many league goals did the player with 10 league apps and 0 FA cup goals have?"
},
{
"from": "gpt",
"value": "SELECT COUNT(le... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (league_goals INTEGER, total_goals VARCHAR, league_cup_goals VARCHAR)"
},
{
"from": "human",
"value": "What was the sum of league goals where the toal was 8 and league cup goals were larger than 0?"
},
{
"from": "gpt",
"value":... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (average_ratings VARCHAR, episodes VARCHAR, japanese_title VARCHAR)"
},
{
"from": "human",
"value": "For the Japanese title サプリ that had 11 episodes, what is the average ratings?"
},
{
"from": "gpt",
"value": "SELECT average_ra... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (episodes INTEGER, average_ratings VARCHAR)"
},
{
"from": "human",
"value": "When the average ratings is 10.3%, what is the average episodes?"
},
{
"from": "gpt",
"value": "SELECT AVG(episodes) FROM table_name_32 WHERE average_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (episodes INTEGER, romaji_title VARCHAR)"
},
{
"from": "human",
"value": "What is the fewest episodes with the Romaji title Regatta~Kimi to Ita Eien~?"
},
{
"from": "gpt",
"value": "SELECT MIN(episodes) FROM table_name_40 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (japanese_title VARCHAR, romaji_title VARCHAR)"
},
{
"from": "human",
"value": "With the Romaji title of Hanayome Wa Yakudoshi!, what is the Japanese title?"
},
{
"from": "gpt",
"value": "SELECT japanese_title FROM table_name_3... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (japanese_title VARCHAR, episodes VARCHAR, romaji_title VARCHAR)"
},
{
"from": "human",
"value": "For what Japanese title is there less than 11 episodes and the Romaji title is Regatta~Kimi to Ita Eien~?"
},
{
"from": "gpt",
"v... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (episodes INTEGER, average_ratings VARCHAR)"
},
{
"from": "human",
"value": "what is the most episodes when the average ratings is 18.8%?"
},
{
"from": "gpt",
"value": "SELECT MAX(episodes) FROM table_name_52 WHERE average_rati... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (episodes VARCHAR, tv_station VARCHAR, japanese_title VARCHAR)"
},
{
"from": "human",
"value": "How many episodes when the tv station is ntv and the japanese title is たったひとつの恋?"
},
{
"from": "gpt",
"value": "SELECT episodes FRO... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (tv_station VARCHAR, romaji_title VARCHAR)"
},
{
"from": "human",
"value": "what is the tv station when the romaji title is kazoku~tsuma no fuzai・otto no sonzai~?"
},
{
"from": "gpt",
"value": "SELECT tv_station FROM table_name... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (tv_station VARCHAR, average_ratings VARCHAR)"
},
{
"from": "human",
"value": "what is the tv station when the average ratings is 19.5%?"
},
{
"from": "gpt",
"value": "SELECT tv_station FROM table_name_36 WHERE average_ratings ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (year_joined INTEGER, year_left INTEGER)"
},
{
"from": "human",
"value": "Of all the schools that left before 2003, what is the average year joined?"
},
{
"from": "gpt",
"value": "SELECT AVG(year_joined) FROM table_name_22 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (year_joined VARCHAR, mascot VARCHAR, year_left VARCHAR)"
},
{
"from": "human",
"value": "What year did the Ingots, who left after 2007, join?"
},
{
"from": "gpt",
"value": "SELECT COUNT(year_joined) FROM table_name_48 WHERE ma... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (original_release VARCHAR, writer_s_ VARCHAR)"
},
{
"from": "human",
"value": "What is the original Release date of the Track written by Dallas Frazier?"
},
{
"from": "gpt",
"value": "SELECT original_release FROM table_name_27 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (original_artist VARCHAR, length VARCHAR)"
},
{
"from": "human",
"value": "What is the Original Artis of the Track with a Length of 2:38?"
},
{
"from": "gpt",
"value": "SELECT original_artist FROM table_name_64 WHERE length = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (song_title VARCHAR, length VARCHAR)"
},
{
"from": "human",
"value": "What Song has a Length of 2:50?"
},
{
"from": "gpt",
"value": "SELECT song_title FROM table_name_7 WHERE length = \"2:50\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (title VARCHAR, genre VARCHAR, year VARCHAR, network VARCHAR)"
},
{
"from": "human",
"value": "What's the title when the genre is drama and network of KBS2 happening before 2011?"
},
{
"from": "gpt",
"value": "SELECT title FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (title VARCHAR, year VARCHAR, genre VARCHAR, network VARCHAR)"
},
{
"from": "human",
"value": "What's the title when the genre is drama with a network of KBS2 happening in 2011?"
},
{
"from": "gpt",
"value": "SELECT title FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (network VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What's the network in 2011?"
},
{
"from": "gpt",
"value": "SELECT network FROM table_name_25 WHERE year = 2011"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (hangul___japanese VARCHAR, year VARCHAR, role VARCHAR)"
},
{
"from": "human",
"value": "What's the Hangul/Japanese that happened before 2014 having a role of Baek Seung-Jo?"
},
{
"from": "gpt",
"value": "SELECT hangul___japane... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (hangul___japanese VARCHAR, genre VARCHAR, title VARCHAR)"
},
{
"from": "human",
"value": "What's the Hangul/Japanese of Boys Over Flowers that's drama?"
},
{
"from": "gpt",
"value": "SELECT hangul___japanese FROM table_name_80... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (ihsaa_class VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "What is the IHSAA class in monon?"
},
{
"from": "gpt",
"value": "SELECT ihsaa_class FROM table_name_56 WHERE location = \"monon\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (ihsaa_class VARCHAR, enrollment VARCHAR)"
},
{
"from": "human",
"value": "What is the IHSAA class with 395 in enrollment?"
},
{
"from": "gpt",
"value": "SELECT ihsaa_class FROM table_name_69 WHERE enrollment = 395"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (school VARCHAR, mascot VARCHAR)"
},
{
"from": "human",
"value": "What school has rebels as their mascot?"
},
{
"from": "gpt",
"value": "SELECT school FROM table_name_8 WHERE mascot = \"rebels\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (enrollment VARCHAR, ihsaa_class VARCHAR)"
},
{
"from": "human",
"value": "What is the total enrollment of the aa IHSAA class?"
},
{
"from": "gpt",
"value": "SELECT COUNT(enrollment) FROM table_name_61 WHERE ihsaa_class = \"aa\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (enrollment INTEGER, school VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest enrollment at the pioneer school?"
},
{
"from": "gpt",
"value": "SELECT MIN(enrollment) FROM table_name_39 WHERE school = \"pioneer\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (enrollment INTEGER, ihsaa_class VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "What is the average enrollment of the IHSAA A class in wolcott?"
},
{
"from": "gpt",
"value": "SELECT AVG(enrollment) FROM table_name_... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.