question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
|---|---|---|---|
Who played in the 1990 Broadway after Tom Halloran played the character in the 1955 Broadcast?
|
CREATE TABLE "cast_of_major_productions_1954_1999" (
"character" text,
"1954_broadway" text,
"1955_broadcast" text,
"1960_broadcast" text,
"1979_broadway" text,
"1990_broadway" text,
"1991_broadway" text,
"1998_broadway" text,
"1999_broadway" text
);
|
SELECT "1990_broadway" FROM "cast_of_major_productions_1954_1999" WHERE "1955_broadcast"='Tom Halloran';
|
1-10312547-1
|
What character did Drake English play in the 1998 Broadway?
|
CREATE TABLE "cast_of_major_productions_1954_1999" (
"character" text,
"1954_broadway" text,
"1955_broadcast" text,
"1960_broadcast" text,
"1979_broadway" text,
"1990_broadway" text,
"1991_broadway" text,
"1998_broadway" text,
"1999_broadway" text
);
|
SELECT "character" FROM "cast_of_major_productions_1954_1999" WHERE "1998_broadway"='Drake English';
|
1-10312547-1
|
What date was BBC One total viewing greater then 11616996.338225884?
|
CREATE TABLE "tv_ratings" (
"year" real,
"broadcast_date" text,
"bbc_one_total_viewing" real,
"bbc_one_rank" text,
"bbc_two_total_viewing" text,
"bbc_two_rank" text
);
|
SELECT "broadcast_date" FROM "tv_ratings" WHERE "bbc_one_total_viewing">11616996.338225884;
|
1-103084-4
|
How many years did BBC One rank 20th?
|
CREATE TABLE "tv_ratings" (
"year" real,
"broadcast_date" text,
"bbc_one_total_viewing" real,
"bbc_one_rank" text,
"bbc_two_total_viewing" text,
"bbc_two_rank" text
);
|
SELECT COUNT("year") FROM "tv_ratings" WHERE "bbc_one_rank"='20th';
|
1-103084-4
|
What year was the BBC two total viewing 7,530,000?
|
CREATE TABLE "tv_ratings" (
"year" real,
"broadcast_date" text,
"bbc_one_total_viewing" real,
"bbc_one_rank" text,
"bbc_two_total_viewing" text,
"bbc_two_rank" text
);
|
SELECT MIN("year") FROM "tv_ratings" WHERE "bbc_two_total_viewing"='7,530,000';
|
1-103084-4
|
how many ↓ function / genus → with escherichia being espd
|
CREATE TABLE "nomenclature_of_t3_ss_proteins" (
"function_genus" text,
"shigella" text,
"salmonella" text,
"yersinia" text,
"escherichia" text
);
|
SELECT COUNT("function_genus") FROM "nomenclature_of_t3_ss_proteins" WHERE "escherichia"='EspD';
|
1-10321124-1
|
what's the salmonella with escherichia being espd
|
CREATE TABLE "nomenclature_of_t3_ss_proteins" (
"function_genus" text,
"shigella" text,
"salmonella" text,
"yersinia" text,
"escherichia" text
);
|
SELECT "salmonella" FROM "nomenclature_of_t3_ss_proteins" WHERE "escherichia"='EspD';
|
1-10321124-1
|
what's the ↓ function / genus → with shigella being spa32
|
CREATE TABLE "nomenclature_of_t3_ss_proteins" (
"function_genus" text,
"shigella" text,
"salmonella" text,
"yersinia" text,
"escherichia" text
);
|
SELECT "function_genus" FROM "nomenclature_of_t3_ss_proteins" WHERE "shigella"='Spa32';
|
1-10321124-1
|
what's the salmonella with shigella being ipgc
|
CREATE TABLE "nomenclature_of_t3_ss_proteins" (
"function_genus" text,
"shigella" text,
"salmonella" text,
"yersinia" text,
"escherichia" text
);
|
SELECT "salmonella" FROM "nomenclature_of_t3_ss_proteins" WHERE "shigella"='IpgC';
|
1-10321124-1
|
what's the salmonella with escherichia being sepb (escn)
|
CREATE TABLE "nomenclature_of_t3_ss_proteins" (
"function_genus" text,
"shigella" text,
"salmonella" text,
"yersinia" text,
"escherichia" text
);
|
SELECT "salmonella" FROM "nomenclature_of_t3_ss_proteins" WHERE "escherichia"='SepB (EscN)';
|
1-10321124-1
|
what's the shigella with yersinia being yscp
|
CREATE TABLE "nomenclature_of_t3_ss_proteins" (
"function_genus" text,
"shigella" text,
"salmonella" text,
"yersinia" text,
"escherichia" text
);
|
SELECT "shigella" FROM "nomenclature_of_t3_ss_proteins" WHERE "yersinia"='YscP';
|
1-10321124-1
|
How many original titles did Marriage Italian-Style have?
|
CREATE TABLE "table1_10321805_1" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
);
|
SELECT COUNT("original_title") FROM "table1_10321805_1" WHERE "film_title_used_in_nomination"='Marriage Italian-Style';
|
1-10321805-1
|
What year was a movie with the original title La Leggenda del Santo Bevitore submitted?
|
CREATE TABLE "table1_10321805_1" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
);
|
SELECT "year_ceremony" FROM "table1_10321805_1" WHERE "original_title"='La leggenda del santo bevitore';
|
1-10321805-1
|
what's the camp with estimated deaths of 600,000
|
CREATE TABLE "table1_10335_1" (
"camp" text,
"estimated_deaths" text,
"operational" text,
"occupied_territory" text,
"current_country_of_location" text,
"primary_means_for_mass_killings" text
);
|
SELECT "camp" FROM "table1_10335_1" WHERE "estimated_deaths"='600,000';
|
1-10335-1
|
what's the operational period with camp sajmište
|
CREATE TABLE "table1_10335_1" (
"camp" text,
"estimated_deaths" text,
"operational" text,
"occupied_territory" text,
"current_country_of_location" text,
"primary_means_for_mass_killings" text
);
|
SELECT "operational" FROM "table1_10335_1" WHERE "camp"='Sajmište';
|
1-10335-1
|
what's the estimated deaths with operational period of 17 march 1942 – end of june 1943
|
CREATE TABLE "table1_10335_1" (
"camp" text,
"estimated_deaths" text,
"operational" text,
"occupied_territory" text,
"current_country_of_location" text,
"primary_means_for_mass_killings" text
);
|
SELECT "estimated_deaths" FROM "table1_10335_1" WHERE "operational"='17 March 1942 – end of June 1943';
|
1-10335-1
|
what's the current country of location with operational period of summer of 1941 to 28 june 1944
|
CREATE TABLE "table1_10335_1" (
"camp" text,
"estimated_deaths" text,
"operational" text,
"occupied_territory" text,
"current_country_of_location" text,
"primary_means_for_mass_killings" text
);
|
SELECT "current_country_of_location" FROM "table1_10335_1" WHERE "operational"='Summer of 1941 to 28 June 1944';
|
1-10335-1
|
what's the occupied territory with estimated deaths of 600,000
|
CREATE TABLE "table1_10335_1" (
"camp" text,
"estimated_deaths" text,
"operational" text,
"occupied_territory" text,
"current_country_of_location" text,
"primary_means_for_mass_killings" text
);
|
SELECT "occupied_territory" FROM "table1_10335_1" WHERE "estimated_deaths"='600,000';
|
1-10335-1
|
what's the occupied territory with operational period of may 1940 – january 1945
|
CREATE TABLE "table1_10335_1" (
"camp" text,
"estimated_deaths" text,
"operational" text,
"occupied_territory" text,
"current_country_of_location" text,
"primary_means_for_mass_killings" text
);
|
SELECT "occupied_territory" FROM "table1_10335_1" WHERE "operational"='May 1940 – January 1945';
|
1-10335-1
|
Which overall pick was traded to the Cleveland Browns?
|
CREATE TABLE "table1_10360823_1" (
"round" real,
"choice" real,
"overall" real,
"player_name" text,
"position" text,
"college" text
);
|
SELECT "overall" FROM "table1_10360823_1" WHERE "college"='Traded to the Cleveland Browns';
|
1-10360823-1
|
Overall pick 240 was a pick in which round?
|
CREATE TABLE "table1_10360823_1" (
"round" real,
"choice" real,
"overall" real,
"player_name" text,
"position" text,
"college" text
);
|
SELECT "round" FROM "table1_10360823_1" WHERE "overall"=240;
|
1-10360823-1
|
Which overall pick number went to college at Youngstown State?
|
CREATE TABLE "table1_10360823_1" (
"round" real,
"choice" real,
"overall" real,
"player_name" text,
"position" text,
"college" text
);
|
SELECT MIN("overall") FROM "table1_10360823_1" WHERE "college"='Youngstown State';
|
1-10360823-1
|
What position is played by pick 255 overall?
|
CREATE TABLE "table1_10360823_1" (
"round" real,
"choice" real,
"overall" real,
"player_name" text,
"position" text,
"college" text
);
|
SELECT "position" FROM "table1_10360823_1" WHERE "overall"=255;
|
1-10360823-1
|
Which player was chosen in round 17?
|
CREATE TABLE "table1_10360823_1" (
"round" real,
"choice" real,
"overall" real,
"player_name" text,
"position" text,
"college" text
);
|
SELECT "player_name" FROM "table1_10360823_1" WHERE "round"=17;
|
1-10360823-1
|
The record of 7-3 had the largest attendance of what?
|
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"vikings_points" real,
"opponents" real,
"record" text,
"attendance" real
);
|
SELECT MAX("attendance") FROM "schedule" WHERE "record"='7-3';
|
1-10361453-2
|
The record of 9-4 was against which opponent?
|
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"vikings_points" real,
"opponents" real,
"record" text,
"attendance" real
);
|
SELECT "opponent" FROM "schedule" WHERE "record"='9-4';
|
1-10361453-2
|
The game number of 8 had a record of what?
|
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"vikings_points" real,
"opponents" real,
"record" text,
"attendance" real
);
|
SELECT "record" FROM "schedule" WHERE "game"=8;
|
1-10361453-2
|
What round was Steve Stonebreaker drafted?
|
CREATE TABLE "table1_10360656_1" (
"round" real,
"choice" real,
"overall" real,
"player_name" text,
"position" text,
"college" text
);
|
SELECT MAX("round") FROM "table1_10360656_1" WHERE "player_name"='Steve Stonebreaker';
|
1-10360656-1
|
Who was the top picki n the draft?
|
CREATE TABLE "table1_10360656_1" (
"round" real,
"choice" real,
"overall" real,
"player_name" text,
"position" text,
"college" text
);
|
SELECT MIN("choice") FROM "table1_10360656_1";
|
1-10360656-1
|
What round was Bill Hill drafted?
|
CREATE TABLE "table1_10360656_1" (
"round" real,
"choice" real,
"overall" real,
"player_name" text,
"position" text,
"college" text
);
|
SELECT "choice" FROM "table1_10360656_1" WHERE "player_name"='Bill Hill';
|
1-10360656-1
|
What was the name of the quarterback drafted?
|
CREATE TABLE "table1_10360656_1" (
"round" real,
"choice" real,
"overall" real,
"player_name" text,
"position" text,
"college" text
);
|
SELECT "player_name" FROM "table1_10360656_1" WHERE "position"='Quarterback';
|
1-10360656-1
|
Where is the college where Keith Hartwig plays?
|
CREATE TABLE "table1_10361625_1" (
"round" real,
"choice" real,
"overall" real,
"player_name" text,
"position" text,
"college" text
);
|
SELECT "college" FROM "table1_10361625_1" WHERE "player_name"='Keith Hartwig';
|
1-10361625-1
|
What is the name of the linebacker at Illinois college?
|
CREATE TABLE "table1_10361625_1" (
"round" real,
"choice" real,
"overall" real,
"player_name" text,
"position" text,
"college" text
);
|
SELECT "player_name" FROM "table1_10361625_1" WHERE "position"='Linebacker' AND "college"='Illinois';
|
1-10361625-1
|
What is the greatest round of overall 83?
|
CREATE TABLE "table1_10361625_1" (
"round" real,
"choice" real,
"overall" real,
"player_name" text,
"position" text,
"college" text
);
|
SELECT MAX("round") FROM "table1_10361625_1" WHERE "overall"=83;
|
1-10361625-1
|
Which round did Tommy Kramer play in>
|
CREATE TABLE "table1_10361625_1" (
"round" real,
"choice" real,
"overall" real,
"player_name" text,
"position" text,
"college" text
);
|
SELECT "round" FROM "table1_10361625_1" WHERE "player_name"='Tommy Kramer';
|
1-10361625-1
|
What is Rice's collage score?
|
CREATE TABLE "table1_10361625_1" (
"round" real,
"choice" real,
"overall" real,
"player_name" text,
"position" text,
"college" text
);
|
SELECT "overall" FROM "table1_10361625_1" WHERE "college"='Rice';
|
1-10361625-1
|
Where does the defensive back position appear first?
|
CREATE TABLE "table1_10361230_1" (
"round" real,
"choice" real,
"overall" real,
"player_name" text,
"position" text,
"college" text
);
|
SELECT MIN("round") FROM "table1_10361230_1" WHERE "position"='Defensive Back';
|
1-10361230-1
|
What is Bruce Cerone overall?
|
CREATE TABLE "table1_10361230_1" (
"round" real,
"choice" real,
"overall" real,
"player_name" text,
"position" text,
"college" text
);
|
SELECT MIN("overall") FROM "table1_10361230_1" WHERE "player_name"='Bruce Cerone';
|
1-10361230-1
|
Which player went to Emporia State?
|
CREATE TABLE "table1_10361230_1" (
"round" real,
"choice" real,
"overall" real,
"player_name" text,
"position" text,
"college" text
);
|
SELECT "player_name" FROM "table1_10361230_1" WHERE "college"='Emporia State';
|
1-10361230-1
|
What is the highest choice?
|
CREATE TABLE "table1_10361230_1" (
"round" real,
"choice" real,
"overall" real,
"player_name" text,
"position" text,
"college" text
);
|
SELECT MAX("choice") FROM "table1_10361230_1";
|
1-10361230-1
|
What college did Bill Cappleman go to?
|
CREATE TABLE "table1_10361230_1" (
"round" real,
"choice" real,
"overall" real,
"player_name" text,
"position" text,
"college" text
);
|
SELECT "college" FROM "table1_10361230_1" WHERE "player_name"='Bill Cappleman';
|
1-10361230-1
|
For the headstamp id of h2, what was the color of the bullet tip?
|
CREATE TABLE "headstamps_and_colour_coding" (
"headstamp_id" text,
"primer_annulus_color" text,
"bullet_tip_color" text,
"other_features" text,
"functional_type" text
);
|
SELECT "bullet_tip_color" FROM "headstamps_and_colour_coding" WHERE "headstamp_id"='H2';
|
1-1036189-1
|
For the functional type of light ball, what were the other features?
|
CREATE TABLE "headstamps_and_colour_coding" (
"headstamp_id" text,
"primer_annulus_color" text,
"bullet_tip_color" text,
"other_features" text,
"functional_type" text
);
|
SELECT "other_features" FROM "headstamps_and_colour_coding" WHERE "functional_type"='Light Ball';
|
1-1036189-1
|
How many primers annulus colors were there when the color of the bullet tip was white?
|
CREATE TABLE "headstamps_and_colour_coding" (
"headstamp_id" text,
"primer_annulus_color" text,
"bullet_tip_color" text,
"other_features" text,
"functional_type" text
);
|
SELECT COUNT("primer_annulus_color") FROM "headstamps_and_colour_coding" WHERE "bullet_tip_color"='White';
|
1-1036189-1
|
How many bullet tips colors had other features of a blue band on case base?
|
CREATE TABLE "headstamps_and_colour_coding" (
"headstamp_id" text,
"primer_annulus_color" text,
"bullet_tip_color" text,
"other_features" text,
"functional_type" text
);
|
SELECT COUNT("bullet_tip_color") FROM "headstamps_and_colour_coding" WHERE "other_features"='Blue band on case base';
|
1-1036189-1
|
How many touchdowns were scored in the year with a completion percentage of 56.0?
|
CREATE TABLE "career_statistics" (
"year" real,
"games" real,
"games_started" real,
"completions" real,
"attempts" real,
"completion_pct" text,
"yards" real,
"yards_attempt" text,
"touchdowns" real,
"interceptions" real,
"rating" text
);
|
SELECT MIN("touchdowns") FROM "career_statistics" WHERE "completion_pct"='56.0';
|
1-1037590-1
|
What number of completions are recorded for the year with 12 games started?
|
CREATE TABLE "career_statistics" (
"year" real,
"games" real,
"games_started" real,
"completions" real,
"attempts" real,
"completion_pct" text,
"yards" real,
"yards_attempt" text,
"touchdowns" real,
"interceptions" real,
"rating" text
);
|
SELECT "completions" FROM "career_statistics" WHERE "games_started"=12;
|
1-1037590-1
|
How many years were there with 348 attempts?
|
CREATE TABLE "career_statistics" (
"year" real,
"games" real,
"games_started" real,
"completions" real,
"attempts" real,
"completion_pct" text,
"yards" real,
"yards_attempt" text,
"touchdowns" real,
"interceptions" real,
"rating" text
);
|
SELECT COUNT("yards") FROM "career_statistics" WHERE "attempts"=348;
|
1-1037590-1
|
How many characters is by Babs Rubenstein?
|
CREATE TABLE "table1_10402018_1" (
"character" text,
"australia_new_zealand_sydney_first_run_melbourne_auckland" text,
"london" text,
"toronto_broadway" text,
"brazil" text,
"uk_tour" text,
"us_tour" text,
"italy_milan_rome_trieste" text
);
|
SELECT COUNT("london") FROM "table1_10402018_1" WHERE "us_tour"='Babs Rubenstein';
|
1-10402018-1
|
Which person is in the tronto/broadway and has a uk tour of n/a
|
CREATE TABLE "table1_10402018_1" (
"character" text,
"australia_new_zealand_sydney_first_run_melbourne_auckland" text,
"london" text,
"toronto_broadway" text,
"brazil" text,
"uk_tour" text,
"us_tour" text,
"italy_milan_rome_trieste" text
);
|
SELECT "toronto_broadway" FROM "table1_10402018_1" WHERE "uk_tour"='n/a';
|
1-10402018-1
|
How many people play Frank in London?
|
CREATE TABLE "table1_10402018_1" (
"character" text,
"australia_new_zealand_sydney_first_run_melbourne_auckland" text,
"london" text,
"toronto_broadway" text,
"brazil" text,
"uk_tour" text,
"us_tour" text,
"italy_milan_rome_trieste" text
);
|
SELECT COUNT("london") FROM "table1_10402018_1" WHERE "character"='Frank';
|
1-10402018-1
|
Who was Class AAA during the school year of 2000-01?
|
CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
);
|
SELECT "class_aaa" FROM "team" WHERE "school_year"='2000-01';
|
1-10399701-2
|
Who was Class AAA during the same year that Class A was (tie) Apple Springs/Texline?
|
CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
);
|
SELECT "class_aaa" FROM "team" WHERE "class_a"='(tie) Apple Springs/Texline';
|
1-10399701-2
|
Who was Class AAAAA during the school year of 1995-96?
|
CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
);
|
SELECT "class_aaaaa" FROM "team" WHERE "school_year"='1995-96';
|
1-10399701-2
|
Who was Class AAA during the same year that Class AAAAA was Brownsville Pace?
|
CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
);
|
SELECT "class_aaa" FROM "team" WHERE "class_aaaaa"='Brownsville Pace';
|
1-10399701-2
|
What was the total number of Class AAA during the same year that Class AAA was White Oak?
|
CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
);
|
SELECT COUNT("class_aa") FROM "team" WHERE "class_aaa"='White Oak';
|
1-10399701-2
|
How many records are listed on Friday, May 25?
|
CREATE TABLE "table1_10392906_2" (
"week" real,
"date" text,
"kickoff" text,
"opponent" text,
"final_score" text,
"team_record" text,
"game_site" text,
"attendance" real
);
|
SELECT COUNT("team_record") FROM "table1_10392906_2" WHERE "date"='Friday, May 25';
|
1-10392906-2
|
How many opponents were played on Saturday, June 9?
|
CREATE TABLE "table1_10392906_2" (
"week" real,
"date" text,
"kickoff" text,
"opponent" text,
"final_score" text,
"team_record" text,
"game_site" text,
"attendance" real
);
|
SELECT COUNT("opponent") FROM "table1_10392906_2" WHERE "date"='Saturday, June 9';
|
1-10392906-2
|
In what week was the first game played at the Commerzbank-Arena?
|
CREATE TABLE "table1_10392906_2" (
"week" real,
"date" text,
"kickoff" text,
"opponent" text,
"final_score" text,
"team_record" text,
"game_site" text,
"attendance" real
);
|
SELECT MIN("week") FROM "table1_10392906_2" WHERE "game_site"='Commerzbank-Arena';
|
1-10392906-2
|
What was the original air date of an episode set in 1544?
|
CREATE TABLE "table1_10413597_5" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"setting" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_million" text,
"original_air_date" text
);
|
SELECT "original_air_date" FROM "table1_10413597_5" WHERE "setting"='1544';
|
1-10413597-5
|
How many settings where there for episode 29 of the season?
|
CREATE TABLE "table1_10413597_5" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"setting" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_million" text,
"original_air_date" text
);
|
SELECT COUNT("setting") FROM "table1_10413597_5" WHERE "no_in_series"=29;
|
1-10413597-5
|
Who wrote the episode that was set in winter 1541/february 13, 1542?
|
CREATE TABLE "table1_10413597_5" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"setting" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_million" text,
"original_air_date" text
);
|
SELECT "written_by" FROM "table1_10413597_5" WHERE "setting"='Winter 1541/February 13, 1542';
|
1-10413597-5
|
What episode number of the season was "The Northern Uprising"?
|
CREATE TABLE "table1_10413597_4" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"setting" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
|
SELECT "no_in_season" FROM "table1_10413597_4" WHERE "title"='\"The Northern Uprising\"';
|
1-10413597-4
|
What is the name of the track that lasts 5:30?
|
CREATE TABLE "song_list" (
"date" text,
"album_name" text,
"track" text,
"track_title" text,
"lyricist" text,
"music_genre_style" text,
"major_instrument_s" text,
"lyrics_theme_style" text,
"duration" text
);
|
SELECT "track_title" FROM "song_list" WHERE "duration"='5:30';
|
1-10416547-1
|
What is the album namethat has the track title Sweetness 甜甜的 (tián tián de)?
|
CREATE TABLE "song_list" (
"date" text,
"album_name" text,
"track" text,
"track_title" text,
"lyricist" text,
"music_genre_style" text,
"major_instrument_s" text,
"lyrics_theme_style" text,
"duration" text
);
|
SELECT "album_name" FROM "song_list" WHERE "track_title"='Sweetness 甜甜的 (Tián tián de)';
|
1-10416547-1
|
What is the duration of the song where the major instrument is the piano and the date is 2004-02-03?
|
CREATE TABLE "song_list" (
"date" text,
"album_name" text,
"track" text,
"track_title" text,
"lyricist" text,
"music_genre_style" text,
"major_instrument_s" text,
"lyrics_theme_style" text,
"duration" text
);
|
SELECT "duration" FROM "song_list" WHERE "major_instrument_s"='Piano' AND "date"='2004-02-03';
|
1-10416547-1
|
What is the total number of lyricist where the lyrics theme is romance and the song lasts 3:50?
|
CREATE TABLE "song_list" (
"date" text,
"album_name" text,
"track" text,
"track_title" text,
"lyricist" text,
"music_genre_style" text,
"major_instrument_s" text,
"lyrics_theme_style" text,
"duration" text
);
|
SELECT COUNT("lyricist") FROM "song_list" WHERE "lyrics_theme_style"='Romance' AND "duration"='3:50';
|
1-10416547-1
|
What is the major instrument of the song that lasts 4:32?
|
CREATE TABLE "song_list" (
"date" text,
"album_name" text,
"track" text,
"track_title" text,
"lyricist" text,
"music_genre_style" text,
"major_instrument_s" text,
"lyrics_theme_style" text,
"duration" text
);
|
SELECT "major_instrument_s" FROM "song_list" WHERE "duration"='4:32';
|
1-10416547-1
|
What is the total number of music genre/style in which the lyrics are a detective story?
|
CREATE TABLE "song_list" (
"date" text,
"album_name" text,
"track" text,
"track_title" text,
"lyricist" text,
"music_genre_style" text,
"major_instrument_s" text,
"lyrics_theme_style" text,
"duration" text
);
|
SELECT COUNT("music_genre_style") FROM "song_list" WHERE "lyrics_theme_style"='Detective story';
|
1-10416547-1
|
What is the playoffs for the usl pro select league?
|
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
|
SELECT "playoffs" FROM "year_by_year" WHERE "league"='USL Pro Select League';
|
1-1046071-1
|
What is the number of the division for the 1st round?
|
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
|
SELECT COUNT("division") FROM "year_by_year" WHERE "open_cup"='1st Round';
|
1-1046071-1
|
What was the team where series is formula renault 2.0 nec?
|
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" real,
"position" text
);
|
SELECT "team" FROM "career_summary" WHERE "series"='Formula Renault 2.0 NEC';
|
1-10420426-1
|
What is the total number of poles for arden international?
|
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" real,
"position" text
);
|
SELECT COUNT("poles") FROM "career_summary" WHERE "team"='Arden International';
|
1-10420426-1
|
What is the number of wins for gp2 series for racing engineering?
|
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" real,
"position" text
);
|
SELECT COUNT("wins") FROM "career_summary" WHERE "series"='GP2 Series' AND "team"='Racing Engineering';
|
1-10420426-1
|
What is the number of podiums for season 2010 for campionato italiano superstars.
|
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" real,
"position" text
);
|
SELECT COUNT("podiums") FROM "career_summary" WHERE "season"='2010' AND "series"='Campionato Italiano Superstars';
|
1-10420426-1
|
What is the podium for 144 points?
|
CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" real,
"position" text
);
|
SELECT "podiums" FROM "career_summary" WHERE "points"=144;
|
1-10420426-1
|
How many writers had an US air date of september 25, 1993?
|
CREATE TABLE "table1_10470082_3" (
"no" real,
"num" real,
"title" text,
"director" text,
"writer" text,
"us_air_date" text,
"storyteller" text,
"villains" text
);
|
SELECT COUNT("writer") FROM "table1_10470082_3" WHERE "us_air_date"='September 25, 1993';
|
1-10470082-3
|
How many villians were in No. 25?
|
CREATE TABLE "table1_10470082_3" (
"no" real,
"num" real,
"title" text,
"director" text,
"writer" text,
"us_air_date" text,
"storyteller" text,
"villains" text
);
|
SELECT COUNT("villains") FROM "table1_10470082_3" WHERE "no"=25;
|
1-10470082-3
|
what being the maximum year where regular season is 4th, northwest
|
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
|
SELECT MAX("year") FROM "year_by_year" WHERE "regular_season"='4th, Northwest';
|
1-1046454-1
|
what is the total number of playoffs where regular season is 6th, southwest
|
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
|
SELECT COUNT("playoffs") FROM "year_by_year" WHERE "regular_season"='6th, Southwest';
|
1-1046454-1
|
what is the maximum division
|
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
|
SELECT MAX("division") FROM "year_by_year";
|
1-1046454-1
|
what's the league where regular season is 2nd, northwest
|
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
|
SELECT "league" FROM "year_by_year" WHERE "regular_season"='2nd, Northwest';
|
1-1046454-1
|
what are all the regular season where year is 2011
|
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
|
SELECT "regular_season" FROM "year_by_year" WHERE "year"=2011;
|
1-1046454-1
|
How many titles have the number 11
|
CREATE TABLE "table1_10470082_5" (
"no" real,
"num" real,
"title" text,
"director" text,
"writer" text,
"us_air_date" text,
"storyteller" text,
"villains" text
);
|
SELECT COUNT("title") FROM "table1_10470082_5" WHERE "num"=11;
|
1-10470082-5
|
How many have Mrs. briar as a villain
|
CREATE TABLE "table1_10470082_5" (
"no" real,
"num" real,
"title" text,
"director" text,
"writer" text,
"us_air_date" text,
"storyteller" text,
"villains" text
);
|
SELECT COUNT("no") FROM "table1_10470082_5" WHERE "villains"='Mrs. Briar';
|
1-10470082-5
|
how many have the number 8
|
CREATE TABLE "table1_10470082_5" (
"no" real,
"num" real,
"title" text,
"director" text,
"writer" text,
"us_air_date" text,
"storyteller" text,
"villains" text
);
|
SELECT COUNT("no") FROM "table1_10470082_5" WHERE "num"=8;
|
1-10470082-5
|
How many have the title "the tale of the room for rent"
|
CREATE TABLE "table1_10470082_5" (
"no" real,
"num" real,
"title" text,
"director" text,
"writer" text,
"us_air_date" text,
"storyteller" text,
"villains" text
);
|
SELECT COUNT("num") FROM "table1_10470082_5" WHERE "title"='\"The Tale of the Room for Rent\"';
|
1-10470082-5
|
What is the name of the episode told by Kiki and directed by Will Dixon?
|
CREATE TABLE "table1_10470082_6" (
"no" real,
"num" real,
"title" text,
"director" text,
"writer" text,
"us_air_date" text,
"storyteller" text,
"villains" text
);
|
SELECT "title" FROM "table1_10470082_6" WHERE "storyteller"='Kiki' AND "director"='Will Dixon';
|
1-10470082-6
|
Who is the storyteller in the episode called "The Tale of the Jagged Sign"?
|
CREATE TABLE "table1_10470082_6" (
"no" real,
"num" real,
"title" text,
"director" text,
"writer" text,
"us_air_date" text,
"storyteller" text,
"villains" text
);
|
SELECT "storyteller" FROM "table1_10470082_6" WHERE "title"='\"The Tale of the Jagged Sign\"';
|
1-10470082-6
|
Who wrote Episode #3?
|
CREATE TABLE "table1_10470082_6" (
"no" real,
"num" real,
"title" text,
"director" text,
"writer" text,
"us_air_date" text,
"storyteller" text,
"villains" text
);
|
SELECT "writer" FROM "table1_10470082_6" WHERE "num"=3;
|
1-10470082-6
|
Who are the villains in the episode titled "The Tale of the Forever Game"?
|
CREATE TABLE "table1_10470082_7" (
"no" real,
"num" real,
"title" text,
"director" text,
"writer" text,
"us_air_date" text,
"storyteller" text,
"villains" text
);
|
SELECT "villains" FROM "table1_10470082_7" WHERE "title"='\"The Tale of The Forever Game\"';
|
1-10470082-7
|
How many villains appeared in the episode titled "The Tale of the Virtual Pets"?
|
CREATE TABLE "table1_10470082_7" (
"no" real,
"num" real,
"title" text,
"director" text,
"writer" text,
"us_air_date" text,
"storyteller" text,
"villains" text
);
|
SELECT COUNT("villains") FROM "table1_10470082_7" WHERE "title"='\"The Tale of The Virtual Pets\"';
|
1-10470082-7
|
Who are the villains in the episodes where Megan is the storyteller and Lorette LeBlanc is the director?
|
CREATE TABLE "table1_10470082_7" (
"no" real,
"num" real,
"title" text,
"director" text,
"writer" text,
"us_air_date" text,
"storyteller" text,
"villains" text
);
|
SELECT "villains" FROM "table1_10470082_7" WHERE "storyteller"='Megan' AND "director"='Lorette LeBlanc';
|
1-10470082-7
|
What is the largest # for an episode that was written by Allison Lea Bingeman?
|
CREATE TABLE "table1_10470082_7" (
"no" real,
"num" real,
"title" text,
"director" text,
"writer" text,
"us_air_date" text,
"storyteller" text,
"villains" text
);
|
SELECT MAX("num") FROM "table1_10470082_7" WHERE "writer"='Allison Lea Bingeman';
|
1-10470082-7
|
Name the species when petal width is 2.0 and petal length is 4.9
|
CREATE TABLE "fisher_s_iris_data" (
"sepal_length" text,
"sepal_width" text,
"petal_length" text,
"petal_width" text,
"species" text
);
|
SELECT "species" FROM "fisher_s_iris_data" WHERE "petal_width"='2.0' AND "petal_length"='4.9';
|
1-10477224-1
|
Name the sepal width for i.virginica with petal length of 5.1
|
CREATE TABLE "fisher_s_iris_data" (
"sepal_length" text,
"sepal_width" text,
"petal_length" text,
"petal_width" text,
"species" text
);
|
SELECT "sepal_width" FROM "fisher_s_iris_data" WHERE "species"='I.virginica' AND "petal_length"='5.1';
|
1-10477224-1
|
Name the number of species with sepal width of 3.4 and sepal length of 5.4
|
CREATE TABLE "fisher_s_iris_data" (
"sepal_length" text,
"sepal_width" text,
"petal_length" text,
"petal_width" text,
"species" text
);
|
SELECT COUNT("species") FROM "fisher_s_iris_data" WHERE "sepal_width"='3.4' AND "sepal_length"='5.4';
|
1-10477224-1
|
Name the sepal length for sepal width of 2.8 and petal length of 5.1
|
CREATE TABLE "fisher_s_iris_data" (
"sepal_length" text,
"sepal_width" text,
"petal_length" text,
"petal_width" text,
"species" text
);
|
SELECT "sepal_length" FROM "fisher_s_iris_data" WHERE "sepal_width"='2.8' AND "petal_length"='5.1';
|
1-10477224-1
|
Name the sepal width when sepal length is 6.5 and petal width is 2.2
|
CREATE TABLE "fisher_s_iris_data" (
"sepal_length" text,
"sepal_width" text,
"petal_length" text,
"petal_width" text,
"species" text
);
|
SELECT "sepal_width" FROM "fisher_s_iris_data" WHERE "sepal_length"='6.5' AND "petal_width"='2.2';
|
1-10477224-1
|
Name the sepal lengh when sepal width is 2.9 and petal width 1.3
|
CREATE TABLE "fisher_s_iris_data" (
"sepal_length" text,
"sepal_width" text,
"petal_length" text,
"petal_width" text,
"species" text
);
|
SELECT "sepal_length" FROM "fisher_s_iris_data" WHERE "sepal_width"='2.9' AND "petal_width"='1.3';
|
1-10477224-1
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.