conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (score INTEGER, player VARCHAR, country VARCHAR, to_par VARCHAR)"
},
{
"from": "human",
"value": "What was Adam Scott's total score when playing in Australia with a to par of e?"
},
{
"from": "gpt",
"value": "SELECT SUM(score) ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (score VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What was Fredrik Jacobson's score?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_88 WHERE player = \"fredrik jacobson\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (home_team VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "WHAT IS THE HOME TEAM WITH AN AWAY OF LEYTON ORIENT?"
},
{
"from": "gpt",
"value": "SELECT home_team FROM table_name_95 WHERE away_team = \"leyton orient\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (tie_no VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "WHAT IS NO TIE FROM brighton & hove albion?"
},
{
"from": "gpt",
"value": "SELECT tie_no FROM table_name_52 WHERE home_team = \"brighton & hove albion\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (result VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the result for the game on October 5?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_11 WHERE date = \"october 5\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (fa_cup_apps VARCHAR, league_apps VARCHAR, total_goals VARCHAR, league_cup_goals VARCHAR)"
},
{
"from": "human",
"value": "What is the FA Cup Apps when total goals is smaller than 4, League Cup Goals is 0, and League Apps is 8 (10)?"
},
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (total_goals INTEGER, position VARCHAR, fa_cup_goals VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest total goals when position is df, and FA Cup Goals is smaller than 0?"
},
{
"from": "gpt",
"value": "SELECT MIN(to... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (viewers__m_ INTEGER, episode VARCHAR)"
},
{
"from": "human",
"value": "What Viewers (m) has an Episode of school council?"
},
{
"from": "gpt",
"value": "SELECT AVG(viewers__m_) FROM table_name_82 WHERE episode = \"school counc... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (viewers__m_ INTEGER, rating VARCHAR, episode VARCHAR)"
},
{
"from": "human",
"value": "What Viewers (m) has a Rating of 1.7, and an Episode of the game of life?"
},
{
"from": "gpt",
"value": "SELECT MAX(viewers__m_) FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (viewers__m_ VARCHAR, episode VARCHAR)"
},
{
"from": "human",
"value": "What Viewers (m) has an Episode of 40 days?"
},
{
"from": "gpt",
"value": "SELECT viewers__m_ FROM table_name_64 WHERE episode = \"40 days\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (episode VARCHAR, rating VARCHAR, viewers__m_ VARCHAR)"
},
{
"from": "human",
"value": "What Episode has a Rating of 1.8, and Viewers (m) smaller than 2.73?"
},
{
"from": "gpt",
"value": "SELECT episode FROM table_name_35 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (rating VARCHAR, viewers__m_ VARCHAR)"
},
{
"from": "human",
"value": "What Rating has Viewers (m) of 2.73?"
},
{
"from": "gpt",
"value": "SELECT rating FROM table_name_96 WHERE viewers__m_ = 2.73"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (episode VARCHAR, share VARCHAR)"
},
{
"from": "human",
"value": "What Episode has a Share of tba?"
},
{
"from": "gpt",
"value": "SELECT episode FROM table_name_17 WHERE share = \"tba\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (partner VARCHAR, date VARCHAR, opponents_in_the_final VARCHAR)"
},
{
"from": "human",
"value": "Name the Partner which is in 1979, and Opponents in the final of heinz günthardt bob hewitt?"
},
{
"from": "gpt",
"value": "SELECT... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (surface VARCHAR, opponents_in_the_final VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "which Surface has Opponents in the final of mark edmondson sherwood stewart, and a Tournament of dallas , u.s.?"
},
{
"from": "g... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (date INTEGER, tournament VARCHAR)"
},
{
"from": "human",
"value": "Name the date of Tournament of paris indoor , france?"
},
{
"from": "gpt",
"value": "SELECT SUM(date) FROM table_name_23 WHERE tournament = \"paris indoor , fr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (outcome VARCHAR, surface VARCHAR, score_in_the_final VARCHAR)"
},
{
"from": "human",
"value": "Name the Outcome has a Surface of hard, and a Score in the final of 6–2, 6–4?"
},
{
"from": "gpt",
"value": "SELECT outcome FROM ta... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (surface VARCHAR, score_in_the_final VARCHAR, opponents_in_the_final VARCHAR)"
},
{
"from": "human",
"value": "Name the Surface which has a Score in the final of 6–3, 6–2 and Opponents in the final of mansour bahrami diego pérez?"
},
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (res VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "Which Res has a Time of 11:58?"
},
{
"from": "gpt",
"value": "SELECT res FROM table_name_27 WHERE time = \"11:58\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (time VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What was jerry bohlander's time?"
},
{
"from": "gpt",
"value": "SELECT time FROM table_name_33 WHERE opponent = \"jerry bohlander\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (total VARCHAR, name VARCHAR, serie_a VARCHAR, coppa_italia VARCHAR, champions_league VARCHAR)"
},
{
"from": "human",
"value": "What was the total of Mauro Camoranesi when coppa italia was 0, champions league was 1 and less than 2 serie A?... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (serie_a INTEGER, coppa_italia VARCHAR)"
},
{
"from": "human",
"value": "What's the Serie A when the coppa italia was 5?"
},
{
"from": "gpt",
"value": "SELECT AVG(serie_a) FROM table_name_79 WHERE coppa_italia = 5"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (total INTEGER, coppa_italia VARCHAR, champions_league VARCHAR, serie_a VARCHAR)"
},
{
"from": "human",
"value": "What's the total when the champions league was 0, the coppa italia was less than 0, and the Serie A was more than 1?"
},
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (champions_league INTEGER, coppa_italia VARCHAR, serie_a VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "What is the championsleague when the total was greater than 1, the coppa italia was more than 2, and the Serie A was 1?"
},... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (combined VARCHAR, victories VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the Combined that has the Victories of 14?"
},
{
"from": "gpt",
"value": "SELECT combined FROM table_name_53 WHERE victories = 14"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (giant_slalom VARCHAR, victories VARCHAR, combined VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the Giant Slalom that has the Combined of 1, and the Country of united states, and the Victories larger than 11?"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (to_par VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What is Bob Charles' To par?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_84 WHERE player = \"bob charles\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (total INTEGER, to_par VARCHAR)"
},
{
"from": "human",
"value": "What is the Total for the Player with a To par of +11?"
},
{
"from": "gpt",
"value": "SELECT MAX(total) FROM table_name_17 WHERE to_par = \"+11\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (total INTEGER, to_par VARCHAR)"
},
{
"from": "human",
"value": "What is the Total of the Player with a To par of –13?"
},
{
"from": "gpt",
"value": "SELECT SUM(total) FROM table_name_24 WHERE to_par = \"–13\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (hometown VARCHAR, position VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is Guard Kerri Shields Hometown?"
},
{
"from": "gpt",
"value": "SELECT hometown FROM table_name_94 WHERE position = \"guard\" AND name = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (name VARCHAR, hometown VARCHAR)"
},
{
"from": "human",
"value": "What is the Name of the Player from Albuquerque, New Mexico?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_69 WHERE hometown = \"albuquerque, new me... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (home__2nd_leg_ VARCHAR)"
},
{
"from": "human",
"value": "What was the score of the 2nd leg when Newell's Old Boys played at home?"
},
{
"from": "gpt",
"value": "SELECT 2 AS nd_leg FROM table_name_19 WHERE home__2nd_leg_ = \"ne... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (home__2nd_leg_ VARCHAR, aggregate VARCHAR)"
},
{
"from": "human",
"value": "Which team played at home for the second leg and has aggregate score of 2-0?"
},
{
"from": "gpt",
"value": "SELECT home__2nd_leg_ FROM table_name_19 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (home__2nd_leg_ VARCHAR)"
},
{
"from": "human",
"value": "What was the score on the first leg when gimnasia de mendoza played at home for the second leg?"
},
{
"from": "gpt",
"value": "SELECT 1 AS st_leg FROM table_name_57 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (home__2nd_leg_ VARCHAR, aggregate VARCHAR)"
},
{
"from": "human",
"value": "Which team played at home for the second leg and has an aggregate score of 2-4?"
},
{
"from": "gpt",
"value": "SELECT home__2nd_leg_ FROM table_name_3... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (home__2nd_leg_ VARCHAR)"
},
{
"from": "human",
"value": "What was the 2nd leg score when atlético tucumán played at home?"
},
{
"from": "gpt",
"value": "SELECT 2 AS nd_leg FROM table_name_84 WHERE home__2nd_leg_ = \"atlético t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (record VARCHAR, round VARCHAR, res VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "What is the record of the match with a win res., a 5:00 time, and more than 3 rounds?"
},
{
"from": "gpt",
"value": "SELECT record FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (method VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What is the method of opponent georges st-pierre?"
},
{
"from": "gpt",
"value": "SELECT method FROM table_name_22 WHERE opponent = \"georges st-pierre\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (location VARCHAR, round VARCHAR, event VARCHAR)"
},
{
"from": "human",
"value": "What is the location of fightfest 2, which has 3 rounds?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_46 WHERE round = 3 AND ev... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (opponent VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "Who is the opponent with a time of 1:19?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_21 WHERE time = \"1:19\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (opponent VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Who is the opponent with a 0-1 record?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_81 WHERE record = \"0-1\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (rank_by_average VARCHAR, total_points VARCHAR, average VARCHAR)"
},
{
"from": "human",
"value": "What is the total rank with more than 392 total points and an 24.8 average?"
},
{
"from": "gpt",
"value": "SELECT COUNT(rank_by_a... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (average INTEGER, rank_by_average VARCHAR, place VARCHAR, total_points VARCHAR)"
},
{
"from": "human",
"value": "What is the highest average with less than 3 places, less than 433 total points, and a rank less than 2?"
},
{
"from":... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (average VARCHAR, total_points VARCHAR, rank_by_average VARCHAR)"
},
{
"from": "human",
"value": "What is the total average with 54 total points and a rank less than 10?"
},
{
"from": "gpt",
"value": "SELECT COUNT(average) FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (rank_by_average VARCHAR, number_of_dances VARCHAR, total_points VARCHAR)"
},
{
"from": "human",
"value": "What is the total rank by average for 2 dances, which have more than 37 total points?"
},
{
"from": "gpt",
"value": "SEL... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (championship VARCHAR, opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)"
},
{
"from": "human",
"value": "What Championship has an Opponent in the final of aaron krickstein, and a Score in the final of 7–5, 6–2?"
},
{
"fro... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR, championship VARCHAR)"
},
{
"from": "human",
"value": "What Score in the final has a Surface of hard, a Championship of washington, d.c. , u.s., and an Opponent i... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (number_of_seasons_in_liga_mx INTEGER, club VARCHAR)"
},
{
"from": "human",
"value": "What is the highest Number of seasons in Liga MX for Club cruz azul?"
},
{
"from": "gpt",
"value": "SELECT MAX(number_of_seasons_in_liga_mx) ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (number_of_seasons_in_liga_mx INTEGER, club VARCHAR, number_of_seasons_in_top_division VARCHAR)"
},
{
"from": "human",
"value": "What is the highest Number of seasons in Liga MX for Club cruz azul, when their season in the top division is ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (top_division_titles VARCHAR, number_of_seasons_in_liga_mx VARCHAR, number_of_seasons_in_top_division VARCHAR, first_season_of_current_spell_in_top_division VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of Top division... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (top_division_titles INTEGER, number_of_seasons_in_liga_mx VARCHAR, club VARCHAR)"
},
{
"from": "human",
"value": "How many top division titles does Club Guadalajara have, with more than 42 seasons in Liga MX?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (club VARCHAR, number_of_seasons_in_liga_mx VARCHAR, number_of_seasons_in_top_division VARCHAR)"
},
{
"from": "human",
"value": "Which club has fewer than 40 seasons in Liga MX and 65 seasons in the top division?"
},
{
"from": "gpt... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (number INTEGER, location VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "What number is in Bois de Warville with a time less than 810?"
},
{
"from": "gpt",
"value": "SELECT SUM(number) FROM table_name_4 WHERE location =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (time INTEGER, number VARCHAR)"
},
{
"from": "human",
"value": "What is number 21's highest time?"
},
{
"from": "gpt",
"value": "SELECT MAX(time) FROM table_name_24 WHERE number = 21"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (number INTEGER, opponent VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "What number with the opponent Fokker D.vii have with a time of 1655?"
},
{
"from": "gpt",
"value": "SELECT SUM(number) FROM table_name_89 WHERE o... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (opponent VARCHAR, location VARCHAR, number VARCHAR, time VARCHAR, aircraft VARCHAR)"
},
{
"from": "human",
"value": "Who is the opponent with a time higher than 1040, a Spad xiii aircraft in Dun-Sur-Meuse with a lower number than 22?"
},... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (number INTEGER, opponent VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "What number has the opponent Fokker d.vii with a time of 600?"
},
{
"from": "gpt",
"value": "SELECT SUM(number) FROM table_name_66 WHERE opponent... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (name VARCHAR, floors VARCHAR, years_as_tallest VARCHAR)"
},
{
"from": "human",
"value": "What is the Name of the Building with 36 or more Floors with Years as tallest of 1986–1992?"
},
{
"from": "gpt",
"value": "SELECT name FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (years_as_tallest VARCHAR, height_ft__m_ VARCHAR)"
},
{
"from": "human",
"value": "What is the Years as tallest of the Building with a Height ft (m) of 145 (44)?"
},
{
"from": "gpt",
"value": "SELECT years_as_tallest FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (street_address VARCHAR, floors VARCHAR)"
},
{
"from": "human",
"value": "What is the Street Address of the Building with 17 Floors?"
},
{
"from": "gpt",
"value": "SELECT street_address FROM table_name_70 WHERE floors = 17"
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (name VARCHAR, street_address VARCHAR)"
},
{
"from": "human",
"value": "What is the Name of the Building at 100 North Tampa Street?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_28 WHERE street_address = \"100 nort... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (away VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "What away is there for the q3 round?"
},
{
"from": "gpt",
"value": "SELECT away FROM table_name_68 WHERE round = \"q3\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (aggregate VARCHAR, opponents VARCHAR)"
},
{
"from": "human",
"value": "What is the Aggregate of Bayer Leverkusen opponents?"
},
{
"from": "gpt",
"value": "SELECT aggregate FROM table_name_56 WHERE opponents = \"bayer leverkuse... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (competition VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "What is the competition that was at serravalle, san marino?"
},
{
"from": "gpt",
"value": "SELECT competition FROM table_name_80 WHERE venue = \"serravalle, ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (venue VARCHAR, date VARCHAR, result VARCHAR, competition VARCHAR)"
},
{
"from": "human",
"value": "Where was the friendly competition that Andriy Yarmolenko won on 28 may 2012?"
},
{
"from": "gpt",
"value": "SELECT venue FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (result VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "What is the result of the game at kyiv, ukraine?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_2 WHERE venue = \"kyiv, ukraine\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (style VARCHAR, choreographer VARCHAR)"
},
{
"from": "human",
"value": "What is the Style of the dance by Choreographer Luda and Oliver?"
},
{
"from": "gpt",
"value": "SELECT style FROM table_name_59 WHERE choreographer = \"lud... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (results VARCHAR, choreographer VARCHAR)"
},
{
"from": "human",
"value": "What is the Result of the dance Choreographed by Kelly Aykers?"
},
{
"from": "gpt",
"value": "SELECT results FROM table_name_44 WHERE choreographer = \"k... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (style VARCHAR, results VARCHAR, choreographer VARCHAR)"
},
{
"from": "human",
"value": "What is the Style of the dance Choreographed by Nacho Pop with result of safe?"
},
{
"from": "gpt",
"value": "SELECT style FROM table_name... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (rank INTEGER, bronze VARCHAR, total VARCHAR, gold VARCHAR)"
},
{
"from": "human",
"value": "What is the rank with a higher than 2 total, 21 gold and more than 12 bronze?"
},
{
"from": "gpt",
"value": "SELECT AVG(rank) FROM tab... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (gold INTEGER, silver VARCHAR, nation VARCHAR)"
},
{
"from": "human",
"value": "How many golds does Germany have with more than 1 silver?"
},
{
"from": "gpt",
"value": "SELECT SUM(gold) FROM table_name_74 WHERE silver > 1 AND n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (round VARCHAR, pick VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of rounds of the player with a pick of 20?"
},
{
"from": "gpt",
"value": "SELECT COUNT(round) FROM table_name_87 WHERE pick = 20"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (player VARCHAR, draft VARCHAR, pick VARCHAR)"
},
{
"from": "human",
"value": "Who is the player from the 1971 draft with a pick greater than 7?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_15 WHERE draft = 1971... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (premier VARCHAR, second VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of Premier, when Second is \"55\"?"
},
{
"from": "gpt",
"value": "SELECT COUNT(premier) FROM table_name_67 WHERE second = 55"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (second VARCHAR, premier VARCHAR, first VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of Second, when First is greater than 18, when Season is 1992-93, and when Premier is greater than 16?"
},
{
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (total INTEGER, second VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest Total, when Second is \"55\"?"
},
{
"from": "gpt",
"value": "SELECT MIN(total) FROM table_name_2 WHERE second = 55"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (total INTEGER, season VARCHAR, second VARCHAR)"
},
{
"from": "human",
"value": "What is the highest Total, when Season is \"1996-97\", and when Second is less than 33?"
},
{
"from": "gpt",
"value": "SELECT MAX(total) FROM tabl... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (second INTEGER, first VARCHAR, total VARCHAR, premier VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of Second, when Total is less than 70, when Premier is less than 20, and when First is greater than 18?"
},
{
"from": "... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (season VARCHAR, goals VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "In what season were there 27 goals and 58 points?"
},
{
"from": "gpt",
"value": "SELECT season FROM table_name_54 WHERE goals = \"27\" AND points ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (points VARCHAR, goals VARCHAR, games VARCHAR)"
},
{
"from": "human",
"value": "What are the points in the season with 47 games and 28 goals?"
},
{
"from": "gpt",
"value": "SELECT points FROM table_name_38 WHERE goals = \"28\" ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (goals VARCHAR, games VARCHAR)"
},
{
"from": "human",
"value": "How many goals were there in game 47?"
},
{
"from": "gpt",
"value": "SELECT goals FROM table_name_29 WHERE games = \"47\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (snatch INTEGER, total__kg_ INTEGER)"
},
{
"from": "human",
"value": "How much Snatch has a Total (kg) smaller than 257?"
},
{
"from": "gpt",
"value": "SELECT SUM(snatch) FROM table_name_79 WHERE total__kg_ < 257"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (snatch INTEGER, bodyweight VARCHAR, clean_ VARCHAR, _jerk VARCHAR)"
},
{
"from": "human",
"value": "Which Snatch has a Clean & Jerk of 180, and a Bodyweight smaller than 69.83?"
},
{
"from": "gpt",
"value": "SELECT MIN(snatch)... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (military_deaths VARCHAR, military_and_or_civilian_wounded VARCHAR, total_deaths VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of military deaths when there are 78 military and/or civilian wounded and more than 27 tota... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (military_deaths INTEGER, civilian_deaths__including_foreigners_ VARCHAR, military_and_or_civilian_wounded VARCHAR)"
},
{
"from": "human",
"value": "What is the average number of military deaths when there are fewer than 38 civilian deaths... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (total_casualties VARCHAR, total_deaths VARCHAR, military_deaths VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of casualties when there are 12 total deaths and more than 1 military death?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (total VARCHAR, score_points VARCHAR)"
},
{
"from": "human",
"value": "which Total has a Score points of 11?"
},
{
"from": "gpt",
"value": "SELECT total FROM table_name_13 WHERE score_points = \"11\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (total VARCHAR, rank_points VARCHAR)"
},
{
"from": "human",
"value": "Which Total has an olympic bronze medalist?"
},
{
"from": "gpt",
"value": "SELECT total FROM table_name_27 WHERE rank_points = \"olympic bronze medalist\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (shooter VARCHAR, score_points VARCHAR)"
},
{
"from": "human",
"value": "Which Shooter has Score points of olympic silver medalist?"
},
{
"from": "gpt",
"value": "SELECT shooter FROM table_name_40 WHERE score_points = \"olympic... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (rank_points VARCHAR, total VARCHAR, event VARCHAR, score_points VARCHAR)"
},
{
"from": "human",
"value": "Name the Rank points which have an Event of wc beijing, and Score points of 13, and a Total of 18?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)"
},
{
"from": "human",
"value": "What is the Film title used in nomination of Cilvēka Bērns?"
},
{
"from": "gpt",
"value": "SELECT film_title_used_in_nomination FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (original_title VARCHAR, year__ceremony_ VARCHAR)"
},
{
"from": "human",
"value": "What is the Original Title of the 1992 (65th) Film"
},
{
"from": "gpt",
"value": "SELECT original_title FROM table_name_61 WHERE year__ceremony_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (director VARCHAR, film_title_used_in_nomination VARCHAR)"
},
{
"from": "human",
"value": "What is the Director of Gulf Stream Under the Iceberg?"
},
{
"from": "gpt",
"value": "SELECT director FROM table_name_55 WHERE film_titl... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (original_title VARCHAR, director VARCHAR)"
},
{
"from": "human",
"value": "What is the Original Title of the movie directed by Aigars Grauba?"
},
{
"from": "gpt",
"value": "SELECT original_title FROM table_name_36 WHERE direct... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (british VARCHAR, letter VARCHAR)"
},
{
"from": "human",
"value": "What is the British letter with o /oʊ/?"
},
{
"from": "gpt",
"value": "SELECT british FROM table_name_55 WHERE letter = \"o /oʊ/\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (letter VARCHAR, british VARCHAR)"
},
{
"from": "human",
"value": "Which letter has the British aɪ?"
},
{
"from": "gpt",
"value": "SELECT letter FROM table_name_40 WHERE british = \"aɪ\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (american VARCHAR, australian VARCHAR)"
},
{
"from": "human",
"value": "What does American have if Australia has əʉ?"
},
{
"from": "gpt",
"value": "SELECT american FROM table_name_65 WHERE australian = \"əʉ\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (british VARCHAR, american VARCHAR)"
},
{
"from": "human",
"value": "What is the British letter if American is ə?"
},
{
"from": "gpt",
"value": "SELECT british FROM table_name_10 WHERE american = \"ə\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (australian VARCHAR, british VARCHAR, letter VARCHAR)"
},
{
"from": "human",
"value": "What is the Australian letter with a British of ɪ and a letter of æ /i/??"
},
{
"from": "gpt",
"value": "SELECT australian FROM table_name_6... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (away_team VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "What is sheffield united's away team?"
},
{
"from": "gpt",
"value": "SELECT away_team FROM table_name_74 WHERE home_team = \"sheffield united\""
}
] | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.