question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What was the competition when the score was 3-0?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "competition" FROM "international_goals" WHERE "score"='3-0';
2-17911639-1
Akin Ayodele drafted before round 7 plays what position?
CREATE TABLE "2002_nfl_draft" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT "position" FROM "2002_nfl_draft" WHERE "round"<7 AND "name"='akin ayodele';
2-17977772-1
What is the total overall for the pick that went before round 4, who went to Tennessee for college, and was picked at a number bigger than 9?
CREATE TABLE "2002_nfl_draft" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT SUM("overall") FROM "2002_nfl_draft" WHERE "round"<4 AND "college"='tennessee' AND "pick_num">9;
2-17977772-1
What is the pick number average for the player who was drafted before round 7, and went to college at Tennessee?
CREATE TABLE "2002_nfl_draft" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT AVG("pick_num") FROM "2002_nfl_draft" WHERE "round"<7 AND "college"='tennessee';
2-17977772-1
What visiting team played at the home of the Chicago Black Hawks with a record of 1-1?
CREATE TABLE "chicago_black_hawks_4_new_york_rangers_3" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "visitor" FROM "chicago_black_hawks_4_new_york_rangers_3" WHERE "home"='chicago black hawks' AND "record"='1-1';
2-18184278-4
What home team has a record of 4-3?
CREATE TABLE "chicago_black_hawks_4_new_york_rangers_3" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "home" FROM "chicago_black_hawks_4_new_york_rangers_3" WHERE "record"='4-3';
2-18184278-4
What visiting team has a record of 4-3?
CREATE TABLE "chicago_black_hawks_4_new_york_rangers_3" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "visitor" FROM "chicago_black_hawks_4_new_york_rangers_3" WHERE "record"='4-3';
2-18184278-4
What is the highest league up with less than 3 championships, a total less than 2, and a FA cup larger than 0?
CREATE TABLE "yellow_cards" ( "name" text, "championship" real, "league_cup" real, "fa_cup" real, "total" real );
SELECT MAX("league_cup") FROM "yellow_cards" WHERE "championship"<3 AND "total"<2 AND "fa_cup">0;
2-17978754-5
What is the average total for less than 1 championship?
CREATE TABLE "yellow_cards" ( "name" text, "championship" real, "league_cup" real, "fa_cup" real, "total" real );
SELECT AVG("total") FROM "yellow_cards" WHERE "championship"<1;
2-17978754-5
What i the total number of championships less than 2, and a league cup larger than 1?
CREATE TABLE "yellow_cards" ( "name" text, "championship" real, "league_cup" real, "fa_cup" real, "total" real );
SELECT COUNT("total") FROM "yellow_cards" WHERE "championship"<2 AND "league_cup">1;
2-17978754-5
What home team has a score of 2–1, when the away team was Telford United?
CREATE TABLE "second_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "home_team" FROM "second_round_proper" WHERE "score"='2–1' AND "away_team"='telford united';
2-17751846-2
What was the score when the way team was Wrexham?
CREATE TABLE "second_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "score" FROM "second_round_proper" WHERE "away_team"='wrexham';
2-17751846-2
What is the home team when the Tie no is 1?
CREATE TABLE "second_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "home_team" FROM "second_round_proper" WHERE "tie_no"='1';
2-17751846-2
What was Eduardo Romero's score?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "score" FROM "third_round" WHERE "player"='eduardo romero';
2-18139254-6
Where was the score 67-71-70=208?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "third_round" WHERE "score"='67-71-70=208';
2-18139254-6
What was the score when Fred Couples played in the United States and placed t9?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "score" FROM "third_round" WHERE "country"='united states' AND "place"='t9' AND "player"='fred couples';
2-18139254-6
What country does Gary Koch play for?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "third_round" WHERE "player"='gary koch';
2-18139254-6
Who plays for Zimbabwe?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "player" FROM "third_round" WHERE "country"='zimbabwe';
2-18139254-6
What was the To par when the place was 4?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "to_par" FROM "third_round" WHERE "place"='4';
2-18139254-6
What is the current club with a position of sg/sf and a height less than 1.96?
CREATE TABLE "fiba_world_olympic_qualifying_tournament" ( "player" text, "height" real, "position" text, "year_born_age" text, "current_club" text );
SELECT "current_club" FROM "fiba_world_olympic_qualifying_tournament" WHERE "position"='sg/sf' AND "height"<1.96;
2-18228282-3
What year was Rowan Barrett born?
CREATE TABLE "fiba_world_olympic_qualifying_tournament" ( "player" text, "height" real, "position" text, "year_born_age" text, "current_club" text );
SELECT "year_born_age" FROM "fiba_world_olympic_qualifying_tournament" WHERE "player"='rowan barrett';
2-18228282-3
What is the lowest height for Rans Brempong?
CREATE TABLE "fiba_world_olympic_qualifying_tournament" ( "player" text, "height" real, "position" text, "year_born_age" text, "current_club" text );
SELECT MIN("height") FROM "fiba_world_olympic_qualifying_tournament" WHERE "player"='rans brempong';
2-18228282-3
When was the result 0–3?
CREATE TABLE "fa_premier_league" ( "date" text, "opponent" text, "venue" text, "result" text, "attendance" real );
SELECT "date" FROM "fa_premier_league" WHERE "result"='0–3';
2-17905159-4
What is the result of the match on 9 September 2009?
CREATE TABLE "international_goals" ( "goal" real, "date" text, "score" text, "result" text, "competition" text );
SELECT "result" FROM "international_goals" WHERE "date"='9 september 2009';
2-1814189-1
What is the name of the player that was loaned out on 13 August 2008 ?
CREATE TABLE "loan_out" ( "date_from" text, "date_to" text, "pos" text, "name" text, "moving_to" text );
SELECT "name" FROM "loan_out" WHERE "date_from"='13 august 2008';
2-17626681-15
When was febian brandy loaned out until, when was loaned out on 2 february 2009.?
CREATE TABLE "loan_out" ( "date_from" text, "date_to" text, "pos" text, "name" text, "moving_to" text );
SELECT "date_to" FROM "loan_out" WHERE "name"='febian brandy' AND "date_from"='2 february 2009';
2-17626681-15
When was james chester loaned out until ?
CREATE TABLE "loan_out" ( "date_from" text, "date_to" text, "pos" text, "name" text, "moving_to" text );
SELECT "date_to" FROM "loan_out" WHERE "name"='james chester';
2-17626681-15
Where did the player loaned out on 27 november 2008 move to ?
CREATE TABLE "loan_out" ( "date_from" text, "date_to" text, "pos" text, "name" text, "moving_to" text );
SELECT "moving_to" FROM "loan_out" WHERE "date_from"='27 november 2008';
2-17626681-15
When was ron-robert zieler loaned out until ?
CREATE TABLE "loan_out" ( "date_from" text, "date_to" text, "pos" text, "name" text, "moving_to" text );
SELECT "date_to" FROM "loan_out" WHERE "name"='ron-robert zieler';
2-17626681-15
Where did the player in Pos mf, move to until 30 june 2009 ?
CREATE TABLE "loan_out" ( "date_from" text, "date_to" text, "pos" text, "name" text, "moving_to" text );
SELECT "moving_to" FROM "loan_out" WHERE "date_to"='30 june 2009' AND "pos"='mf';
2-17626681-15
What is the name of the manager who was replaced by michael skibbe?
CREATE TABLE "managerial_changes" ( "name" text, "club" text, "date_of_departure" text, "replacement" text, "date_of_appointment" text );
SELECT "name" FROM "managerial_changes" WHERE "replacement"='michael skibbe';
2-17645791-1
What is the club the used aykut kocaman as the replacement?
CREATE TABLE "managerial_changes" ( "name" text, "club" text, "date_of_departure" text, "replacement" text, "date_of_appointment" text );
SELECT "club" FROM "managerial_changes" WHERE "replacement"='aykut kocaman';
2-17645791-1
What is the date of appointment of nejat biyedić?
CREATE TABLE "managerial_changes" ( "name" text, "club" text, "date_of_departure" text, "replacement" text, "date_of_appointment" text );
SELECT "date_of_appointment" FROM "managerial_changes" WHERE "name"='nejat biyedić';
2-17645791-1
When did they play at the wachovia center?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text, "streak" text );
SELECT "date" FROM "game_log" WHERE "location_attendance"='wachovia center';
2-18289217-3
What game number was played at amway arena?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text, "streak" text );
SELECT "game" FROM "game_log" WHERE "location_attendance"='amway arena';
2-18289217-3
How many medals were won total for the country that won 1 silver and was ranked 2 or lower?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("total") FROM "medal_table" WHERE "silver"=1 AND "rank"<2;
2-1767441-2
How many silvers did the country with more than 0 gold and a rank above 1 win that had a total less than 4?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("silver") FROM "medal_table" WHERE "gold">0 AND "rank">1 AND "total"<4;
2-1767441-2
How many bronzes were won by the country with a total higher than 5?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("bronze") FROM "medal_table" WHERE "total">5;
2-1767441-2
How many bronzes were won for the country that had a larger than 3 rank and a silver win count above 0?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("bronze") FROM "medal_table" WHERE "rank">3 AND "silver">0;
2-1767441-2
What is the highest value for Other that has CONCACAF value of 0 a U.S. Open Cup larger than 0?
CREATE TABLE "most_goals" ( "name" text, "years" text, "mls_cup" real, "u_s_open_cup" real, "concacaf" real, "other" real, "total" real );
SELECT MAX("other") FROM "most_goals" WHERE "u_s_open_cup">0 AND "concacaf"=0;
2-17984330-2
Which Subregion has a No P. of 4, and a Pop/Area (1/km²) of 534?
CREATE TABLE "municipalities" ( "name" text, "area_km" real, "pop" real, "pop_area_1_km" real, "no_p" real, "no_c_no_t" text, "subregion" text );
SELECT "subregion" FROM "municipalities" WHERE "no_p"=4 AND "pop_area_1_km"=534;
2-1794599-1
Which Pop/Area (1/km²) has a No P. larger than 1, and a Name of albergaria-a-velha?
CREATE TABLE "municipalities" ( "name" text, "area_km" real, "pop" real, "pop_area_1_km" real, "no_p" real, "no_c_no_t" text, "subregion" text );
SELECT AVG("pop_area_1_km") FROM "municipalities" WHERE "no_p">1 AND "name"='albergaria-a-velha';
2-1794599-1
Which Area (km²) is the lowest one that has a Population of 17,089?
CREATE TABLE "municipalities" ( "name" text, "area_km" real, "pop" real, "pop_area_1_km" real, "no_p" real, "no_c_no_t" text, "subregion" text );
SELECT MIN("area_km") FROM "municipalities" WHERE "pop"='17,089';
2-1794599-1
Who was the home team on 4 February 1987 when Luton Town was away team and there was no replay?
CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "home_team" FROM "fourth_round_proper" WHERE "tie_no"='replay' AND "date"='4 february 1987' AND "away_team"='luton town';
2-17751837-4
What was the score on 31 January 1987 with tie number 1?
CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "score" FROM "fourth_round_proper" WHERE "date"='31 january 1987' AND "tie_no"='1';
2-17751837-4
Who was the away team on 31 January 1987 when the home team was Wimbledon?
CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "away_team" FROM "fourth_round_proper" WHERE "date"='31 january 1987' AND "home_team"='wimbledon';
2-17751837-4
How high is Macedonia's highest point?
CREATE TABLE "notes" ( "rank" text, "country" text, "highest_point" text, "height_m" real, "height_ft" real );
SELECT "height_ft" FROM "notes" WHERE "country"='macedonia';
2-17994113-1
What is the theme with dani as the winner?
CREATE TABLE "bush_battles" ( "battle_no" real, "broadcast_date" text, "name_of_battle" text, "theme" text, "celebrities_taking_part" text, "winner" text, "runner_up" text, "notes" text );
SELECT "theme" FROM "bush_battles" WHERE "winner"='dani';
2-18312844-5
What are the notes of the patience theme?
CREATE TABLE "bush_battles" ( "battle_no" real, "broadcast_date" text, "name_of_battle" text, "theme" text, "celebrities_taking_part" text, "winner" text, "runner_up" text, "notes" text );
SELECT "notes" FROM "bush_battles" WHERE "theme"='patience';
2-18312844-5
what is the round when the position is (c)?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT MAX("round") FROM "draft_picks" WHERE "position"='(c)';
2-17798130-30
what is the round for jake gardiner?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT AVG("round") FROM "draft_picks" WHERE "player"='jake gardiner';
2-17798130-30
what is the college/junior/club team (league) when the round is higher than 1, the nationality is canada and the position is (d)?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "college_junior_club_team_league" FROM "draft_picks" WHERE "round">1 AND "nationality"='canada' AND "position"='(d)';
2-17798130-30
what is the position when the round is higher than 3, the nationality is united states and the player is nick pryor?
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">3 AND "nationality"='united states' AND "player"='nick pryor';
2-17798130-30
what is the college/junior/club team (league) when the position is (c) and the round is higher than 2?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "college_junior_club_team_league" FROM "draft_picks" WHERE "position"='(c)' AND "round">2;
2-17798130-30
When the team Heathmere of the South West DFL won more than 11 games, what is the maximum byes?
CREATE TABLE "2011_ladder" ( "south_west_dfl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT MAX("byes") FROM "2011_ladder" WHERE "south_west_dfl"='heathmere' AND "wins">11;
2-17746037-17
What is the most games lost when the against is greater than 1401, and the draws greater than 0?
CREATE TABLE "2011_ladder" ( "south_west_dfl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT MAX("losses") FROM "2011_ladder" WHERE "draws">0 AND "against">1401;
2-17746037-17
What is the maximum draws when less than 2514 is the against, and less than 0 byes?
CREATE TABLE "2011_ladder" ( "south_west_dfl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT MAX("draws") FROM "2011_ladder" WHERE "against"<2514 AND "byes"<0;
2-17746037-17
What is the wins average when 17 games were lost?
CREATE TABLE "2011_ladder" ( "south_west_dfl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT AVG("wins") FROM "2011_ladder" WHERE "losses"=17;
2-17746037-17
What stadium is in the city of Debrecen?
CREATE TABLE "stadium_and_locations" ( "club" text, "short_name" text, "city" text, "stadium" text, "capacity" real );
SELECT "stadium" FROM "stadium_and_locations" WHERE "city"='debrecen';
2-17717335-1
What is the number of silver when rank was 5, and a bronze was smaller than 14?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("silver") FROM "medal_table" WHERE "rank"='5' AND "bronze"<14;
2-17722429-3
What is the highest bronze number when silver is 0, and the total is smaller than 1?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("bronze") FROM "medal_table" WHERE "silver"=0 AND "total"<1;
2-17722429-3
What is the total when the nation was Argentina, and a Goldwas smaller than 0?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("total") FROM "medal_table" WHERE "nation"='argentina' AND "gold"<0;
2-17722429-3
What is the nation when bronze is less than 7, gold is larger than 0, total is larger than 7, and silver is smaller than 3?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT "nation" FROM "medal_table" WHERE "bronze"<7 AND "gold">0 AND "total">7 AND "silver"<3;
2-17722429-3
What date was the game against manchester city when they had a league position of 2nd?
CREATE TABLE "fa_premier_league" ( "date" text, "opponents" text, "h_a" text, "result_f_a" text, "attendance" real, "league_position" text );
SELECT "date" FROM "fa_premier_league" WHERE "h_a"='a' AND "league_position"='2nd' AND "opponents"='manchester city';
2-17636704-2
What is the result F-A of the game on 6 march 1993?
CREATE TABLE "fa_premier_league" ( "date" text, "opponents" text, "h_a" text, "result_f_a" text, "attendance" real, "league_position" text );
SELECT "result_f_a" FROM "fa_premier_league" WHERE "date"='6 march 1993';
2-17636704-2
What is the result F-A of the game on 3 may 1993?
CREATE TABLE "fa_premier_league" ( "date" text, "opponents" text, "h_a" text, "result_f_a" text, "attendance" real, "league_position" text );
SELECT "result_f_a" FROM "fa_premier_league" WHERE "date"='3 may 1993';
2-17636704-2
What is Tie no, when Date is "18 Nov 1989", and when Home Team is "Doncaster Rovers"?
CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "tie_no" FROM "first_round_proper" WHERE "date"='18 nov 1989' AND "home_team"='doncaster rovers';
2-17751803-1
What is Score, when Away Team is "Yeovil Town"?
CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "score" FROM "first_round_proper" WHERE "away_team"='yeovil town';
2-17751803-1
What is Home Team, when Tie no is "27"?
CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "home_team" FROM "first_round_proper" WHERE "tie_no"='27';
2-17751803-1
What is Date, when Tie no is "37"?
CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "date" FROM "first_round_proper" WHERE "tie_no"='37';
2-17751803-1
What is Home Team, when Date is "22 Nov 1989", and when Away Team is "Bath City"?
CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "home_team" FROM "first_round_proper" WHERE "date"='22 nov 1989' AND "away_team"='bath city';
2-17751803-1
What year was the play-by-play for Don Earle?
CREATE TABLE "1970s" ( "year" text, "channel" text, "play_by_play" text, "color_commentator_s" text, "studio_host" text );
SELECT "year" FROM "1970s" WHERE "play_by_play"='don earle';
2-18281970-5
What is Tom Kite with a Score of 68's To Par?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT "to_par" FROM "first_round" WHERE "score"=68 AND "player"='tom kite';
2-18059698-4
What is Tom Kite's Place?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT "place" FROM "first_round" WHERE "player"='tom kite';
2-18059698-4
What is the televote points for 0 jury points and 23 draws?
CREATE TABLE "televoting_results" ( "draw" real, "televotes" text, "televote_points" text, "jury_points" text, "total" text, "final_points" text );
SELECT "televote_points" FROM "televoting_results" WHERE "jury_points"='0' AND "draw"=23;
2-17703703-8
What district was a republican first elected in 2000?
CREATE TABLE "missouri" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text );
SELECT "district" FROM "missouri" WHERE "first_elected"=2000 AND "party"='republican';
2-1805191-26
In what district was incumbent Russ Carnahan elected after 2000?
CREATE TABLE "missouri" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text );
SELECT "district" FROM "missouri" WHERE "first_elected">2000 AND "incumbent"='russ carnahan';
2-1805191-26
For which venue did Leicester City lose?
CREATE TABLE "list_of_fa_cup_third_fourth_place_matche" ( "season" text, "date" text, "winner" text, "loser" text, "score" text, "venue" text, "attendance" text );
SELECT "venue" FROM "list_of_fa_cup_third_fourth_place_matche" WHERE "loser"='leicester city';
2-18025901-1
What season did Stoke City win?
CREATE TABLE "list_of_fa_cup_third_fourth_place_matche" ( "season" text, "date" text, "winner" text, "loser" text, "score" text, "venue" text, "attendance" text );
SELECT "season" FROM "list_of_fa_cup_third_fourth_place_matche" WHERE "winner"='stoke city';
2-18025901-1
What was the attendance for St Andrew's?
CREATE TABLE "list_of_fa_cup_third_fourth_place_matche" ( "season" text, "date" text, "winner" text, "loser" text, "score" text, "venue" text, "attendance" text );
SELECT "attendance" FROM "list_of_fa_cup_third_fourth_place_matche" WHERE "venue"='st andrew''s';
2-18025901-1
What season did Wolverhampton Wanderers win?
CREATE TABLE "list_of_fa_cup_third_fourth_place_matche" ( "season" text, "date" text, "winner" text, "loser" text, "score" text, "venue" text, "attendance" text );
SELECT "season" FROM "list_of_fa_cup_third_fourth_place_matche" WHERE "winner"='wolverhampton wanderers';
2-18025901-1
Which Call sign has an ERP W of 75?
CREATE TABLE "broadcast_translators_of_kjth" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "facility_id" real, "erp_w" real, "height_m_ft" text, "class" text, "fcc_info" text );
SELECT "call_sign" FROM "broadcast_translators_of_kjth" WHERE "erp_w"=75;
2-17658199-1
Which Class has a Facility ID greater than 85076 and a Call Sign of K289au?
CREATE TABLE "broadcast_translators_of_kjth" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "facility_id" real, "erp_w" real, "height_m_ft" text, "class" text, "fcc_info" text );
SELECT "class" FROM "broadcast_translators_of_kjth" WHERE "facility_id">85076 AND "call_sign"='k289au';
2-17658199-1
What year was jack cole nominated?
CREATE TABLE "original_broadway_production" ( "year" real, "award_ceremony" text, "category" text, "nominee" text, "result" text );
SELECT "year" FROM "original_broadway_production" WHERE "nominee"='jack cole';
2-177860-1
What award ceremony was howard bay and patton campbell nominated?
CREATE TABLE "original_broadway_production" ( "year" real, "award_ceremony" text, "category" text, "nominee" text, "result" text );
SELECT "award_ceremony" FROM "original_broadway_production" WHERE "nominee"='howard bay and patton campbell';
2-177860-1
What is Visitor, when Date is "May 9"?
CREATE TABLE "montreal_canadiens_4_chicago_black_hawks" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "visitor" FROM "montreal_canadiens_4_chicago_black_hawks" WHERE "date"='may 9';
2-18184278-5
What is Score, when Home is "Montreal Canadiens", and when Date is "May 16"?
CREATE TABLE "montreal_canadiens_4_chicago_black_hawks" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "montreal_canadiens_4_chicago_black_hawks" WHERE "home"='montreal canadiens' AND "date"='may 16';
2-18184278-5
What is Score, when Date is "May 11"?
CREATE TABLE "montreal_canadiens_4_chicago_black_hawks" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "montreal_canadiens_4_chicago_black_hawks" WHERE "date"='may 11';
2-18184278-5
What is Visitor, when Home is "Chicago Black Hawks", and when Date is "May 4"?
CREATE TABLE "montreal_canadiens_4_chicago_black_hawks" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "visitor" FROM "montreal_canadiens_4_chicago_black_hawks" WHERE "home"='chicago black hawks' AND "date"='may 4';
2-18184278-5
What is Score, when Record is "2-0"?
CREATE TABLE "montreal_canadiens_4_chicago_black_hawks" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "montreal_canadiens_4_chicago_black_hawks" WHERE "record"='2-0';
2-18184278-5
Which tournament included the round played on 14 May?
CREATE TABLE "competitive" ( "date" text, "tournament" text, "round" text, "ground" text, "opponent" text, "score_1" text );
SELECT "tournament" FROM "competitive" WHERE "date"='14 may';
2-17889798-4
Which round was played on 10 May?
CREATE TABLE "competitive" ( "date" text, "tournament" text, "round" text, "ground" text, "opponent" text, "score_1" text );
SELECT "round" FROM "competitive" WHERE "date"='10 may';
2-17889798-4
what is the language when the points is more than 119 and the place is higher than 5?
CREATE TABLE "participants" ( "draw" real, "language" text, "artist" text, "song" text, "english_translation" text, "national_final" text, "place" real, "points" real );
SELECT "language" FROM "participants" WHERE "points">119 AND "place">5;
2-17846192-1
what is the highest place when the national final is 4th and the points is less than 139?
CREATE TABLE "participants" ( "draw" real, "language" text, "artist" text, "song" text, "english_translation" text, "national_final" text, "place" real, "points" real );
SELECT MAX("place") FROM "participants" WHERE "national_final"='4th' AND "points"<139;
2-17846192-1
what is the lowest place when the language is croatian?
CREATE TABLE "participants" ( "draw" real, "language" text, "artist" text, "song" text, "english_translation" text, "national_final" text, "place" real, "points" real );
SELECT MIN("place") FROM "participants" WHERE "language"='croatian';
2-17846192-1
what is the language when the english translation is come to me?
CREATE TABLE "participants" ( "draw" real, "language" text, "artist" text, "song" text, "english_translation" text, "national_final" text, "place" real, "points" real );
SELECT "language" FROM "participants" WHERE "english_translation"='come to me';
2-17846192-1
what is the song when the points is more than 64, the national final is 4th and draw is more than 3?
CREATE TABLE "participants" ( "draw" real, "language" text, "artist" text, "song" text, "english_translation" text, "national_final" text, "place" real, "points" real );
SELECT "song" FROM "participants" WHERE "points">64 AND "national_final"='4th' AND "draw">3;
2-17846192-1
What is Category, when Result is "Nominated", when Award is "Drama Desk Award", and when Nominee is "Nathan Lane"?
CREATE TABLE "original_broadway_production" ( "year" real, "award" text, "category" text, "nominee" text, "result" text );
SELECT "category" FROM "original_broadway_production" WHERE "result"='nominated' AND "award"='drama desk award' AND "nominee"='nathan lane';
2-18169845-3
What is Category, when Result is "Won", and when Nominee is "Bebe Neuwirth"?
CREATE TABLE "original_broadway_production" ( "year" real, "award" text, "category" text, "nominee" text, "result" text );
SELECT "category" FROM "original_broadway_production" WHERE "result"='won' AND "nominee"='bebe neuwirth';
2-18169845-3
What is the total number of Year, when Result is "Nominated", when Category is "Outstanding Actor in a Musical", and when Award is "Drama Desk Award"?
CREATE TABLE "original_broadway_production" ( "year" real, "award" text, "category" text, "nominee" text, "result" text );
SELECT COUNT("year") FROM "original_broadway_production" WHERE "result"='nominated' AND "category"='outstanding actor in a musical' AND "award"='drama desk award';
2-18169845-3