question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What is the Attendance for Opponent Boston Patriots and Week is greater than 14? | CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT COUNT("attendance") FROM "season_schedule" WHERE "opponent"='boston patriots' AND "week">14; | 2-15428670-1 |
Which Nominated work has a Year of 1997? | CREATE TABLE "awards_and_nominations" (
"year" real,
"award" text,
"category" text,
"nominated_work" text,
"result" text
); | SELECT "nominated_work" FROM "awards_and_nominations" WHERE "year"=1997; | 2-15690413-5 |
Which Award has a Category of music video acting award? | CREATE TABLE "awards_and_nominations" (
"year" real,
"award" text,
"category" text,
"nominated_work" text,
"result" text
); | SELECT "award" FROM "awards_and_nominations" WHERE "category"='music video acting award'; | 2-15690413-5 |
What name has a CONCACAF Champions League of 2 (0) and also a Canadian Championship of 8 (0)? | CREATE TABLE "most_appearances" (
"name" text,
"total" text,
"league" text,
"canadian_championship" text,
"concacaf_champions_league" text
); | SELECT "name" FROM "most_appearances" WHERE "concacaf_champions_league"='2 (0)' AND "canadian_championship"='8 (0)'; | 2-15558938-1 |
When the league is 84 (4) what is the Canadian Championship? | CREATE TABLE "most_appearances" (
"name" text,
"total" text,
"league" text,
"canadian_championship" text,
"concacaf_champions_league" text
); | SELECT "canadian_championship" FROM "most_appearances" WHERE "league"='84 (4)'; | 2-15558938-1 |
What Canadian Championship has 84 (4) as the league? | CREATE TABLE "most_appearances" (
"name" text,
"total" text,
"league" text,
"canadian_championship" text,
"concacaf_champions_league" text
); | SELECT "canadian_championship" FROM "most_appearances" WHERE "league"='84 (4)'; | 2-15558938-1 |
What Canadian Championship has Ashtone Morgan Category:Articles with hcards as the name? | CREATE TABLE "most_appearances" (
"name" text,
"total" text,
"league" text,
"canadian_championship" text,
"concacaf_champions_league" text
); | SELECT "canadian_championship" FROM "most_appearances" WHERE "name"='ashtone morgan category:articles with hcards'; | 2-15558938-1 |
What is the total when the name is Carl Robinson Category:Articles with hcards? | CREATE TABLE "most_appearances" (
"name" text,
"total" text,
"league" text,
"canadian_championship" text,
"concacaf_champions_league" text
); | SELECT "total" FROM "most_appearances" WHERE "name"='carl robinson category:articles with hcards'; | 2-15558938-1 |
What CONCACAF Champions League has 57 (27) as the league? | CREATE TABLE "most_appearances" (
"name" text,
"total" text,
"league" text,
"canadian_championship" text,
"concacaf_champions_league" text
); | SELECT "concacaf_champions_league" FROM "most_appearances" WHERE "league"='57 (27)'; | 2-15558938-1 |
What is Name, when Games are less than 38, when Rank is less than 4, and when Points are 357? | CREATE TABLE "rebounds" (
"rank" real,
"name" text,
"team" text,
"games" real,
"points" real
); | SELECT "name" FROM "rebounds" WHERE "games"<38 AND "rank"<4 AND "points"=357; | 2-16176685-4 |
What is Team, when Rank is greater than 2, and when Points are greater than 259? | CREATE TABLE "rebounds" (
"rank" real,
"name" text,
"team" text,
"games" real,
"points" real
); | SELECT "team" FROM "rebounds" WHERE "rank">2 AND "points">259; | 2-16176685-4 |
What are the Highest Games, when Team is Ciudad De La Laguna, and when Points are greater than 357? | CREATE TABLE "rebounds" (
"rank" real,
"name" text,
"team" text,
"games" real,
"points" real
); | SELECT MAX("games") FROM "rebounds" WHERE "team"='ciudad de la laguna' AND "points">357; | 2-16176685-4 |
What is Points, when Name is Ondrej Starosta? | CREATE TABLE "rebounds" (
"rank" real,
"name" text,
"team" text,
"games" real,
"points" real
); | SELECT "points" FROM "rebounds" WHERE "name"='ondrej starosta'; | 2-16176685-4 |
What is the lowest value for Points, when Games is greater than 34, and when Name is Andrew Panko? | CREATE TABLE "rebounds" (
"rank" real,
"name" text,
"team" text,
"games" real,
"points" real
); | SELECT MIN("points") FROM "rebounds" WHERE "games">34 AND "name"='andrew panko'; | 2-16176685-4 |
What is the highest value for Points, when Games is 21, and when Rank is greater than 2? | CREATE TABLE "rebounds" (
"rank" real,
"name" text,
"team" text,
"games" real,
"points" real
); | SELECT MAX("points") FROM "rebounds" WHERE "games"=21 AND "rank">2; | 2-16176685-4 |
What is the average rank of the record on 2007-06-21 with a mark less than 91.29? | CREATE TABLE "men_s_best_throwers_of_all_time_current_" (
"rank" real,
"mark" real,
"athlete" text,
"place" text,
"date" text
); | SELECT AVG("rank") FROM "men_s_best_throwers_of_all_time_current_" WHERE "date"='2007-06-21' AND "mark"<91.29; | 2-16078-1 |
What is the lowest mark of the rank 8 record? | CREATE TABLE "men_s_best_throwers_of_all_time_current_" (
"rank" real,
"mark" real,
"athlete" text,
"place" text,
"date" text
); | SELECT MIN("mark") FROM "men_s_best_throwers_of_all_time_current_" WHERE "rank"=8; | 2-16078-1 |
What is the place of the record on 1996-05-25 with a mark greater than 90.73? | CREATE TABLE "men_s_best_throwers_of_all_time_current_" (
"rank" real,
"mark" real,
"athlete" text,
"place" text,
"date" text
); | SELECT "place" FROM "men_s_best_throwers_of_all_time_current_" WHERE "mark">90.73 AND "date"='1996-05-25'; | 2-16078-1 |
What is the place of the rank 6 record, which has a mark greater than 91.29? | CREATE TABLE "men_s_best_throwers_of_all_time_current_" (
"rank" real,
"mark" real,
"athlete" text,
"place" text,
"date" text
); | SELECT "place" FROM "men_s_best_throwers_of_all_time_current_" WHERE "mark">91.29 AND "rank"=6; | 2-16078-1 |
What competition has a venue in Hampden Park, Glasgow? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "competition" FROM "international_goals" WHERE "venue"='hampden park, glasgow'; | 2-1591240-1 |
What was the score in Hampden Park, Glasgow? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "international_goals" WHERE "venue"='hampden park, glasgow'; | 2-1591240-1 |
Which Venue has a Notes of 2:28:31? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
); | SELECT "venue" FROM "achievements" WHERE "notes"='2:28:31'; | 2-15671631-1 |
Which Venue has a Competition of venice marathon? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
); | SELECT "venue" FROM "achievements" WHERE "competition"='venice marathon'; | 2-15671631-1 |
Which Year that has Notes of dnf? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
); | SELECT MIN("year") FROM "achievements" WHERE "notes"='dnf'; | 2-15671631-1 |
Which Competition has a Year larger than 2000? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
); | SELECT "competition" FROM "achievements" WHERE "year">2000; | 2-15671631-1 |
What date has a set 4 of 25-19? | CREATE TABLE "results_pool_f" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
); | SELECT "date" FROM "results_pool_f" WHERE "set_4"='25-19'; | 2-16013858-13 |
What is the total for the set 2 of 25-18? | CREATE TABLE "results_pool_f" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
); | SELECT "total" FROM "results_pool_f" WHERE "set_2"='25-18'; | 2-16013858-13 |
What is the total for set 2 of 25-19? | CREATE TABLE "results_pool_f" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
); | SELECT "total" FROM "results_pool_f" WHERE "set_2"='25-19'; | 2-16013858-13 |
What is set 3 when set 5 is na, set 1 is 21-25, and set 2 is 25-16? | CREATE TABLE "results_pool_f" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
); | SELECT "set_3" FROM "results_pool_f" WHERE "set_5"='na' AND "set_1"='21-25' AND "set_2"='25-16'; | 2-16013858-13 |
What is the set 1 for the date jun 26, and a set 2 of 25-16? | CREATE TABLE "results_pool_f" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
); | SELECT "set_1" FROM "results_pool_f" WHERE "date"='jun 26' AND "set_2"='25-16'; | 2-16013858-13 |
What is the total for set 2 17-25? | CREATE TABLE "results_pool_f" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
); | SELECT "total" FROM "results_pool_f" WHERE "set_2"='17-25'; | 2-16013858-13 |
What Opponent has a Score that is 1-6, 3-6? | CREATE TABLE "singles_finals_18_11_7" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "opponent" FROM "singles_finals_18_11_7" WHERE "score"='1-6, 3-6'; | 2-15642543-2 |
What writer has mort drucker as the artist, an issue greater than 470, and law & order: svu as an actual title? | CREATE TABLE "2000s" (
"actual_title" text,
"writer" text,
"artist" text,
"issue" real,
"date" text
); | SELECT "writer" FROM "2000s" WHERE "artist"='mort drucker' AND "issue">470 AND "actual_title"='law & order: svu'; | 2-15860633-9 |
What date has ed as an actual title? | CREATE TABLE "2000s" (
"actual_title" text,
"writer" text,
"artist" text,
"issue" real,
"date" text
); | SELECT "date" FROM "2000s" WHERE "actual_title"='ed'; | 2-15860633-9 |
What isssue has 7th heaven as an actual title? | CREATE TABLE "2000s" (
"actual_title" text,
"writer" text,
"artist" text,
"issue" real,
"date" text
); | SELECT "issue" FROM "2000s" WHERE "actual_title"='7th heaven'; | 2-15860633-9 |
What issue has mort drucker as the artist and february 2001 as the date? | CREATE TABLE "2000s" (
"actual_title" text,
"writer" text,
"artist" text,
"issue" real,
"date" text
); | SELECT "issue" FROM "2000s" WHERE "artist"='mort drucker' AND "date"='february 2001'; | 2-15860633-9 |
In what Week was the Attendance 39,434? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT COUNT("week") FROM "schedule" WHERE "attendance"<'39,434'; | 2-16023753-2 |
What is the first Week against Cincinnati Bengals with an Attendance greater than 58,615? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT MIN("week") FROM "schedule" WHERE "attendance">'58,615' AND "opponent"='cincinnati bengals'; | 2-16023753-2 |
What year was the match were xavier malisse was the runner-up against lleyton hewitt? | CREATE TABLE "singles_12_3_titles_9_runners_up" (
"outcome" text,
"year" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "year" FROM "singles_12_3_titles_9_runners_up" WHERE "outcome"='runner-up' AND "opponent"='lleyton hewitt'; | 2-1551805-6 |
What year was the match against filippo volandri where xavier malisse was runner-up? | CREATE TABLE "singles_12_3_titles_9_runners_up" (
"outcome" text,
"year" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "year" FROM "singles_12_3_titles_9_runners_up" WHERE "outcome"='runner-up' AND "opponent"='filippo volandri'; | 2-1551805-6 |
How many against have a difference of 6, with a played greater than 19? | CREATE TABLE "laf_s_campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT SUM("against") FROM "laf_s_campeonato_paulista" WHERE "difference"='6' AND "played">19; | 2-15372465-2 |
What is the lowest drawn that has a played greater than 19, with a position less than 2? | CREATE TABLE "laf_s_campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT MIN("drawn") FROM "laf_s_campeonato_paulista" WHERE "played">19 AND "position"<2; | 2-15372465-2 |
What is the average against that has a drawn less than 7, points greater than 22, and 19 for the played? | CREATE TABLE "laf_s_campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT AVG("against") FROM "laf_s_campeonato_paulista" WHERE "drawn"<7 AND "points">22 AND "played"=19; | 2-15372465-2 |
When has a TV Time of fox 12:00 pm cdt? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"tv_time" text,
"opponent" text,
"result" text
); | SELECT "date" FROM "schedule" WHERE "tv_time"='fox 12:00 pm cdt'; | 2-16025613-2 |
When has a Week of 8? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"tv_time" text,
"opponent" text,
"result" text
); | SELECT "date" FROM "schedule" WHERE "week"=8; | 2-16025613-2 |
Which Week has a Result of l 13-16 and an Opponent of at buffalo bills? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"tv_time" text,
"opponent" text,
"result" text
); | SELECT AVG("week") FROM "schedule" WHERE "result"='l 13-16' AND "opponent"='at buffalo bills'; | 2-16025613-2 |
What kind of TV Time that has a Result of w 24–10? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"tv_time" text,
"opponent" text,
"result" text
); | SELECT "tv_time" FROM "schedule" WHERE "result"='w 24–10'; | 2-16025613-2 |
What played at 8:00 when Grey's Anatomy played at 9:00 and Ugly Betty played at 8:30? | CREATE TABLE "thursday" (
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
); | SELECT "8_00" FROM "thursday" WHERE "9_00"='grey''s anatomy' AND "8_30"='ugly betty'; | 2-15708593-12 |
What played at 8:00 when there was local programming at 10:00 and Supernatural played at 9:00? | CREATE TABLE "thursday" (
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
); | SELECT "8_00" FROM "thursday" WHERE "10_00"='local programming' AND "9_00"='supernatural'; | 2-15708593-12 |
What show played at 8:00 when Ugly Betty played at 8:30? | CREATE TABLE "thursday" (
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
); | SELECT "8_00" FROM "thursday" WHERE "8_30"='ugly betty'; | 2-15708593-12 |
When Grey's Anatomy aired at 9:30 what aired at 9:00? | CREATE TABLE "thursday" (
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
); | SELECT "9_00" FROM "thursday" WHERE "9_30"='grey''s anatomy'; | 2-15708593-12 |
When My Name is Earl played at 8:00 what aired at 9:30? | CREATE TABLE "thursday" (
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
); | SELECT "9_30" FROM "thursday" WHERE "8_00"='my name is earl'; | 2-15708593-12 |
What was the division when Jim O'Brien was the head coach and the team finished 2nd in the division? | CREATE TABLE "seasons" (
"season" text,
"conf" text,
"conf_finish" text,
"div" text,
"div_finish" text,
"head_coach" text
); | SELECT "div" FROM "seasons" WHERE "div_finish"='2nd' AND "head_coach"='jim o''brien'; | 2-15680241-2 |
What is the name of the conference that K. C. Jones was a head coach in? | CREATE TABLE "seasons" (
"season" text,
"conf" text,
"conf_finish" text,
"div" text,
"div_finish" text,
"head_coach" text
); | SELECT "conf" FROM "seasons" WHERE "head_coach"='k. c. jones'; | 2-15680241-2 |
Who had the highest assists of the game on March 5? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_assists" FROM "game_log" WHERE "date"='march 5'; | 2-15869204-8 |
What is the least amount of appearances by new zealand when they scored 4 goals? | CREATE TABLE "players" (
"name" text,
"nationality" text,
"position" text,
"appearances" real,
"goals" real
); | SELECT MIN("appearances") FROM "players" WHERE "goals"=4 AND "nationality"='new zealand'; | 2-15894202-1 |
how many appearances did batram suri category:articles with hcards have scoring less than 2 goals? | CREATE TABLE "players" (
"name" text,
"nationality" text,
"position" text,
"appearances" real,
"goals" real
); | SELECT COUNT("appearances") FROM "players" WHERE "name"='batram suri category:articles with hcards' AND "goals"<2; | 2-15894202-1 |
What region has a 2002 population greater than 132,798, an area larger than 5,528.3, and the cachapoal province? | CREATE TABLE "list_of_provinces" (
"region" text,
"province" text,
"capital" text,
"no_of_communes" real,
"area" real,
"2002_population" real
); | SELECT "region" FROM "list_of_provinces" WHERE "2002_population">'132,798' AND "area">'5,528.3' AND "province"='cachapoal'; | 2-1605094-1 |
What is the total 2002 population of the province with putre as the capital, less than 3 communes, and an area larger than 11,919.5? | CREATE TABLE "list_of_provinces" (
"region" text,
"province" text,
"capital" text,
"no_of_communes" real,
"area" real,
"2002_population" real
); | SELECT COUNT("2002_population") FROM "list_of_provinces" WHERE "no_of_communes"<3 AND "area">'11,919.5' AND "capital"='putre'; | 2-1605094-1 |
What province has a v valparaíso region and an area of 927.2? | CREATE TABLE "list_of_provinces" (
"region" text,
"province" text,
"capital" text,
"no_of_communes" real,
"area" real,
"2002_population" real
); | SELECT "province" FROM "list_of_provinces" WHERE "region"='v valparaíso' AND "area"=927.2; | 2-1605094-1 |
What is the average area with valparaíso as the capital? | CREATE TABLE "list_of_provinces" (
"region" text,
"province" text,
"capital" text,
"no_of_communes" real,
"area" real,
"2002_population" real
); | SELECT AVG("area") FROM "list_of_provinces" WHERE "capital"='valparaíso'; | 2-1605094-1 |
WHich Category in White has a Amerindian of 4,87%? | CREATE TABLE "controversy" (
"category" text,
"frequency" text,
"white" text,
"brown" text,
"black" text,
"amerindian" text,
"yellow" text,
"total" text,
"difference_between_white_and_black" real
); | SELECT "white" FROM "controversy" WHERE "amerindian"='4,87%'; | 2-16176416-3 |
WHich Category in White has a Black of 38,05%? | CREATE TABLE "controversy" (
"category" text,
"frequency" text,
"white" text,
"brown" text,
"black" text,
"amerindian" text,
"yellow" text,
"total" text,
"difference_between_white_and_black" real
); | SELECT "white" FROM "controversy" WHERE "black"='38,05%'; | 2-16176416-3 |
Which Category in Brown has a Frequency of 0.08%? | CREATE TABLE "controversy" (
"category" text,
"frequency" text,
"white" text,
"brown" text,
"black" text,
"amerindian" text,
"yellow" text,
"total" text,
"difference_between_white_and_black" real
); | SELECT "brown" FROM "controversy" WHERE "frequency"='0.08%'; | 2-16176416-3 |
Which Category in Black has a Brown of 6,54%? | CREATE TABLE "controversy" (
"category" text,
"frequency" text,
"white" text,
"brown" text,
"black" text,
"amerindian" text,
"yellow" text,
"total" text,
"difference_between_white_and_black" real
); | SELECT "black" FROM "controversy" WHERE "brown"='6,54%'; | 2-16176416-3 |
What is the Capacity in use with an Annual change that is 21.8%? | CREATE TABLE "brazil_s_15_busiest_airports_by_passenge" (
"rank" real,
"location" text,
"total_passengers" real,
"annual_change" text,
"capacity_in_use" text
); | SELECT "capacity_in_use" FROM "brazil_s_15_busiest_airports_by_passenge" WHERE "annual_change"='21.8%'; | 2-15494883-23 |
How many Tries has Points for smaller than 137, and Tries against larger than 12? | CREATE TABLE "pool_2" (
"team" text,
"tries_for" real,
"tries_against" real,
"try_diff" text,
"points_for" real,
"points_against" real,
"points_diff" text
); | SELECT COUNT("tries_for") FROM "pool_2" WHERE "points_for"<137 AND "tries_against">12; | 2-15533691-2 |
WHich Team that has Points against of 43? | CREATE TABLE "pool_2" (
"team" text,
"tries_for" real,
"tries_against" real,
"try_diff" text,
"points_for" real,
"points_against" real,
"points_diff" text
); | SELECT "team" FROM "pool_2" WHERE "points_against"=43; | 2-15533691-2 |
WHich Tries has a Team of pau and Points against larger than 103? | CREATE TABLE "pool_2" (
"team" text,
"tries_for" real,
"tries_against" real,
"try_diff" text,
"points_for" real,
"points_against" real,
"points_diff" text
); | SELECT MIN("tries_for") FROM "pool_2" WHERE "team"='pau' AND "points_against">103; | 2-15533691-2 |
How many Points against has Tries for smaller than 14, and a Team of llanelli? | CREATE TABLE "pool_2" (
"team" text,
"tries_for" real,
"tries_against" real,
"try_diff" text,
"points_for" real,
"points_against" real,
"points_diff" text
); | SELECT AVG("points_against") FROM "pool_2" WHERE "tries_for"<14 AND "team"='llanelli'; | 2-15533691-2 |
How many Tries against has a Try diff of –17 and Points for smaller than 80? | CREATE TABLE "pool_2" (
"team" text,
"tries_for" real,
"tries_against" real,
"try_diff" text,
"points_for" real,
"points_against" real,
"points_diff" text
); | SELECT COUNT("tries_against") FROM "pool_2" WHERE "try_diff"='–17' AND "points_for"<80; | 2-15533691-2 |
Which player was the forward? | CREATE TABLE "p" (
"player" text,
"nationality" text,
"position" text,
"years_in_orlando" text,
"school_club_team" text
); | SELECT "player" FROM "p" WHERE "position"='forward'; | 2-15621965-15 |
Which years in Orlando are featured with the center position? | CREATE TABLE "p" (
"player" text,
"nationality" text,
"position" text,
"years_in_orlando" text,
"school_club_team" text
); | SELECT "years_in_orlando" FROM "p" WHERE "position"='center'; | 2-15621965-15 |
Which position was in Orlando in 2000? | CREATE TABLE "p" (
"player" text,
"nationality" text,
"position" text,
"years_in_orlando" text,
"school_club_team" text
); | SELECT "position" FROM "p" WHERE "years_in_orlando"='2000'; | 2-15621965-15 |
Who were the winners of the Women's Doubles in the years after 2009? | CREATE TABLE "past_winners" (
"year" real,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "women_s_doubles" FROM "past_winners" WHERE "year">2009; | 2-15741003-1 |
Who were the Men's doubles of the years that had Kristína Ludíková as Women's singles after the year 2008? | CREATE TABLE "past_winners" (
"year" real,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "men_s_doubles" FROM "past_winners" WHERE "women_s_singles"='kristína ludíková' AND "year">2008; | 2-15741003-1 |
What is the Name with Goals that are 135? | CREATE TABLE "list_of_top_association_football_goal_sc" (
"rank" real,
"name" text,
"years" text,
"matches" real,
"goals" real
); | SELECT "name" FROM "list_of_top_association_football_goal_sc" WHERE "goals"=135; | 2-1590321-40 |
Which American Labor candidate ran against Democratic candidate Robert F. Wagner? | CREATE TABLE "1938_state_election_results" (
"office" text,
"democratic_ticket" text,
"republican_ticket" text,
"american_labor_ticket" text,
"socialist_ticket" text
); | SELECT "american_labor_ticket" FROM "1938_state_election_results" WHERE "democratic_ticket"='robert f. wagner'; | 2-15563393-1 |
Which Socialist candidate ran against American Labor candidate Caroline O'Day? | CREATE TABLE "1938_state_election_results" (
"office" text,
"democratic_ticket" text,
"republican_ticket" text,
"american_labor_ticket" text,
"socialist_ticket" text
); | SELECT "socialist_ticket" FROM "1938_state_election_results" WHERE "american_labor_ticket"='caroline o''day'; | 2-15563393-1 |
Which Democrtic candidate ran against the Socialist candidate Edna Mitchell Blue? | CREATE TABLE "1938_state_election_results" (
"office" text,
"democratic_ticket" text,
"republican_ticket" text,
"american_labor_ticket" text,
"socialist_ticket" text
); | SELECT "democratic_ticket" FROM "1938_state_election_results" WHERE "socialist_ticket"='edna mitchell blue'; | 2-15563393-1 |
Which American Labor candidate is running against the Socialist candidate Herman J. Hahn? | CREATE TABLE "1938_state_election_results" (
"office" text,
"democratic_ticket" text,
"republican_ticket" text,
"american_labor_ticket" text,
"socialist_ticket" text
); | SELECT "american_labor_ticket" FROM "1938_state_election_results" WHERE "socialist_ticket"='herman j. hahn'; | 2-15563393-1 |
Which Republican ran against the American Labor candidate Matthew J. Merritt? | CREATE TABLE "1938_state_election_results" (
"office" text,
"democratic_ticket" text,
"republican_ticket" text,
"american_labor_ticket" text,
"socialist_ticket" text
); | SELECT "republican_ticket" FROM "1938_state_election_results" WHERE "american_labor_ticket"='matthew j. merritt'; | 2-15563393-1 |
Which American Labor candidate ran against Republican Thomas E. Dewey? | CREATE TABLE "1938_state_election_results" (
"office" text,
"democratic_ticket" text,
"republican_ticket" text,
"american_labor_ticket" text,
"socialist_ticket" text
); | SELECT "american_labor_ticket" FROM "1938_state_election_results" WHERE "republican_ticket"='thomas e. dewey'; | 2-15563393-1 |
Who is the Opponent in the final after 1983 with an Outcome of runner-up? | CREATE TABLE "singles_titles_2" (
"outcome" text,
"date" real,
"championship" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "opponent_in_the_final" FROM "singles_titles_2" WHERE "outcome"='runner-up' AND "date">1983; | 2-16186036-2 |
What Opponent in the final had a match with a Score in the final of 7–5, 6–2? | CREATE TABLE "singles_titles_2" (
"outcome" text,
"date" real,
"championship" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "opponent_in_the_final" FROM "singles_titles_2" WHERE "score_in_the_final"='7–5, 6–2'; | 2-16186036-2 |
What is the Championship with Vitas Gerulaitis as Opponent in the final in a match on Clay Surface? | CREATE TABLE "singles_titles_2" (
"outcome" text,
"date" real,
"championship" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "championship" FROM "singles_titles_2" WHERE "surface"='clay' AND "opponent_in_the_final"='vitas gerulaitis'; | 2-16186036-2 |
What is the sum of percentage of marine area with an area of territorial waters of 72,144 and exclusive economic zone area less than 996,439? | CREATE TABLE "marine_ecozones" (
"ecozone" text,
"area_km_territorial_waters" real,
"area_km_exclusive_economic_zone" real,
"percentage_of_total_area_for_eez" real,
"percentage_of_marine_area_for_eez" real
); | SELECT SUM("percentage_of_marine_area_for_eez") FROM "marine_ecozones" WHERE "area_km_territorial_waters"='72,144' AND "area_km_exclusive_economic_zone"<'996,439'; | 2-15555661-1 |
What is the smallest percentage of marine area for Pacific Marine ecozone and percentage of total area greater than 3.1? | CREATE TABLE "marine_ecozones" (
"ecozone" text,
"area_km_territorial_waters" real,
"area_km_exclusive_economic_zone" real,
"percentage_of_total_area_for_eez" real,
"percentage_of_marine_area_for_eez" real
); | SELECT MIN("percentage_of_marine_area_for_eez") FROM "marine_ecozones" WHERE "ecozone"='pacific marine' AND "percentage_of_total_area_for_eez">3.1; | 2-15555661-1 |
How many values for percentage of marine area are for the Atlantic marine ecozone with an exclusive economic zone area less than 996,439? | CREATE TABLE "marine_ecozones" (
"ecozone" text,
"area_km_territorial_waters" real,
"area_km_exclusive_economic_zone" real,
"percentage_of_total_area_for_eez" real,
"percentage_of_marine_area_for_eez" real
); | SELECT COUNT("percentage_of_marine_area_for_eez") FROM "marine_ecozones" WHERE "ecozone"='atlantic marine' AND "area_km_exclusive_economic_zone"<'996,439'; | 2-15555661-1 |
What is the average percentage of total area when the percentage of marine area is more than 39.3 and territorial waters area is less than 2,788,349? | CREATE TABLE "marine_ecozones" (
"ecozone" text,
"area_km_territorial_waters" real,
"area_km_exclusive_economic_zone" real,
"percentage_of_total_area_for_eez" real,
"percentage_of_marine_area_for_eez" real
); | SELECT AVG("percentage_of_total_area_for_eez") FROM "marine_ecozones" WHERE "percentage_of_marine_area_for_eez">39.3 AND "area_km_territorial_waters"<'2,788,349'; | 2-15555661-1 |
What is the smallest area of territorial waters with an exclusive economic zone area more than 704,849 and a percentage of total area greater than 6.8? | CREATE TABLE "marine_ecozones" (
"ecozone" text,
"area_km_territorial_waters" real,
"area_km_exclusive_economic_zone" real,
"percentage_of_total_area_for_eez" real,
"percentage_of_marine_area_for_eez" real
); | SELECT MIN("area_km_territorial_waters") FROM "marine_ecozones" WHERE "area_km_exclusive_economic_zone">'704,849' AND "percentage_of_total_area_for_eez">6.8; | 2-15555661-1 |
What is the team when alvin williams (6) has the high assists? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "team" FROM "game_log" WHERE "high_assists"='alvin williams (6)'; | 2-15780049-10 |
What is the Record for a game less than 3 and the score was l 91–96 (ot)? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "game"<3 AND "score"='l 91–96 (ot)'; | 2-15780049-10 |
What is the Date when the high points went to Dell Curry (17)? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "high_points"='dell curry (17)'; | 2-15780049-10 |
What is the Team when antonio davis (8) had the high rebounds? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "team" FROM "game_log" WHERE "high_rebounds"='antonio davis (8)'; | 2-15780049-10 |
What is the Tournament with a Date that is apr 16, 1967? | CREATE TABLE "pga_tour_wins_11" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "tournament" FROM "pga_tour_wins_11" WHERE "date"='apr 16, 1967'; | 2-1569714-1 |
What is the Date with a Runner(s)-up that is jerry steelsmith? | CREATE TABLE "pga_tour_wins_11" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "date" FROM "pga_tour_wins_11" WHERE "runner_s_up"='jerry steelsmith'; | 2-1569714-1 |
What kind of Obama that has a Source of rasmussen reports? | CREATE TABLE "polling" (
"source" text,
"date" text,
"clinton" text,
"obama" text,
"undecided" text
); | SELECT "obama" FROM "polling" WHERE "source"='rasmussen reports'; | 2-15638491-1 |
Which Source has a Undecided of 2%? | CREATE TABLE "polling" (
"source" text,
"date" text,
"clinton" text,
"obama" text,
"undecided" text
); | SELECT "source" FROM "polling" WHERE "undecided"='2%'; | 2-15638491-1 |
What kind of Obama has a Undecided of 1%? | CREATE TABLE "polling" (
"source" text,
"date" text,
"clinton" text,
"obama" text,
"undecided" text
); | SELECT "obama" FROM "polling" WHERE "undecided"='1%'; | 2-15638491-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.