question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
---|---|---|---|
Who was the Class AAAA champion in 2006-07? | CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "class_aaaa" FROM "team" WHERE "school_year"='2006-07'; | 1-14603057-2 |
How many times was there a class A winner when Gregory-Portland was the class AAAA? | CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT COUNT("class_a") FROM "team" WHERE "class_aaaa"='Gregory-Portland'; | 1-14603057-2 |
How many Class AAAA winners where in 2002-03? | CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT COUNT("class_aaaa") FROM "team" WHERE "school_year"='2002-03'; | 1-14603057-2 |
Who was the class AAAAA in 2008-09? | 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"='2008-09'; | 1-14603057-2 |
Who was the Class AA winner when Plains was Class A winner and Lubbock was Class AAAAA winner? | CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "class_aa" FROM "team" WHERE "class_a"='Plains' AND "class_aaaaa"='Lubbock'; | 1-14603057-2 |
Who was the Class A winner in 2006-07? | CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "class_a" FROM "team" WHERE "school_year"='2006-07'; | 1-14603057-2 |
If class a is canadian and class aaa is wimberley, which possible school years could this fall on? | CREATE TABLE "individual_overall" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "school_year" FROM "individual_overall" WHERE "class_aaa"='Wimberley' AND "class_a"='Canadian'; | 1-14603212-1 |
For franklin of class aa, which school years does this occur? | CREATE TABLE "individual_overall" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "school_year" FROM "individual_overall" WHERE "class_aa"='Franklin'; | 1-14603212-1 |
Which school years have a class a being lindsay and a class aaa being cuero? | CREATE TABLE "individual_overall" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "school_year" FROM "individual_overall" WHERE "class_a"='Lindsay' AND "class_aaa"='Cuero'; | 1-14603212-1 |
What season was the overall record 29-7? | CREATE TABLE "table1_14609295_4" (
"season" text,
"coach" text,
"overall" text,
"conference" text,
"standing" text,
"postseason" text
); | SELECT "season" FROM "table1_14609295_4" WHERE "overall"='29-7'; | 1-14609295-4 |
How far into the postseason did the Rams go when their record was 29-7? | CREATE TABLE "table1_14609295_4" (
"season" text,
"coach" text,
"overall" text,
"conference" text,
"standing" text,
"postseason" text
); | SELECT "postseason" FROM "table1_14609295_4" WHERE "overall"='29-7'; | 1-14609295-4 |
What was the Ram's conference record when they were the CBI champions? | CREATE TABLE "table1_14609295_4" (
"season" text,
"coach" text,
"overall" text,
"conference" text,
"standing" text,
"postseason" text
); | SELECT "conference" FROM "table1_14609295_4" WHERE "postseason"='CBI Champions'; | 1-14609295-4 |
What season was the overall record 24-10? | CREATE TABLE "table1_14609295_4" (
"season" text,
"coach" text,
"overall" text,
"conference" text,
"standing" text,
"postseason" text
); | SELECT "season" FROM "table1_14609295_4" WHERE "overall"='24-10'; | 1-14609295-4 |
In what season was the overall record 29-7? | CREATE TABLE "table1_14609295_4" (
"season" text,
"coach" text,
"overall" text,
"conference" text,
"standing" text,
"postseason" text
); | SELECT "season" FROM "table1_14609295_4" WHERE "overall"='29-7'; | 1-14609295-4 |
What are the school years where class "AAA" is argyle? | CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "school_year" FROM "team" WHERE "class_aaa"='Argyle'; | 1-14603212-5 |
What are all the AAA classes in the school years of 2005-06? | 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"='2005-06'; | 1-14603212-5 |
What are all the AAAA classes in the schools years 2004-05? | CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "class_aaaa" FROM "team" WHERE "school_year"='2004-05'; | 1-14603212-5 |
What are all the school years where class AAAA is in Gregory-Portland? | CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "school_year" FROM "team" WHERE "class_aaaa"='Gregory-Portland'; | 1-14603212-5 |
What are all the AAA classes in the school years of 2004-05? | 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"='2004-05'; | 1-14603212-5 |
What are all classes for the position SLB? | CREATE TABLE "norfolk_state" (
"position" text,
"number" real,
"name" text,
"height" text,
"weight" text,
"class" text,
"hometown" text,
"games" real
); | SELECT "class" FROM "norfolk_state" WHERE "position"='SLB'; | 1-14624447-24 |
What are all weights for the number 27? | CREATE TABLE "norfolk_state" (
"position" text,
"number" real,
"name" text,
"height" text,
"weight" text,
"class" text,
"hometown" text,
"games" real
); | SELECT "weight" FROM "norfolk_state" WHERE "number"=27; | 1-14624447-24 |
What are all names for the position FS? | CREATE TABLE "norfolk_state" (
"position" text,
"number" real,
"name" text,
"height" text,
"weight" text,
"class" text,
"hometown" text,
"games" real
); | SELECT "name" FROM "norfolk_state" WHERE "position"='FS'; | 1-14624447-24 |
Name the call sign for the 17 physical | CREATE TABLE "table1_14623167_1" (
"virtual" real,
"physical" real,
"call_sign" text,
"branding" text,
"network" text,
"owner" text
); | SELECT "call_sign" FROM "table1_14623167_1" WHERE "physical"=17; | 1-14623167-1 |
Name the branding for forum communications | CREATE TABLE "table1_14623167_1" (
"virtual" real,
"physical" real,
"call_sign" text,
"branding" text,
"network" text,
"owner" text
); | SELECT "branding" FROM "table1_14623167_1" WHERE "owner"='Forum Communications'; | 1-14623167-1 |
Name the number of branding for 31 physical | CREATE TABLE "table1_14623167_1" (
"virtual" real,
"physical" real,
"call_sign" text,
"branding" text,
"network" text,
"owner" text
); | SELECT COUNT("branding") FROM "table1_14623167_1" WHERE "physical"=31; | 1-14623167-1 |
Name the number of virtual for NBC | CREATE TABLE "table1_14623167_1" (
"virtual" real,
"physical" real,
"call_sign" text,
"branding" text,
"network" text,
"owner" text
); | SELECT COUNT("virtual") FROM "table1_14623167_1" WHERE "network"='NBC'; | 1-14623167-1 |
Name the virtual for Fox | CREATE TABLE "table1_14623167_1" (
"virtual" real,
"physical" real,
"call_sign" text,
"branding" text,
"network" text,
"owner" text
); | SELECT COUNT("virtual") FROM "table1_14623167_1" WHERE "network"='Fox'; | 1-14623167-1 |
Name the owners for prairie public | CREATE TABLE "table1_14623167_1" (
"virtual" real,
"physical" real,
"call_sign" text,
"branding" text,
"network" text,
"owner" text
); | SELECT COUNT("owner") FROM "table1_14623167_1" WHERE "branding"='Prairie Public'; | 1-14623167-1 |
Name the total number of class aaa for 2006-07 | CREATE TABLE "individual" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT COUNT("class_aaa") FROM "individual" WHERE "school_year"='2006-07'; | 1-14630796-1 |
Name the class aaaa for menard | CREATE TABLE "individual" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "class_aaaa" FROM "individual" WHERE "class_a"='Menard'; | 1-14630796-1 |
Name the school year for class aaaa for wichita falls | CREATE TABLE "individual" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "school_year" FROM "individual" WHERE "class_aaaa"='Wichita Falls'; | 1-14630796-1 |
Name the class a for carthage | CREATE TABLE "individual" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "class_a" FROM "individual" WHERE "class_aaaa"='Carthage'; | 1-14630796-1 |
What is the original title of europe for dummies? | CREATE TABLE "table1_14631909_1" (
"year" real,
"category" text,
"english_title" text,
"original_title" text,
"author" text,
"nationality" text
); | SELECT "original_title" FROM "table1_14631909_1" WHERE "english_title"='Europe for Dummies'; | 1-14631909-1 |
What is the English version of Mariusz Szczygieł book? | CREATE TABLE "table1_14631909_1" (
"year" real,
"category" text,
"english_title" text,
"original_title" text,
"author" text,
"nationality" text
); | SELECT "english_title" FROM "table1_14631909_1" WHERE "author"='Mariusz Szczygieł'; | 1-14631909-1 |
who is the the pole position with date being august 10 | CREATE TABLE "races" (
"rnd" real,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT "pole_position" FROM "races" WHERE "date"='August 10'; | 1-14638077-2 |
how many winning team with circuit being road america | CREATE TABLE "races" (
"rnd" real,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT COUNT("winning_team") FROM "races" WHERE "circuit"='Road America'; | 1-14638077-2 |
who is the the winning driver with pole position being paul tracy and race name being miller genuine draft 200 | CREATE TABLE "races" (
"rnd" real,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT "winning_driver" FROM "races" WHERE "pole_position"='Paul Tracy' AND "race_name"='Miller Genuine Draft 200'; | 1-14638077-2 |
who is the the pole position with rnd being 16 | CREATE TABLE "races" (
"rnd" real,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT "pole_position" FROM "races" WHERE "rnd"=16; | 1-14638077-2 |
what's the race name with date being september 7 | CREATE TABLE "races" (
"rnd" real,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT "race_name" FROM "races" WHERE "date"='September 7'; | 1-14638077-2 |
what's the circuit with rnd being 5 | CREATE TABLE "races" (
"rnd" real,
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT "circuit" FROM "races" WHERE "rnd"=5; | 1-14638077-2 |
What is the number of appearances where the most recent final result is 1999, beat Genk 3-1? | CREATE TABLE "performance_by_club" (
"team" text,
"num_appearances" real,
"years_won_in_bold" text,
"num_wins" real,
"num_runner_up" real,
"most_recent_final" text
); | SELECT COUNT("num_appearances") FROM "performance_by_club" WHERE "most_recent_final"='1999, beat Genk 3-1'; | 1-1463332-2 |
What is the number of runner-up results for the years (won in bold) 1984, 2010? | CREATE TABLE "performance_by_club" (
"team" text,
"num_appearances" real,
"years_won_in_bold" text,
"num_wins" real,
"num_runner_up" real,
"most_recent_final" text
); | SELECT MAX("num_runner_up") FROM "performance_by_club" WHERE "years_won_in_bold"='1984, 2010'; | 1-1463332-2 |
What is the most recent final result for the years (won in bold) 1979? | CREATE TABLE "performance_by_club" (
"team" text,
"num_appearances" real,
"years_won_in_bold" text,
"num_wins" real,
"num_runner_up" real,
"most_recent_final" text
); | SELECT "most_recent_final" FROM "performance_by_club" WHERE "years_won_in_bold"='1979'; | 1-1463332-2 |
what's the title with original air date being september23,1995 | CREATE TABLE "table1_14637853_3" (
"no_in_series" real,
"title" text,
"written_by" text,
"directed_by" text,
"original_air_date" text,
"tv_broadcast" text
); | SELECT "title" FROM "table1_14637853_3" WHERE "original_air_date"='September23,1995'; | 1-14637853-3 |
who wrote with original air date being september23,1995 | CREATE TABLE "table1_14637853_3" (
"no_in_series" real,
"title" text,
"written_by" text,
"directed_by" text,
"original_air_date" text,
"tv_broadcast" text
); | SELECT "written_by" FROM "table1_14637853_3" WHERE "original_air_date"='September23,1995'; | 1-14637853-3 |
who directed with original air date being november18,1995 | CREATE TABLE "table1_14637853_3" (
"no_in_series" real,
"title" text,
"written_by" text,
"directed_by" text,
"original_air_date" text,
"tv_broadcast" text
); | SELECT "directed_by" FROM "table1_14637853_3" WHERE "original_air_date"='November18,1995'; | 1-14637853-3 |
What percentages of social democratic correspond to a 5.5% left bloc? | CREATE TABLE "116_seats_needed_for_a_majority" (
"date_released" text,
"polling_institute" text,
"socialist" text,
"social_democratic" text,
"peoples_party" text,
"green_communist" text,
"left_bloc" text,
"lead" text
); | SELECT "social_democratic" FROM "116_seats_needed_for_a_majority" WHERE "left_bloc"='5.5%'; | 1-1463383-1 |
When was there 8.9% Green-Communist? | CREATE TABLE "116_seats_needed_for_a_majority" (
"date_released" text,
"polling_institute" text,
"socialist" text,
"social_democratic" text,
"peoples_party" text,
"green_communist" text,
"left_bloc" text,
"lead" text
); | SELECT "date_released" FROM "116_seats_needed_for_a_majority" WHERE "green_communist"='8.9%'; | 1-1463383-1 |
How many socialists correspond to a 7.5% People's Party? | CREATE TABLE "116_seats_needed_for_a_majority" (
"date_released" text,
"polling_institute" text,
"socialist" text,
"social_democratic" text,
"peoples_party" text,
"green_communist" text,
"left_bloc" text,
"lead" text
); | SELECT COUNT("socialist") FROM "116_seats_needed_for_a_majority" WHERE "peoples_party"='7.5%'; | 1-1463383-1 |
What are all percentages of Left Block when there is a 28.7% Social Democratic? | CREATE TABLE "116_seats_needed_for_a_majority" (
"date_released" text,
"polling_institute" text,
"socialist" text,
"social_democratic" text,
"peoples_party" text,
"green_communist" text,
"left_bloc" text,
"lead" text
); | SELECT "left_bloc" FROM "116_seats_needed_for_a_majority" WHERE "social_democratic"='28.7%'; | 1-1463383-1 |
If Socialist is at 46.1%, what are all percentages for social democratic? | CREATE TABLE "116_seats_needed_for_a_majority" (
"date_released" text,
"polling_institute" text,
"socialist" text,
"social_democratic" text,
"peoples_party" text,
"green_communist" text,
"left_bloc" text,
"lead" text
); | SELECT "social_democratic" FROM "116_seats_needed_for_a_majority" WHERE "socialist"='46.1%'; | 1-1463383-1 |
How many percentages of Left Bloc correspond to a 32.1% Social Democratic? | CREATE TABLE "116_seats_needed_for_a_majority" (
"date_released" text,
"polling_institute" text,
"socialist" text,
"social_democratic" text,
"peoples_party" text,
"green_communist" text,
"left_bloc" text,
"lead" text
); | SELECT COUNT("left_bloc") FROM "116_seats_needed_for_a_majority" WHERE "social_democratic"='32.1%'; | 1-1463383-1 |
What is the NFL team of the player whose college is Minnesota? | CREATE TABLE "nfl_draft" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "nfl_team" FROM "nfl_draft" WHERE "college"='Minnesota'; | 1-14650162-1 |
What college did the defensive back attend? | CREATE TABLE "nfl_draft" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "college" FROM "nfl_draft" WHERE "position"='Defensive Back'; | 1-14650162-1 |
What is the pick number of the player whose college is Florida State? | CREATE TABLE "nfl_draft" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "pick_num" FROM "nfl_draft" WHERE "college"='Florida State'; | 1-14650162-1 |
How many colleges did pick number 269 attend? | CREATE TABLE "nfl_draft" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT COUNT("college") FROM "nfl_draft" WHERE "pick_num"=269; | 1-14650162-1 |
How many picks played Tight end? | CREATE TABLE "nfl_draft" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT COUNT("pick_num") FROM "nfl_draft" WHERE "position"='Tight End'; | 1-14650162-1 |
What is the position of the player whose college is Western Kentucky? | CREATE TABLE "nfl_draft" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "position" FROM "nfl_draft" WHERE "college"='Western Kentucky'; | 1-14650162-1 |
What position does Robert Brooks play? | CREATE TABLE "nfl_draft" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT COUNT("position") FROM "nfl_draft" WHERE "player"='Robert Brooks'; | 1-14649522-1 |
Which team does Robert Brooks play with? | CREATE TABLE "nfl_draft" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "nfl_team" FROM "nfl_draft" WHERE "player"='Robert Brooks'; | 1-14649522-1 |
Which team picked from South Carolina college? | CREATE TABLE "nfl_draft" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "nfl_team" FROM "nfl_draft" WHERE "college"='South Carolina'; | 1-14649522-1 |
Which college was the wide receiver whose pick was less than 130.0 picked from? | CREATE TABLE "nfl_draft" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "college" FROM "nfl_draft" WHERE "position"='Wide Receiver' AND "pick_num"<130.0; | 1-14649522-1 |
What position(s) does the player drafted #34 play? | CREATE TABLE "nfl_draft" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "position" FROM "nfl_draft" WHERE "pick_num"=34; | 1-14650373-1 |
What is the highest pick number? | CREATE TABLE "nfl_draft" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT MAX("pick_num") FROM "nfl_draft"; | 1-14650373-1 |
What number picked were players from arizona state picked? | CREATE TABLE "nfl_draft" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "pick_num" FROM "nfl_draft" WHERE "college"='Arizona State'; | 1-14650373-1 |
What NFL team does player keith woodside play for? | CREATE TABLE "nfl_draft" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "nfl_team" FROM "nfl_draft" WHERE "player"='Keith Woodside'; | 1-14650373-1 |
what's the player with college being penn state | CREATE TABLE "nfl_draft" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "player" FROM "nfl_draft" WHERE "college"='Penn State'; | 1-14655985-1 |
what's the position with college being usc | CREATE TABLE "nfl_draft" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "position" FROM "nfl_draft" WHERE "college"='USC'; | 1-14655985-1 |
how many college with player being rich voltzke | CREATE TABLE "nfl_draft" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT COUNT("college") FROM "nfl_draft" WHERE "player"='Rich Voltzke'; | 1-14655985-1 |
what's the college with position being placekicker | CREATE TABLE "nfl_draft" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "college" FROM "nfl_draft" WHERE "position"='Placekicker'; | 1-14655985-1 |
who is the the player where pick # is 64 | CREATE TABLE "nfl_draft" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "player" FROM "nfl_draft" WHERE "pick_num"=64; | 1-14655985-1 |
What day were the Denver Broncos the opponent? | CREATE TABLE "table1_14655917_1" (
"week" real,
"date" text,
"opponent" text,
"final_score" text,
"team_record" text,
"game_site" text,
"attendance" real
); | SELECT "date" FROM "table1_14655917_1" WHERE "opponent"='Denver Broncos'; | 1-14655917-1 |
What day was the oppenent the detroit lions? | CREATE TABLE "table1_14655917_1" (
"week" real,
"date" text,
"opponent" text,
"final_score" text,
"team_record" text,
"game_site" text,
"attendance" real
); | SELECT "date" FROM "table1_14655917_1" WHERE "opponent"='Detroit Lions'; | 1-14655917-1 |
List the record of 0-1 from the table? | CREATE TABLE "schedule" (
"week" real,
"opponent" text,
"result" text,
"stadium" text,
"record" text,
"attendance" real
); | SELECT "week" FROM "schedule" WHERE "record"='0-1'; | 1-14656147-2 |
Type the record details if any result has L 3-6 in it? | CREATE TABLE "schedule" (
"week" real,
"opponent" text,
"result" text,
"stadium" text,
"record" text,
"attendance" real
); | SELECT "record" FROM "schedule" WHERE "result"='L 3-6'; | 1-14656147-2 |
Find the least value of attendance? | CREATE TABLE "schedule" (
"week" real,
"opponent" text,
"result" text,
"stadium" text,
"record" text,
"attendance" real
); | SELECT MIN("attendance") FROM "schedule"; | 1-14656147-2 |
type the attendance for playing with tampa bay buccaneers? | CREATE TABLE "schedule" (
"week" real,
"opponent" text,
"result" text,
"stadium" text,
"record" text,
"attendance" real
); | SELECT "attendance" FROM "schedule" WHERE "opponent"='Tampa Bay Buccaneers'; | 1-14656147-2 |
How many times was obamacare: fed/ state/ partnership recorded for Louisiana? | CREATE TABLE "table_of_federal_taxation_and_spending_b" (
"rank" real,
"state" text,
"revenue_millions" text,
"population" real,
"revenue_per_capita" text,
"spending_millions" text,
"spending_per_capita" text,
"net_contribution_per_capita" text,
"presidential_majority_2000_2004" text,
"presidential_majority_2008" text,
"presidential_majority_2012" text,
"obamacare_fed_state_partnership" text
); | SELECT COUNT("obamacare_fed_state_partnership") FROM "table_of_federal_taxation_and_spending_b" WHERE "state"='Louisiana'; | 1-14700336-1 |
How many numbers were recorded under revenue when revenue per capita was $6,126? | CREATE TABLE "table_of_federal_taxation_and_spending_b" (
"rank" real,
"state" text,
"revenue_millions" text,
"population" real,
"revenue_per_capita" text,
"spending_millions" text,
"spending_per_capita" text,
"net_contribution_per_capita" text,
"presidential_majority_2000_2004" text,
"presidential_majority_2008" text,
"presidential_majority_2012" text,
"obamacare_fed_state_partnership" text
); | SELECT COUNT("revenue_millions") FROM "table_of_federal_taxation_and_spending_b" WHERE "revenue_per_capita"='$6,126'; | 1-14700336-1 |
How many times was presidential majority 2000/2004 recorded when obamacare: fed/ state/ partnership was Utah shop? | CREATE TABLE "table_of_federal_taxation_and_spending_b" (
"rank" real,
"state" text,
"revenue_millions" text,
"population" real,
"revenue_per_capita" text,
"spending_millions" text,
"spending_per_capita" text,
"net_contribution_per_capita" text,
"presidential_majority_2000_2004" text,
"presidential_majority_2008" text,
"presidential_majority_2012" text,
"obamacare_fed_state_partnership" text
); | SELECT COUNT("presidential_majority_2000_2004") FROM "table_of_federal_taxation_and_spending_b" WHERE "obamacare_fed_state_partnership"='Utah shop'; | 1-14700336-1 |
What was the spending per capita when the revenue per capita was $7,755? | CREATE TABLE "table_of_federal_taxation_and_spending_b" (
"rank" real,
"state" text,
"revenue_millions" text,
"population" real,
"revenue_per_capita" text,
"spending_millions" text,
"spending_per_capita" text,
"net_contribution_per_capita" text,
"presidential_majority_2000_2004" text,
"presidential_majority_2008" text,
"presidential_majority_2012" text,
"obamacare_fed_state_partnership" text
); | SELECT "spending_per_capita" FROM "table_of_federal_taxation_and_spending_b" WHERE "revenue_per_capita"='$7,755'; | 1-14700336-1 |
What was the recorded result under presidential majority 2000/2004 when the presiditial majority in 2012 was non-voting? | CREATE TABLE "table_of_federal_taxation_and_spending_b" (
"rank" real,
"state" text,
"revenue_millions" text,
"population" real,
"revenue_per_capita" text,
"spending_millions" text,
"spending_per_capita" text,
"net_contribution_per_capita" text,
"presidential_majority_2000_2004" text,
"presidential_majority_2008" text,
"presidential_majority_2012" text,
"obamacare_fed_state_partnership" text
); | SELECT "presidential_majority_2000_2004" FROM "table_of_federal_taxation_and_spending_b" WHERE "presidential_majority_2012"='Non-voting'; | 1-14700336-1 |
How many times was revenue in millions recorded when the spending per capita was $6,736? | CREATE TABLE "table_of_federal_taxation_and_spending_b" (
"rank" real,
"state" text,
"revenue_millions" text,
"population" real,
"revenue_per_capita" text,
"spending_millions" text,
"spending_per_capita" text,
"net_contribution_per_capita" text,
"presidential_majority_2000_2004" text,
"presidential_majority_2008" text,
"presidential_majority_2012" text,
"obamacare_fed_state_partnership" text
); | SELECT COUNT("revenue_millions") FROM "table_of_federal_taxation_and_spending_b" WHERE "spending_per_capita"='$6,736'; | 1-14700336-1 |
What is the largest number of DVDs? | CREATE TABLE "table1_1467951_4" (
"dvd_name" text,
"ep_no" real,
"dvd_no" real,
"release_date" real,
"additional_information" text
); | SELECT MAX("dvd_no") FROM "table1_1467951_4"; | 1-1467951-4 |
What is the highest number of episodes? | CREATE TABLE "table1_1467951_4" (
"dvd_name" text,
"ep_no" real,
"dvd_no" real,
"release_date" real,
"additional_information" text
); | SELECT MAX("ep_no") FROM "table1_1467951_4"; | 1-1467951-4 |
What is the most recent release date? | CREATE TABLE "table1_1467951_4" (
"dvd_name" text,
"ep_no" real,
"dvd_no" real,
"release_date" real,
"additional_information" text
); | SELECT MAX("release_date") FROM "table1_1467951_4"; | 1-1467951-4 |
How many release dates does volume 4 DVD have? | CREATE TABLE "table1_1467951_4" (
"dvd_name" text,
"ep_no" real,
"dvd_no" real,
"release_date" real,
"additional_information" text
); | SELECT COUNT("release_date") FROM "table1_1467951_4" WHERE "dvd_name"='Volume 4'; | 1-1467951-4 |
what is the arrival time for no. 14? | CREATE TABLE "running_timetables" (
"no" real,
"station_code" text,
"station" text,
"arrival" text,
"departure" text,
"kilometers" real,
"day" real
); | SELECT "arrival" FROM "running_timetables" WHERE "no"=14; | 1-14688744-2 |
what is the arrival time where the station code is awy? | CREATE TABLE "running_timetables" (
"no" real,
"station_code" text,
"station" text,
"arrival" text,
"departure" text,
"kilometers" real,
"day" real
); | SELECT "arrival" FROM "running_timetables" WHERE "station_code"='AWY'; | 1-14688744-2 |
what amount of stations have station code is awy? | CREATE TABLE "running_timetables" (
"no" real,
"station_code" text,
"station" text,
"arrival" text,
"departure" text,
"kilometers" real,
"day" real
); | SELECT COUNT("station") FROM "running_timetables" WHERE "station_code"='AWY'; | 1-14688744-2 |
what is the arrival time where station code is pnvl? | CREATE TABLE "running_timetables" (
"no" real,
"station_code" text,
"station" text,
"arrival" text,
"departure" text,
"kilometers" real,
"day" real
); | SELECT "arrival" FROM "running_timetables" WHERE "station_code"='PNVL'; | 1-14688744-2 |
Which stations had volume of 5088 in 2004-05? | CREATE TABLE "table1_1470706_1" (
"station_name" text,
"2002_03" real,
"2004_05" real,
"2005_06" real,
"2006_07" real,
"2007_08" real,
"2008_09" real,
"2009_10" real,
"2010_11" real,
"2011_12" real
); | SELECT "station_name" FROM "table1_1470706_1" WHERE "2004_05"=5088; | 1-1470706-1 |
How many stations in 2011-12 had volume of 11580 in 2008-09? | CREATE TABLE "table1_1470706_1" (
"station_name" text,
"2002_03" real,
"2004_05" real,
"2005_06" real,
"2006_07" real,
"2007_08" real,
"2008_09" real,
"2009_10" real,
"2010_11" real,
"2011_12" real
); | SELECT COUNT("2011_12") FROM "table1_1470706_1" WHERE "2008_09"=11580; | 1-1470706-1 |
What was the least volume recorded in 2011-12 when 2008-09 had 21652? | CREATE TABLE "table1_1470706_1" (
"station_name" text,
"2002_03" real,
"2004_05" real,
"2005_06" real,
"2006_07" real,
"2007_08" real,
"2008_09" real,
"2009_10" real,
"2010_11" real,
"2011_12" real
); | SELECT MIN("2011_12") FROM "table1_1470706_1" WHERE "2008_09"=21652; | 1-1470706-1 |
How many years was the total 402? | CREATE TABLE "most_official_appearances" (
"ranking" real,
"nationality" text,
"name" text,
"position" text,
"years" text,
"league" real,
"cup" real,
"europe" real,
"others" real,
"total" real
); | SELECT COUNT("years") FROM "most_official_appearances" WHERE "total"=402; | 1-14707564-1 |
Who won the young rider classification in Stage 9 where the mountain classification was Emanuele Sella? | CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" text
); | SELECT "young_rider_classification" FROM "classification_leadership" WHERE "mountains_classification"='Emanuele Sella' AND "stage"=9; | 1-14710984-2 |
Who is the general classification leader for stage 3? | CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" text
); | SELECT "general_classification" FROM "classification_leadership" WHERE "stage"=3; | 1-14710984-2 |
Who won the points classifications in the stage where Matteo Priamo was the winner? | CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" text
); | SELECT COUNT("points_classification") FROM "classification_leadership" WHERE "winner"='Matteo Priamo'; | 1-14710984-2 |
Who was awarded the young ride classification leader when the winner was Marzio Bruseghin? | CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" text
); | SELECT "young_rider_classification" FROM "classification_leadership" WHERE "winner"='Marzio Bruseghin'; | 1-14710984-2 |
Which title did Neil Affleck direct? | CREATE TABLE "table1_14724369_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "title" FROM "table1_14724369_1" WHERE "directed_by"='Neil Affleck'; | 1-14724369-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.