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 3:30PM WITH ANOTHER WORLD AT 2:00PM? | CREATE TABLE "winter_1997_1998" (
"7_30_am" text,
"8_00_am" text,
"9_00_am" text,
"11_00_am" text,
"noon" text,
"12_30_pm" text,
"1_00_pm" text,
"1_30_pm" text,
"2_00_pm" text,
"3_00_pm" text,
"3_30_pm" text,
"5_00_pm" text,
"6_30_pm" text
); | SELECT "3_30_pm" FROM "winter_1997_1998" WHERE "2_00_pm"='another world'; | 2-17871161-2 |
What is Award, when Result is "Nominated", and when Film is "Sankranthi"? | CREATE TABLE "awards" (
"year" real,
"award" text,
"category" text,
"film" text,
"result" text
); | SELECT "award" FROM "awards" WHERE "result"='nominated' AND "film"='sankranthi'; | 2-1806641-2 |
What is Award, when Category is "Best Actor", and when Year is less than 1988? | CREATE TABLE "awards" (
"year" real,
"award" text,
"category" text,
"film" text,
"result" text
); | SELECT "award" FROM "awards" WHERE "category"='best actor' AND "year"<1988; | 2-1806641-2 |
What is the total number of Year, when Award is "Vamsi Berkley Award", and when Category is "Best Actor"? | CREATE TABLE "awards" (
"year" real,
"award" text,
"category" text,
"film" text,
"result" text
); | SELECT COUNT("year") FROM "awards" WHERE "award"='vamsi berkley award' AND "category"='best actor'; | 2-1806641-2 |
What is Result, when Film is "Dharma Chakram", and when Award is "Nandi Award for Best Actor"? | CREATE TABLE "awards" (
"year" real,
"award" text,
"category" text,
"film" text,
"result" text
); | SELECT "result" FROM "awards" WHERE "film"='dharma chakram' AND "award"='nandi award for best actor'; | 2-1806641-2 |
What is Opponent, when Date is "Dec 8"? | CREATE TABLE "season_schedule" (
"date" text,
"opponent" text,
"score" text,
"result" text,
"record" text
); | SELECT "opponent" FROM "season_schedule" WHERE "date"='dec 8'; | 2-18027278-3 |
What is Score, when Date is "Nov 28"? | CREATE TABLE "season_schedule" (
"date" text,
"opponent" text,
"score" text,
"result" text,
"record" text
); | SELECT "score" FROM "season_schedule" WHERE "date"='nov 28'; | 2-18027278-3 |
What is Date, when Score is "80-79"? | CREATE TABLE "season_schedule" (
"date" text,
"opponent" text,
"score" text,
"result" text,
"record" text
); | SELECT "date" FROM "season_schedule" WHERE "score"='80-79'; | 2-18027278-3 |
What is Record, when Opponent is "New York Knicks"? | CREATE TABLE "season_schedule" (
"date" text,
"opponent" text,
"score" text,
"result" text,
"record" text
); | SELECT "record" FROM "season_schedule" WHERE "opponent"='new york knicks'; | 2-18027278-3 |
What is Score, when Opponent is "@ New York Knicks"? | CREATE TABLE "season_schedule" (
"date" text,
"opponent" text,
"score" text,
"result" text,
"record" text
); | SELECT "score" FROM "season_schedule" WHERE "opponent"='@ new york knicks'; | 2-18027278-3 |
What is Result, when Opponent is "Rochester Royals"? | CREATE TABLE "season_schedule" (
"date" text,
"opponent" text,
"score" text,
"result" text,
"record" text
); | SELECT "result" FROM "season_schedule" WHERE "opponent"='rochester royals'; | 2-18027278-3 |
What was the Result at Strathclyde Homes Stadium? | CREATE TABLE "friendlies" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"st_mirren_scorer_s" text
); | SELECT "result" FROM "friendlies" WHERE "venue"='strathclyde homes stadium'; | 2-17644259-6 |
Name the Score of spain? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "score" FROM "first_round" WHERE "country"='spain'; | 2-18139254-4 |
Which Country has a To par of −2? Question 2 | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "country" FROM "first_round" WHERE "to_par"='−2'; | 2-18139254-4 |
Which Place has a To par of −1 and don pooley? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "place" FROM "first_round" WHERE "to_par"='−1' AND "player"='don pooley'; | 2-18139254-4 |
What is week 15's result? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "result" FROM "schedule" WHERE "week"=15; | 2-17643197-2 |
What week did Cleveland Browns played? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT AVG("week") FROM "schedule" WHERE "opponent"='cleveland browns'; | 2-17643197-2 |
What is the Highest Goals for Grella? | CREATE TABLE "squad_information" (
"nat" text,
"name" text,
"since" text,
"goals" real,
"transfer_fee" text,
"notes" text
); | SELECT MAX("goals") FROM "squad_information" WHERE "name"='grella'; | 2-17634290-1 |
What is in the Notes for Player Name Grella? | CREATE TABLE "squad_information" (
"nat" text,
"name" text,
"since" text,
"goals" real,
"transfer_fee" text,
"notes" text
); | SELECT "notes" FROM "squad_information" WHERE "name"='grella'; | 2-17634290-1 |
Who position did matthew tassone who was drafted after round 5 play? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT "position" FROM "draft_picks" WHERE "round">5 AND "player"='matthew tassone'; | 2-17798201-14 |
what is the average % coal when the % natural gas is more than 11.6, electricity production (kw/h, billion) is less than 1,053 and % hydropower is 32? | CREATE TABLE "production_and_source" (
"country" text,
"electricity_production_kw_h_billion" real,
"pct_coal" real,
"pct_natural_gas" real,
"pct_oil" real,
"pct_hydropower" real,
"pct_other_renewable" real,
"pct_nuclear_power" real
); | SELECT AVG("pct_coal") FROM "production_and_source" WHERE "pct_natural_gas">11.6 AND "electricity_production_kw_h_billion"<'1,053' AND "pct_hydropower"=32; | 2-17798215-2 |
what is the highest % hydropower when the % oil is less than 24.5, country is united arab emirates and the % nuclear power is 0? | CREATE TABLE "production_and_source" (
"country" text,
"electricity_production_kw_h_billion" real,
"pct_coal" real,
"pct_natural_gas" real,
"pct_oil" real,
"pct_hydropower" real,
"pct_other_renewable" real,
"pct_nuclear_power" real
); | SELECT MAX("pct_hydropower") FROM "production_and_source" WHERE "pct_oil"<24.5 AND "country"='united arab emirates' AND "pct_nuclear_power"<0; | 2-17798215-2 |
what is the highest % hydropower when % coal is 4.9 and % nuclear power is more than 0? | CREATE TABLE "production_and_source" (
"country" text,
"electricity_production_kw_h_billion" real,
"pct_coal" real,
"pct_natural_gas" real,
"pct_oil" real,
"pct_hydropower" real,
"pct_other_renewable" real,
"pct_nuclear_power" real
); | SELECT MAX("pct_hydropower") FROM "production_and_source" WHERE "pct_coal"=4.9 AND "pct_nuclear_power">0; | 2-17798215-2 |
what is the highest electricity production (kw/h, billion) when the % other renewable is 0.4, % coal is 0 and % hydropower is more than 99? | CREATE TABLE "production_and_source" (
"country" text,
"electricity_production_kw_h_billion" real,
"pct_coal" real,
"pct_natural_gas" real,
"pct_oil" real,
"pct_hydropower" real,
"pct_other_renewable" real,
"pct_nuclear_power" real
); | SELECT MAX("electricity_production_kw_h_billion") FROM "production_and_source" WHERE "pct_other_renewable"=0.4 AND "pct_coal"=0 AND "pct_hydropower">99; | 2-17798215-2 |
What is the lowest CDR that has 112 as the difference? | CREATE TABLE "births_and_deaths" (
"periodo" text,
"births" real,
"deaths" real,
"difference" real,
"cbr" real,
"cdr" real,
"imr" real,
"tfr" real
); | SELECT MIN("cdr") FROM "births_and_deaths" WHERE "difference"=112; | 2-17803-3 |
What TFR has births less than 131, with 125 as an IMR? | CREATE TABLE "births_and_deaths" (
"periodo" text,
"births" real,
"deaths" real,
"difference" real,
"cbr" real,
"cdr" real,
"imr" real,
"tfr" real
); | SELECT "tfr" FROM "births_and_deaths" WHERE "births"<131 AND "imr"=125; | 2-17803-3 |
What average deaths have 15,0 as the IMR, with a CDR greater than 4,0? | CREATE TABLE "births_and_deaths" (
"periodo" text,
"births" real,
"deaths" real,
"difference" real,
"cbr" real,
"cdr" real,
"imr" real,
"tfr" real
); | SELECT AVG("deaths") FROM "births_and_deaths" WHERE "imr"='15,0' AND "cdr">'4,0'; | 2-17803-3 |
Who is the player in round 6? | CREATE TABLE "2009_draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT "player" FROM "2009_draft_picks" WHERE "round"=6; | 2-18259953-6 |
What college did Louis LeBlanc attend? | CREATE TABLE "2009_draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT "college_junior_club_team_league" FROM "2009_draft_picks" WHERE "player"='louis leblanc'; | 2-18259953-6 |
How many goals against total did the team with more than 52 goals and fewer than 10 losses have? | CREATE TABLE "group_ii" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
); | SELECT SUM("goals_against") FROM "group_ii" WHERE "goals_for">52 AND "losses"<10; | 2-17710217-4 |
What was the low number of draws for Levante Ud when their goal difference was smaller than 6? | CREATE TABLE "group_ii" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
); | SELECT MIN("draws") FROM "group_ii" WHERE "club"='levante ud' AND "goal_difference"<6; | 2-17710217-4 |
What is the average entry in the against column with draws smaller than 0? | CREATE TABLE "1969_as_three_leagues_come_together" (
"portland_dfl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT AVG("against") FROM "1969_as_three_leagues_come_together" WHERE "draws"<0; | 2-17746037-1 |
What is the total number of losses that has draws larger than 1 and a Portland DFL of westerns? | CREATE TABLE "1969_as_three_leagues_come_together" (
"portland_dfl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT SUM("losses") FROM "1969_as_three_leagues_come_together" WHERE "portland_dfl"='westerns' AND "draws">1; | 2-17746037-1 |
What is the sum of draws for all byes larger than 0? | CREATE TABLE "1969_as_three_leagues_come_together" (
"portland_dfl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT SUM("draws") FROM "1969_as_three_leagues_come_together" WHERE "byes">0; | 2-17746037-1 |
What is the sum of byes for losses larger than 14 for a Portland DFL of westerns? | CREATE TABLE "1969_as_three_leagues_come_together" (
"portland_dfl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT SUM("byes") FROM "1969_as_three_leagues_come_together" WHERE "portland_dfl"='westerns' AND "losses">14; | 2-17746037-1 |
What was the result when the opponent was at 2 usc? | CREATE TABLE "schedule" (
"date" text,
"time" text,
"opponentnum" text,
"rank_num" text,
"result" text,
"attendance" text
); | SELECT "result" FROM "schedule" WHERE "opponentnum"='at 2 usc'; | 2-18375403-1 |
What was the result on 10/08/1988? | CREATE TABLE "schedule" (
"date" text,
"time" text,
"opponentnum" text,
"rank_num" text,
"result" text,
"attendance" text
); | SELECT "result" FROM "schedule" WHERE "date"='10/08/1988'; | 2-18375403-1 |
What was the rank# of the opponent when the result of the game was w42-14? | CREATE TABLE "schedule" (
"date" text,
"time" text,
"opponentnum" text,
"rank_num" text,
"result" text,
"attendance" text
); | SELECT "rank_num" FROM "schedule" WHERE "result"='w42-14'; | 2-18375403-1 |
What was the result of the game that had 56,500 in attendance? | CREATE TABLE "schedule" (
"date" text,
"time" text,
"opponentnum" text,
"rank_num" text,
"result" text,
"attendance" text
); | SELECT "result" FROM "schedule" WHERE "attendance"='56,500'; | 2-18375403-1 |
What was the rank# of the opponent when there was 93,829 in attendance? | CREATE TABLE "schedule" (
"date" text,
"time" text,
"opponentnum" text,
"rank_num" text,
"result" text,
"attendance" text
); | SELECT "rank_num" FROM "schedule" WHERE "attendance"='93,829'; | 2-18375403-1 |
On what date was the game played where the opponent was Stanford, ranked #5? | CREATE TABLE "schedule" (
"date" text,
"time" text,
"opponentnum" text,
"rank_num" text,
"result" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "rank_num"='5' AND "opponentnum"='stanford'; | 2-18375403-1 |
Which Number of electorates (2009) has a Reserved for (SC / ST /None) of total:? | CREATE TABLE "assembly_segments" (
"constituency_number" text,
"name" text,
"reserved_for_sc_st_none" text,
"district" text,
"number_of_electorates_2009" real
); | SELECT "number_of_electorates_2009" FROM "assembly_segments" WHERE "reserved_for_sc_st_none"='total:'; | 2-18110554-1 |
What tournament took place after 1973? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
); | SELECT "tournament" FROM "achievements" WHERE "year">1973; | 2-17786147-1 |
What tournament took place before 1972 with an extra of 200 m? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
); | SELECT "tournament" FROM "achievements" WHERE "extra"='200 m' AND "year"<1972; | 2-17786147-1 |
What is the current code for the club trophy, in 1867 only? | CREATE TABLE "defunct_competitions" (
"years" text,
"type" text,
"original_code" text,
"current_code" text,
"location" text
); | SELECT "current_code" FROM "defunct_competitions" WHERE "type"='club trophy' AND "years"='1867 only'; | 2-18050568-2 |
What is the location of the original code for victorian rules? | CREATE TABLE "defunct_competitions" (
"years" text,
"type" text,
"original_code" text,
"current_code" text,
"location" text
); | SELECT "location" FROM "defunct_competitions" WHERE "original_code"='victorian rules'; | 2-18050568-2 |
What is the location for the club trophy? | CREATE TABLE "defunct_competitions" (
"years" text,
"type" text,
"original_code" text,
"current_code" text,
"location" text
); | SELECT "location" FROM "defunct_competitions" WHERE "type"='club trophy'; | 2-18050568-2 |
What is the location for the club trophy from the year 1867 only? | CREATE TABLE "defunct_competitions" (
"years" text,
"type" text,
"original_code" text,
"current_code" text,
"location" text
); | SELECT "location" FROM "defunct_competitions" WHERE "type"='club trophy' AND "years"='1867 only'; | 2-18050568-2 |
What is Score, when Tournament is "Tampere , Finland"? | CREATE TABLE "singles_8" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "score" FROM "singles_8" WHERE "tournament"='tampere , finland'; | 2-17629829-6 |
What is Surface, when Opponent is "Jiří Vaněk"? | CREATE TABLE "singles_8" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "surface" FROM "singles_8" WHERE "opponent"='jiří vaněk'; | 2-17629829-6 |
What is Score, when Opponent is "Ivo Minář"? | CREATE TABLE "singles_8" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "score" FROM "singles_8" WHERE "opponent"='ivo minář'; | 2-17629829-6 |
What is Score, when Opponent is "Daniel Gimeno-Traver"? | CREATE TABLE "singles_8" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "score" FROM "singles_8" WHERE "opponent"='daniel gimeno-traver'; | 2-17629829-6 |
What is Tournament, when Moves is "37", and when Result is "½–½"? | CREATE TABLE "rapid_games" (
"white" text,
"black" text,
"year" real,
"result" text,
"moves" real,
"tournament" text,
"opening" text
); | SELECT "tournament" FROM "rapid_games" WHERE "moves"=37 AND "result"='½–½'; | 2-18043055-2 |
What is Result, when Year is greater than 1999, when White is "Kramnik", and when Tournament is "Mainz CC Champions Duel (5)"? | CREATE TABLE "rapid_games" (
"white" text,
"black" text,
"year" real,
"result" text,
"moves" real,
"tournament" text,
"opening" text
); | SELECT "result" FROM "rapid_games" WHERE "year">1999 AND "white"='kramnik' AND "tournament"='mainz cc champions duel (5)'; | 2-18043055-2 |
What is Opening, when White is Kramnik, when Year is less than 2001, and when Tournament is "Siemens Giants"? | CREATE TABLE "rapid_games" (
"white" text,
"black" text,
"year" real,
"result" text,
"moves" real,
"tournament" text,
"opening" text
); | SELECT "opening" FROM "rapid_games" WHERE "white"='kramnik' AND "year"<2001 AND "tournament"='siemens giants'; | 2-18043055-2 |
What is Tournament, when Black is "Kramnik", when Result is "½–½", and when Moves is "40"? | CREATE TABLE "rapid_games" (
"white" text,
"black" text,
"year" real,
"result" text,
"moves" real,
"tournament" text,
"opening" text
); | SELECT "tournament" FROM "rapid_games" WHERE "black"='kramnik' AND "result"='½–½' AND "moves"=40; | 2-18043055-2 |
What was the location where the opponent was Jae Young Kim? | CREATE TABLE "mixed_martial_arts_career" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "location" FROM "mixed_martial_arts_career" WHERE "opponent"='jae young kim'; | 2-17835872-2 |
Which event was the opponent jose carlos oliveira? | CREATE TABLE "mixed_martial_arts_career" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "event" FROM "mixed_martial_arts_career" WHERE "opponent"='jose carlos oliveira'; | 2-17835872-2 |
How many rounds was the bout against bobby rehman? | CREATE TABLE "mixed_martial_arts_career" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "round" FROM "mixed_martial_arts_career" WHERE "opponent"='bobby rehman'; | 2-17835872-2 |
Where was the location when the record was 12-5? | CREATE TABLE "mixed_martial_arts_career" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "location" FROM "mixed_martial_arts_career" WHERE "record"='12-5'; | 2-17835872-2 |
Which DVD Title has a Region 1 of n/a and greater than 3 in No. of Discs? | CREATE TABLE "dvd_releases" (
"dvd_title" text,
"no_of_discs" real,
"year" text,
"no_of_episodes" real,
"region_1" text,
"region_2" text,
"region_4" text
); | SELECT "dvd_title" FROM "dvd_releases" WHERE "region_1"='n/a' AND "no_of_discs">3; | 2-17697980-1 |
Which region 1 has 12 Episodes and a Region 2 of 18 August 2008? | CREATE TABLE "dvd_releases" (
"dvd_title" text,
"no_of_discs" real,
"year" text,
"no_of_episodes" real,
"region_1" text,
"region_2" text,
"region_4" text
); | SELECT "region_1" FROM "dvd_releases" WHERE "no_of_episodes"=12 AND "region_2"='18 august 2008'; | 2-17697980-1 |
WHAT TRIES HAVE TRIES AGAINST AT 140? | CREATE TABLE "league_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "tries_for" FROM "league_table" WHERE "tries_against"='140'; | 2-17941032-1 |
WHAT IS THE TRIES AGAINST WITH PLAYED 22, POINTS AGAINST 784? | CREATE TABLE "league_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "tries_against" FROM "league_table" WHERE "played"='22' AND "points_against"='784'; | 2-17941032-1 |
WHAT IS THE TRIES WITH POINTS 190? | CREATE TABLE "league_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "tries_for" FROM "league_table" WHERE "points_for"='190'; | 2-17941032-1 |
WHAT IS THE POINTS WITH 55 TRIES? | CREATE TABLE "league_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "points" FROM "league_table" WHERE "tries_for"='55'; | 2-17941032-1 |
WHAT IS THE LOST WITH 1 LOSING BONUS, 148 POINTS? | CREATE TABLE "league_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "lost" FROM "league_table" WHERE "losing_bonus"='1' AND "points_for"='148'; | 2-17941032-1 |
WHAT IS THE LOSING BONUS WITH 190 POINTS? | CREATE TABLE "league_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "losing_bonus" FROM "league_table" WHERE "points_for"='190'; | 2-17941032-1 |
What is the sum of the pick of the guard position player? | CREATE TABLE "1954_ohio_state_buckeyes_football_team" (
"player" text,
"round" real,
"pick" real,
"position" text,
"nfl_club" text
); | SELECT SUM("pick") FROM "1954_ohio_state_buckeyes_football_team" WHERE "position"='guard'; | 2-17963395-2 |
What is the NFL club with pick # 153? | CREATE TABLE "1954_ohio_state_buckeyes_football_team" (
"player" text,
"round" real,
"pick" real,
"position" text,
"nfl_club" text
); | SELECT "nfl_club" FROM "1954_ohio_state_buckeyes_football_team" WHERE "pick"=153; | 2-17963395-2 |
Who is the player from a round less than 13 and has a pick of 74? | CREATE TABLE "1954_ohio_state_buckeyes_football_team" (
"player" text,
"round" real,
"pick" real,
"position" text,
"nfl_club" text
); | SELECT "player" FROM "1954_ohio_state_buckeyes_football_team" WHERE "round"<13 AND "pick"=74; | 2-17963395-2 |
Who is the player from round 13 that plays center? | CREATE TABLE "1954_ohio_state_buckeyes_football_team" (
"player" text,
"round" real,
"pick" real,
"position" text,
"nfl_club" text
); | SELECT "player" FROM "1954_ohio_state_buckeyes_football_team" WHERE "round"=13 AND "position"='center'; | 2-17963395-2 |
What is the NFL club with a pick less than 74 and a round greater than 2? | CREATE TABLE "1954_ohio_state_buckeyes_football_team" (
"player" text,
"round" real,
"pick" real,
"position" text,
"nfl_club" text
); | SELECT "nfl_club" FROM "1954_ohio_state_buckeyes_football_team" WHERE "pick"<74 AND "round">2; | 2-17963395-2 |
Which Conference Semifinals has a Record of 55–27? | CREATE TABLE "playoffs" (
"season" text,
"record" text,
"seed" text,
"first_round" text,
"conference_semifinals" text,
"conference_finals" text,
"nba_finals" text
); | SELECT "conference_semifinals" FROM "playoffs" WHERE "record"='55–27'; | 2-18256220-1 |
Which Conference Semifinals has a Conference Finals of † denotes division championship? | CREATE TABLE "playoffs" (
"season" text,
"record" text,
"seed" text,
"first_round" text,
"conference_semifinals" text,
"conference_finals" text,
"nba_finals" text
); | SELECT "conference_semifinals" FROM "playoffs" WHERE "conference_finals"='† denotes division championship'; | 2-18256220-1 |
Which Conference Finals has a Seed of † denotes division championship? | CREATE TABLE "playoffs" (
"season" text,
"record" text,
"seed" text,
"first_round" text,
"conference_semifinals" text,
"conference_finals" text,
"nba_finals" text
); | SELECT "conference_finals" FROM "playoffs" WHERE "seed"='† denotes division championship'; | 2-18256220-1 |
What rank is the publication the observer music monthly? | CREATE TABLE "accolades" (
"publication" text,
"country" text,
"accolade" text,
"year" real,
"rank" text
); | SELECT "rank" FROM "accolades" WHERE "publication"='the observer music monthly'; | 2-18268852-2 |
What is the publication the observer music monthly highest year? | CREATE TABLE "accolades" (
"publication" text,
"country" text,
"accolade" text,
"year" real,
"rank" text
); | SELECT MAX("year") FROM "accolades" WHERE "publication"='the observer music monthly'; | 2-18268852-2 |
What is the average Attendance, when Venue is "Candlestick Park", and when Date is "December 27"? | CREATE TABLE "1990s_49ers_17_3" (
"year" real,
"date" text,
"home_team" text,
"result" text,
"visiting_team" text,
"venue" text,
"attendance" real
); | SELECT AVG("attendance") FROM "1990s_49ers_17_3" WHERE "venue"='candlestick park' AND "date"='december 27'; | 2-18226024-6 |
What is Result, when Date is "November 22"? | CREATE TABLE "1990s_49ers_17_3" (
"year" real,
"date" text,
"home_team" text,
"result" text,
"visiting_team" text,
"venue" text,
"attendance" real
); | SELECT "result" FROM "1990s_49ers_17_3" WHERE "date"='november 22'; | 2-18226024-6 |
What is the average Attendance, when Venue is "Candlestick Park", and when Date is "November 25"? | CREATE TABLE "1990s_49ers_17_3" (
"year" real,
"date" text,
"home_team" text,
"result" text,
"visiting_team" text,
"venue" text,
"attendance" real
); | SELECT AVG("attendance") FROM "1990s_49ers_17_3" WHERE "venue"='candlestick park' AND "date"='november 25'; | 2-18226024-6 |
What bronze has tatiana ryabkina as the silver, anne margrethe hausken as the gold? | CREATE TABLE "women" (
"year" real,
"gold" text,
"silver" text,
"bronze" text,
"notes" text
); | SELECT "bronze" FROM "women" WHERE "silver"='tatiana ryabkina' AND "gold"='anne margrethe hausken'; | 2-17760670-3 |
What label is in CD format in Australia? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "label" FROM "release_history" WHERE "format"='cd' AND "region"='australia'; | 2-183366-4 |
What is the label for catalog number CRG3P-90054? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "label" FROM "release_history" WHERE "catalog"='crg3p-90054'; | 2-183366-4 |
What is the format for the MCA label? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "format" FROM "release_history" WHERE "label"='mca'; | 2-183366-4 |
What is the catalog number for the Grilled Cheese label? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "catalog" FROM "release_history" WHERE "label"='grilled cheese'; | 2-183366-4 |
Which region has the format CD and label MCA? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "region" FROM "release_history" WHERE "format"='cd' AND "label"='mca'; | 2-183366-4 |
What is the format for the label Mightier than Sword on January 12, 2010 in the United States? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "format" FROM "release_history" WHERE "region"='united states' AND "date"='january 12, 2010' AND "label"='mightier than sword'; | 2-183366-4 |
Which station that sat 54m above seal level is now Closed? | CREATE TABLE "stations" (
"station" text,
"distance_from_wellington" text,
"height_above_sea_level_m" text,
"opened" real,
"closed" text
); | SELECT "station" FROM "stations" WHERE "height_above_sea_level_m"='54m' AND "closed"='closed'; | 2-1799173-3 |
Opened prior to 1877 only 2.44km from Wellington, when did this station close? | CREATE TABLE "stations" (
"station" text,
"distance_from_wellington" text,
"height_above_sea_level_m" text,
"opened" real,
"closed" text
); | SELECT "closed" FROM "stations" WHERE "opened"<1877 AND "distance_from_wellington"='2.44km'; | 2-1799173-3 |
What is the height above sea level for the station opened 175.67km from Wellington prior to 1887? | CREATE TABLE "stations" (
"station" text,
"distance_from_wellington" text,
"height_above_sea_level_m" text,
"opened" real,
"closed" text
); | SELECT "height_above_sea_level_m" FROM "stations" WHERE "opened"<1887 AND "distance_from_wellington"='175.67km'; | 2-1799173-3 |
For the station opened after 1876 at 604.53km from Wellington, what is the height above sea level? | CREATE TABLE "stations" (
"station" text,
"distance_from_wellington" text,
"height_above_sea_level_m" text,
"opened" real,
"closed" text
); | SELECT "height_above_sea_level_m" FROM "stations" WHERE "opened">1876 AND "distance_from_wellington"='604.53km'; | 2-1799173-3 |
Who was the opponent at the game attended by 70,012? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "opponent" FROM "schedule" WHERE "attendance"='70,012'; | 2-17990473-1 |
What is the date of the post-week 2 game with a result of l 16–10? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "week">2 AND "result"='l 16–10'; | 2-17990473-1 |
What is the highest to par number for Justin Leonard when the total is less than 297? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" real,
"finish" text
); | SELECT MAX("to_par") FROM "made_the_cut" WHERE "player"='justin leonard' AND "total"<297; | 2-18049082-2 |
What is the total when the finish was t44? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" real,
"finish" text
); | SELECT "total" FROM "made_the_cut" WHERE "finish"='t44'; | 2-18049082-2 |
What country has a total larger than 293, and a to par less than 17? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" real,
"finish" text
); | SELECT "country" FROM "made_the_cut" WHERE "total">293 AND "to_par"<17; | 2-18049082-2 |
When Karaorman is Team 1, what is the Agg.? | CREATE TABLE "eighth_finals" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "agg" FROM "eighth_finals" WHERE "team_1"='karaorman'; | 2-18154969-1 |
What is week 3 when week 6 is 26.05? | CREATE TABLE "scores" (
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text,
"week_6" text,
"week_7" text
); | SELECT "week_3" FROM "scores" WHERE "week_6"='26.05'; | 2-17911592-1 |
What is week 5 when week 2 is 36.80, and week 4 is 39.75? | CREATE TABLE "scores" (
"week_2" text,
"week_3" text,
"week_4" text,
"week_5" text,
"week_6" text,
"week_7" text
); | SELECT "week_5" FROM "scores" WHERE "week_2"='36.80' AND "week_4"='39.75'; | 2-17911592-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.