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