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 college hall of fame of the player who plays fullback? | CREATE TABLE "ncaa_consensus_all_american_team" (
"position" text,
"name" text,
"school" text,
"unanimous" text,
"college_hall_of_fame" text
); | SELECT "college_hall_of_fame" FROM "ncaa_consensus_all_american_team" WHERE "position"='fullback'; | 2-15191894-1 |
What is the position of the player from Dartmouth Ohio State? | CREATE TABLE "ncaa_consensus_all_american_team" (
"position" text,
"name" text,
"school" text,
"unanimous" text,
"college_hall_of_fame" text
); | SELECT "position" FROM "ncaa_consensus_all_american_team" WHERE "school"='dartmouth ohio state'; | 2-15191894-1 |
What is the English title of the film Directed by Jayme Monjardim? | CREATE TABLE "submissions" (
"year_ceremony" real,
"original_title" text,
"english_title" text,
"director" text,
"result" text
); | SELECT "english_title" FROM "submissions" WHERE "director"='jayme monjardim'; | 2-15277629-1 |
What was the Director with a Ceremony of 2001? | CREATE TABLE "submissions" (
"year_ceremony" real,
"original_title" text,
"english_title" text,
"director" text,
"result" text
); | SELECT "director" FROM "submissions" WHERE "year_ceremony"=2001; | 2-15277629-1 |
When have a Save of ||20,599||32-37? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"save" text
); | SELECT "date" FROM "game_log" WHERE "save"='||20,599||32-37'; | 2-14337005-4 |
Which Save is on June 15? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"save" text
); | SELECT "save" FROM "game_log" WHERE "date"='june 15'; | 2-14337005-4 |
Which Score has a Opponent of Boston red sox and a Save of sager? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"save" text
); | SELECT "score" FROM "game_log" WHERE "opponent"='boston red sox' AND "save"='sager'; | 2-14337005-4 |
When has an Opponent of at Seattle mariners? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"save" text
); | SELECT "date" FROM "game_log" WHERE "opponent"='at seattle mariners'; | 2-14337005-4 |
When is the Save of Ayala and a Loss of Olivares | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"save" text
); | SELECT "date" FROM "game_log" WHERE "save"='ayala' AND "loss"='olivares'; | 2-14337005-4 |
Which Tournament has a Partner of martín rodríguez? | CREATE TABLE "doubles_champion_5" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
); | SELECT "tournament" FROM "doubles_champion_5" WHERE "partner"='martín rodríguez'; | 2-14881608-1 |
How many Touchdowns have Field goals larger than 0? | CREATE TABLE "michigan_89_beloit_0" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
); | SELECT COUNT("touchdowns") FROM "michigan_89_beloit_0" WHERE "field_goals">0; | 2-14342210-10 |
Which Extra points is the highest one that has a Player of herrnstein, and Points smaller than 30? | CREATE TABLE "michigan_89_beloit_0" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
); | SELECT MAX("extra_points") FROM "michigan_89_beloit_0" WHERE "player"='herrnstein' AND "points"<30; | 2-14342210-10 |
Which Touchdowns is the lowest one that has Extra points smaller than 14, and a Player of white, and Points smaller than 5? | CREATE TABLE "michigan_89_beloit_0" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
); | SELECT MIN("touchdowns") FROM "michigan_89_beloit_0" WHERE "extra_points"<14 AND "player"='white' AND "points"<5; | 2-14342210-10 |
Which Touchdowns is the lowest one that has Points of 5, and a Field goals larger than 0? | CREATE TABLE "michigan_89_beloit_0" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
); | SELECT MIN("touchdowns") FROM "michigan_89_beloit_0" WHERE "points"=5 AND "field_goals">0; | 2-14342210-10 |
Which Points is the lowest one that has Touchdowns smaller than 1? | CREATE TABLE "michigan_89_beloit_0" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
); | SELECT MAX("points") FROM "michigan_89_beloit_0" WHERE "touchdowns"<1; | 2-14342210-10 |
What is the Location of the Bowl in 2006? | CREATE TABLE "bowl_games" (
"season" real,
"bowl_game" text,
"result" text,
"opponent" text,
"stadium" text,
"location" text,
"attendance" text
); | SELECT "location" FROM "bowl_games" WHERE "season"=2006; | 2-15190346-2 |
At what Location was the Attendance 70,283? | CREATE TABLE "bowl_games" (
"season" real,
"bowl_game" text,
"result" text,
"opponent" text,
"stadium" text,
"location" text,
"attendance" text
); | SELECT "location" FROM "bowl_games" WHERE "attendance"='70,283'; | 2-15190346-2 |
What was the Bowl game in San Francisco, CA after 1968? | CREATE TABLE "bowl_games" (
"season" real,
"bowl_game" text,
"result" text,
"opponent" text,
"stadium" text,
"location" text,
"attendance" text
); | SELECT "bowl_game" FROM "bowl_games" WHERE "season">1968 AND "location"='san francisco, ca'; | 2-15190346-2 |
What team has a yamaha constructor with all rounds? | CREATE TABLE "moto_gp_participants" (
"team" text,
"constructor" text,
"motorcycle" text,
"rider" text,
"rounds" text
); | SELECT "team" FROM "moto_gp_participants" WHERE "rounds"='all' AND "constructor"='yamaha'; | 2-15299235-15 |
What rounds did rider Mika Kallio with a Ducati constructor have? | CREATE TABLE "moto_gp_participants" (
"team" text,
"constructor" text,
"motorcycle" text,
"rider" text,
"rounds" text
); | SELECT "rounds" FROM "moto_gp_participants" WHERE "constructor"='ducati' AND "rider"='mika kallio'; | 2-15299235-15 |
Who is the rider of Scot Racing team with a Honda constructor and rounds 6-17? | CREATE TABLE "moto_gp_participants" (
"team" text,
"constructor" text,
"motorcycle" text,
"rider" text,
"rounds" text
); | SELECT "rider" FROM "moto_gp_participants" WHERE "constructor"='honda' AND "team"='scot racing team' AND "rounds"='6-17'; | 2-15299235-15 |
What is the rounds of rider Mika Kallio 1 of the Ducati Marlboro team? | CREATE TABLE "moto_gp_participants" (
"team" text,
"constructor" text,
"motorcycle" text,
"rider" text,
"rounds" text
); | SELECT "rounds" FROM "moto_gp_participants" WHERE "team"='ducati marlboro team' AND "rider"='mika kallio 1'; | 2-15299235-15 |
What is the average week that there was a game with less than 18,517 fans attending and occurred on November 21, 1954? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT AVG("week") FROM "schedule" WHERE "attendance"<'18,517' AND "date"='november 21, 1954'; | 2-15123248-1 |
What is the highest week that had a game against the Pittsburgh Steelers with 22,597 fans in attendance? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT MAX("week") FROM "schedule" WHERE "attendance"<'22,597' AND "opponent"='pittsburgh steelers'; | 2-15123248-1 |
Who was the opponent for the game taht was before week 5 on October 10, 1954? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "opponent" FROM "schedule" WHERE "week"<5 AND "date"='october 10, 1954'; | 2-15123248-1 |
What is the average attendance for the game that was after week 4 and on November 14, 1954? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT AVG("attendance") FROM "schedule" WHERE "week">4 AND "date"='november 14, 1954'; | 2-15123248-1 |
After December 19, what is the Game number with a Record of 21–4–7? | CREATE TABLE "regular_season" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT COUNT("game") FROM "regular_season" WHERE "record"='21–4–7' AND "december">19; | 2-14302613-4 |
What were the Points in the game with a Score of 2–7? | CREATE TABLE "regular_season" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT SUM("points") FROM "regular_season" WHERE "score"='2–7'; | 2-14302613-4 |
What's the lowest bronze with a 6 rank, smaller than 5 gold, and a total of more than 1? | CREATE TABLE "women" (
"rank" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("bronze") FROM "women" WHERE "gold"<5 AND "rank"='6' AND "total">1; | 2-13807771-4 |
What's the Bronze cumulative number for less than 0 gold? | CREATE TABLE "women" (
"rank" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("bronze") FROM "women" WHERE "gold"<0; | 2-13807771-4 |
Which average Lost has an Against larger than 19, and a Drawn smaller than 1? | CREATE TABLE "torneio_rio_s_o_paulo" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT AVG("lost") FROM "torneio_rio_s_o_paulo" WHERE "against">19 AND "drawn"<1; | 2-15299004-1 |
Which average Against has Drawn of 3, and Points larger than 9, and a Team of portuguesa? | CREATE TABLE "torneio_rio_s_o_paulo" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT AVG("against") FROM "torneio_rio_s_o_paulo" WHERE "drawn"=3 AND "points">9 AND "team"='portuguesa'; | 2-15299004-1 |
Which average Against has Points of 6, and a Played smaller than 9? | CREATE TABLE "torneio_rio_s_o_paulo" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT AVG("against") FROM "torneio_rio_s_o_paulo" WHERE "points"=6 AND "played"<9; | 2-15299004-1 |
Which average Points have a Position of 7, and a Lost smaller than 4? | CREATE TABLE "torneio_rio_s_o_paulo" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT AVG("points") FROM "torneio_rio_s_o_paulo" WHERE "position"=7 AND "lost"<4; | 2-15299004-1 |
Which average Points have a Lost larger than 2, and Drawn larger than 2, and a Difference of 0? | CREATE TABLE "torneio_rio_s_o_paulo" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT AVG("points") FROM "torneio_rio_s_o_paulo" WHERE "lost">2 AND "drawn">2 AND "difference"='0'; | 2-15299004-1 |
Which Touchdowns have an Extra points of 0, and Points larger than 5, and a Player of curtis redden? | CREATE TABLE "michigan_119_michigan_agricultural_0" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
); | SELECT AVG("touchdowns") FROM "michigan_119_michigan_agricultural_0" WHERE "extra_points"=0 AND "points">5 AND "player"='curtis redden'; | 2-14342367-4 |
How many Extra points have Touchdowns of 1, and a Player of ross kidston, and Points smaller than 5? | CREATE TABLE "michigan_119_michigan_agricultural_0" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
); | SELECT SUM("extra_points") FROM "michigan_119_michigan_agricultural_0" WHERE "touchdowns"=1 AND "player"='ross kidston' AND "points"<5; | 2-14342367-4 |
Which Points is the lowest one that has an Extra points of 0, and a Player of curtis redden, and Touchdowns smaller than 2? | CREATE TABLE "michigan_119_michigan_agricultural_0" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
); | SELECT MIN("points") FROM "michigan_119_michigan_agricultural_0" WHERE "extra_points"=0 AND "player"='curtis redden' AND "touchdowns"<2; | 2-14342367-4 |
Which Extra points is the lowest one that has a Player of ross kidston, and Points smaller than 5? | CREATE TABLE "michigan_119_michigan_agricultural_0" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
); | SELECT MIN("extra_points") FROM "michigan_119_michigan_agricultural_0" WHERE "player"='ross kidston' AND "points"<5; | 2-14342367-4 |
Which Points have Touchdowns of 1, and a Field goals smaller than 0? | CREATE TABLE "michigan_119_michigan_agricultural_0" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
); | SELECT AVG("points") FROM "michigan_119_michigan_agricultural_0" WHERE "touchdowns"=1 AND "field_goals"<0; | 2-14342367-4 |
Which poll had a week 10 larger than 2, a week 2 of exactly 12, and a week 13 of 8? | CREATE TABLE "ranking_movement" (
"poll" text,
"wk_1" text,
"wk_2" text,
"wk_3" text,
"wk_4" text,
"wk_5" text,
"wk_6" text,
"wk_7" text,
"wk_8" real,
"wk_9" real,
"wk_10" real,
"wk_11" real,
"wk_13" real,
"wk_14" real
); | SELECT "poll" FROM "ranking_movement" WHERE "wk_10">2 AND "wk_2"='12' AND "wk_13"=8; | 2-14546868-16 |
What is the highest week 9 that had a week 6 of 7, a week 10 of greater than 2, a week 7 of 5, and a week 11 less than 2? | CREATE TABLE "ranking_movement" (
"poll" text,
"wk_1" text,
"wk_2" text,
"wk_3" text,
"wk_4" text,
"wk_5" text,
"wk_6" text,
"wk_7" text,
"wk_8" real,
"wk_9" real,
"wk_10" real,
"wk_11" real,
"wk_13" real,
"wk_14" real
); | SELECT MAX("wk_9") FROM "ranking_movement" WHERE "wk_6"='7' AND "wk_10">2 AND "wk_7"='5' AND "wk_11"<2; | 2-14546868-16 |
What was the week 5 opponent for the year with a week 10 opponent of Maryland (6-2)? | CREATE TABLE "ap_poll" (
"week_2_sept_7" text,
"week_3_sept_14" text,
"week_4_sept_21" text,
"week_5_sept_28" text,
"week_6_oct_5" text,
"week_7_oct_12" text,
"week_10_nov_2" text,
"week_12_nov_16" text,
"week_14_nov_30" text,
"week_15_dec_7" text,
"week_16_final_jan_9" text
); | SELECT "week_5_sept_28" FROM "ap_poll" WHERE "week_10_nov_2"='maryland (6-2)'; | 2-15291779-1 |
What was the week 14 opponent for the year with a week 10 opponent of Michigan State (8-2)? | CREATE TABLE "ap_poll" (
"week_2_sept_7" text,
"week_3_sept_14" text,
"week_4_sept_21" text,
"week_5_sept_28" text,
"week_6_oct_5" text,
"week_7_oct_12" text,
"week_10_nov_2" text,
"week_12_nov_16" text,
"week_14_nov_30" text,
"week_15_dec_7" text,
"week_16_final_jan_9" text
); | SELECT "week_14_nov_30" FROM "ap_poll" WHERE "week_10_nov_2"='michigan state (8-2)'; | 2-15291779-1 |
What is the week 4 opponent for the year with a week 10 opponent of Michigan State (8-2)? | CREATE TABLE "ap_poll" (
"week_2_sept_7" text,
"week_3_sept_14" text,
"week_4_sept_21" text,
"week_5_sept_28" text,
"week_6_oct_5" text,
"week_7_oct_12" text,
"week_10_nov_2" text,
"week_12_nov_16" text,
"week_14_nov_30" text,
"week_15_dec_7" text,
"week_16_final_jan_9" text
); | SELECT "week_4_sept_21" FROM "ap_poll" WHERE "week_10_nov_2"='michigan state (8-2)'; | 2-15291779-1 |
What is the week 12 opponent for the year that had a week 3 opponent of South Florida (3-0)? | CREATE TABLE "ap_poll" (
"week_2_sept_7" text,
"week_3_sept_14" text,
"week_4_sept_21" text,
"week_5_sept_28" text,
"week_6_oct_5" text,
"week_7_oct_12" text,
"week_10_nov_2" text,
"week_12_nov_16" text,
"week_14_nov_30" text,
"week_15_dec_7" text,
"week_16_final_jan_9" text
); | SELECT "week_12_nov_16" FROM "ap_poll" WHERE "week_3_sept_14"='south florida (3-0)'; | 2-15291779-1 |
What was the week 7 opponent for the year that had a week 12 opponent of Oregon State (7-3)? | CREATE TABLE "ap_poll" (
"week_2_sept_7" text,
"week_3_sept_14" text,
"week_4_sept_21" text,
"week_5_sept_28" text,
"week_6_oct_5" text,
"week_7_oct_12" text,
"week_10_nov_2" text,
"week_12_nov_16" text,
"week_14_nov_30" text,
"week_15_dec_7" text,
"week_16_final_jan_9" text
); | SELECT "week_7_oct_12" FROM "ap_poll" WHERE "week_12_nov_16"='oregon state (7-3)'; | 2-15291779-1 |
What was the week 3 opponent for the year that had a week 7 opponent of Georgia (5-1)? | CREATE TABLE "ap_poll" (
"week_2_sept_7" text,
"week_3_sept_14" text,
"week_4_sept_21" text,
"week_5_sept_28" text,
"week_6_oct_5" text,
"week_7_oct_12" text,
"week_10_nov_2" text,
"week_12_nov_16" text,
"week_14_nov_30" text,
"week_15_dec_7" text,
"week_16_final_jan_9" text
); | SELECT "week_3_sept_14" FROM "ap_poll" WHERE "week_7_oct_12"='georgia (5-1)'; | 2-15291779-1 |
Name the women's singles for 2012 | CREATE TABLE "previous_winners" (
"year" text,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "women_s_singles" FROM "previous_winners" WHERE "year"='2012'; | 2-14194250-1 |
Name the year for angga pratama ryan agung saputra | CREATE TABLE "previous_winners" (
"year" text,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "year" FROM "previous_winners" WHERE "men_s_doubles"='angga pratama ryan agung saputra'; | 2-14194250-1 |
Name the men's doubles for anneke feinya agustin nitya krishinda maheswari | CREATE TABLE "previous_winners" (
"year" text,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "men_s_doubles" FROM "previous_winners" WHERE "women_s_doubles"='anneke feinya agustin nitya krishinda maheswari'; | 2-14194250-1 |
Name the men's doubles for 2010 | CREATE TABLE "previous_winners" (
"year" text,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "men_s_doubles" FROM "previous_winners" WHERE "year"='2010'; | 2-14194250-1 |
What is Week 14 Nov 24, that has Week 11 Nov 3 of USC (6-2)? | CREATE TABLE "ap_poll" (
"preseason" text,
"week_1_aug_26" text,
"week_2_sept_2" text,
"week_3_sept_8" text,
"week_4_sept_15" text,
"week_5_sept_22" text,
"week_6_sept_29" text,
"week_7_oct_6" text,
"week_8_oct_13" text,
"week_9_oct_20" text,
"week_10_oct_27" text,
"week_11_nov_3" text,
"week_12_nov_10" text,
"week_13_nov_17" text,
"week_14_nov_24" text,
"week_15_dec_1" text,
"week_16_dec_8" text,
"week_17_final_jan_4" text
); | SELECT "week_14_nov_24" FROM "ap_poll" WHERE "week_11_nov_3"='usc (6-2)'; | 2-14597137-1 |
What is listed for the Week 9 Oct 20 that has a Week 17 (Final) Jan 4 of Michigan (10-3)? | CREATE TABLE "ap_poll" (
"preseason" text,
"week_1_aug_26" text,
"week_2_sept_2" text,
"week_3_sept_8" text,
"week_4_sept_15" text,
"week_5_sept_22" text,
"week_6_sept_29" text,
"week_7_oct_6" text,
"week_8_oct_13" text,
"week_9_oct_20" text,
"week_10_oct_27" text,
"week_11_nov_3" text,
"week_12_nov_10" text,
"week_13_nov_17" text,
"week_14_nov_24" text,
"week_15_dec_1" text,
"week_16_dec_8" text,
"week_17_final_jan_4" text
); | SELECT "week_9_oct_20" FROM "ap_poll" WHERE "week_17_final_jan_4"='michigan (10-3)'; | 2-14597137-1 |
What is listed for the Week 1 Aug 26 that has a Week 7 Oct 6 of USC (3-2)? | CREATE TABLE "ap_poll" (
"preseason" text,
"week_1_aug_26" text,
"week_2_sept_2" text,
"week_3_sept_8" text,
"week_4_sept_15" text,
"week_5_sept_22" text,
"week_6_sept_29" text,
"week_7_oct_6" text,
"week_8_oct_13" text,
"week_9_oct_20" text,
"week_10_oct_27" text,
"week_11_nov_3" text,
"week_12_nov_10" text,
"week_13_nov_17" text,
"week_14_nov_24" text,
"week_15_dec_1" text,
"week_16_dec_8" text,
"week_17_final_jan_4" text
); | SELECT "week_1_aug_26" FROM "ap_poll" WHERE "week_7_oct_6"='usc (3-2)'; | 2-14597137-1 |
What is listed for the Week 3 Sept 8 that has a Week 2 Sept 2 of Florida State (2-0) (4)? | CREATE TABLE "ap_poll" (
"preseason" text,
"week_1_aug_26" text,
"week_2_sept_2" text,
"week_3_sept_8" text,
"week_4_sept_15" text,
"week_5_sept_22" text,
"week_6_sept_29" text,
"week_7_oct_6" text,
"week_8_oct_13" text,
"week_9_oct_20" text,
"week_10_oct_27" text,
"week_11_nov_3" text,
"week_12_nov_10" text,
"week_13_nov_17" text,
"week_14_nov_24" text,
"week_15_dec_1" text,
"week_16_dec_8" text,
"week_17_final_jan_4" text
); | SELECT "week_3_sept_8" FROM "ap_poll" WHERE "week_2_sept_2"='florida state (2-0) (4)'; | 2-14597137-1 |
How much December has a Score of 5–2, and a Game smaller than 27? | CREATE TABLE "regular_season" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT COUNT("december") FROM "regular_season" WHERE "score"='5–2' AND "game"<27; | 2-14208857-4 |
Which Game has an Opponent of @ pittsburgh penguins? | CREATE TABLE "regular_season" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT MAX("game") FROM "regular_season" WHERE "opponent"='@ pittsburgh penguins'; | 2-14208857-4 |
Which December has a Record of 21–7–2, and a Game larger than 30? | CREATE TABLE "regular_season" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT MAX("december") FROM "regular_season" WHERE "record"='21–7–2' AND "game">30; | 2-14208857-4 |
Which December has Points of 38, and a Record of 18–6–2? | CREATE TABLE "regular_season" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT AVG("december") FROM "regular_season" WHERE "points"=38 AND "record"='18–6–2'; | 2-14208857-4 |
What is the Score that has a Result of 2–1 on 5 july 2007? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "international_goals" WHERE "result"='2–1' AND "date"='5 july 2007'; | 2-1385081-3 |
Which Competition has a Venue of hong kong? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "competition" FROM "international_goals" WHERE "venue"='hong kong'; | 2-1385081-3 |
When is the Competition of friendly match with a Result of 2–1? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "date" FROM "international_goals" WHERE "competition"='friendly match' AND "result"='2–1'; | 2-1385081-3 |
Which Venue has a Result of 2–0? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "venue" FROM "international_goals" WHERE "result"='2–0'; | 2-1385081-3 |
What is the Score of 2007 afc asian cup qualification with a Result of 8–0? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "international_goals" WHERE "competition"='2007 afc asian cup qualification' AND "result"='8–0'; | 2-1385081-3 |
Which Competition has a Result of 3–1? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "competition" FROM "international_goals" WHERE "result"='3–1'; | 2-1385081-3 |
What was the Indians' record during the game that had 31,467 in attendance? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "attendance"='31,467'; | 2-13913673-2 |
what year is 4:00 long | CREATE TABLE "official_versions" (
"version" text,
"length" text,
"album" text,
"remixed_by" text,
"year" real
); | SELECT COUNT("year") FROM "official_versions" WHERE "length"='4:00'; | 2-14978398-2 |
What round on average was a defensive tackle selected? | CREATE TABLE "atlanta_falcons_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT AVG("round") FROM "atlanta_falcons_draft_history" WHERE "position"='defensive tackle'; | 2-15198842-2 |
11th of 26, and a 17th larger than 16 has what highest 30th? | CREATE TABLE "points_system" (
"distance" text,
"10th" real,
"11th" real,
"12th" real,
"13th" real,
"14th" real,
"15th" real,
"16th" real,
"17th" real,
"18th" real,
"19th" real,
"20th" real,
"21st" real,
"22nd" real,
"23rd" real,
"24th" real,
"25th" real,
"26th" real,
"27th" real,
"28th" real,
"29th" real,
"30th" real,
"31st" real,
"32nd" real
); | SELECT MAX("30th") FROM "points_system" WHERE "11th"=26 AND "17th">16; | 2-14966088-3 |
What is the lowest total for the silver less than 1, and a rank more than 5, more than 1 bronze? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("total") FROM "medal_table" WHERE "silver"<1 AND "rank">5 AND "bronze">1; | 2-14103575-6 |
Who ha the gold and 1 bronze, and more than 0 silver? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT "gold" FROM "medal_table" WHERE "bronze"=1 AND "silver">0; | 2-14103575-6 |
Who has a total of the Bronze less than 4, gold more than 0, and no silver? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("bronze") FROM "medal_table" WHERE "total"<4 AND "gold">0 AND "silver"=0; | 2-14103575-6 |
What's the Points average with a Lost of 21, and Position of 22? | CREATE TABLE "campeonato_brasileiro_s_rie_a" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT AVG("points") FROM "campeonato_brasileiro_s_rie_a" WHERE "lost"=21 AND "position"=22; | 2-14898305-1 |
What's the total Lost that has a Played that's larger than 42? | CREATE TABLE "campeonato_brasileiro_s_rie_a" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT SUM("lost") FROM "campeonato_brasileiro_s_rie_a" WHERE "played">42; | 2-14898305-1 |
what's the relative value that contains a jyutping of daam3? | CREATE TABLE "table_of_chinese_mass_units_in_hong_kong" (
"jyutping" text,
"character" text,
"portuguese" text,
"relative_value" text,
"metric_value" text,
"imperial_value" text
); | SELECT "relative_value" FROM "table_of_chinese_mass_units_in_hong_kong" WHERE "jyutping"='daam3'; | 2-147235-16 |
What metric value has a jyutping of lei4? | CREATE TABLE "table_of_chinese_mass_units_in_hong_kong" (
"jyutping" text,
"character" text,
"portuguese" text,
"relative_value" text,
"metric_value" text,
"imperial_value" text
); | SELECT "metric_value" FROM "table_of_chinese_mass_units_in_hong_kong" WHERE "jyutping"='lei4'; | 2-147235-16 |
what's the imperial that contains a jyutping of cin4? | CREATE TABLE "table_of_chinese_mass_units_in_hong_kong" (
"jyutping" text,
"character" text,
"portuguese" text,
"relative_value" text,
"metric_value" text,
"imperial_value" text
); | SELECT "imperial_value" FROM "table_of_chinese_mass_units_in_hong_kong" WHERE "jyutping"='cin4'; | 2-147235-16 |
What was the location that led to a record of 9-0-0? | CREATE TABLE "boxing_record" (
"result" text,
"record" text,
"opponent" text,
"rd_time" text,
"date" text,
"location" text
); | SELECT "location" FROM "boxing_record" WHERE "record"='9-0-0'; | 2-145395-1 |
What was the record after the bout against Nikki Eplion, which resulted in a win in round 3? | CREATE TABLE "boxing_record" (
"result" text,
"record" text,
"opponent" text,
"rd_time" text,
"date" text,
"location" text
); | SELECT "record" FROM "boxing_record" WHERE "result"='win' AND "rd_time"='3' AND "opponent"='nikki eplion'; | 2-145395-1 |
What is the lowest number of bronze medals with less than 2 silver medals and more than 1 medal in total for Uzbekistan? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("bronze") FROM "medal_table" WHERE "silver"<2 AND "total">1 AND "nation"='uzbekistan'; | 2-15264525-1 |
What is the highest round with a pick# of 11, a position of offensive tackle, and overall less than 414? | CREATE TABLE "atlanta_falcons_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text
); | SELECT MAX("round") FROM "atlanta_falcons_draft_history" WHERE "pick_num"=11 AND "overall"<414 AND "position"='offensive tackle'; | 2-15198842-11 |
What is the highest round with a pick# of 9, overll less than 468, and position of defensive back? | CREATE TABLE "atlanta_falcons_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text
); | SELECT MAX("round") FROM "atlanta_falcons_draft_history" WHERE "pick_num"=9 AND "position"='defensive back' AND "overall"<468; | 2-15198842-11 |
What is the highest round with a guard position and an overall greater than 71? | CREATE TABLE "atlanta_falcons_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text
); | SELECT MAX("round") FROM "atlanta_falcons_draft_history" WHERE "position"='guard' AND "overall">71; | 2-15198842-11 |
Who has an overall greater than 414 with a pick# bigger than 9? | CREATE TABLE "atlanta_falcons_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text
); | SELECT "name" FROM "atlanta_falcons_draft_history" WHERE "overall">414 AND "pick_num">9; | 2-15198842-11 |
What is the Gaelic name for an area less than 127 in Kintyre? | CREATE TABLE "islands" (
"island" text,
"gaelic_name" text,
"location" text,
"area_ha" real,
"population" real,
"last_inhabited" text,
"height_m" real
); | SELECT "gaelic_name" FROM "islands" WHERE "area_ha"<127 AND "location"='kintyre'; | 2-15252-1 |
What was the score on 7 february 2008? | CREATE TABLE "doubles_35_23_12" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score" text
); | SELECT "score" FROM "doubles_35_23_12" WHERE "date"='7 february 2008'; | 2-15272646-6 |
What was the outcome on 13 may 2007? | CREATE TABLE "doubles_35_23_12" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score" text
); | SELECT "outcome" FROM "doubles_35_23_12" WHERE "date"='13 may 2007'; | 2-15272646-6 |
What was the score on 3 may 2009? | CREATE TABLE "doubles_35_23_12" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score" text
); | SELECT "score" FROM "doubles_35_23_12" WHERE "date"='3 may 2009'; | 2-15272646-6 |
Name the score for venue of jalan besar, singapore | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "international_goals" WHERE "venue"='jalan besar, singapore'; | 2-14099451-1 |
Name the score for 2 june 2008 | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "international_goals" WHERE "date"='2 june 2008'; | 2-14099451-1 |
Which Opponent has a Game of 63? | CREATE TABLE "regular_season" (
"game" real,
"february" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT "opponent" FROM "regular_season" WHERE "game"=63; | 2-14344407-6 |
which Record has a Score of 1–4? | CREATE TABLE "regular_season" (
"game" real,
"february" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT "record" FROM "regular_season" WHERE "score"='1–4'; | 2-14344407-6 |
Which Record has a Points smaller than 62 and a February larger than 16, and a Score of 8–7? | CREATE TABLE "regular_season" (
"game" real,
"february" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT "record" FROM "regular_season" WHERE "points"<62 AND "february">16 AND "score"='8–7'; | 2-14344407-6 |
What is the total number of Issues has a End month of oct-80? | CREATE TABLE "other_bibliographic_details" (
"start_month" text,
"end_month" text,
"cover" text,
"spine" text,
"indicia" text,
"masthead" text,
"number_of_issues" real
); | SELECT COUNT("number_of_issues") FROM "other_bibliographic_details" WHERE "end_month"='oct-80'; | 2-1404676-4 |
What is the Spine that has fantastic stories science fiction & fantasy with and end month in aug-72? | CREATE TABLE "other_bibliographic_details" (
"start_month" text,
"end_month" text,
"cover" text,
"spine" text,
"indicia" text,
"masthead" text,
"number_of_issues" real
); | SELECT "spine" FROM "other_bibliographic_details" WHERE "indicia"='fantastic' AND "cover"='fantastic stories science fiction & fantasy' AND "end_month"='aug-72'; | 2-1404676-4 |
Which Indicia has anEnd month in feb-75? | CREATE TABLE "other_bibliographic_details" (
"start_month" text,
"end_month" text,
"cover" text,
"spine" text,
"indicia" text,
"masthead" text,
"number_of_issues" real
); | SELECT "indicia" FROM "other_bibliographic_details" WHERE "end_month"='feb-75'; | 2-1404676-4 |
Which HAAT has a Channels TV / RF of 31 (psip) 44 (uhf) | CREATE TABLE "stations" (
"station" text,
"city_of_license" text,
"channels_tv_rf" text,
"first_air_date" text,
"haat" text,
"facility_id" real,
"public_license_information" text
); | SELECT "haat" FROM "stations" WHERE "channels_tv_rf"='31 (psip) 44 (uhf)'; | 2-1381064-1 |
Which City of license has a Channels TV / RF of 67 ( psip ) 29 ( uhf ) | CREATE TABLE "stations" (
"station" text,
"city_of_license" text,
"channels_tv_rf" text,
"first_air_date" text,
"haat" text,
"facility_id" real,
"public_license_information" text
); | SELECT "city_of_license" FROM "stations" WHERE "channels_tv_rf"='67 ( psip ) 29 ( uhf )'; | 2-1381064-1 |
Which Station has hagerstown? | CREATE TABLE "stations" (
"station" text,
"city_of_license" text,
"channels_tv_rf" text,
"first_air_date" text,
"haat" text,
"facility_id" real,
"public_license_information" text
); | SELECT "station" FROM "stations" WHERE "city_of_license"='hagerstown'; | 2-1381064-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.