text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27547668_2" (
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"viewers" real,
"original_airdate" text,
"prod_code" real
);
Question: What is the title of the episode with production code 102?
<|assistant|>
SELECT "title" FROM "table1_27547668_2" WHERE "prod_code"=102;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27547668_2" (
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"viewers" real,
"original_airdate" text,
"prod_code" real
);
Question: What is the original air date of # 6?
<|assistant|>
SELECT "original_airdate" FROM "table1_27547668_2" WHERE "num"=6;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27547668_2" (
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"viewers" real,
"original_airdate" text,
"prod_code" real
);
Question: What is the original air date of the episode with 908000 viewers?
<|assistant|>
SELECT "original_airdate" FROM "table1_27547668_2" WHERE "viewers"=908000;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27553627_2" (
"season" text,
"episodes" real,
"timeslot_est" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"rank" text,
"viewers_in_millions" text
);
Question: How many season premieres had 15.27 million viewers?
<|assistant|>
SELECT COUNT("season_premiere") FROM "table1_27553627_2" WHERE "viewers_in_millions"='15.27';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27553627_2" (
"season" text,
"episodes" real,
"timeslot_est" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"rank" text,
"viewers_in_millions" text
);
Question: When was the season finale that ranked 20th?
<|assistant|>
SELECT "season_finale" FROM "table1_27553627_2" WHERE "rank"='20th';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27553627_2" (
"season" text,
"episodes" real,
"timeslot_est" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"rank" text,
"viewers_in_millions" text
);
Question: What tv season year had 14.54 million viewers?
<|assistant|>
SELECT "tv_season" FROM "table1_27553627_2" WHERE "viewers_in_millions"='14.54';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27553627_2" (
"season" text,
"episodes" real,
"timeslot_est" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"rank" text,
"viewers_in_millions" text
);
Question: What season premiere date had a finale on may 22, 2007?
<|assistant|>
SELECT "season_premiere" FROM "table1_27553627_2" WHERE "season_finale"='May 22, 2007';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27553627_2" (
"season" text,
"episodes" real,
"timeslot_est" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"rank" text,
"viewers_in_millions" text
);
Question: What episode number had 14.41 million viewers?
<|assistant|>
SELECT MAX("episodes") FROM "table1_27553627_2" WHERE "viewers_in_millions"='14.41';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27561505_2" (
"rnd" real,
"circuit" text,
"sports_2_0_winning_team" text,
"sports_2_0_winning_team" text,
"gt_2_0_winning_team" text,
"gt_2_0_winning_team" text,
"results" text
);
Question: What is the minimum rnd at Laguna Seca?
<|assistant|>
SELECT MIN("rnd") FROM "table1_27561505_2" WHERE "circuit"='Laguna Seca';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27561503_2" (
"rnd" real,
"circuit" text,
"sports_2_0_winning_team" text,
"sports_2_0_winning_team" text,
"gt_2_0_winning_team" text,
"gt_2_0_winning_team" text,
"results" text
);
Question: Name the gt 2.0 winning team for sports 2.0 winning team for #16 trans ocean motors for castle rock
<|assistant|>
SELECT COUNT("gt_2_0_winning_team") FROM "table1_27561503_2" WHERE "sports_2_0_winning_team"='#16 Trans Ocean Motors' AND "circuit"='Castle Rock';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27561503_2" (
"rnd" real,
"circuit" text,
"sports_2_0_winning_team" text,
"sports_2_0_winning_team" text,
"gt_2_0_winning_team" text,
"gt_2_0_winning_team" text,
"results" text
);
Question: Name the rnd for hap sharp
<|assistant|>
SELECT MIN("rnd") FROM "table1_27561503_2" WHERE "sports_2_0_winning_team"='Hap Sharp';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27561503_2" (
"rnd" real,
"circuit" text,
"sports_2_0_winning_team" text,
"sports_2_0_winning_team" text,
"gt_2_0_winning_team" text,
"gt_2_0_winning_team" text,
"results" text
);
Question: Name the results for #23 lotus
<|assistant|>
SELECT COUNT("results") FROM "table1_27561503_2" WHERE "sports_2_0_winning_team"='#23 Lotus';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27561503_2" (
"rnd" real,
"circuit" text,
"sports_2_0_winning_team" text,
"sports_2_0_winning_team" text,
"gt_2_0_winning_team" text,
"gt_2_0_winning_team" text,
"results" text
);
Question: Name the sports 2.0 winning team for hap sharp and castle rock
<|assistant|>
SELECT "sports_2_0_winning_team" FROM "table1_27561503_2" WHERE "sports_2_0_winning_team"='Hap Sharp' AND "circuit"='Castle Rock';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27561503_2" (
"rnd" real,
"circuit" text,
"sports_2_0_winning_team" text,
"sports_2_0_winning_team" text,
"gt_2_0_winning_team" text,
"gt_2_0_winning_team" text,
"results" text
);
Question: Name results for herb wetanson
<|assistant|>
SELECT "results" FROM "table1_27561503_2" WHERE "gt_2_0_winning_team"='Herb Wetanson';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27592654_2" (
"member" text,
"electorate" text,
"province" text,
"m_ps_term" text,
"election_date" text
);
Question: What was the province if the electorate was Collingwood?
<|assistant|>
SELECT "province" FROM "table1_27592654_2" WHERE "electorate"='Collingwood';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27592654_2" (
"member" text,
"electorate" text,
"province" text,
"m_ps_term" text,
"election_date" text
);
Question: What was the province with an election date of 5 cannot handle non-empty timestamp argument! 1861?
<|assistant|>
SELECT "province" FROM "table1_27592654_2" WHERE "election_date"='5 Cannot handle non-empty timestamp argument! 1861';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team_name" text,
"races" real,
"poles" real,
"wins" real,
"podiums" real,
"f_laps" real,
"points" real,
"final_placing" text
);
Question: Name the races for final placing being 5th
<|assistant|>
SELECT "races" FROM "career_summary" WHERE "final_placing"='5th';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team_name" text,
"races" real,
"poles" real,
"wins" real,
"podiums" real,
"f_laps" real,
"points" real,
"final_placing" text
);
Question: Name the post poles for 4 podiums
<|assistant|>
SELECT MAX("poles") FROM "career_summary" WHERE "podiums"=4;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: What was the result for Barreto when his song choice was "Olhar 43"?
<|assistant|>
SELECT "result" FROM "performances" WHERE "song_choice"='\"Olhar 43\"';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: What was Barreto's song choice when the theme was samba?
<|assistant|>
SELECT "song_choice" FROM "performances" WHERE "theme"='Samba';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: What was Barreto's song choice where the original artist was Patricia Marx?
<|assistant|>
SELECT "song_choice" FROM "performances" WHERE "original_artist"='Patricia Marx';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: In which week # was the original artist of Barreto's song choice was Leila Pinheiro?
<|assistant|>
SELECT "week_num" FROM "performances" WHERE "original_artist"='Leila Pinheiro';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: Who is the original artist of "É Preciso Saber Viver"?
<|assistant|>
SELECT "original_artist" FROM "performances" WHERE "song_choice"='\"É Preciso Saber Viver\"';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_19_9_titles_10_runners_up" (
"outcome" text,
"year" real,
"tournament" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: When did the earliest tournament happened?
<|assistant|>
SELECT MIN("year") FROM "doubles_19_9_titles_10_runners_up";<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_19_9_titles_10_runners_up" (
"outcome" text,
"year" real,
"tournament" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: Who was Petrova's partner where she scored 6–2, 3–6, 6–7 (7-9)?
<|assistant|>
SELECT "partner" FROM "doubles_19_9_titles_10_runners_up" WHERE "score"='6–2, 3–6, 6–7 (7-9)';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_19_9_titles_10_runners_up" (
"outcome" text,
"year" real,
"tournament" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: Who were Petrova's opponents with Vania King?
<|assistant|>
SELECT "opponents" FROM "doubles_19_9_titles_10_runners_up" WHERE "partner"='Vania King';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27610775_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" real,
"u_s_viewers_millions" text
);
Question: How many episodes titled "Blue in the face" were directed by Sean McNamara?
<|assistant|>
SELECT COUNT("series_num") FROM "table1_27610775_1" WHERE "directed_by"='Sean McNamara' AND "title"='\"Blue in the Face\"';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27610775_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" real,
"u_s_viewers_millions" text
);
Question: Who wrote the episode with the production code 211?
<|assistant|>
SELECT "written_by" FROM "table1_27610775_1" WHERE "prod_code"=211;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27610775_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" real,
"u_s_viewers_millions" text
);
Question: What is the maximum production code of the episode directed by Sean McNamara?
<|assistant|>
SELECT MAX("prod_code") FROM "table1_27610775_1" WHERE "directed_by"='Sean McNamara';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regional_auditions" (
"episode_air_date" text,
"audition_city" text,
"audition_date" text,
"audition_venue" text,
"guest_fourth_judge" text
);
Question: How many audition city's are there with an episode air date of June 24, 2010?
<|assistant|>
SELECT COUNT("audition_city") FROM "regional_auditions" WHERE "episode_air_date"='June 24, 2010';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regional_auditions" (
"episode_air_date" text,
"audition_city" text,
"audition_date" text,
"audition_venue" text,
"guest_fourth_judge" text
);
Question: List all episode air dates that auditioned at Nego Quirido Sambadrome?
<|assistant|>
SELECT "episode_air_date" FROM "regional_auditions" WHERE "audition_venue"='Nego Quirido Sambadrome';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regional_auditions" (
"episode_air_date" text,
"audition_city" text,
"audition_date" text,
"audition_venue" text,
"guest_fourth_judge" text
);
Question: List all episode air dates where Luiza Possi was the guest fourth judge?
<|assistant|>
SELECT "episode_air_date" FROM "regional_auditions" WHERE "guest_fourth_judge"='Luiza Possi';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regional_auditions" (
"episode_air_date" text,
"audition_city" text,
"audition_date" text,
"audition_venue" text,
"guest_fourth_judge" text
);
Question: How many episode air dates are there for auditioning city Rio De Janeiro?
<|assistant|>
SELECT COUNT("episode_air_date") FROM "regional_auditions" WHERE "audition_city"='Rio de Janeiro';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regional_auditions" (
"episode_air_date" text,
"audition_city" text,
"audition_date" text,
"audition_venue" text,
"guest_fourth_judge" text
);
Question: List all episode air dates whose audition venues were Nego Quirido Sambadrome?
<|assistant|>
SELECT "episode_air_date" FROM "regional_auditions" WHERE "audition_venue"='Nego Quirido Sambadrome';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regional_auditions" (
"episode_air_date" text,
"audition_city" text,
"audition_date" text,
"audition_venue" text,
"guest_fourth_judge" text
);
Question: Where was the audition venue where Peninha was the guest fourth judge?
<|assistant|>
SELECT "audition_venue" FROM "regional_auditions" WHERE "guest_fourth_judge"='Peninha';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: Which song was picked that was originally performed by Marisa Monte?
<|assistant|>
SELECT "song_choice" FROM "performances" WHERE "original_artist"='Marisa Monte';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: Who was the original artist of the song choice "Sozinho"?
<|assistant|>
SELECT "original_artist" FROM "performances" WHERE "song_choice"='\"Sozinho\"';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: What was the result of the performance of the song by Caetano Veloso?
<|assistant|>
SELECT "result" FROM "performances" WHERE "original_artist"='Caetano Veloso';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: What was the order # of the theme Male Singers?
<|assistant|>
SELECT "order_num" FROM "performances" WHERE "theme"='Male Singers';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: What was the theme when original artist Rosana's song was performed?
<|assistant|>
SELECT "theme" FROM "performances" WHERE "original_artist"='Rosana';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: How many different weeks are there in order number 4 that were judge's choice?
<|assistant|>
SELECT COUNT("week_num") FROM "performances" WHERE "theme"='Judge''s Choice' AND "order_num"='4';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: What Marisa Monte song choice was song during top 5?
<|assistant|>
SELECT "song_choice" FROM "performances" WHERE "week_num"='Top 5' AND "original_artist"='Marisa Monte';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: Who was the original artist of the Top 12 Men theme?
<|assistant|>
SELECT "original_artist" FROM "performances" WHERE "theme"='Top 12 Men';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: What was the result of the Top 12 Men theme?
<|assistant|>
SELECT "result" FROM "performances" WHERE "theme"='Top 12 Men';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: What week number was the result bottom 3?
<|assistant|>
SELECT "week_num" FROM "performances" WHERE "result"='Bottom 3';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_stats" (
"tournament" text,
"games_played" real,
"points_per_game" text,
"rebounds_per_game" text,
"assists_per_game" text
);
Question: How many points per game did he have when he had 1.5 assists per game?
<|assistant|>
SELECT "points_per_game" FROM "international_stats" WHERE "assists_per_game"='1.5';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_stats" (
"tournament" text,
"games_played" real,
"points_per_game" text,
"rebounds_per_game" text,
"assists_per_game" text
);
Question: How many rebounds per game did he have at the 2006 fiba world championship?
<|assistant|>
SELECT "rebounds_per_game" FROM "international_stats" WHERE "tournament"='2006 FIBA World Championship';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_stats" (
"tournament" text,
"games_played" real,
"points_per_game" text,
"rebounds_per_game" text,
"assists_per_game" text
);
Question: How many rebounds per game did he have at the 2003 eurobasket?
<|assistant|>
SELECT "rebounds_per_game" FROM "international_stats" WHERE "tournament"='2003 EuroBasket';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_stats" (
"tournament" text,
"games_played" real,
"points_per_game" text,
"rebounds_per_game" text,
"assists_per_game" text
);
Question: How many assists per game did he have when he had 6.8 points per game?
<|assistant|>
SELECT "assists_per_game" FROM "international_stats" WHERE "points_per_game"='6.8';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27622417_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_millions" text,
"original_u_s_air_date" text,
"prod_code" text
);
Question: which is the production code when the number of the episode in series is 87?
<|assistant|>
SELECT "prod_code" FROM "table1_27622417_1" WHERE "no_in_series"=87;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27622417_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_millions" text,
"original_u_s_air_date" text,
"prod_code" text
);
Question: how many directors had the episode called "magic unmasked"?
<|assistant|>
SELECT COUNT("directed_by") FROM "table1_27622417_1" WHERE "title"='\"Magic Unmasked\"';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27622417_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_millions" text,
"original_u_s_air_date" text,
"prod_code" text
);
Question: what is the number of the episode in the series whose production code is 405?
<|assistant|>
SELECT "no_in_series" FROM "table1_27622417_1" WHERE "prod_code"='405';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27622417_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_millions" text,
"original_u_s_air_date" text,
"prod_code" text
);
Question: when was the premiere of the episode whose production code is 415?
<|assistant|>
SELECT "original_u_s_air_date" FROM "table1_27622417_1" WHERE "prod_code"='415';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27622417_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_millions" text,
"original_u_s_air_date" text,
"prod_code" text
);
Question: who were the writers in the episode whose production code was 411?
<|assistant|>
SELECT "written_by" FROM "table1_27622417_1" WHERE "prod_code"='411';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27622417_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_millions" text,
"original_u_s_air_date" text,
"prod_code" text
);
Question: who were the director of the episode whose number in the season is 17?
<|assistant|>
SELECT "directed_by" FROM "table1_27622417_1" WHERE "no_in_season"=17;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "main_issuers" (
"currency" text,
"country" text,
"generic_name_or_nickname" text,
"rating_s_p_moodys" text,
"negotiable_debt_at_mid_2005_us_dollar_bn_equivalent" real,
"government_financial_liabilities_as_pct_of_gdp_end_2003_source_oecd" text,
"issuer" text,
"internet_site" text
);
Question: Name the currency for negotiable debt being 1300
<|assistant|>
SELECT "currency" FROM "main_issuers" WHERE "negotiable_debt_at_mid_2005_us_dollar_bn_equivalent"=1300;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "main_issuers" (
"currency" text,
"country" text,
"generic_name_or_nickname" text,
"rating_s_p_moodys" text,
"negotiable_debt_at_mid_2005_us_dollar_bn_equivalent" real,
"government_financial_liabilities_as_pct_of_gdp_end_2003_source_oecd" text,
"issuer" text,
"internet_site" text
);
Question: Name the country that has the yen
<|assistant|>
SELECT "country" FROM "main_issuers" WHERE "currency"='Yen';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "main_issuers" (
"currency" text,
"country" text,
"generic_name_or_nickname" text,
"rating_s_p_moodys" text,
"negotiable_debt_at_mid_2005_us_dollar_bn_equivalent" real,
"government_financial_liabilities_as_pct_of_gdp_end_2003_source_oecd" text,
"issuer" text,
"internet_site" text
);
Question: Name the number of countries that have the us dollar
<|assistant|>
SELECT COUNT("country") FROM "main_issuers" WHERE "currency"='US dollar';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "main_issuers" (
"currency" text,
"country" text,
"generic_name_or_nickname" text,
"rating_s_p_moodys" text,
"negotiable_debt_at_mid_2005_us_dollar_bn_equivalent" real,
"government_financial_liabilities_as_pct_of_gdp_end_2003_source_oecd" text,
"issuer" text,
"internet_site" text
);
Question: Name the country for the us dollar
<|assistant|>
SELECT "country" FROM "main_issuers" WHERE "currency"='US dollar';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personnel_and_sponsorship" (
"team" text,
"chairman" text,
"head_coach" text,
"captain" text,
"kitmaker" text,
"shirt_sponsor" text
);
Question: How many teams have a head coach named mahdi ali?
<|assistant|>
SELECT COUNT("team") FROM "personnel_and_sponsorship" WHERE "head_coach"='Mahdi Ali';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personnel_and_sponsorship" (
"team" text,
"chairman" text,
"head_coach" text,
"captain" text,
"kitmaker" text,
"shirt_sponsor" text
);
Question: How many captains have the kitmaker as n/a?
<|assistant|>
SELECT COUNT("captain") FROM "personnel_and_sponsorship" WHERE "kitmaker"='N/A';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personnel_and_sponsorship" (
"team" text,
"chairman" text,
"head_coach" text,
"captain" text,
"kitmaker" text,
"shirt_sponsor" text
);
Question: How many kitmaker correspond to team ittihad kalba?
<|assistant|>
SELECT COUNT("kitmaker") FROM "personnel_and_sponsorship" WHERE "team"='Ittihad Kalba';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personnel_and_sponsorship" (
"team" text,
"chairman" text,
"head_coach" text,
"captain" text,
"kitmaker" text,
"shirt_sponsor" text
);
Question: What is the name of the captain when teh shirt sponsor is n/a?
<|assistant|>
SELECT "captain" FROM "personnel_and_sponsorship" WHERE "shirt_sponsor"='N/A';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personnel_and_sponsorship" (
"team" text,
"chairman" text,
"head_coach" text,
"captain" text,
"kitmaker" text,
"shirt_sponsor" text
);
Question: How many captains when the shirt sponsor is toshiba?
<|assistant|>
SELECT COUNT("captain") FROM "personnel_and_sponsorship" WHERE "shirt_sponsor"='Toshiba';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personnel_and_sponsorship" (
"team" text,
"chairman" text,
"head_coach" text,
"captain" text,
"kitmaker" text,
"shirt_sponsor" text
);
Question: Who is the chairman when teh captain is fawzi bashir?
<|assistant|>
SELECT "chairman" FROM "personnel_and_sponsorship" WHERE "captain"='Fawzi Bashir';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
Question: Which season had f/laps is 0 and races is 2?
<|assistant|>
SELECT "season" FROM "career_summary" WHERE "f_laps"=0 AND "races"=2;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
Question: How many entries are there for points for the 6th position?
<|assistant|>
SELECT COUNT("points") FROM "career_summary" WHERE "position"='6th';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
Question: How many season are shown for the 2nd position?
<|assistant|>
SELECT COUNT("season") FROM "career_summary" WHERE "position"='2nd';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
Question: What are the wins for the 7th position?
<|assistant|>
SELECT "wins" FROM "career_summary" WHERE "position"='7th';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
Question: What is the position for the austria formel 3 cup series?
<|assistant|>
SELECT "position" FROM "career_summary" WHERE "series"='Austria Formel 3 Cup';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "retina_display_models" (
"model" text,
"ppi_pixels_per_inch" real,
"ppcm_pixels_per_cm" real,
"resolution" text,
"typical_viewing_distance_in_cm" text,
"pixels_per_degree_ppd" real
);
Question: How many different PPI does the model with ppcm of 87 have?
<|assistant|>
SELECT COUNT("ppi_pixels_per_inch") FROM "retina_display_models" WHERE "ppcm_pixels_per_cm"=87;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "retina_display_models" (
"model" text,
"ppi_pixels_per_inch" real,
"ppcm_pixels_per_cm" real,
"resolution" text,
"typical_viewing_distance_in_cm" text,
"pixels_per_degree_ppd" real
);
Question: What's the resolution of the model with a PPD of 69?
<|assistant|>
SELECT "resolution" FROM "retina_display_models" WHERE "pixels_per_degree_ppd"=69;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_membership" (
"school" text,
"location" text,
"mascot" text,
"colors" text,
"enrollment" real,
"ihsa_classes_2_3_4" text,
"ihsa_music_class" text,
"ihsa_football_class" text,
"ihsa_cheerleading_class" text
);
Question: What is the IHSA music class for the mascot that is the lancers?
<|assistant|>
SELECT "ihsa_music_class" FROM "current_membership" WHERE "mascot"='Lancers';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_membership" (
"school" text,
"location" text,
"mascot" text,
"colors" text,
"enrollment" real,
"ihsa_classes_2_3_4" text,
"ihsa_music_class" text,
"ihsa_football_class" text,
"ihsa_cheerleading_class" text
);
Question: What is the IHSA cheerleading class for the enrollment of 2600?
<|assistant|>
SELECT "ihsa_cheerleading_class" FROM "current_membership" WHERE "enrollment"=2600;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_membership" (
"school" text,
"location" text,
"mascot" text,
"colors" text,
"enrollment" real,
"ihsa_classes_2_3_4" text,
"ihsa_music_class" text,
"ihsa_football_class" text,
"ihsa_cheerleading_class" text
);
Question: What are the colors for the enrollment of 2020?
<|assistant|>
SELECT "colors" FROM "current_membership" WHERE "enrollment"=2020;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ice_hockey" (
"conference" text,
"old_membership_total" real,
"new_membership_total" real,
"net_change" text,
"members_added" real,
"members_lost" real
);
Question: What is the smallest number for old membership total?
<|assistant|>
SELECT MIN("old_membership_total") FROM "ice_hockey";<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ice_hockey" (
"conference" text,
"old_membership_total" real,
"new_membership_total" real,
"net_change" text,
"members_added" real,
"members_lost" real
);
Question: What is the lowest number of members lost when the net change is −1?
<|assistant|>
SELECT MIN("members_lost") FROM "ice_hockey" WHERE "net_change"='−1';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ice_hockey" (
"conference" text,
"old_membership_total" real,
"new_membership_total" real,
"net_change" text,
"members_added" real,
"members_lost" real
);
Question: What is the new membership total if the members lost is bigger than 1.0?
<|assistant|>
SELECT MAX("new_membership_total") FROM "ice_hockey" WHERE "members_lost">1.0;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ice_hockey" (
"conference" text,
"old_membership_total" real,
"new_membership_total" real,
"net_change" text,
"members_added" real,
"members_lost" real
);
Question: How many members were added at the nchc (men only) conference?
<|assistant|>
SELECT "members_added" FROM "ice_hockey" WHERE "conference"='NCHC (men only)';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ice_hockey" (
"conference" text,
"old_membership_total" real,
"new_membership_total" real,
"net_change" text,
"members_added" real,
"members_lost" real
);
Question: What was the new membership total at the nchc (men only) conference?
<|assistant|>
SELECT "new_membership_total" FROM "ice_hockey" WHERE "conference"='NCHC (men only)';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"table" text,
"incoming_manager" text,
"date_of_appointment" text
);
Question: What is the outgoing manager when the incoming manager is štefan tarkovič?
<|assistant|>
SELECT "outgoing_manager" FROM "managerial_changes" WHERE "incoming_manager"='Štefan Tarkovič';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"table" text,
"incoming_manager" text,
"date_of_appointment" text
);
Question: How many dates of vacancy were on 30 october 2010?
<|assistant|>
SELECT COUNT("team") FROM "managerial_changes" WHERE "date_of_vacancy"='30 October 2010';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"table" text,
"incoming_manager" text,
"date_of_appointment" text
);
Question: What is the manner of departure when the date of vacancy is 28 september 2010?
<|assistant|>
SELECT "manner_of_departure" FROM "managerial_changes" WHERE "date_of_vacancy"='28 September 2010';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"table" text,
"incoming_manager" text,
"date_of_appointment" text
);
Question: What is the date of appointment when the date of vacancy is 24 november 2010?
<|assistant|>
SELECT "date_of_appointment" FROM "managerial_changes" WHERE "date_of_vacancy"='24 November 2010';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"table" text,
"incoming_manager" text,
"date_of_appointment" text
);
Question: What is the outgoing manager when the date of vacancy is 10 october 2010?
<|assistant|>
SELECT "outgoing_manager" FROM "managerial_changes" WHERE "date_of_vacancy"='10 October 2010';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"table" text,
"incoming_manager" text,
"date_of_appointment" text
);
Question: What is the table when the team is slovan bratislava?
<|assistant|>
SELECT "table" FROM "managerial_changes" WHERE "team"='Slovan Bratislava';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27685921_1" (
"year" real,
"exhibitors_domestic" real,
"exhibitors_foreign" real,
"exhibitors_total" real,
"visitors_total" real,
"visitors_foreign_in_pct" text
);
Question: how many people come to visit when the 1654 exhibitions
<|assistant|>
SELECT COUNT("visitors_total") FROM "table1_27685921_1" WHERE "exhibitors_total"=1654;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27685921_1" (
"year" real,
"exhibitors_domestic" real,
"exhibitors_foreign" real,
"exhibitors_total" real,
"visitors_total" real,
"visitors_foreign_in_pct" text
);
Question: what is the most time where exhibitions is 1701
<|assistant|>
SELECT MAX("year") FROM "table1_27685921_1" WHERE "exhibitors_total"=1701;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: who had high points on march 14?
<|assistant|>
SELECT "high_points" FROM "game_log" WHERE "date"='March 14';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: who had high rebounds at game 69?
<|assistant|>
SELECT "high_rebounds" FROM "game_log" WHERE "game"=69;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Who were the 76ers opponents on January 17?
<|assistant|>
SELECT "team" FROM "game_log" WHERE "date"='January 17';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: How many players held the high point records for game 34?
<|assistant|>
SELECT COUNT("high_points") FROM "game_log" WHERE "game"=34;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What the win - loss recored for January 7?
<|assistant|>
SELECT "record" FROM "game_log" WHERE "date"='January 7';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: How many people led in points during the game on October 5?
<|assistant|>
SELECT COUNT("high_points") FROM "game_log" WHERE "date"='October 5';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Name the date for the palace of auburn hills 14,554
<|assistant|>
SELECT "date" FROM "game_log" WHERE "location_attendance"='The Palace of Auburn Hills 14,554';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Name the least game for l 109–116 (ot)
<|assistant|>
SELECT MIN("game") FROM "game_log" WHERE "score"='L 109–116 (OT)';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Name the high rebounds for charlotte
<|assistant|>
SELECT "high_rebounds" FROM "game_log" WHERE "team"='Charlotte';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Name the high rebounds for wells fargo center 16,695
<|assistant|>
SELECT "high_rebounds" FROM "game_log" WHERE "location_attendance"='Wells Fargo Center 16,695';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Who got the high rebounds if Brook Lopez (15) earned the high points?
<|assistant|>
SELECT "high_rebounds" FROM "game_log" WHERE "high_points"='Brook Lopez (15)';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Who got high assists for team @ Indiana?
<|assistant|>
SELECT "high_assists" FROM "game_log" WHERE "team"='@ Indiana';<|endoftext|> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.