question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Name the total number of rnd for kim baker, bobby archer, tommy archer | CREATE TABLE "table1_27965906_2" (
"rnd" real,
"circuit" text,
"gt_winning_car" text,
"ss_winning_car" text,
"a_winning_car" text,
"b_winning_car" text,
"report" text
); | SELECT COUNT("rnd") FROM "table1_27965906_2" WHERE "ss_winning_car"='Kim Baker, Bobby Archer, Tommy Archer'; | 1-27965906-2 |
Name the total number of b winning car and bobby archer, tommy archer | CREATE TABLE "table1_27965906_2" (
"rnd" real,
"circuit" text,
"gt_winning_car" text,
"ss_winning_car" text,
"a_winning_car" text,
"b_winning_car" text,
"report" text
); | SELECT COUNT("b_winning_car") FROM "table1_27965906_2" WHERE "ss_winning_car"='Bobby Archer, Tommy Archer'; | 1-27965906-2 |
How many institutes have the team name Spartans? | CREATE TABLE "member_schools" (
"institution" text,
"city" text,
"state" text,
"team_name" text,
"affiliation" text,
"enrollment" real,
"home_conference" text
); | SELECT COUNT("institution") FROM "member_schools" WHERE "team_name"='Spartans'; | 1-27961684-1 |
How many states were there when there was an enrollment of 2789? | CREATE TABLE "member_schools" (
"institution" text,
"city" text,
"state" text,
"team_name" text,
"affiliation" text,
"enrollment" real,
"home_conference" text
); | SELECT COUNT("state") FROM "member_schools" WHERE "enrollment"=2789; | 1-27961684-1 |
What kind of institute is in Indiana? | CREATE TABLE "member_schools" (
"institution" text,
"city" text,
"state" text,
"team_name" text,
"affiliation" text,
"enrollment" real,
"home_conference" text
); | SELECT "affiliation" FROM "member_schools" WHERE "state"='Indiana'; | 1-27961684-1 |
How many people enrolled for the institute with the Pioneers? | CREATE TABLE "member_schools" (
"institution" text,
"city" text,
"state" text,
"team_name" text,
"affiliation" text,
"enrollment" real,
"home_conference" text
); | SELECT MIN("enrollment") FROM "member_schools" WHERE "team_name"='Pioneers'; | 1-27961684-1 |
What team is in the city of Rock Island? | CREATE TABLE "member_schools" (
"institution" text,
"city" text,
"state" text,
"team_name" text,
"affiliation" text,
"enrollment" real,
"home_conference" text
); | SELECT "team_name" FROM "member_schools" WHERE "city"='Rock Island'; | 1-27961684-1 |
What is the name of the episode written by alison cross? | CREATE TABLE "table1_27969432_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production" text,
"u_s_viewers_in_millions" text
); | SELECT "title" FROM "table1_27969432_2" WHERE "written_by"='Alison Cross'; | 1-27969432-2 |
How many viewers watched the episode "the beast in me"? | CREATE TABLE "table1_27969432_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production" text,
"u_s_viewers_in_millions" text
); | SELECT "u_s_viewers_in_millions" FROM "table1_27969432_2" WHERE "title"='\"The Beast in Me\"'; | 1-27969432-2 |
How many people wrote the "the beast in me"? | CREATE TABLE "table1_27969432_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production" text,
"u_s_viewers_in_millions" text
); | SELECT COUNT("written_by") FROM "table1_27969432_2" WHERE "title"='\"The Beast in Me\"'; | 1-27969432-2 |
Who directed the episode written by karina csolty | CREATE TABLE "table1_27969432_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production" text,
"u_s_viewers_in_millions" text
); | SELECT "directed_by" FROM "table1_27969432_2" WHERE "written_by"='Karina Csolty'; | 1-27969432-2 |
What is the name of the episode written by karina csolty? | CREATE TABLE "table1_27969432_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production" text,
"u_s_viewers_in_millions" text
); | SELECT "title" FROM "table1_27969432_2" WHERE "written_by"='Karina Csolty'; | 1-27969432-2 |
Who directed the episode whose production code is 2m5901? | CREATE TABLE "table1_27969432_4" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production" text,
"u_s_viewers_in_millions" text
); | SELECT "directed_by" FROM "table1_27969432_4" WHERE "production"='2M5901'; | 1-27969432-4 |
What is the first air date of the episode titled "Cuts like a knife"? | CREATE TABLE "table1_27969432_4" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production" text,
"u_s_viewers_in_millions" text
); | SELECT "original_air_date" FROM "table1_27969432_4" WHERE "title"='\"Cuts Like a Knife\"'; | 1-27969432-4 |
How many viewers in millions were there for episode 4 of this season? | CREATE TABLE "table1_27969432_4" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production" text,
"u_s_viewers_in_millions" text
); | SELECT COUNT("u_s_viewers_in_millions") FROM "table1_27969432_4" WHERE "no_in_season"=4; | 1-27969432-4 |
What is the production code for the episode titled "Love the way you lie"? | CREATE TABLE "table1_27969432_4" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production" text,
"u_s_viewers_in_millions" text
); | SELECT "production" FROM "table1_27969432_4" WHERE "title"='\"Love the Way You Lie\"'; | 1-27969432-4 |
Name the total number of rank for percentage change yoy 13.1% | CREATE TABLE "universities_and_colleges_ranked_by_endo" (
"state_rank" real,
"national_rank" real,
"institution" text,
"location" text,
"public_or_private" text,
"endowment_funds" text,
"percentage_change_yoy" text
); | SELECT COUNT("national_rank") FROM "universities_and_colleges_ranked_by_endo" WHERE "percentage_change_yoy"='13.1%'; | 1-27956-3 |
Name the percentage change yoy for presbyterian college | CREATE TABLE "universities_and_colleges_ranked_by_endo" (
"state_rank" real,
"national_rank" real,
"institution" text,
"location" text,
"public_or_private" text,
"endowment_funds" text,
"percentage_change_yoy" text
); | SELECT "percentage_change_yoy" FROM "universities_and_colleges_ranked_by_endo" WHERE "institution"='Presbyterian College'; | 1-27956-3 |
Name the national rank for medical university of south carolina | CREATE TABLE "universities_and_colleges_ranked_by_endo" (
"state_rank" real,
"national_rank" real,
"institution" text,
"location" text,
"public_or_private" text,
"endowment_funds" text,
"percentage_change_yoy" text
); | SELECT "national_rank" FROM "universities_and_colleges_ranked_by_endo" WHERE "institution"='Medical University of South Carolina'; | 1-27956-3 |
What is the lowest numbered episode in the series? | CREATE TABLE "table1_27969432_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production" text,
"u_s_viewers_in_millions" text
); | SELECT MIN("no_in_series") FROM "table1_27969432_3"; | 1-27969432-3 |
What numbered episode in the series is "remember me"? | CREATE TABLE "table1_27969432_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production" text,
"u_s_viewers_in_millions" text
); | SELECT MIN("no_in_series") FROM "table1_27969432_3" WHERE "title"='\"Remember Me\"'; | 1-27969432-3 |
How many episodes were written by david j. north & janet tamaro? | CREATE TABLE "table1_27969432_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production" text,
"u_s_viewers_in_millions" text
); | SELECT COUNT("original_air_date") FROM "table1_27969432_3" WHERE "written_by"='David J. North & Janet Tamaro'; | 1-27969432-3 |
What are the original air dates for episodes directed by fred toye? | CREATE TABLE "table1_27969432_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production" text,
"u_s_viewers_in_millions" text
); | SELECT "original_air_date" FROM "table1_27969432_3" WHERE "directed_by"='Fred Toye'; | 1-27969432-3 |
What was the aggregate score for Montauban? | CREATE TABLE "aggregate_results" (
"proceed_to_quarter_final" text,
"match_points" text,
"aggregate_score" text,
"points_margin" real,
"eliminated_from_competition" text
); | SELECT "aggregate_score" FROM "aggregate_results" WHERE "proceed_to_quarter_final"='Montauban'; | 1-27986200-3 |
Who proceeded to the quarter finals with a points margin of 21? | CREATE TABLE "aggregate_results" (
"proceed_to_quarter_final" text,
"match_points" text,
"aggregate_score" text,
"points_margin" real,
"eliminated_from_competition" text
); | SELECT "proceed_to_quarter_final" FROM "aggregate_results" WHERE "points_margin"=21; | 1-27986200-3 |
What were the match points when Bordeaux-Bègles was eliminated from competition? | CREATE TABLE "aggregate_results" (
"proceed_to_quarter_final" text,
"match_points" text,
"aggregate_score" text,
"points_margin" real,
"eliminated_from_competition" text
); | SELECT "match_points" FROM "aggregate_results" WHERE "eliminated_from_competition"='Bordeaux-Bègles'; | 1-27986200-3 |
How many viewers saw the episode written by kevin biegel & bill lawrence? | CREATE TABLE "table1_27987623_1" (
"series_episode" real,
"season_episode" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_in_million" text
); | SELECT "u_s_viewers_in_million" FROM "table1_27987623_1" WHERE "written_by"='Kevin Biegel & Bill Lawrence'; | 1-27987623-1 |
What was the episode number veiwed by 7.43 million viewers? | CREATE TABLE "table1_27987623_1" (
"series_episode" real,
"season_episode" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_in_million" text
); | SELECT MAX("series_episode") FROM "table1_27987623_1" WHERE "u_s_viewers_in_million"='7.43'; | 1-27987623-1 |
What was the title of the episode viewed by 5.03 million viewers? | CREATE TABLE "table1_27987623_1" (
"series_episode" real,
"season_episode" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_in_million" text
); | SELECT "title" FROM "table1_27987623_1" WHERE "u_s_viewers_in_million"='5.03'; | 1-27987623-1 |
What was the episode number for the episode viewed by 5.68 million viewers? | CREATE TABLE "table1_27987623_1" (
"series_episode" real,
"season_episode" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_in_million" text
); | SELECT "season_episode" FROM "table1_27987623_1" WHERE "u_s_viewers_in_million"='5.68'; | 1-27987623-1 |
What is the episode number with a title "baby's a rock 'n' roller"? | CREATE TABLE "table1_27987623_1" (
"series_episode" real,
"season_episode" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_in_million" text
); | SELECT MIN("series_episode") FROM "table1_27987623_1" WHERE "title"='\"Baby''s a Rock ''N'' Roller\"'; | 1-27987623-1 |
How many times is the new entries this round is none? | CREATE TABLE "calendar" (
"round" text,
"main_date" text,
"number_of_fixtures" real,
"clubs" text,
"new_entries_this_round" text,
"prize_money" text,
"player_of_the_round" text
); | SELECT COUNT("number_of_fixtures") FROM "calendar" WHERE "new_entries_this_round"='none'; | 1-27973624-1 |
What is the prize money when the clubs is 392 → 276? | CREATE TABLE "calendar" (
"round" text,
"main_date" text,
"number_of_fixtures" real,
"clubs" text,
"new_entries_this_round" text,
"prize_money" text,
"player_of_the_round" text
); | SELECT "prize_money" FROM "calendar" WHERE "clubs"='392 → 276'; | 1-27973624-1 |
What is the lowest number of fixtures? | CREATE TABLE "calendar" (
"round" text,
"main_date" text,
"number_of_fixtures" real,
"clubs" text,
"new_entries_this_round" text,
"prize_money" text,
"player_of_the_round" text
); | SELECT MIN("number_of_fixtures") FROM "calendar"; | 1-27973624-1 |
What is the main date when the round is third round qualifying? | CREATE TABLE "calendar" (
"round" text,
"main_date" text,
"number_of_fixtures" real,
"clubs" text,
"new_entries_this_round" text,
"prize_money" text,
"player_of_the_round" text
); | SELECT "main_date" FROM "calendar" WHERE "round"='Third Round Qualifying'; | 1-27973624-1 |
What is the round when the prize money is £7,500? | CREATE TABLE "calendar" (
"round" text,
"main_date" text,
"number_of_fixtures" real,
"clubs" text,
"new_entries_this_round" text,
"prize_money" text,
"player_of_the_round" text
); | SELECT "round" FROM "calendar" WHERE "prize_money"='£7,500'; | 1-27973624-1 |
What number in series was the episode written by Eric Gilliland? | CREATE TABLE "table1_27987768_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT MAX("no_in_series") FROM "table1_27987768_1" WHERE "written_by"='Eric Gilliland'; | 1-27987768-1 |
how many total number of points margin when brive is the winners | CREATE TABLE "aggregate_results" (
"winners" text,
"match_points" text,
"aggregate_score" text,
"points_margin" real,
"losers" text
); | SELECT COUNT("points_margin") FROM "aggregate_results" WHERE "winners"='Brive'; | 1-27987767-2 |
how many match points did gran parma lost | CREATE TABLE "aggregate_results" (
"winners" text,
"match_points" text,
"aggregate_score" text,
"points_margin" real,
"losers" text
); | SELECT "match_points" FROM "aggregate_results" WHERE "losers"='Gran Parma'; | 1-27987767-2 |
how many match points rotherham lose | CREATE TABLE "aggregate_results" (
"winners" text,
"match_points" text,
"aggregate_score" text,
"points_margin" real,
"losers" text
); | SELECT "match_points" FROM "aggregate_results" WHERE "losers"='Rotherham'; | 1-27987767-2 |
When brive is the proceed to quarter final how many were eliminated from competition? | CREATE TABLE "aggregate_results" (
"proceed_to_quarter_final" text,
"match_points" text,
"aggregate_score" text,
"points_margin" real,
"eliminated_from_competition" text
); | SELECT COUNT("eliminated_from_competition") FROM "aggregate_results" WHERE "proceed_to_quarter_final"='Brive'; | 1-27987767-3 |
When london irish was eliminated from competition who proceeded to quarter final? | CREATE TABLE "aggregate_results" (
"proceed_to_quarter_final" text,
"match_points" text,
"aggregate_score" text,
"points_margin" real,
"eliminated_from_competition" text
); | SELECT "proceed_to_quarter_final" FROM "aggregate_results" WHERE "eliminated_from_competition"='London Irish'; | 1-27987767-3 |
When brive proceeded to quarter final what were the match points? | CREATE TABLE "aggregate_results" (
"proceed_to_quarter_final" text,
"match_points" text,
"aggregate_score" text,
"points_margin" real,
"eliminated_from_competition" text
); | SELECT "match_points" FROM "aggregate_results" WHERE "proceed_to_quarter_final"='Brive'; | 1-27987767-3 |
When london irish was eliminated from competition who proceeded to quarter final? | CREATE TABLE "aggregate_results" (
"proceed_to_quarter_final" text,
"match_points" text,
"aggregate_score" text,
"points_margin" real,
"eliminated_from_competition" text
); | SELECT "proceed_to_quarter_final" FROM "aggregate_results" WHERE "eliminated_from_competition"='London Irish'; | 1-27987767-3 |
What is the production code of the episode written by Jeff Filgo? | CREATE TABLE "table1_27988281_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT MAX("production_code") FROM "table1_27988281_1" WHERE "written_by"='Jeff Filgo'; | 1-27988281-1 |
Who wrote the episode titled "Red's Birthday"? | CREATE TABLE "table1_27988281_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT "written_by" FROM "table1_27988281_1" WHERE "title"='\"Red''s Birthday\"'; | 1-27988281-1 |
What is the production code of the episode titled "Halloween"? | CREATE TABLE "table1_27988281_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT MIN("production_code") FROM "table1_27988281_1" WHERE "title"='\"Halloween\"'; | 1-27988281-1 |
Name the original air date for bryan moore & chris peterson | CREATE TABLE "table1_27988408_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT "original_air_date" FROM "table1_27988408_1" WHERE "written_by"='Bryan Moore & Chris Peterson'; | 1-27988408-1 |
Name the least production code for bryan moore & chris peterson | CREATE TABLE "table1_27988408_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT MIN("production_code") FROM "table1_27988408_1" WHERE "written_by"='Bryan Moore & Chris Peterson'; | 1-27988408-1 |
Name who directed the episode "babe i'm gonna leave you" | CREATE TABLE "table1_27988408_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT "directed_by" FROM "table1_27988408_1" WHERE "title"='\"Babe I''m Gonna Leave You\"'; | 1-27988408-1 |
Name the total number in season for "the battle of evermore" | CREATE TABLE "table1_27988408_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT COUNT("no_in_season") FROM "table1_27988408_1" WHERE "title"='\"The Battle of Evermore\"'; | 1-27988408-1 |
How many dates did the episode with a production code of 804 originally air on? | CREATE TABLE "table1_27988559_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT COUNT("original_air_date") FROM "table1_27988559_1" WHERE "production_code"=804; | 1-27988559-1 |
What is the original air date for "killer queen"? | CREATE TABLE "table1_27988559_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT "original_air_date" FROM "table1_27988559_1" WHERE "title"='\"Killer Queen\"'; | 1-27988559-1 |
Who directed episode 2 of the season? | CREATE TABLE "table1_27988559_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT "directed_by" FROM "table1_27988559_1" WHERE "no_in_season"=2; | 1-27988559-1 |
Who wrote "bohemian rhapsody"? | CREATE TABLE "table1_27988559_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT "written_by" FROM "table1_27988559_1" WHERE "title"='\"Bohemian Rhapsody\"'; | 1-27988559-1 |
What dat did episode 195 in the series originally air? | CREATE TABLE "table1_27988559_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT "original_air_date" FROM "table1_27988559_1" WHERE "no_in_series"=195; | 1-27988559-1 |
What is the name of episode 5 in the season? | CREATE TABLE "table1_27988540_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT "title" FROM "table1_27988540_1" WHERE "no_in_season"=5; | 1-27988540-1 |
Who wrote "it's only rock and roll"? | CREATE TABLE "table1_27988540_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT "written_by" FROM "table1_27988540_1" WHERE "title"='\"It''s Only Rock and Roll\"'; | 1-27988540-1 |
What is the title of episode 155 in the series? | CREATE TABLE "table1_27988540_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT "title" FROM "table1_27988540_1" WHERE "no_in_series"=155; | 1-27988540-1 |
What is the last year a sponsorship ended? | CREATE TABLE "table1_28005160_2" (
"sponsored_name" text,
"non_sponsored_name" text,
"sponsor" text,
"stadium" text,
"city" text,
"country" text,
"sport" text,
"sponsorship_ended" real
); | SELECT MAX("sponsorship_ended") FROM "table1_28005160_2"; | 1-28005160-2 |
How many countries played in the city of ljungskile? | CREATE TABLE "table1_28005160_2" (
"sponsored_name" text,
"non_sponsored_name" text,
"sponsor" text,
"stadium" text,
"city" text,
"country" text,
"sport" text,
"sponsorship_ended" real
); | SELECT COUNT("country") FROM "table1_28005160_2" WHERE "city"='Ljungskile'; | 1-28005160-2 |
What cities are in sweden on this list? | CREATE TABLE "table1_28005160_2" (
"sponsored_name" text,
"non_sponsored_name" text,
"sponsor" text,
"stadium" text,
"city" text,
"country" text,
"sport" text,
"sponsorship_ended" real
); | SELECT "city" FROM "table1_28005160_2" WHERE "country"='Sweden'; | 1-28005160-2 |
What country is new orleans in? | CREATE TABLE "table1_28005160_2" (
"sponsored_name" text,
"non_sponsored_name" text,
"sponsor" text,
"stadium" text,
"city" text,
"country" text,
"sport" text,
"sponsorship_ended" real
); | SELECT "country" FROM "table1_28005160_2" WHERE "city"='New Orleans'; | 1-28005160-2 |
What country are the new orleans shell shockers from? | CREATE TABLE "table1_28005160_2" (
"sponsored_name" text,
"non_sponsored_name" text,
"sponsor" text,
"stadium" text,
"city" text,
"country" text,
"sport" text,
"sponsorship_ended" real
); | SELECT "country" FROM "table1_28005160_2" WHERE "sponsored_name"='New Orleans Shell Shockers'; | 1-28005160-2 |
What is the arrangement for bets3ab 3alia nafsy? | CREATE TABLE "track_listing" (
"no" real,
"title" text,
"lyricist" text,
"composer" text,
"arrangement" text,
"sound_engineer" text,
"length" text
); | SELECT "arrangement" FROM "track_listing" WHERE "title"='Bets3ab 3alia Nafsy'; | 1-28005100-1 |
Who was the composer of ain shams? | CREATE TABLE "track_listing" (
"no" real,
"title" text,
"lyricist" text,
"composer" text,
"arrangement" text,
"sound_engineer" text,
"length" text
); | SELECT "composer" FROM "track_listing" WHERE "title"='Ain Shams'; | 1-28005100-1 |
How many numbers are there for kam wa7ed fina? | CREATE TABLE "track_listing" (
"no" real,
"title" text,
"lyricist" text,
"composer" text,
"arrangement" text,
"sound_engineer" text,
"length" text
); | SELECT COUNT("no") FROM "track_listing" WHERE "title"='Kam Wa7ed Fina'; | 1-28005100-1 |
Who was the composer of te3rafy? | CREATE TABLE "track_listing" (
"no" real,
"title" text,
"lyricist" text,
"composer" text,
"arrangement" text,
"sound_engineer" text,
"length" text
); | SELECT "composer" FROM "track_listing" WHERE "title"='Te3rafy'; | 1-28005100-1 |
How many sound engineers were there for law hakon '3er leek? | CREATE TABLE "track_listing" (
"no" real,
"title" text,
"lyricist" text,
"composer" text,
"arrangement" text,
"sound_engineer" text,
"length" text
); | SELECT COUNT("sound_engineer") FROM "track_listing" WHERE "title"='Law Hakon ''3er Leek'; | 1-28005100-1 |
Which number was the lyricist ahmed metwally? | CREATE TABLE "track_listing" (
"no" real,
"title" text,
"lyricist" text,
"composer" text,
"arrangement" text,
"sound_engineer" text,
"length" text
); | SELECT "no" FROM "track_listing" WHERE "lyricist"='Ahmed Metwally'; | 1-28005100-1 |
What was the site of the game that had an 11-4 score? | CREATE TABLE "schedule" (
"num" real,
"date" text,
"opponent" text,
"site_stadium" text,
"score" text,
"win" text,
"loss" text,
"save" text,
"attendance" real,
"overall_record" text,
"ncaat_record" text
); | SELECT "site_stadium" FROM "schedule" WHERE "score"='11-4'; | 1-28001186-8 |
What was the NCAA Tournament record after the June 26 game? | CREATE TABLE "schedule" (
"num" real,
"date" text,
"opponent" text,
"site_stadium" text,
"score" text,
"win" text,
"loss" text,
"save" text,
"attendance" real,
"overall_record" text,
"ncaat_record" text
); | SELECT "ncaat_record" FROM "schedule" WHERE "date"='June 26'; | 1-28001186-8 |
Who had the save in the game in which Duke (3-2) took the loss? | CREATE TABLE "schedule" (
"num" real,
"date" text,
"opponent" text,
"site_stadium" text,
"score" text,
"win" text,
"loss" text,
"save" text,
"attendance" real,
"overall_record" text,
"ncaat_record" text
); | SELECT "save" FROM "schedule" WHERE "loss"='Duke (3-2)'; | 1-28001186-8 |
How many event dates occurred when event details were women's sabre? | CREATE TABLE "schedule" (
"event_date" text,
"event_day" text,
"approx_duration" text,
"starting_time" text,
"event_details" text
); | SELECT COUNT("event_date") FROM "schedule" WHERE "event_details"='Women''s Sabre'; | 1-28003469-1 |
What is every value for approximate duration when event details is women's foil? | CREATE TABLE "schedule" (
"event_date" text,
"event_day" text,
"approx_duration" text,
"starting_time" text,
"event_details" text
); | SELECT "approx_duration" FROM "schedule" WHERE "event_details"='Women''s Foil'; | 1-28003469-1 |
What is every event date on Sunday with a starting time of 9:30 am? | CREATE TABLE "schedule" (
"event_date" text,
"event_day" text,
"approx_duration" text,
"starting_time" text,
"event_details" text
); | SELECT "event_date" FROM "schedule" WHERE "event_day"='Sunday' AND "starting_time"='9:30 am'; | 1-28003469-1 |
How many items appear in the viewers column when the draw is 2? | CREATE TABLE "table1_27994983_8" (
"draw" real,
"artist" text,
"song_english_translation" text,
"lyrics_l_music_m" text,
"juries" real,
"viewers" real,
"total" real,
"place" real
); | SELECT COUNT("viewers") FROM "table1_27994983_8" WHERE "draw"=2; | 1-27994983-8 |
How many viewers are the when the draw is 3? | CREATE TABLE "table1_27994983_8" (
"draw" real,
"artist" text,
"song_english_translation" text,
"lyrics_l_music_m" text,
"juries" real,
"viewers" real,
"total" real,
"place" real
); | SELECT MAX("viewers") FROM "table1_27994983_8" WHERE "draw"=3; | 1-27994983-8 |
How many juries are there when the draw is 3? | CREATE TABLE "table1_27994983_8" (
"draw" real,
"artist" text,
"song_english_translation" text,
"lyrics_l_music_m" text,
"juries" real,
"viewers" real,
"total" real,
"place" real
); | SELECT MAX("juries") FROM "table1_27994983_8" WHERE "draw"=3; | 1-27994983-8 |
How many juries are there for Brolle? | CREATE TABLE "table1_27994983_8" (
"draw" real,
"artist" text,
"song_english_translation" text,
"lyrics_l_music_m" text,
"juries" real,
"viewers" real,
"total" real,
"place" real
); | SELECT MAX("juries") FROM "table1_27994983_8" WHERE "artist"='Brolle'; | 1-27994983-8 |
What are the former counties of the Great Grimsby district? | CREATE TABLE "former_districts" (
"district" text,
"status" text,
"date_abolished" text,
"former_county" text,
"successor" text
); | SELECT "former_county" FROM "former_districts" WHERE "district"='Great Grimsby'; | 1-2801185-2 |
How many statuses are there for the Durham district? | CREATE TABLE "former_districts" (
"district" text,
"status" text,
"date_abolished" text,
"former_county" text,
"successor" text
); | SELECT COUNT("status") FROM "former_districts" WHERE "district"='Durham'; | 1-2801185-2 |
What are the statuses of the districts whose successor is Wiltshire? | CREATE TABLE "former_districts" (
"district" text,
"status" text,
"date_abolished" text,
"former_county" text,
"successor" text
); | SELECT "status" FROM "former_districts" WHERE "successor"='Wiltshire'; | 1-2801185-2 |
What is the SDLP of Belfast? | CREATE TABLE "by_council" (
"council" text,
"tuv" real,
"democratic_unionist" real,
"ulster_unionist" real,
"alliance" real,
"sdlp" real,
"sinn_f_in" real,
"green_ni" real,
"independent" real,
"others" text,
"total" real
); | SELECT MAX("sdlp") FROM "by_council" WHERE "council"='Belfast'; | 1-28005809-2 |
What is the smallest Alliance where the total is 25? | CREATE TABLE "by_council" (
"council" text,
"tuv" real,
"democratic_unionist" real,
"ulster_unionist" real,
"alliance" real,
"sdlp" real,
"sinn_f_in" real,
"green_ni" real,
"independent" real,
"others" text,
"total" real
); | SELECT MIN("alliance") FROM "by_council" WHERE "total"=25; | 1-28005809-2 |
Who wrote the episode that 2.93 million viewers? | CREATE TABLE "table1_28019988_2" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT "written_by" FROM "table1_28019988_2" WHERE "u_s_viewers_million"='2.93'; | 1-28019988-2 |
What series number is the episode with production code bdf101? | CREATE TABLE "table1_28019988_2" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT MAX("series_num") FROM "table1_28019988_2" WHERE "production_code"='BDF101'; | 1-28019988-2 |
What series number is the episode entitled "Booty"? | CREATE TABLE "table1_28019988_2" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT MAX("series_num") FROM "table1_28019988_2" WHERE "title"='\"Booty\"'; | 1-28019988-2 |
What is the series number for the episode with production code bdf109? | CREATE TABLE "table1_28019988_2" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT "series_num" FROM "table1_28019988_2" WHERE "production_code"='BDF109'; | 1-28019988-2 |
Who directed the episode with the production code of 6AKY11? | CREATE TABLE "table1_28027307_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "directed_by" FROM "table1_28027307_1" WHERE "production_code"='6AKY11'; | 1-28027307-1 |
Who wrote the episode titled "The Feet on the Beach"? | CREATE TABLE "table1_28027307_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "written_by" FROM "table1_28027307_1" WHERE "title"='\"The Feet on the Beach\"'; | 1-28027307-1 |
What number episode in the season was titled "The Blackout in the Blizzard"? | CREATE TABLE "table1_28027307_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "no_in_season" FROM "table1_28027307_1" WHERE "title"='\"The Blackout in the Blizzard\"'; | 1-28027307-1 |
How many millions of U.S. viewers watched the episode with the production code of 6AKY07? | CREATE TABLE "table1_28027307_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "u_s_viewers_millions" FROM "table1_28027307_1" WHERE "production_code"='6AKY07'; | 1-28027307-1 |
What number episode in the series was watched by 10.96 million U.S. viewers? | CREATE TABLE "table1_28027307_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT MIN("no_in_series") FROM "table1_28027307_1" WHERE "u_s_viewers_millions"='10.96'; | 1-28027307-1 |
What dance had a score total of 31? | CREATE TABLE "table1_2803106_1" (
"week_num" real,
"dance_song" text,
"horwood" text,
"goodman" text,
"dixon" text,
"tonioli" text,
"total" text,
"result" text
); | SELECT "dance_song" FROM "table1_2803106_1" WHERE "total"='31'; | 1-2803106-1 |
What was the result for the dance that tonioli's scored an 8 and horwood scored a 6? | CREATE TABLE "table1_2803106_1" (
"week_num" real,
"dance_song" text,
"horwood" text,
"goodman" text,
"dixon" text,
"tonioli" text,
"total" text,
"result" text
); | SELECT "result" FROM "table1_2803106_1" WHERE "tonioli"='8' AND "horwood"='6'; | 1-2803106-1 |
How many times did tonioli score a 9 when horwood scored a 6? | CREATE TABLE "table1_2803106_1" (
"week_num" real,
"dance_song" text,
"horwood" text,
"goodman" text,
"dixon" text,
"tonioli" text,
"total" text,
"result" text
); | SELECT COUNT("total") FROM "table1_2803106_1" WHERE "tonioli"='9' AND "horwood"='6'; | 1-2803106-1 |
On week 11 when Dixon scored an 8, what was tonioli's score? | CREATE TABLE "table1_2803106_1" (
"week_num" real,
"dance_song" text,
"horwood" text,
"goodman" text,
"dixon" text,
"tonioli" text,
"total" text,
"result" text
); | SELECT "tonioli" FROM "table1_2803106_1" WHERE "week_num"=11 AND "dixon"='8'; | 1-2803106-1 |
How many winners from previous round were there in the semi finals? | CREATE TABLE "teams" (
"round" text,
"clubs_remaining" real,
"clubs_involved" real,
"winners_from_previous_round" text,
"new_entries_this_round" text,
"leagues_entering_at_this_round" text
); | SELECT "winners_from_previous_round" FROM "teams" WHERE "round"='Semi finals'; | 1-28039032-1 |
What was the round that had 32 winners from previous round? | CREATE TABLE "teams" (
"round" text,
"clubs_remaining" real,
"clubs_involved" real,
"winners_from_previous_round" text,
"new_entries_this_round" text,
"leagues_entering_at_this_round" text
); | SELECT "round" FROM "teams" WHERE "winners_from_previous_round"='32'; | 1-28039032-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.