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 highest 2003 value with a 1990 greater than 74, a 125 value in 1985, and a 1995 value greater than 130? | CREATE TABLE "elections_to_the_legislative_assembly_of" (
"party" text,
"1985" real,
"1987" real,
"1990" real,
"1995" real,
"1999" real,
"2003" real,
"2007" real,
"2011" real
); | SELECT MAX("2003") FROM "elections_to_the_legislative_assembly_of" WHERE "1990">74 AND "1985"=125 AND "1995">130; | 2-1586335-4 |
What is the highest 2007 value with a 1985 value greater than 52, a 1987 value greater than 130, and a 1990 less than 1990? | CREATE TABLE "elections_to_the_legislative_assembly_of" (
"party" text,
"1985" real,
"1987" real,
"1990" real,
"1995" real,
"1999" real,
"2003" real,
"2007" real,
"2011" real
); | SELECT MAX("2007") FROM "elections_to_the_legislative_assembly_of" WHERE "1985">52 AND "1987">130 AND "1990"<1990; | 2-1586335-4 |
What is the highest 1995 with a 1990 less than 36, a 1987 less than 1987, and a 2007 value greater than 107? | CREATE TABLE "elections_to_the_legislative_assembly_of" (
"party" text,
"1985" real,
"1987" real,
"1990" real,
"1995" real,
"1999" real,
"2003" real,
"2007" real,
"2011" real
); | SELECT MAX("1995") FROM "elections_to_the_legislative_assembly_of" WHERE "1990">36 AND "1987"<1987 AND "2007">107; | 2-1586335-4 |
What is the highest 2003 value with a 2011 less than 107 and a 1995 value less than 17? | CREATE TABLE "elections_to_the_legislative_assembly_of" (
"party" text,
"1985" real,
"1987" real,
"1990" real,
"1995" real,
"1999" real,
"2003" real,
"2007" real,
"2011" real
); | SELECT MAX("2003") FROM "elections_to_the_legislative_assembly_of" WHERE "2011"<107 AND "1995"<17; | 2-1586335-4 |
What is the name of the tournament with 11 or more events a top-5 of 0 and a top-25 of 2? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT "tournament" FROM "summary" WHERE "events">11 AND "top_5"=0 AND "top_25"=2; | 2-1602858-4 |
What is the most top-10 of the team with 8 cuts made and less than 11 events? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT MAX("top_10") FROM "summary" WHERE "cuts_made"=8 AND "events"<11; | 2-1602858-4 |
What is the American Labor ticket when Henry Epstein is the liberal ticket? | CREATE TABLE "1946_state_election_results" (
"office" text,
"republican_ticket" text,
"democratic_ticket" text,
"american_labor_ticket" text,
"liberal_ticket" text,
"communist_ticket" text
); | SELECT "american_labor_ticket" FROM "1946_state_election_results" WHERE "liberal_ticket"='henry epstein'; | 2-15563390-1 |
What is the name on the Communist ticket with an Office of judge of the court of appeals? | CREATE TABLE "1946_state_election_results" (
"office" text,
"republican_ticket" text,
"democratic_ticket" text,
"american_labor_ticket" text,
"liberal_ticket" text,
"communist_ticket" text
); | SELECT "communist_ticket" FROM "1946_state_election_results" WHERE "office"='judge of the court of appeals'; | 2-15563390-1 |
What is the Office when spencer c. young is on the liberal ticket?? | CREATE TABLE "1946_state_election_results" (
"office" text,
"republican_ticket" text,
"democratic_ticket" text,
"american_labor_ticket" text,
"liberal_ticket" text,
"communist_ticket" text
); | SELECT "office" FROM "1946_state_election_results" WHERE "liberal_ticket"='spencer c. young'; | 2-15563390-1 |
What is the name on the Democratic ticket when the Liberal ticket is erastus corning 2nd? | CREATE TABLE "1946_state_election_results" (
"office" text,
"republican_ticket" text,
"democratic_ticket" text,
"american_labor_ticket" text,
"liberal_ticket" text,
"communist_ticket" text
); | SELECT "democratic_ticket" FROM "1946_state_election_results" WHERE "liberal_ticket"='erastus corning 2nd'; | 2-15563390-1 |
What name is on the Republican ticket when the American Labor ticket was spencer c. young? | CREATE TABLE "1946_state_election_results" (
"office" text,
"republican_ticket" text,
"democratic_ticket" text,
"american_labor_ticket" text,
"liberal_ticket" text,
"communist_ticket" text
); | SELECT "republican_ticket" FROM "1946_state_election_results" WHERE "american_labor_ticket"='spencer c. young'; | 2-15563390-1 |
What is the entered number for the person with a time of 29:28? | CREATE TABLE "elimination_chamber_entrances_and_elimin" (
"eliminated" text,
"wrestler" text,
"entered" real,
"eliminated_by" text,
"time" text
); | SELECT "entered" FROM "elimination_chamber_entrances_and_elimin" WHERE "time"='29:28'; | 2-15325500-2 |
What is the number eliminated for the person with a time of 12:38? | CREATE TABLE "elimination_chamber_entrances_and_elimin" (
"eliminated" text,
"wrestler" text,
"entered" real,
"eliminated_by" text,
"time" text
); | SELECT "eliminated_by" FROM "elimination_chamber_entrances_and_elimin" WHERE "time"='12:38'; | 2-15325500-2 |
What is the highest Attendance with a Result that is w 24-21? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT MAX("attendance") FROM "schedule" WHERE "result"='w 24-21'; | 2-15955525-1 |
What Date has a time of (seconds) 42.172? | CREATE TABLE "track_records" (
"sport" text,
"record" text,
"nation_athlete_s" text,
"date" text,
"time_seconds" real
); | SELECT "date" FROM "track_records" WHERE "time_seconds"=42.172; | 2-15607819-2 |
What is the Record for 23 january 2010, with a time smaller than 42.679 seconds? | CREATE TABLE "track_records" (
"sport" text,
"record" text,
"nation_athlete_s" text,
"date" text,
"time_seconds" real
); | SELECT "record" FROM "track_records" WHERE "date"='23 january 2010' AND "time_seconds"<42.679; | 2-15607819-2 |
What is the total number of Points that were in a Year that was 2005? | CREATE TABLE "college_career" (
"year" text,
"gp_gs" text,
"shots" real,
"goals" real,
"assists" real,
"points" real
); | SELECT COUNT("points") FROM "college_career" WHERE "year"='2005'; | 2-15726185-1 |
What is the lowest Shots with a Point that is larger than 32? | CREATE TABLE "college_career" (
"year" text,
"gp_gs" text,
"shots" real,
"goals" real,
"assists" real,
"points" real
); | SELECT MIN("shots") FROM "college_career" WHERE "points">32; | 2-15726185-1 |
Which category had a year of 1991? | CREATE TABLE "singles" (
"year" real,
"category" text,
"champion" text,
"runner_up" text,
"score" text
); | SELECT "category" FROM "singles" WHERE "year"=1991; | 2-16157440-1 |
What is the score having a runner-up of Magdalena Maleeva? | CREATE TABLE "singles" (
"year" real,
"category" text,
"champion" text,
"runner_up" text,
"score" text
); | SELECT "score" FROM "singles" WHERE "runner_up"='magdalena maleeva'; | 2-16157440-1 |
What year was John m. Belk Arena built? | CREATE TABLE "present" (
"venue" text,
"location" text,
"capacity" text,
"owner" text,
"environment" text,
"year_built" text
); | SELECT "year_built" FROM "present" WHERE "venue"='john m. belk arena'; | 2-15720079-4 |
What type of environment is the venue that was built in 2003? | CREATE TABLE "present" (
"venue" text,
"location" text,
"capacity" text,
"owner" text,
"environment" text,
"year_built" text
); | SELECT "environment" FROM "present" WHERE "year_built"='2003'; | 2-15720079-4 |
What year was transamerica field built in? | CREATE TABLE "present" (
"venue" text,
"location" text,
"capacity" text,
"owner" text,
"environment" text,
"year_built" text
); | SELECT "year_built" FROM "present" WHERE "venue"='transamerica field'; | 2-15720079-4 |
What is the location of the venue owned by johnson c. smith university? | CREATE TABLE "present" (
"venue" text,
"location" text,
"capacity" text,
"owner" text,
"environment" text,
"year_built" text
); | SELECT "location" FROM "present" WHERE "owner"='johnson c. smith university'; | 2-15720079-4 |
What is the venue when the score was 8-2? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "venue" FROM "international_goals" WHERE "score"='8-2'; | 2-15553431-1 |
What is the Score for the 1999 fifa confederations cup? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "international_goals" WHERE "competition"='1999 fifa confederations cup'; | 2-15553431-1 |
What is the result on 30 june 1995? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "result" FROM "international_goals" WHERE "date"='30 june 1995'; | 2-15553431-1 |
What is the Date of the 1999 fifa confederations cup? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "date" FROM "international_goals" WHERE "competition"='1999 fifa confederations cup'; | 2-15553431-1 |
What is the Venue for the 2002 fifa world cup qualifier, and a Result of 8-2? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "venue" FROM "international_goals" WHERE "competition"='2002 fifa world cup qualifier' AND "result"='8-2'; | 2-15553431-1 |
What is the Score on 11 march 2001? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "international_goals" WHERE "date"='11 march 2001'; | 2-15553431-1 |
What is the round 4 that has from less than 1990, and double for round 3? | CREATE TABLE "scoring_format" (
"from" real,
"goal" real,
"round_1" text,
"round_2" text,
"round_3" text,
"round_4" text,
"round_5" text,
"round_6" text
); | SELECT "round_4" FROM "scoring_format" WHERE "from"<1990 AND "round_3"='double'; | 2-153689-1 |
What is the round 6+ that has single as round 2, double as round 4, from 1982? | CREATE TABLE "scoring_format" (
"from" real,
"goal" real,
"round_1" text,
"round_2" text,
"round_3" text,
"round_4" text,
"round_5" text,
"round_6" text
); | SELECT "round_6" FROM "scoring_format" WHERE "round_2"='single' AND "round_4"='double' AND "from"=1982; | 2-153689-1 |
Which round 1 has a from prior to 1984, double as round 3, with a goal lwss than 300? | CREATE TABLE "scoring_format" (
"from" real,
"goal" real,
"round_1" text,
"round_2" text,
"round_3" text,
"round_4" text,
"round_5" text,
"round_6" text
); | SELECT "round_1" FROM "scoring_format" WHERE "from"<1984 AND "round_3"='double' AND "goal"<300; | 2-153689-1 |
What is the round 6+ that has a from prior to 1993, double for round 3, and a double for round 5? | CREATE TABLE "scoring_format" (
"from" real,
"goal" real,
"round_1" text,
"round_2" text,
"round_3" text,
"round_4" text,
"round_5" text,
"round_6" text
); | SELECT "round_6" FROM "scoring_format" WHERE "from"<1993 AND "round_3"='double' AND "round_5"='double'; | 2-153689-1 |
What is the symbol of the element with an empirical t of 190 and a calculated value of 135? | CREATE TABLE "atomic_radii" (
"number" real,
"symbol" text,
"name" text,
"empirical" text,
"calculated" text,
"van_der_waals" text,
"covalent_single_bond" text,
"covalent_triple_bond" text
); | SELECT "symbol" FROM "atomic_radii" WHERE "empirical"='190' AND "calculated"='135'; | 2-1593985-1 |
What is the name of the element with a calculated value of 56? | CREATE TABLE "atomic_radii" (
"number" real,
"symbol" text,
"name" text,
"empirical" text,
"calculated" text,
"van_der_waals" text,
"covalent_single_bond" text,
"covalent_triple_bond" text
); | SELECT "name" FROM "atomic_radii" WHERE "calculated"='56'; | 2-1593985-1 |
What is the covalent (single bond) value of sodium? | CREATE TABLE "atomic_radii" (
"number" real,
"symbol" text,
"name" text,
"empirical" text,
"calculated" text,
"van_der_waals" text,
"covalent_single_bond" text,
"covalent_triple_bond" text
); | SELECT "covalent_single_bond" FROM "atomic_radii" WHERE "name"='sodium'; | 2-1593985-1 |
What is the lowest jersey # of the player with a height of 191 cm from the New Jersey Devils in 2008-2009? | CREATE TABLE "list_of_united_states_national_ice_hocke" (
"position" text,
"jersey_num" real,
"name" text,
"height_cm" real,
"weight_kg" real,
"birthdate" text,
"birthplace" text,
"2008_2009_team" text
); | SELECT MIN("jersey_num") FROM "list_of_united_states_national_ice_hocke" WHERE "height_cm"=191 AND "2008_2009_team"='new jersey devils'; | 2-15715109-33 |
What is the total height of the player with a birthdate on September 2, 1973? | CREATE TABLE "list_of_united_states_national_ice_hocke" (
"position" text,
"jersey_num" real,
"name" text,
"height_cm" real,
"weight_kg" real,
"birthdate" text,
"birthplace" text,
"2008_2009_team" text
); | SELECT COUNT("height_cm") FROM "list_of_united_states_national_ice_hocke" WHERE "birthdate"='september 2, 1973'; | 2-15715109-33 |
What is the birthdate of Robert Esche? | CREATE TABLE "list_of_united_states_national_ice_hocke" (
"position" text,
"jersey_num" real,
"name" text,
"height_cm" real,
"weight_kg" real,
"birthdate" text,
"birthplace" text,
"2008_2009_team" text
); | SELECT "birthdate" FROM "list_of_united_states_national_ice_hocke" WHERE "name"='robert esche'; | 2-15715109-33 |
What is the position of the player with a jersey # greater than 30 and a December 23, 1986 birthdate? | CREATE TABLE "list_of_united_states_national_ice_hocke" (
"position" text,
"jersey_num" real,
"name" text,
"height_cm" real,
"weight_kg" real,
"birthdate" text,
"birthplace" text,
"2008_2009_team" text
); | SELECT "position" FROM "list_of_united_states_national_ice_hocke" WHERE "jersey_num">30 AND "birthdate"='december 23, 1986'; | 2-15715109-33 |
What is the weight of John-Michael Liles? | CREATE TABLE "list_of_united_states_national_ice_hocke" (
"position" text,
"jersey_num" real,
"name" text,
"height_cm" real,
"weight_kg" real,
"birthdate" text,
"birthplace" text,
"2008_2009_team" text
); | SELECT "weight_kg" FROM "list_of_united_states_national_ice_hocke" WHERE "name"='john-michael liles'; | 2-15715109-33 |
What was the first leg score during the quarter-final game? | CREATE TABLE "liverpool" (
"round" text,
"opposition" text,
"first_leg" text,
"second_leg" text,
"aggregate_score" text
); | SELECT "first_leg" FROM "liverpool" WHERE "round"='quarter-final'; | 2-15755354-1 |
What was the aggregate score for the game against Dynamo Dresden? | CREATE TABLE "liverpool" (
"round" text,
"opposition" text,
"first_leg" text,
"second_leg" text,
"aggregate_score" text
); | SELECT "aggregate_score" FROM "liverpool" WHERE "opposition"='dynamo dresden'; | 2-15755354-1 |
Who was the opposing team in the 3rd round? | CREATE TABLE "liverpool" (
"round" text,
"opposition" text,
"first_leg" text,
"second_leg" text,
"aggregate_score" text
); | SELECT "opposition" FROM "liverpool" WHERE "round"='3rd'; | 2-15755354-1 |
Which nation has 0 golds and more than 1 silver? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT "nation" FROM "medal_table" WHERE "gold"=0 AND "silver">1; | 2-16151853-4 |
What is the smallest total that has under 3 golds, more than 0 silvers and bronzes? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("total") FROM "medal_table" WHERE "gold"<3 AND "bronze">0 AND "silver">0; | 2-16151853-4 |
What is the total number of silvers associated with 3 bronzes, a total over 6, and a rank of 3? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("silver") FROM "medal_table" WHERE "bronze"=3 AND "rank"='3' AND "total">6; | 2-16151853-4 |
What is the sum of bronzes associated with 0 golds and a rank of 10? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("bronze") FROM "medal_table" WHERE "rank"='10' AND "gold"<0; | 2-16151853-4 |
What is the largest silver value associated with 0 golds? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("silver") FROM "medal_table" WHERE "gold"<0; | 2-16151853-4 |
What is the total number of bronzes from the Netherlands? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("bronze") FROM "medal_table" WHERE "nation"='netherlands'; | 2-16151853-4 |
What is the average amount of earnings for years under 2004 and money list rankings of 6? | CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"wins" real,
"earnings" real,
"money_list_rank" text,
"average" real
); | SELECT AVG("earnings") FROM "lpga_tour_career_summary" WHERE "money_list_rank"='6' AND "year"<2004; | 2-1590038-4 |
What is the highest number of wins for years after 1999 with averages over 73.02? | CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"wins" real,
"earnings" real,
"money_list_rank" text,
"average" real
); | SELECT MAX("wins") FROM "lpga_tour_career_summary" WHERE "average">73.02 AND "year">1999; | 2-1590038-4 |
Who was the away team when the home team Manchester United played? | CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "away_team" FROM "fourth_round_proper" WHERE "home_team"='manchester united'; | 2-15786635-5 |
When there was a tie of 16 what was the attendance? | CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "attendance" FROM "fourth_round_proper" WHERE "tie_no"='16'; | 2-15786635-5 |
Tell me the score when there was a Tie number of 6? | CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "score" FROM "fourth_round_proper" WHERE "tie_no"='6'; | 2-15786635-5 |
For the Tie number of 14 who was the away team? | CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "away_team" FROM "fourth_round_proper" WHERE "tie_no"='14'; | 2-15786635-5 |
What Catalog released on June 29, 1999 has a Digipak Album Format? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "catalog" FROM "release_history" WHERE "format"='digipak album' AND "date"='june 29, 1999'; | 2-159162-4 |
What is the release Date of Catalog RR 8655-2? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "date" FROM "release_history" WHERE "catalog"='rr 8655-2'; | 2-159162-4 |
What is Score, when Group Song is 就是你, and when Index is F2? | CREATE TABLE "episode_7_1_march_2008" (
"index" text,
"name" text,
"song" text,
"group_song" text,
"score" text
); | SELECT "score" FROM "episode_7_1_march_2008" WHERE "group_song"='就是你' AND "index"='f2'; | 2-15905451-4 |
What is Score, when Name is Nicole 赖淞凤? | CREATE TABLE "episode_7_1_march_2008" (
"index" text,
"name" text,
"song" text,
"group_song" text,
"score" text
); | SELECT "score" FROM "episode_7_1_march_2008" WHERE "name"='nicole 赖淞凤'; | 2-15905451-4 |
What is Score, when Song is 第九夜? | CREATE TABLE "episode_7_1_march_2008" (
"index" text,
"name" text,
"song" text,
"group_song" text,
"score" text
); | SELECT "score" FROM "episode_7_1_march_2008" WHERE "song"='第九夜'; | 2-15905451-4 |
What is Group Song, when Song is 换季? | CREATE TABLE "episode_7_1_march_2008" (
"index" text,
"name" text,
"song" text,
"group_song" text,
"score" text
); | SELECT "group_song" FROM "episode_7_1_march_2008" WHERE "song"='换季'; | 2-15905451-4 |
What is Group Song, when Name is Alice 林芯糸? | CREATE TABLE "episode_7_1_march_2008" (
"index" text,
"name" text,
"song" text,
"group_song" text,
"score" text
); | SELECT "group_song" FROM "episode_7_1_march_2008" WHERE "name"='alice 林芯糸'; | 2-15905451-4 |
On what surface was the match played with a score of 2–6, 6–3, 6–4? | CREATE TABLE "runner_up_16" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "surface" FROM "runner_up_16" WHERE "score"='2–6, 6–3, 6–4'; | 2-1547798-3 |
On what surface was the match played with a score of 4–6, 6–3, 6–1? | CREATE TABLE "runner_up_16" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "surface" FROM "runner_up_16" WHERE "score"='4–6, 6–3, 6–1'; | 2-1547798-3 |
What was the score when the opponent in the final was iroda tulyaganova? | CREATE TABLE "runner_up_16" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "score" FROM "runner_up_16" WHERE "opponent_in_the_final"='iroda tulyaganova'; | 2-1547798-3 |
Which tournament has an opponent in the final of nadia petrova and a score of 6–3, 4–6, 6–1?? | CREATE TABLE "runner_up_16" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "tournament" FROM "runner_up_16" WHERE "opponent_in_the_final"='nadia petrova' AND "score"='6–3, 4–6, 6–1'; | 2-1547798-3 |
What is 01-02, when 03-04 is 03-04? | CREATE TABLE "education" (
"school_year" text,
"95_96" text,
"99_00" text,
"00_01" text,
"01_02" text,
"02_03" text,
"03_04" text,
"04_05" text,
"05_06" text,
"06_07" text
); | SELECT "01_02" FROM "education" WHERE "03_04"='03-04'; | 2-16158579-1 |
What is 02-03, when School Year is % Learning In Latvian? | CREATE TABLE "education" (
"school_year" text,
"95_96" text,
"99_00" text,
"00_01" text,
"01_02" text,
"02_03" text,
"03_04" text,
"04_05" text,
"05_06" text,
"06_07" text
); | SELECT "02_03" FROM "education" WHERE "school_year"='% learning in latvian'; | 2-16158579-1 |
What is 03-04, when 00-01 is 67.4? | CREATE TABLE "education" (
"school_year" text,
"95_96" text,
"99_00" text,
"00_01" text,
"01_02" text,
"02_03" text,
"03_04" text,
"04_05" text,
"05_06" text,
"06_07" text
); | SELECT "03_04" FROM "education" WHERE "00_01"='67.4'; | 2-16158579-1 |
What is 02-03, when 06-07 is 1198? | CREATE TABLE "education" (
"school_year" text,
"95_96" text,
"99_00" text,
"00_01" text,
"01_02" text,
"02_03" text,
"03_04" text,
"04_05" text,
"05_06" text,
"06_07" text
); | SELECT "02_03" FROM "education" WHERE "06_07"='1198'; | 2-16158579-1 |
What is 04-05, when 05-06 is 205,189? | CREATE TABLE "education" (
"school_year" text,
"95_96" text,
"99_00" text,
"00_01" text,
"01_02" text,
"02_03" text,
"03_04" text,
"04_05" text,
"05_06" text,
"06_07" text
); | SELECT "04_05" FROM "education" WHERE "05_06"='205,189'; | 2-16158579-1 |
What is 03-04, when 95-96 is 337,660? | CREATE TABLE "education" (
"school_year" text,
"95_96" text,
"99_00" text,
"00_01" text,
"01_02" text,
"02_03" text,
"03_04" text,
"04_05" text,
"05_06" text,
"06_07" text
); | SELECT "03_04" FROM "education" WHERE "95_96"='337,660'; | 2-16158579-1 |
Who was the choreographer for the dance style of Jazz? | CREATE TABLE "week_8_july_30_2008" (
"couple" text,
"style" text,
"music" text,
"choreographer_s" text,
"results" text
); | SELECT "choreographer_s" FROM "week_8_july_30_2008" WHERE "style"='jazz'; | 2-15918328-13 |
Which music led to a safe result and was choreographed by Jason Gilkison? | CREATE TABLE "week_8_july_30_2008" (
"couple" text,
"style" text,
"music" text,
"choreographer_s" text,
"results" text
); | SELECT "music" FROM "week_8_july_30_2008" WHERE "results"='safe' AND "choreographer_s"='jason gilkison'; | 2-15918328-13 |
Which couple participated in the Contemporary style of dance? | CREATE TABLE "week_8_july_30_2008" (
"couple" text,
"style" text,
"music" text,
"choreographer_s" text,
"results" text
); | SELECT "couple" FROM "week_8_july_30_2008" WHERE "style"='contemporary'; | 2-15918328-13 |
Which couple participated in the Paso Doble style and were safe? | CREATE TABLE "week_8_july_30_2008" (
"couple" text,
"style" text,
"music" text,
"choreographer_s" text,
"results" text
); | SELECT "couple" FROM "week_8_july_30_2008" WHERE "results"='safe' AND "style"='paso doble'; | 2-15918328-13 |
What was the Date of the game held during Week 1, that had an Attendance greater than 50,637? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "date" FROM "schedule" WHERE "attendance">'50,637' AND "week"=1; | 2-15385921-2 |
How many weeks had a game on November 26, 1978, and an attendance higher than 26,248? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT COUNT("week") FROM "schedule" WHERE "date"='november 26, 1978' AND "attendance">'26,248'; | 2-15385921-2 |
What was the lowest Attendance during Week 12? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT MIN("attendance") FROM "schedule" WHERE "week"=12; | 2-15385921-2 |
What was the name of the tournament that the final was played against Yi Jingqian? | CREATE TABLE "singles_wins_6" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "tournament" FROM "singles_wins_6" WHERE "opponent_in_the_final"='yi jingqian'; | 2-15340120-1 |
Who was the final opponent in the tournament in Taipei, Taiwan on November 14, 1994? | CREATE TABLE "singles_wins_6" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "opponent_in_the_final" FROM "singles_wins_6" WHERE "tournament"='taipei, taiwan' AND "date"='november 14, 1994'; | 2-15340120-1 |
On October 14, 1996 who was the opponent in the final? | CREATE TABLE "singles_wins_6" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "opponent_in_the_final" FROM "singles_wins_6" WHERE "date"='october 14, 1996'; | 2-15340120-1 |
When playing against Yi Jingqian in the final on a hard surface what was the score? | CREATE TABLE "singles_wins_6" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "score" FROM "singles_wins_6" WHERE "surface"='hard' AND "opponent_in_the_final"='yi jingqian'; | 2-15340120-1 |
Who was played against in the final on November 14, 1994? | CREATE TABLE "singles_wins_6" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "opponent_in_the_final" FROM "singles_wins_6" WHERE "date"='november 14, 1994'; | 2-15340120-1 |
What is the total number of Entered when the eliminated number is 3? | CREATE TABLE "elimination_chamber_entrances_and_elimin" (
"eliminated" text,
"wrestler" text,
"entered" real,
"eliminated_by" text,
"time" text
); | SELECT COUNT("entered") FROM "elimination_chamber_entrances_and_elimin" WHERE "eliminated"='3'; | 2-15325500-3 |
What is the Eliminated when there are less than 4 entered and the wrestler was shawn michaels? | CREATE TABLE "elimination_chamber_entrances_and_elimin" (
"eliminated" text,
"wrestler" text,
"entered" real,
"eliminated_by" text,
"time" text
); | SELECT "eliminated" FROM "elimination_chamber_entrances_and_elimin" WHERE "entered"<4 AND "wrestler"='shawn michaels'; | 2-15325500-3 |
How many frequencies have a line of East London and destination of Crystal Palace? | CREATE TABLE "services" (
"platform" real,
"frequency_per_hour" real,
"destination" text,
"service_pattern" text,
"operator" text,
"line" text
); | SELECT COUNT("frequency_per_hour") FROM "services" WHERE "line"='east london' AND "destination"='crystal palace'; | 2-1569516-1 |
Which line has an operator of the London Overground and ends at the Crystal Palace? | CREATE TABLE "services" (
"platform" real,
"frequency_per_hour" real,
"destination" text,
"service_pattern" text,
"operator" text,
"line" text
); | SELECT "line" FROM "services" WHERE "operator"='london overground' AND "destination"='crystal palace'; | 2-1569516-1 |
How many weeks on top was the song with a volume:issue of 28:26? | CREATE TABLE "see_also" (
"volume_issue" text,
"issue_date_s" text,
"weeks_on_top" text,
"song" text,
"artist" text
); | SELECT "weeks_on_top" FROM "see_also" WHERE "volume_issue"='28:26'; | 2-15663132-1 |
Which song was 1 week on top and had a volume:issue of 29:8? | CREATE TABLE "see_also" (
"volume_issue" text,
"issue_date_s" text,
"weeks_on_top" text,
"song" text,
"artist" text
); | SELECT "song" FROM "see_also" WHERE "weeks_on_top"='1' AND "volume_issue"='29:8'; | 2-15663132-1 |
Which song was by artist Gino Vannelli? | CREATE TABLE "see_also" (
"volume_issue" text,
"issue_date_s" text,
"weeks_on_top" text,
"song" text,
"artist" text
); | SELECT "song" FROM "see_also" WHERE "artist"='gino vannelli'; | 2-15663132-1 |
What tournament did Bill Rogers play in when he had less than 7 Cuts, 0 Wins, and less than 1 Top-25? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT "tournament" FROM "summary" WHERE "cuts_made"<7 AND "wins"=0 AND "top_25"<1; | 2-1610479-5 |
What is 9:00, when 8:30 is "My Thursday Night Movie"? | CREATE TABLE "thursday" (
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
); | SELECT "9_00" FROM "thursday" WHERE "8_30"='my thursday night movie'; | 2-15708593-19 |
What is 9:30, when 8:30 is "Bones (Reruns)"? | 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_30"='bones (reruns)'; | 2-15708593-19 |
What is 8:30, when 9:00 is "The Office (Reruns)", and when 10:00 is "Law & Order (Reruns)"? | CREATE TABLE "thursday" (
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
); | SELECT "8_30" FROM "thursday" WHERE "9_00"='the office (reruns)' AND "10_00"='law & order (reruns)'; | 2-15708593-19 |
What is 10:00, when 9:30 is "Grey's Anatomy (Reruns)", and when 8:00 is "Samantha Who?"? | CREATE TABLE "thursday" (
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
); | SELECT "10_00" FROM "thursday" WHERE "9_30"='grey''s anatomy (reruns)' AND "8_00"='samantha who?'; | 2-15708593-19 |
What are the number of losses that have Ties of 1 and 3 or more poll wins? | CREATE TABLE "advocates" (
"advocate" text,
"wins" real,
"losses" real,
"ties" real,
"poll_wins" real,
"poll_losses" real
); | SELECT COUNT("losses") FROM "advocates" WHERE "ties"=1 AND "poll_wins">3; | 2-15781170-1 |
What is the lowest poll losses of the 0 ties, poll wins greater than 1 and wins less than 2? | CREATE TABLE "advocates" (
"advocate" text,
"wins" real,
"losses" real,
"ties" real,
"poll_wins" real,
"poll_losses" real
); | SELECT MIN("poll_losses") FROM "advocates" WHERE "ties"=0 AND "poll_wins">1 AND "wins"<2; | 2-15781170-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.