conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_27539808_5 (points INTEGER, game VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest number of points for game 32?"
},
{
"from": "gpt",
"value": "SELECT MIN(points) FROM table_27539808_5 WHERE game = 32"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27539808_5 (location_attendance VARCHAR, december VARCHAR)"
},
{
"from": "human",
"value": "What is the location and attendance total from the game on December 1?"
},
{
"from": "gpt",
"value": "SELECT location_attendance FROM table_275... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27547668_3 (directed_by VARCHAR, viewers VARCHAR)"
},
{
"from": "human",
"value": "Who directed the episode with 899000 viewers?"
},
{
"from": "gpt",
"value": "SELECT directed_by FROM table_27547668_3 WHERE viewers = 899000"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27547668_3 (_number INTEGER)"
},
{
"from": "human",
"value": "What is the smallest numbered episode in the series listed?"
},
{
"from": "gpt",
"value": "SELECT MIN(_number) FROM table_27547668_3"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27547668_3 (viewers VARCHAR, _number VARCHAR)"
},
{
"from": "human",
"value": "How many people watched episode number 13?"
},
{
"from": "gpt",
"value": "SELECT viewers FROM table_27547668_3 WHERE _number = 13"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27547668_3 (no VARCHAR, written_by VARCHAR, directed_by VARCHAR)"
},
{
"from": "human",
"value": "What episode number in the season was written by Greg nelson and directed by Keith samples?"
},
{
"from": "gpt",
"value": "SELECT no FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27547668_2 (title VARCHAR, prod_code VARCHAR)"
},
{
"from": "human",
"value": "What is the title of the episode with production code 102?"
},
{
"from": "gpt",
"value": "SELECT title FROM table_27547668_2 WHERE prod_code = 102"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27547668_2 (original_airdate VARCHAR, _number VARCHAR)"
},
{
"from": "human",
"value": "What is the original air date of # 6?"
},
{
"from": "gpt",
"value": "SELECT original_airdate FROM table_27547668_2 WHERE _number = 6"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27547668_2 (original_airdate VARCHAR, viewers VARCHAR)"
},
{
"from": "human",
"value": "What is the original air date of the episode with 908000 viewers?"
},
{
"from": "gpt",
"value": "SELECT original_airdate FROM table_27547668_2 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27553627_2 (season VARCHAR, viewers__in_millions_ VARCHAR)"
},
{
"from": "human",
"value": "How many season premieres had 15.27 million viewers?"
},
{
"from": "gpt",
"value": "SELECT COUNT(season) AS premiere FROM table_27553627_2 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27553627_2 (season VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "When was the season finale that ranked 20th?"
},
{
"from": "gpt",
"value": "SELECT season AS finale FROM table_27553627_2 WHERE rank = \"20th\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27553627_2 (tv_season VARCHAR, viewers__in_millions_ VARCHAR)"
},
{
"from": "human",
"value": "What tv season year had 14.54 million viewers?"
},
{
"from": "gpt",
"value": "SELECT tv_season FROM table_27553627_2 WHERE viewers__in_milli... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27553627_2 (episodes INTEGER, viewers__in_millions_ VARCHAR)"
},
{
"from": "human",
"value": "What episode number had 14.41 million viewers?"
},
{
"from": "gpt",
"value": "SELECT MAX(episodes) FROM table_27553627_2 WHERE viewers__in_mi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27561505_2 (rnd INTEGER, circuit VARCHAR)"
},
{
"from": "human",
"value": "What is the minimum rnd at Laguna Seca?"
},
{
"from": "gpt",
"value": "SELECT MIN(rnd) FROM table_27561505_2 WHERE circuit = \"Laguna Seca\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27561503_2 (gt_20_winning_team VARCHAR, sports_20_winning_team VARCHAR, circuit VARCHAR)"
},
{
"from": "human",
"value": "Name the gt 2.0 winning team for sports 2.0 winning team for #16 trans ocean motors for castle rock"
},
{
"from": "gp... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27561503_2 (results VARCHAR, sports_20_winning_team VARCHAR)"
},
{
"from": "human",
"value": "Name the results for #23 lotus"
},
{
"from": "gpt",
"value": "SELECT COUNT(results) FROM table_27561503_2 WHERE sports_20_winning_team = \"#2... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27561503_2 (results VARCHAR, gt_20_winning_team VARCHAR)"
},
{
"from": "human",
"value": "Name results for herb wetanson"
},
{
"from": "gpt",
"value": "SELECT results FROM table_27561503_2 WHERE gt_20_winning_team = \"Herb Wetanson\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27592654_2 (province VARCHAR, electorate VARCHAR)"
},
{
"from": "human",
"value": "What was the province if the electorate was Collingwood?"
},
{
"from": "gpt",
"value": "SELECT province FROM table_27592654_2 WHERE electorate = \"Colli... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27592654_2 (province VARCHAR, election_date VARCHAR)"
},
{
"from": "human",
"value": "What was the province with an election date of 5 cannot handle non-empty timestamp argument! 1861?"
},
{
"from": "gpt",
"value": "SELECT province FRO... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27582888_1 (races VARCHAR, final_placing VARCHAR)"
},
{
"from": "human",
"value": "Name the races for final placing being 5th"
},
{
"from": "gpt",
"value": "SELECT races FROM table_27582888_1 WHERE final_placing = \"5th\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27582888_1 (poles INTEGER, podiums VARCHAR)"
},
{
"from": "human",
"value": "Name the post poles for 4 podiums"
},
{
"from": "gpt",
"value": "SELECT MAX(poles) FROM table_27582888_1 WHERE podiums = 4"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27614571_1 (song_choice VARCHAR, theme VARCHAR)"
},
{
"from": "human",
"value": "What was Barreto's song choice when the theme was samba?"
},
{
"from": "gpt",
"value": "SELECT song_choice FROM table_27614571_1 WHERE theme = \"Samba\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27614571_1 (song_choice VARCHAR, original_artist VARCHAR)"
},
{
"from": "human",
"value": "What was Barreto's song choice where the original artist was Patricia Marx?"
},
{
"from": "gpt",
"value": "SELECT song_choice FROM table_2761457... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27614571_1 (week__number VARCHAR, original_artist VARCHAR)"
},
{
"from": "human",
"value": "In which week # was the original artist of Barreto's song choice was Leila Pinheiro?"
},
{
"from": "gpt",
"value": "SELECT week__number FROM ta... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27611593_5 (year INTEGER)"
},
{
"from": "human",
"value": "When did the earliest tournament happened?"
},
{
"from": "gpt",
"value": "SELECT MIN(year) FROM table_27611593_5"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27611593_5 (partner VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Who was Petrova's partner where she scored 6β2, 3β6, 6β7 (7-9)?"
},
{
"from": "gpt",
"value": "SELECT partner FROM table_27611593_5 WHERE score = \"6β2, 3β6, ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27611593_5 (opponents VARCHAR, partner VARCHAR)"
},
{
"from": "human",
"value": "Who were Petrova's opponents with Vania King?"
},
{
"from": "gpt",
"value": "SELECT opponents FROM table_27611593_5 WHERE partner = \"Vania King\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27610775_1 (written_by VARCHAR, prod_code VARCHAR)"
},
{
"from": "human",
"value": "Who wrote the episode with the production code 211?"
},
{
"from": "gpt",
"value": "SELECT written_by FROM table_27610775_1 WHERE prod_code = 211"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27610775_1 (prod_code INTEGER, directed_by VARCHAR)"
},
{
"from": "human",
"value": "What is the maximum production code of the episode directed by Sean McNamara?"
},
{
"from": "gpt",
"value": "SELECT MAX(prod_code) FROM table_27610775... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27615445_1 (audition_city VARCHAR, episode_air_date VARCHAR)"
},
{
"from": "human",
"value": "How many audition city's are there with an episode air date of June 24, 2010?"
},
{
"from": "gpt",
"value": "SELECT COUNT(audition_city) FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27615445_1 (episode_air_date VARCHAR, audition_venue VARCHAR)"
},
{
"from": "human",
"value": "List all episode air dates that auditioned at Nego Quirido Sambadrome?"
},
{
"from": "gpt",
"value": "SELECT episode_air_date FROM table_276... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27615445_1 (episode_air_date VARCHAR, guest_fourth_judge VARCHAR)"
},
{
"from": "human",
"value": "List all episode air dates where Luiza Possi was the guest fourth judge?"
},
{
"from": "gpt",
"value": "SELECT episode_air_date FROM tab... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27615445_1 (episode_air_date VARCHAR, audition_city VARCHAR)"
},
{
"from": "human",
"value": "How many episode air dates are there for auditioning city Rio De Janeiro?"
},
{
"from": "gpt",
"value": "SELECT COUNT(episode_air_date) FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27615445_1 (audition_venue VARCHAR, guest_fourth_judge VARCHAR)"
},
{
"from": "human",
"value": "Where was the audition venue where Peninha was the guest fourth judge?"
},
{
"from": "gpt",
"value": "SELECT audition_venue FROM table_276... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27616663_1 (song_choice VARCHAR, original_artist VARCHAR)"
},
{
"from": "human",
"value": "Which song was picked that was originally performed by Marisa Monte?"
},
{
"from": "gpt",
"value": "SELECT song_choice FROM table_27616663_1 WHE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27616663_1 (result VARCHAR, original_artist VARCHAR)"
},
{
"from": "human",
"value": "What was the result of the performance of the song by Caetano Veloso?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_27616663_1 WHERE origin... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27616663_1 (order__number VARCHAR, theme VARCHAR)"
},
{
"from": "human",
"value": "What was the order # of the theme Male Singers?"
},
{
"from": "gpt",
"value": "SELECT order__number FROM table_27616663_1 WHERE theme = \"Male Singers\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27616663_1 (theme VARCHAR, original_artist VARCHAR)"
},
{
"from": "human",
"value": "What was the theme when original artist Rosana's song was performed?"
},
{
"from": "gpt",
"value": "SELECT theme FROM table_27616663_1 WHERE original_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27614707_1 (week__number VARCHAR, theme VARCHAR, order__number VARCHAR)"
},
{
"from": "human",
"value": "How many different weeks are there in order number 4 that were judge's choice?"
},
{
"from": "gpt",
"value": "SELECT COUNT(week__n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27614707_1 (song_choice VARCHAR, week__number VARCHAR, original_artist VARCHAR)"
},
{
"from": "human",
"value": "What Marisa Monte song choice was song during top 5?"
},
{
"from": "gpt",
"value": "SELECT song_choice FROM table_27614707... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27614707_1 (original_artist VARCHAR, theme VARCHAR)"
},
{
"from": "human",
"value": "Who was the original artist of the Top 12 Men theme?"
},
{
"from": "gpt",
"value": "SELECT original_artist FROM table_27614707_1 WHERE theme = \"Top 1... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27614707_1 (result VARCHAR, theme VARCHAR)"
},
{
"from": "human",
"value": "What was the result of the Top 12 Men theme?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_27614707_1 WHERE theme = \"Top 12 Men\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27614707_1 (week__number VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "What week number was the result bottom 3?"
},
{
"from": "gpt",
"value": "SELECT week__number FROM table_27614707_1 WHERE result = \"Bottom 3\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2761641_1 (points_per_game VARCHAR, assists_per_game VARCHAR)"
},
{
"from": "human",
"value": "How many points per game did he have when he had 1.5 assists per game?"
},
{
"from": "gpt",
"value": "SELECT points_per_game FROM table_2761... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2761641_1 (rebounds_per_game VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "How many rebounds per game did he have at the 2006 fiba world championship?"
},
{
"from": "gpt",
"value": "SELECT rebounds_per_game FROM table_2... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2761641_1 (rebounds_per_game VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "How many rebounds per game did he have at the 2003 eurobasket?"
},
{
"from": "gpt",
"value": "SELECT rebounds_per_game FROM table_2761641_1 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2761641_1 (assists_per_game VARCHAR, points_per_game VARCHAR)"
},
{
"from": "human",
"value": "How many assists per game did he have when he had 6.8 points per game?"
},
{
"from": "gpt",
"value": "SELECT assists_per_game FROM table_276... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27622417_1 (prod_code VARCHAR, no_in_series VARCHAR)"
},
{
"from": "human",
"value": "which is the production code when the number of the episode in series is 87? "
},
{
"from": "gpt",
"value": "SELECT prod_code FROM table_27622417_1 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27622417_1 (no_in_series VARCHAR, prod_code VARCHAR)"
},
{
"from": "human",
"value": "what is the number of the episode in the series whose production code is 405?"
},
{
"from": "gpt",
"value": "SELECT no_in_series FROM table_27622417_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27622417_1 (original_us_air_date VARCHAR, prod_code VARCHAR)"
},
{
"from": "human",
"value": "when was the premiere of the episode whose production code is 415? "
},
{
"from": "gpt",
"value": "SELECT original_us_air_date FROM table_276... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27622417_1 (written_by VARCHAR, prod_code VARCHAR)"
},
{
"from": "human",
"value": "who were the writers in the episode whose production code was 411? "
},
{
"from": "gpt",
"value": "SELECT written_by FROM table_27622417_1 WHERE prod_c... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27622417_1 (directed_by VARCHAR, no_in_season VARCHAR)"
},
{
"from": "human",
"value": "who were the director of the episode whose number in the season is 17? "
},
{
"from": "gpt",
"value": "SELECT directed_by FROM table_27622417_1 WHE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2764267_2 (currency VARCHAR, negotiable_debt_at_mid_2005___us_dollar_bn_equivalent_ VARCHAR)"
},
{
"from": "human",
"value": "Name the currency for negotiable debt being 1300"
},
{
"from": "gpt",
"value": "SELECT currency FROM table_27... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2764267_2 (country VARCHAR, currency VARCHAR)"
},
{
"from": "human",
"value": "Name the country that has the yen"
},
{
"from": "gpt",
"value": "SELECT country FROM table_2764267_2 WHERE currency = \"Yen\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2764267_2 (country VARCHAR, currency VARCHAR)"
},
{
"from": "human",
"value": "Name the number of countries that have the us dollar"
},
{
"from": "gpt",
"value": "SELECT COUNT(country) FROM table_2764267_2 WHERE currency = \"US dollar\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_2764267_2 (country VARCHAR, currency VARCHAR)"
},
{
"from": "human",
"value": "Name the country for the us dollar"
},
{
"from": "gpt",
"value": "SELECT country FROM table_2764267_2 WHERE currency = \"US dollar\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27631756_2 (team VARCHAR, head_coach VARCHAR)"
},
{
"from": "human",
"value": "How many teams have a head coach named mahdi ali?"
},
{
"from": "gpt",
"value": "SELECT COUNT(team) FROM table_27631756_2 WHERE head_coach = \"Mahdi Ali\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27631756_2 (captain VARCHAR, kitmaker VARCHAR)"
},
{
"from": "human",
"value": "How many captains have the kitmaker as n/a?"
},
{
"from": "gpt",
"value": "SELECT COUNT(captain) FROM table_27631756_2 WHERE kitmaker = \"N/A\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27631756_2 (kitmaker VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "How many kitmaker correspond to team ittihad kalba?"
},
{
"from": "gpt",
"value": "SELECT COUNT(kitmaker) FROM table_27631756_2 WHERE team = \"Ittihad Kalba\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27631756_2 (captain VARCHAR, shirt_sponsor VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the captain when teh shirt sponsor is n/a?"
},
{
"from": "gpt",
"value": "SELECT captain FROM table_27631756_2 WHERE shirt_sponsor... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27631756_2 (captain VARCHAR, shirt_sponsor VARCHAR)"
},
{
"from": "human",
"value": "How many captains when the shirt sponsor is toshiba?"
},
{
"from": "gpt",
"value": "SELECT COUNT(captain) FROM table_27631756_2 WHERE shirt_sponsor = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27631756_2 (chairman VARCHAR, captain VARCHAR)"
},
{
"from": "human",
"value": "Who is the chairman when teh captain is fawzi bashir?"
},
{
"from": "gpt",
"value": "SELECT chairman FROM table_27631756_2 WHERE captain = \"Fawzi Bashir\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27631002_1 (season VARCHAR, f_laps VARCHAR, races VARCHAR)"
},
{
"from": "human",
"value": "Which season had f/laps is 0 and races is 2?"
},
{
"from": "gpt",
"value": "SELECT season FROM table_27631002_1 WHERE f_laps = 0 AND races = 2"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27631002_1 (points VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "How many entries are there for points for the 6th position?"
},
{
"from": "gpt",
"value": "SELECT COUNT(points) FROM table_27631002_1 WHERE position = \"6th... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27631002_1 (season VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "How many season are shown for the 2nd position?"
},
{
"from": "gpt",
"value": "SELECT COUNT(season) FROM table_27631002_1 WHERE position = \"2nd\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27631002_1 (wins VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "What are the wins for the 7th position?"
},
{
"from": "gpt",
"value": "SELECT wins FROM table_27631002_1 WHERE position = \"7th\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27631002_1 (position VARCHAR, series VARCHAR)"
},
{
"from": "human",
"value": "What is the position for the austria formel 3 cup series?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_27631002_1 WHERE series = \"Austria Form... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27653752_1 (ppi__pixels_per_inch__ VARCHAR, ppcm__pixels_per_cm__ VARCHAR)"
},
{
"from": "human",
"value": "How many different PPI does the model with ppcm of 87 have?"
},
{
"from": "gpt",
"value": "SELECT COUNT(ppi__pixels_per_inch__)... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27653752_1 (resolution VARCHAR, pixels_per_degree__ppd_ VARCHAR)"
},
{
"from": "human",
"value": "What's the resolution of the model with a PPD of 69?"
},
{
"from": "gpt",
"value": "SELECT resolution FROM table_27653752_1 WHERE pixels_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27653955_1 (ihsa_music_class VARCHAR, mascot VARCHAR)"
},
{
"from": "human",
"value": "What is the IHSA music class for the mascot that is the lancers?"
},
{
"from": "gpt",
"value": "SELECT ihsa_music_class FROM table_27653955_1 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27653955_1 (ihsa_cheerleading_class VARCHAR, enrollment VARCHAR)"
},
{
"from": "human",
"value": "What is the IHSA cheerleading class for the enrollment of 2600?"
},
{
"from": "gpt",
"value": "SELECT ihsa_cheerleading_class FROM table_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27653955_1 (colors VARCHAR, enrollment VARCHAR)"
},
{
"from": "human",
"value": "What are the colors for the enrollment of 2020?"
},
{
"from": "gpt",
"value": "SELECT colors FROM table_27653955_1 WHERE enrollment = 2020"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27671835_3 (old_membership_total INTEGER)"
},
{
"from": "human",
"value": "What is the smallest number for old membership total?"
},
{
"from": "gpt",
"value": "SELECT MIN(old_membership_total) FROM table_27671835_3"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27671835_3 (members_lost INTEGER, net_change VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest number of members lost when the net change is β1?"
},
{
"from": "gpt",
"value": "SELECT MIN(members_lost) FROM table_27671835_3 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27671835_3 (new_membership_total INTEGER, members_lost INTEGER)"
},
{
"from": "human",
"value": "What is the new membership total if the members lost is bigger than 1.0?"
},
{
"from": "gpt",
"value": "SELECT MAX(new_membership_total) F... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27671835_3 (members_added VARCHAR, conference VARCHAR)"
},
{
"from": "human",
"value": "How many members were added at the nchc (men only) conference?"
},
{
"from": "gpt",
"value": "SELECT members_added FROM table_27671835_3 WHERE conf... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27671835_3 (new_membership_total VARCHAR, conference VARCHAR)"
},
{
"from": "human",
"value": "What was the new membership total at the nchc (men only) conference?"
},
{
"from": "gpt",
"value": "SELECT new_membership_total FROM table_2... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27683516_3 (outgoing_manager VARCHAR, incoming_manager VARCHAR)"
},
{
"from": "human",
"value": "What is the outgoing manager when the incoming manager is Ε‘tefan tarkoviΔ?"
},
{
"from": "gpt",
"value": "SELECT outgoing_manager FROM tab... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27683516_3 (team VARCHAR, date_of_vacancy VARCHAR)"
},
{
"from": "human",
"value": "How many dates of vacancy were on 30 october 2010?"
},
{
"from": "gpt",
"value": "SELECT COUNT(team) FROM table_27683516_3 WHERE date_of_vacancy = \"30... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27683516_3 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR)"
},
{
"from": "human",
"value": "What is the manner of departure when the date of vacancy is 28 september 2010?"
},
{
"from": "gpt",
"value": "SELECT manner_of_departure... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27683516_3 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR)"
},
{
"from": "human",
"value": "What is the date of appointment when the date of vacancy is 24 november 2010?"
},
{
"from": "gpt",
"value": "SELECT date_of_appointment ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27683516_3 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR)"
},
{
"from": "human",
"value": "What is the outgoing manager when the date of vacancy is 10 october 2010?"
},
{
"from": "gpt",
"value": "SELECT outgoing_manager FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27683516_3 (table VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What is the table when the team is slovan bratislava?"
},
{
"from": "gpt",
"value": "SELECT table FROM table_27683516_3 WHERE team = \"Slovan Bratislava\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27685921_1 (visitors__total_ VARCHAR, exhibitors__total_ VARCHAR)"
},
{
"from": "human",
"value": "how many people come to visit when the 1654 exhibitions"
},
{
"from": "gpt",
"value": "SELECT COUNT(visitors__total_) FROM table_2768592... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27685921_1 (year INTEGER, exhibitors__total_ VARCHAR)"
},
{
"from": "human",
"value": "what is the most time where exhibitions is 1701"
},
{
"from": "gpt",
"value": "SELECT MAX(year) FROM table_27685921_1 WHERE exhibitors__total_ = 170... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27700375_10 (high_points VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "who had high points on march 14?"
},
{
"from": "gpt",
"value": "SELECT high_points FROM table_27700375_10 WHERE date = \"March 14\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27700375_10 (high_rebounds VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "who had high rebounds at game 69?"
},
{
"from": "gpt",
"value": "SELECT high_rebounds FROM table_27700375_10 WHERE game = 69"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27698941_8 (team VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Who were the 76ers opponents on January 17?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_27698941_8 WHERE date = \"January 17\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27698941_8 (high_points VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "How many players held the high point records for game 34?"
},
{
"from": "gpt",
"value": "SELECT COUNT(high_points) FROM table_27698941_8 WHERE game = 34"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27698941_8 (record VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What the win - loss recored for January 7?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_27698941_8 WHERE date = \"January 7\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27698941_2 (high_points VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "How many people led in points during the game on October 5?"
},
{
"from": "gpt",
"value": "SELECT COUNT(high_points) FROM table_27698941_2 WHERE date = \"O... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27700375_11 (date VARCHAR, location_attendance VARCHAR)"
},
{
"from": "human",
"value": "Name the date for the palace of auburn hills 14,554"
},
{
"from": "gpt",
"value": "SELECT date FROM table_27700375_11 WHERE location_attendance = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27700375_11 (game INTEGER, score VARCHAR)"
},
{
"from": "human",
"value": "Name the least game for l 109β116 (ot)"
},
{
"from": "gpt",
"value": "SELECT MIN(game) FROM table_27700375_11 WHERE score = \"L 109β116 (OT)\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27700375_11 (high_rebounds VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "Name the high rebounds for charlotte"
},
{
"from": "gpt",
"value": "SELECT high_rebounds FROM table_27700375_11 WHERE team = \"Charlotte\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27700375_11 (high_rebounds VARCHAR, location_attendance VARCHAR)"
},
{
"from": "human",
"value": "Name the high rebounds for wells fargo center 16,695"
},
{
"from": "gpt",
"value": "SELECT high_rebounds FROM table_27700375_11 WHERE loc... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27700375_8 (high_rebounds VARCHAR, high_points VARCHAR)"
},
{
"from": "human",
"value": "Who got the high rebounds if Brook Lopez (15) earned the high points?"
},
{
"from": "gpt",
"value": "SELECT high_rebounds FROM table_27700375_8 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27700375_8 (high_assists VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "Who got high assists for team @ Indiana?"
},
{
"from": "gpt",
"value": "SELECT high_assists FROM table_27700375_8 WHERE team = \"@ Indiana\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27700375_8 (record VARCHAR, high_assists VARCHAR)"
},
{
"from": "human",
"value": "How many record data were written when Devin Harris (6) was High Assists?"
},
{
"from": "gpt",
"value": "SELECT COUNT(record) FROM table_27700375_8 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27700375_8 (game VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "How many games were held on January 5?"
},
{
"from": "gpt",
"value": "SELECT COUNT(game) FROM table_27700375_8 WHERE date = \"January 5\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_27700530_11 (high_assists VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "Who had highest assists at the game against Houston?"
},
{
"from": "gpt",
"value": "SELECT high_assists FROM table_27700530_11 WHERE team = \"Houston\""
... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.