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 french word for fribourg?
CREATE TABLE "names_in_national_languages" ( "abbr" text, "common_english" text, "french" text, "italian" text, "romansh" text );
SELECT "french" FROM "names_in_national_languages" WHERE "common_english"='fribourg';
2-180752-2
What is the abbr for zug?
CREATE TABLE "names_in_national_languages" ( "abbr" text, "common_english" text, "french" text, "italian" text, "romansh" text );
SELECT "abbr" FROM "names_in_national_languages" WHERE "common_english"='zug';
2-180752-2
What is the Finish on June 1, 2008?
CREATE TABLE "race_record" ( "date" text, "race" text, "track" text, "location" text, "distance" text, "surface" text, "purse" text, "finish" text );
SELECT "finish" FROM "race_record" WHERE "date"='june 1, 2008';
2-17644295-1
What is the Track in Louisville, Kentucky?
CREATE TABLE "race_record" ( "date" text, "race" text, "track" text, "location" text, "distance" text, "surface" text, "purse" text, "finish" text );
SELECT "track" FROM "race_record" WHERE "location"='louisville, kentucky';
2-17644295-1
What is the Location of the Event on March 30, 2008?
CREATE TABLE "race_record" ( "date" text, "race" text, "track" text, "location" text, "distance" text, "surface" text, "purse" text, "finish" text );
SELECT "location" FROM "race_record" WHERE "date"='march 30, 2008';
2-17644295-1
What Race has a Purse of $300,000?
CREATE TABLE "race_record" ( "date" text, "race" text, "track" text, "location" text, "distance" text, "surface" text, "purse" text, "finish" text );
SELECT "race" FROM "race_record" WHERE "purse"='$300,000';
2-17644295-1
What is the Purse on January 3, 2010?
CREATE TABLE "race_record" ( "date" text, "race" text, "track" text, "location" text, "distance" text, "surface" text, "purse" text, "finish" text );
SELECT "purse" FROM "race_record" WHERE "date"='january 3, 2010';
2-17644295-1
What did United States place when the score was 71-70-72-68=281?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "place" FROM "final_leaderboard" WHERE "country"='united states' AND "score"='71-70-72-68=281';
2-18153365-3
What was the average money for United States when Lanny Wadkins played?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT AVG("money") FROM "final_leaderboard" WHERE "country"='united states' AND "player"='lanny wadkins';
2-18153365-3
What was the to par when the score was 71-70-72-68=281?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "to_par" FROM "final_leaderboard" WHERE "score"='71-70-72-68=281';
2-18153365-3
What is the away team of the game with an attendance of 117?
CREATE TABLE "ties" ( "tie_no" real, "home_team" text, "score" text, "away_team" text, "attendance" real );
SELECT "away_team" FROM "ties" WHERE "attendance"=117;
2-18054397-5
Madrid (Stuttgart) tournament with a 1996 of A has this for a Career SR?
CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "career_sr" text, "career_win_loss" text );
SELECT "career_sr" FROM "doubles_performance_timeline" WHERE "1996"='a' AND "tournament"='madrid (stuttgart)';
2-1800323-4
Which election has a conservative first party, Rowland Smith as first member, and Sir Henry Wilmot, Bt as second member?
CREATE TABLE "m_ps_1832_1885" ( "election" text, "first_member" text, "first_party" text, "second_member" text, "second_party" text );
SELECT "election" FROM "m_ps_1832_1885" WHERE "first_party"='conservative' AND "first_member"='rowland smith' AND "second_member"='sir henry wilmot, bt';
2-1822080-1
Which of the first parties has second member as Charles Robert Colvile, and a liberal second party?
CREATE TABLE "m_ps_1832_1885" ( "election" text, "first_member" text, "first_party" text, "second_member" text, "second_party" text );
SELECT "first_party" FROM "m_ps_1832_1885" WHERE "second_member"='charles robert colvile' AND "second_party"='liberal';
2-1822080-1
Which election has second member Charles Robert Colvile, a conservative first party, and first member William Mundy?
CREATE TABLE "m_ps_1832_1885" ( "election" text, "first_member" text, "first_party" text, "second_member" text, "second_party" text );
SELECT "election" FROM "m_ps_1832_1885" WHERE "second_member"='charles robert colvile' AND "first_party"='conservative' AND "first_member"='william mundy';
2-1822080-1
Which of the second parties has second member Charles Robert Colvile, a conservative first party, and first member William Mundy?
CREATE TABLE "m_ps_1832_1885" ( "election" text, "first_member" text, "first_party" text, "second_member" text, "second_party" text );
SELECT "second_party" FROM "m_ps_1832_1885" WHERE "second_member"='charles robert colvile' AND "first_party"='conservative' AND "first_member"='william mundy';
2-1822080-1
Who is the first member in the 1868 election?
CREATE TABLE "m_ps_1832_1885" ( "election" text, "first_member" text, "first_party" text, "second_member" text, "second_party" text );
SELECT "first_member" FROM "m_ps_1832_1885" WHERE "election"='1868';
2-1822080-1
WHAT IS THE SOURCE WITH A TYPE OF TRANSFER AND MEX?
CREATE TABLE "out" ( "nat" text, "name" text, "moving_to" text, "type" text, "transfer_window" text, "transfer_fee" text, "source" text );
SELECT "source" FROM "out" WHERE "type"='transfer' AND "nat"='mex';
2-17686681-3
WHAT IS THE NAME WITH BAYER LEVERKUSEN?
CREATE TABLE "out" ( "nat" text, "name" text, "moving_to" text, "type" text, "transfer_window" text, "transfer_fee" text, "source" text );
SELECT "name" FROM "out" WHERE "moving_to"='bayer leverkusen';
2-17686681-3
WHAT NAME HAS A FREE TRANSFER FREE AND RETIRED?
CREATE TABLE "out" ( "nat" text, "name" text, "moving_to" text, "type" text, "transfer_window" text, "transfer_fee" text, "source" text );
SELECT "name" FROM "out" WHERE "transfer_fee"='free' AND "moving_to"='retired';
2-17686681-3
WHAT TRANSFER FEE HAS A TYPE OF TRANSFER FOR DOS SANTOS?
CREATE TABLE "out" ( "nat" text, "name" text, "moving_to" text, "type" text, "transfer_window" text, "transfer_fee" text, "source" text );
SELECT "transfer_fee" FROM "out" WHERE "type"='transfer' AND "name"='dos santos';
2-17686681-3
What is the sum of the all around with a 37.75 total?
CREATE TABLE "finals_6_balls" ( "place" real, "nation" text, "all_around" real, "final" real, "total" real );
SELECT SUM("all_around") FROM "finals_6_balls" WHERE "total"=37.75;
2-18170681-10
What is the average final with an all around larger than 19.4 and total more than 39.9?
CREATE TABLE "finals_6_balls" ( "place" real, "nation" text, "all_around" real, "final" real, "total" real );
SELECT AVG("final") FROM "finals_6_balls" WHERE "all_around">19.4 AND "total">39.9;
2-18170681-10
What is the name of the storm active during season aggregates?
CREATE TABLE "season_effects" ( "name" text, "dates_active" text, "windspeeds" text, "pressure" text, "deaths" text );
SELECT "name" FROM "season_effects" WHERE "dates_active"='season aggregates';
2-18255266-1
What report has tour match as the status, with an against less than 22?
CREATE TABLE "matches" ( "opposing_team" text, "against" real, "date" text, "venue" text, "status" text, "report" text );
SELECT "report" FROM "matches" WHERE "status"='tour match' AND "against"<22;
2-17891863-1
How many againsts have asba park, kimberley as the venue?
CREATE TABLE "matches" ( "opposing_team" text, "against" real, "date" text, "venue" text, "status" text, "report" text );
SELECT SUM("against") FROM "matches" WHERE "venue"='asba park, kimberley';
2-17891863-1
What status has gauteng falcons as the opposing team?
CREATE TABLE "matches" ( "opposing_team" text, "against" real, "date" text, "venue" text, "status" text, "report" text );
SELECT "status" FROM "matches" WHERE "opposing_team"='gauteng falcons';
2-17891863-1
What opposing team has second test as the status?
CREATE TABLE "matches" ( "opposing_team" text, "against" real, "date" text, "venue" text, "status" text, "report" text );
SELECT "opposing_team" FROM "matches" WHERE "status"='second test';
2-17891863-1
What report has gauteng falcons as the opposing team?
CREATE TABLE "matches" ( "opposing_team" text, "against" real, "date" text, "venue" text, "status" text, "report" text );
SELECT "report" FROM "matches" WHERE "opposing_team"='gauteng falcons';
2-17891863-1
What status has 18 as the against?
CREATE TABLE "matches" ( "opposing_team" text, "against" real, "date" text, "venue" text, "status" text, "report" text );
SELECT "status" FROM "matches" WHERE "against"=18;
2-17891863-1
What is the number of recepits per arrival in 2010 (col 2)/(col 1) USD with colombia (1) as the selected carribean and latin american country?
CREATE TABLE "comparative_performance_in_the_latin_ame" ( "selected_caribbean_and_n_latin_america_countries" text, "internl_tourist_arrivals_2011_x1000" real, "internl_tourism_receipts_2011_million_usd" text, "receipts_per_arrival_2010_col_2_col_1_usd" text, "receipts_per_capita_2005_usd" real, "revenues_as_pct_of_exports_goods_and_services_2011" text );
SELECT "receipts_per_arrival_2010_col_2_col_1_usd" FROM "comparative_performance_in_the_latin_ame" WHERE "selected_caribbean_and_n_latin_america_countries"='colombia (1)';
2-17781704-3
What is 17th c., when Initial-Syllable Open/Semi-Open Unstressed Vowels is "o /ɵ/"?
CREATE TABLE "initial_unstressed_syllables" ( "initial_syllable_open_semi_open_unstressed_vowels" text, "17th_c" text, "american" text, "british" text, "australian" text, "examples" text );
SELECT "17th_c" FROM "initial_unstressed_syllables" WHERE "initial_syllable_open_semi_open_unstressed_vowels"='o /ɵ/';
2-17798093-12
What is British, when Examples is "November, rotunda, colossus, proscenium"?
CREATE TABLE "initial_unstressed_syllables" ( "initial_syllable_open_semi_open_unstressed_vowels" text, "17th_c" text, "american" text, "british" text, "australian" text, "examples" text );
SELECT "british" FROM "initial_unstressed_syllables" WHERE "examples"='november, rotunda, colossus, proscenium';
2-17798093-12
What is American, when British is "ɪ, ə", and when Initial-Syllable Open/Semi-Open Unstressed Vowels is "æ /ɨ/"?
CREATE TABLE "initial_unstressed_syllables" ( "initial_syllable_open_semi_open_unstressed_vowels" text, "17th_c" text, "american" text, "british" text, "australian" text, "examples" text );
SELECT "american" FROM "initial_unstressed_syllables" WHERE "british"='ɪ, ə' AND "initial_syllable_open_semi_open_unstressed_vowels"='æ /ɨ/';
2-17798093-12
What is Initial-Syllable Open/Semi-Open Unstresses Vowels, when Australian is "ə"?
CREATE TABLE "initial_unstressed_syllables" ( "initial_syllable_open_semi_open_unstressed_vowels" text, "17th_c" text, "american" text, "british" text, "australian" text, "examples" text );
SELECT "initial_syllable_open_semi_open_unstressed_vowels" FROM "initial_unstressed_syllables" WHERE "australian"='ə';
2-17798093-12
What is Australian, when British is "aɪ, ɪ, ə"?
CREATE TABLE "initial_unstressed_syllables" ( "initial_syllable_open_semi_open_unstressed_vowels" text, "17th_c" text, "american" text, "british" text, "australian" text, "examples" text );
SELECT "australian" FROM "initial_unstressed_syllables" WHERE "british"='aɪ, ɪ, ə';
2-17798093-12
What is American, when Initial-Syllable Open/Semi-Open Unstressed Vowels is "y /aɪ, ɨ/"?
CREATE TABLE "initial_unstressed_syllables" ( "initial_syllable_open_semi_open_unstressed_vowels" text, "17th_c" text, "american" text, "british" text, "australian" text, "examples" text );
SELECT "american" FROM "initial_unstressed_syllables" WHERE "initial_syllable_open_semi_open_unstressed_vowels"='y /aɪ, ɨ/';
2-17798093-12
What is the date for catalog RCD 10160?
CREATE TABLE "release_history" ( "country" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "date" FROM "release_history" WHERE "catalog"='rcd 10160';
2-1809191-2
What country has CD format and catalog RCD 10523?
CREATE TABLE "release_history" ( "country" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "country" FROM "release_history" WHERE "format"='cd' AND "catalog"='rcd 10523';
2-1809191-2
Which country is dated October 20, 1976?
CREATE TABLE "release_history" ( "country" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "country" FROM "release_history" WHERE "date"='october 20, 1976';
2-1809191-2
Which label has the catalog CDZAP22?
CREATE TABLE "release_history" ( "country" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "label" FROM "release_history" WHERE "catalog"='cdzap22';
2-1809191-2
What is the date for the catalog CDZAP22 in the United Kingdom?
CREATE TABLE "release_history" ( "country" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "date" FROM "release_history" WHERE "country"='united kingdom' AND "catalog"='cdzap22';
2-1809191-2
What is Place, when Score is "66", when Country is "United States", and when Player is "Dudley Hart"?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT "place" FROM "first_round" WHERE "score"=66 AND "country"='united states' AND "player"='dudley hart';
2-18017347-4
What is the lowest Score, when Place is "1"?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT MIN("score") FROM "first_round" WHERE "place"='1';
2-18017347-4
What is To Par, when Score is "66", and when Player is "Brad Faxon"?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT "to_par" FROM "first_round" WHERE "score"=66 AND "player"='brad faxon';
2-18017347-4
What is the Opponent in the final after 2008 at the Paul Hunter Classic?
CREATE TABLE "pro_am_event_finals_5_4_titles_1_runner_" ( "outcome" text, "year" real, "championship" text, "opponent_in_the_final" text, "score" text );
SELECT "opponent_in_the_final" FROM "pro_am_event_finals_5_4_titles_1_runner_" WHERE "year">2008 AND "championship"='paul hunter classic';
2-1795208-10
What is the latest year for first elected with john hostettler as incumbent and a result of lost re-election democratic gain?
CREATE TABLE "indiana" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text );
SELECT MAX("first_elected") FROM "indiana" WHERE "results"='lost re-election democratic gain' AND "incumbent"='john hostettler';
2-1805191-15
Who is the owner/operator of the line from Kambalda to Esperance?
CREATE TABLE "onshore_pipelines" ( "name_year_commissioned" text, "owner_operator" text, "length" text, "maximum_diameter" text, "from_to" text, "licence_number" text );
SELECT "owner_operator" FROM "onshore_pipelines" WHERE "from_to"='kambalda to esperance';
2-17918238-1
What is the name of the line from Karratha to Port Hedland?
CREATE TABLE "onshore_pipelines" ( "name_year_commissioned" text, "owner_operator" text, "length" text, "maximum_diameter" text, "from_to" text, "licence_number" text );
SELECT "name_year_commissioned" FROM "onshore_pipelines" WHERE "from_to"='karratha to port hedland';
2-17918238-1
What is the maximum diameter of the Mid West Gas Pipeline (1999)?
CREATE TABLE "onshore_pipelines" ( "name_year_commissioned" text, "owner_operator" text, "length" text, "maximum_diameter" text, "from_to" text, "licence_number" text );
SELECT "maximum_diameter" FROM "onshore_pipelines" WHERE "name_year_commissioned"='mid west gas pipeline (1999)';
2-17918238-1
Who is the owner operator who has license number PL 59?
CREATE TABLE "onshore_pipelines" ( "name_year_commissioned" text, "owner_operator" text, "length" text, "maximum_diameter" text, "from_to" text, "licence_number" text );
SELECT "owner_operator" FROM "onshore_pipelines" WHERE "licence_number"='pl 59';
2-17918238-1
What is the license number where the maximum diameter is 400 mm?
CREATE TABLE "onshore_pipelines" ( "name_year_commissioned" text, "owner_operator" text, "length" text, "maximum_diameter" text, "from_to" text, "licence_number" text );
SELECT "licence_number" FROM "onshore_pipelines" WHERE "maximum_diameter"='400 mm';
2-17918238-1
What is the name where the license number is PL 22?
CREATE TABLE "onshore_pipelines" ( "name_year_commissioned" text, "owner_operator" text, "length" text, "maximum_diameter" text, "from_to" text, "licence_number" text );
SELECT "name_year_commissioned" FROM "onshore_pipelines" WHERE "licence_number"='pl 22';
2-17918238-1
Which venue has 16 against?
CREATE TABLE "1978" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT "venue" FROM "1978" WHERE "against"=16;
2-18178924-9
What is the against for the opposing team of Wales with the status of Five Nations?
CREATE TABLE "1978" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT AVG("against") FROM "1978" WHERE "status"='five nations' AND "opposing_teams"='wales';
2-18178924-9
Can you tell me the average Average that has the Rank larger than 4, and the Player of dean minors?
CREATE TABLE "one_day_internationals" ( "rank" real, "player" text, "runs" real, "average" real, "career" text );
SELECT AVG("average") FROM "one_day_internationals" WHERE "rank">4 AND "player"='dean minors';
2-1829476-2
What is the venue where john zibnack was the runner-up?
CREATE TABLE "winners" ( "year" text, "winner" text, "runner_up" text, "venue" text, "location" text );
SELECT "venue" FROM "winners" WHERE "runner_up"='john zibnack';
2-18346261-1
Who is the winner in des moines, iowa where p.h. finkbank was the runner-up?
CREATE TABLE "winners" ( "year" text, "winner" text, "runner_up" text, "venue" text, "location" text );
SELECT "winner" FROM "winners" WHERE "location"='des moines, iowa' AND "runner_up"='p.h. finkbank';
2-18346261-1
What is the location where ed c. kingsley was the runner-up in 1939?
CREATE TABLE "winners" ( "year" text, "winner" text, "runner_up" text, "venue" text, "location" text );
SELECT "location" FROM "winners" WHERE "runner_up"='ed c. kingsley' AND "year"='1939';
2-18346261-1
Who is the winner when mark fuller was the runner-up?
CREATE TABLE "winners" ( "year" text, "winner" text, "runner_up" text, "venue" text, "location" text );
SELECT "winner" FROM "winners" WHERE "runner_up"='mark fuller';
2-18346261-1
What is the venue in 2002?
CREATE TABLE "winners" ( "year" text, "winner" text, "runner_up" text, "venue" text, "location" text );
SELECT "venue" FROM "winners" WHERE "year"='2002';
2-18346261-1
Who is the runner-up in 1901?
CREATE TABLE "winners" ( "year" text, "winner" text, "runner_up" text, "venue" text, "location" text );
SELECT "runner_up" FROM "winners" WHERE "year"='1901';
2-18346261-1
What Australian sound is equivalent to e /ɛ/?
CREATE TABLE "short_vowels" ( "short_vowels" text, "17th_c" text, "american" text, "british" text, "australian" text );
SELECT "australian" FROM "short_vowels" WHERE "short_vowels"='e /ɛ/';
2-17798093-9
What was the score of the game when they played at new york islanders?
CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "regular_season" WHERE "home"='new york islanders';
2-18338043-2
Which of the R. Epp, has J Thiessen of Tjoatj?
CREATE TABLE "spelling" ( "a_dyck" text, "h_rempel" text, "r_epp" text, "j_thiessen" text, "j_j_neufeld" text, "ed_zacharias" text, "word_meaning" text );
SELECT "r_epp" FROM "spelling" WHERE "j_thiessen"='tjoatj';
2-181498-13
Which of the R. Epp, has Ed Zacharias from Rollen, Jerolt, Golt?
CREATE TABLE "spelling" ( "a_dyck" text, "h_rempel" text, "r_epp" text, "j_thiessen" text, "j_j_neufeld" text, "ed_zacharias" text, "word_meaning" text );
SELECT "r_epp" FROM "spelling" WHERE "ed_zacharias"='rollen, jerolt, golt';
2-181498-13
Which of the A. Dyck has J. Thiessen of Du?
CREATE TABLE "spelling" ( "a_dyck" text, "h_rempel" text, "r_epp" text, "j_thiessen" text, "j_j_neufeld" text, "ed_zacharias" text, "word_meaning" text );
SELECT "a_dyck" FROM "spelling" WHERE "j_thiessen"='du';
2-181498-13
Which of the H. Rempel has J. J. Neufeld of Sajen?
CREATE TABLE "spelling" ( "a_dyck" text, "h_rempel" text, "r_epp" text, "j_thiessen" text, "j_j_neufeld" text, "ed_zacharias" text, "word_meaning" text );
SELECT "h_rempel" FROM "spelling" WHERE "j_j_neufeld"='sajen';
2-181498-13
What is the sum of Against, when Status is "Six Nations", and when Date is "30/03/2003"?
CREATE TABLE "2003" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT SUM("against") FROM "2003" WHERE "status"='six nations' AND "date"='30/03/2003';
2-18178551-4
What is Opposing Teams, when Against is less than 6?
CREATE TABLE "2003" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT "opposing_teams" FROM "2003" WHERE "against"<6;
2-18178551-4
What is Date, when Against is "22"?
CREATE TABLE "2003" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT "date" FROM "2003" WHERE "against"=22;
2-18178551-4
What shows for money (£) when South Africa is the country?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT MAX("money") FROM "final_round" WHERE "country"='south africa';
2-18156085-7
What is the To par when Lanny Wadkins is the player?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "to_par" FROM "final_round" WHERE "player"='lanny wadkins';
2-18156085-7
What was the score of the marco island tournament match when Kathleen Horvath won runner-up?
CREATE TABLE "singles_9_6_3" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "score" FROM "singles_9_6_3" WHERE "outcome"='runner-up' AND "tournament"='marco island';
2-17727652-3
What was the tournament that was on july 6, 1987?
CREATE TABLE "singles_9_6_3" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "tournament" FROM "singles_9_6_3" WHERE "date"='july 6, 1987';
2-17727652-3
What is pick 246's position?
CREATE TABLE "1962_pro_draftees" ( "player" text, "draft" text, "round" real, "pick" real, "position" text, "nfl_club" text );
SELECT "position" FROM "1962_pro_draftees" WHERE "pick"=246;
2-17814506-2
Which Pick has a Player of chuck bryant, and an NFL Club of san diego chargers?
CREATE TABLE "1962_pro_draftees" ( "player" text, "draft" text, "round" real, "pick" real, "position" text, "nfl_club" text );
SELECT "pick" FROM "1962_pro_draftees" WHERE "player"='chuck bryant' AND "nfl_club"='san diego chargers';
2-17814506-2
What is the position of the pittsburgh steelers?
CREATE TABLE "1962_pro_draftees" ( "player" text, "draft" text, "round" real, "pick" real, "position" text, "nfl_club" text );
SELECT "position" FROM "1962_pro_draftees" WHERE "nfl_club"='pittsburgh steelers';
2-17814506-2
Which NFL Club has a Player of sam tidmore, and a Pick of 81?
CREATE TABLE "1962_pro_draftees" ( "player" text, "draft" text, "round" real, "pick" real, "position" text, "nfl_club" text );
SELECT "nfl_club" FROM "1962_pro_draftees" WHERE "player"='sam tidmore' AND "pick"=81;
2-17814506-2
Which club had round of group stage round 1 and 5?
CREATE TABLE "european_history" ( "round" text, "club" text, "home" text, "away" text, "aggregate" text );
SELECT "club" FROM "european_history" WHERE "round"='group stage round 1 and 5';
2-176800-2
What is the aggregate for the first round for K.S.V. Waregem?
CREATE TABLE "european_history" ( "round" text, "club" text, "home" text, "away" text, "aggregate" text );
SELECT "aggregate" FROM "european_history" WHERE "round"='first round' AND "club"='k.s.v. waregem';
2-176800-2
What is the away where the round is the second round?
CREATE TABLE "european_history" ( "round" text, "club" text, "home" text, "away" text, "aggregate" text );
SELECT "away" FROM "european_history" WHERE "round"='second round';
2-176800-2
Which Team 1 has a 2nd leg of 1-3?
CREATE TABLE "round_16_matches" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "team_1" FROM "round_16_matches" WHERE "2nd_leg"='1-3';
2-17659558-2
What is the Agg for 1st Leg 1-2 and 2nd leg of Withdrew?
CREATE TABLE "round_16_matches" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "agg" FROM "round_16_matches" WHERE "1st_leg"='1-2' AND "2nd_leg"='withdrew';
2-17659558-2
What is the 2nd leg if the 1st leg is 3-1 and the Team 2 is union sportive de la médina d'alger?
CREATE TABLE "round_16_matches" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "2nd_leg" FROM "round_16_matches" WHERE "1st_leg"='3-1' AND "team_2"='union sportive de la médina d''alger';
2-17659558-2
What is Team 2 if the 1st Leg is 3-1 and the 2nd Leg is 4-1?
CREATE TABLE "round_16_matches" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "team_2" FROM "round_16_matches" WHERE "1st_leg"='3-1' AND "2nd_leg"='4-1';
2-17659558-2
What was the broadcaste date for the episode with a run time of 24:44?
CREATE TABLE "serial_details_by_episode" ( "episode" text, "broadcast_date" text, "run_time" text, "viewers_in_millions" text, "archive" text );
SELECT "broadcast_date" FROM "serial_details_by_episode" WHERE "run_time"='24:44';
2-1795938-1
Which Episode had 9.1 million viewers?
CREATE TABLE "serial_details_by_episode" ( "episode" text, "broadcast_date" text, "run_time" text, "viewers_in_millions" text, "archive" text );
SELECT "episode" FROM "serial_details_by_episode" WHERE "viewers_in_millions"='9.1';
2-1795938-1
What is Country, when Previous Team (League) is "Kingston Frontenacs ( OHL )", and when Player is "Anthony Stewart Category:Articles with hCards"?
CREATE TABLE "first_round_history" ( "year" real, "pick" text, "player" text, "position" text, "country" text, "previous_team_league" text );
SELECT "country" FROM "first_round_history" WHERE "previous_team_league"='kingston frontenacs ( ohl )' AND "player"='anthony stewart category:articles with hcards';
2-18292774-2
What is Player, when Pick is "3", when Position is "Defense", and when Year is less than 2010?
CREATE TABLE "first_round_history" ( "year" real, "pick" text, "player" text, "position" text, "country" text, "previous_team_league" text );
SELECT "player" FROM "first_round_history" WHERE "pick"='3' AND "position"='defense' AND "year"<2010;
2-18292774-2
What is Position, when Year is less than 2000, and when Player is "Radek Dvorak Category:Articles with hCards"?
CREATE TABLE "first_round_history" ( "year" real, "pick" text, "player" text, "position" text, "country" text, "previous_team_league" text );
SELECT "position" FROM "first_round_history" WHERE "year"<2000 AND "player"='radek dvorak category:articles with hcards';
2-18292774-2
What is Player, when Previous Team (League) is "Medicine Hat Tigers ( WHL )", and when Year is less than 2002?
CREATE TABLE "first_round_history" ( "year" real, "pick" text, "player" text, "position" text, "country" text, "previous_team_league" text );
SELECT "player" FROM "first_round_history" WHERE "previous_team_league"='medicine hat tigers ( whl )' AND "year"<2002;
2-18292774-2
What is Country, when Year is "1994"?
CREATE TABLE "first_round_history" ( "year" real, "pick" text, "player" text, "position" text, "country" text, "previous_team_league" text );
SELECT "country" FROM "first_round_history" WHERE "year"=1994;
2-18292774-2
What episode has 7.8 million viewers?
CREATE TABLE "serial_details_by_episode" ( "episode" text, "broadcast_date" text, "run_time" text, "viewers_in_millions" text, "archive" text );
SELECT "episode" FROM "serial_details_by_episode" WHERE "viewers_in_millions"='7.8';
2-1785117-1
What episode has a run time of 25:12?
CREATE TABLE "serial_details_by_episode" ( "episode" text, "broadcast_date" text, "run_time" text, "viewers_in_millions" text, "archive" text );
SELECT "episode" FROM "serial_details_by_episode" WHERE "run_time"='25:12';
2-1785117-1
What is the broadcast date with 7.0 million viewers?
CREATE TABLE "serial_details_by_episode" ( "episode" text, "broadcast_date" text, "run_time" text, "viewers_in_millions" text, "archive" text );
SELECT "broadcast_date" FROM "serial_details_by_episode" WHERE "viewers_in_millions"='7.0';
2-1785117-1
What is the average total for Dave Stockton?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );
SELECT AVG("total") FROM "missed_the_cut" WHERE "player"='dave stockton';
2-18165870-2
What is the sum of the to par for the United States in the winning year of 1967, and has a total of more than 146?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );
SELECT SUM("to_par") FROM "missed_the_cut" WHERE "country"='united states' AND "year_s_won"='1967' AND "total">146;
2-18165870-2
What is the score for the game in which Arsenal was the away team?
CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" real );
SELECT "score" FROM "fourth_round_proper" WHERE "away_team"='arsenal';
2-17814838-6
What is the score for the tie number 15?
CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" real );
SELECT "score" FROM "fourth_round_proper" WHERE "tie_no"='15';
2-17814838-6