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 winning score of the Masters Tournament?
|
CREATE TABLE "wins_18" (
"year" text,
"championship" text,
"54_holes" text,
"winning_score" text,
"margin" text,
"runner_s_up" text
);
|
SELECT "winning_score" FROM "wins_18" WHERE "championship"='Masters Tournament';
|
1-13026799-1
|
What was the winning score of the PGA Championship (3)?
|
CREATE TABLE "wins_18" (
"year" text,
"championship" text,
"54_holes" text,
"winning_score" text,
"margin" text,
"runner_s_up" text
);
|
SELECT "winning_score" FROM "wins_18" WHERE "championship"='PGA Championship (3)';
|
1-13026799-1
|
What is the number of starts for 1987?
|
CREATE TABLE "pga_tour_career_summary" (
"year" real,
"starts" real,
"wins_majors" text,
"2nd" real,
"3rd" real,
"earnings" real,
"money_list_rank" text,
"scoring_average" text
);
|
SELECT COUNT("starts") FROM "pga_tour_career_summary" WHERE "year"=1987;
|
1-13026799-3
|
What is the scoring aerage for 111419?
|
CREATE TABLE "pga_tour_career_summary" (
"year" real,
"starts" real,
"wins_majors" text,
"2nd" real,
"3rd" real,
"earnings" real,
"money_list_rank" text,
"scoring_average" text
);
|
SELECT "scoring_average" FROM "pga_tour_career_summary" WHERE "earnings"=111419;
|
1-13026799-3
|
What is the money list rank for 1966?
|
CREATE TABLE "pga_tour_career_summary" (
"year" real,
"starts" real,
"wins_majors" text,
"2nd" real,
"3rd" real,
"earnings" real,
"money_list_rank" text,
"scoring_average" text
);
|
SELECT "money_list_rank" FROM "pga_tour_career_summary" WHERE "year"=1966;
|
1-13026799-3
|
Name the total number of scoring average for money list rank of 174
|
CREATE TABLE "pga_tour_career_summary" (
"year" real,
"starts" real,
"wins_majors" text,
"2nd" real,
"3rd" real,
"earnings" real,
"money_list_rank" text,
"scoring_average" text
);
|
SELECT COUNT("scoring_average") FROM "pga_tour_career_summary" WHERE "money_list_rank"='174';
|
1-13026799-3
|
What is the county where kerry# is 59740?
|
CREATE TABLE "by_county" (
"county" text,
"kerrypct" text,
"kerrynum" real,
"bushpct" text,
"bushnum" real,
"otherspct" text,
"othersnum" real
);
|
SELECT "county" FROM "by_county" WHERE "kerrynum"=59740;
|
1-1302886-1
|
In cook county Kerry# is?
|
CREATE TABLE "by_county" (
"county" text,
"kerrypct" text,
"kerrynum" real,
"bushpct" text,
"bushnum" real,
"otherspct" text,
"othersnum" real
);
|
SELECT "kerrynum" FROM "by_county" WHERE "county"='Cook';
|
1-1302886-1
|
When bush# is 3907, what is Kerry#?
|
CREATE TABLE "by_county" (
"county" text,
"kerrypct" text,
"kerrynum" real,
"bushpct" text,
"bushnum" real,
"otherspct" text,
"othersnum" real
);
|
SELECT "kerrynum" FROM "by_county" WHERE "bushnum"=3907;
|
1-1302886-1
|
What is the others# when bush% is 57.0%?
|
CREATE TABLE "by_county" (
"county" text,
"kerrypct" text,
"kerrynum" real,
"bushpct" text,
"bushnum" real,
"otherspct" text,
"othersnum" real
);
|
SELECT MAX("othersnum") FROM "by_county" WHERE "bushpct"='57.0%';
|
1-1302886-1
|
what's the mole with airdate being 8 january 2009
|
CREATE TABLE "table1_13036251_1" (
"season" text,
"airdate" text,
"the_mole" text,
"winner" text,
"runner_up" text,
"prize_money" text,
"international_destination" text
);
|
SELECT "the_mole" FROM "table1_13036251_1" WHERE "airdate"='8 January 2009';
|
1-13036251-1
|
what's the mole with prize money being €24,475
|
CREATE TABLE "table1_13036251_1" (
"season" text,
"airdate" text,
"the_mole" text,
"winner" text,
"runner_up" text,
"prize_money" text,
"international_destination" text
);
|
SELECT "the_mole" FROM "table1_13036251_1" WHERE "prize_money"='€24,475';
|
1-13036251-1
|
what's the the mole with airdate being 5 january 2012
|
CREATE TABLE "table1_13036251_1" (
"season" text,
"airdate" text,
"the_mole" text,
"winner" text,
"runner_up" text,
"prize_money" text,
"international_destination" text
);
|
SELECT COUNT("the_mole") FROM "table1_13036251_1" WHERE "airdate"='5 January 2012';
|
1-13036251-1
|
what's airdate with international destination being scotland
|
CREATE TABLE "table1_13036251_1" (
"season" text,
"airdate" text,
"the_mole" text,
"winner" text,
"runner_up" text,
"prize_money" text,
"international_destination" text
);
|
SELECT "airdate" FROM "table1_13036251_1" WHERE "international_destination"='Scotland';
|
1-13036251-1
|
what's the mole with winner being frédérique huydts
|
CREATE TABLE "table1_13036251_1" (
"season" text,
"airdate" text,
"the_mole" text,
"winner" text,
"runner_up" text,
"prize_money" text,
"international_destination" text
);
|
SELECT "the_mole" FROM "table1_13036251_1" WHERE "winner"='Frédérique Huydts';
|
1-13036251-1
|
what's runner-up with season being season 13
|
CREATE TABLE "table1_13036251_1" (
"season" text,
"airdate" text,
"the_mole" text,
"winner" text,
"runner_up" text,
"prize_money" text,
"international_destination" text
);
|
SELECT "runner_up" FROM "table1_13036251_1" WHERE "season"='Season 13';
|
1-13036251-1
|
In what county did 29231 people vote for Kerry?
|
CREATE TABLE "by_county" (
"county" text,
"kerrypct" text,
"kerrynum" real,
"bushpct" text,
"bushnum" real,
"otherspct" text,
"othersnum" real
);
|
SELECT "county" FROM "by_county" WHERE "kerrynum"=29231;
|
1-1304443-2
|
What's the name of the county where 48.3% voted for Bush?
|
CREATE TABLE "by_county" (
"county" text,
"kerrypct" text,
"kerrynum" real,
"bushpct" text,
"bushnum" real,
"otherspct" text,
"othersnum" real
);
|
SELECT "county" FROM "by_county" WHERE "bushpct"='48.3%';
|
1-1304443-2
|
What's the percentage of votes for other candidates in the county where Bush got 51.6% of the votes?
|
CREATE TABLE "by_county" (
"county" text,
"kerrypct" text,
"kerrynum" real,
"bushpct" text,
"bushnum" real,
"otherspct" text,
"othersnum" real
);
|
SELECT "otherspct" FROM "by_county" WHERE "bushpct"='51.6%';
|
1-1304443-2
|
What's the name of the county where 54.6% voted for Bush?
|
CREATE TABLE "by_county" (
"county" text,
"kerrypct" text,
"kerrynum" real,
"bushpct" text,
"bushnum" real,
"otherspct" text,
"othersnum" real
);
|
SELECT "county" FROM "by_county" WHERE "bushpct"='54.6%';
|
1-1304443-2
|
What is the number of steals for 2012
|
CREATE TABLE "world" (
"year" real,
"points" text,
"rebounds" text,
"assists" text,
"steals" text,
"blocks" text
);
|
SELECT COUNT("steals") FROM "world" WHERE "year"=2012;
|
1-13050003-3
|
Who are the blockers where points are scored by Zach Randolph (24)?
|
CREATE TABLE "usa" (
"year" real,
"points" text,
"rebounds" text,
"assists" text,
"steals" text,
"blocks" text
);
|
SELECT "blocks" FROM "usa" WHERE "points"='Zach Randolph (24)';
|
1-13050003-2
|
Who are the blockers where points are scored by Zach Randolph (24)?
|
CREATE TABLE "usa" (
"year" real,
"points" text,
"rebounds" text,
"assists" text,
"steals" text,
"blocks" text
);
|
SELECT "blocks" FROM "usa" WHERE "points"='Zach Randolph (24)';
|
1-13050003-2
|
How many rebounds were there in 2008?
|
CREATE TABLE "usa" (
"year" real,
"points" text,
"rebounds" text,
"assists" text,
"steals" text,
"blocks" text
);
|
SELECT COUNT("rebounds") FROM "usa" WHERE "year"=2008;
|
1-13050003-2
|
Who had all of the blocks in 2012?
|
CREATE TABLE "usa" (
"year" real,
"points" text,
"rebounds" text,
"assists" text,
"steals" text,
"blocks" text
);
|
SELECT "blocks" FROM "usa" WHERE "year"=2012;
|
1-13050003-2
|
What year has Nerlens Noel (4) as blocker?
|
CREATE TABLE "usa" (
"year" real,
"points" text,
"rebounds" text,
"assists" text,
"steals" text,
"blocks" text
);
|
SELECT MIN("year") FROM "usa" WHERE "blocks"='Nerlens Noel (4)';
|
1-13050003-2
|
What is the most silver medals?
|
CREATE TABLE "percussion_scholastic_concert_world_clas" (
"ensemble" text,
"gold_medals" real,
"silver_medals" real,
"bronze_medals" real,
"total_medals" real
);
|
SELECT MAX("silver_medals") FROM "percussion_scholastic_concert_world_clas";
|
1-1305623-18
|
what are all the gold medals when the silver medals is smaller than 1.0?
|
CREATE TABLE "percussion_scholastic_concert_world_clas" (
"ensemble" text,
"gold_medals" real,
"silver_medals" real,
"bronze_medals" real,
"total_medals" real
);
|
SELECT "gold_medals" FROM "percussion_scholastic_concert_world_clas" WHERE "silver_medals"<1.0;
|
1-1305623-18
|
How many numbers were listed under Silver Medals for Portsmouth HS?
|
CREATE TABLE "percussion_scholastic_concert_open_class" (
"ensemble" text,
"gold_medals" real,
"silver_medals" real,
"bronze_medals" real,
"total_medals" real
);
|
SELECT COUNT("silver_medals") FROM "percussion_scholastic_concert_open_class" WHERE "ensemble"='Portsmouth HS';
|
1-1305623-20
|
What was the smallest total number of medals?
|
CREATE TABLE "percussion_scholastic_concert_open_class" (
"ensemble" text,
"gold_medals" real,
"silver_medals" real,
"bronze_medals" real,
"total_medals" real
);
|
SELECT MIN("total_medals") FROM "percussion_scholastic_concert_open_class";
|
1-1305623-20
|
What is the highest number of gold medals Naugatuck HS won?
|
CREATE TABLE "percussion_scholastic_concert_open_class" (
"ensemble" text,
"gold_medals" real,
"silver_medals" real,
"bronze_medals" real,
"total_medals" real
);
|
SELECT MAX("gold_medals") FROM "percussion_scholastic_concert_open_class" WHERE "ensemble"='Naugatuck HS';
|
1-1305623-20
|
what is the maximum round for gt3 winner hector lester tim mullen and pole position of jonny cocker paul drayson
|
CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"date" text,
"length" text,
"pole_position" text,
"gt3_winner" text,
"gtc_winner" text
);
|
SELECT MAX("round") FROM "calendar" WHERE "gt3_winner"='Hector Lester Tim Mullen' AND "pole_position"='Jonny Cocker Paul Drayson';
|
1-13079788-3
|
what are all the date for gt3 winner oliver bryant matt harris
|
CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"date" text,
"length" text,
"pole_position" text,
"gt3_winner" text,
"gtc_winner" text
);
|
SELECT "date" FROM "calendar" WHERE "gt3_winner"='Oliver Bryant Matt Harris';
|
1-13079788-3
|
what are all the date for gtc winners graeme mundy jamie smyth and gt3 winners hector lester tim mullen
|
CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"date" text,
"length" text,
"pole_position" text,
"gt3_winner" text,
"gtc_winner" text
);
|
SELECT "date" FROM "calendar" WHERE "gtc_winner"='Graeme Mundy Jamie Smyth' AND "gt3_winner"='Hector Lester Tim Mullen';
|
1-13079788-3
|
what are all the circuit for 9 september and gt3 winner hector lester allan simonsen
|
CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"date" text,
"length" text,
"pole_position" text,
"gt3_winner" text,
"gtc_winner" text
);
|
SELECT "circuit" FROM "calendar" WHERE "date"='9 September' AND "gt3_winner"='Hector Lester Allan Simonsen';
|
1-13079788-3
|
what are all the circuit for gtc winner graeme mundy jamie smyth and pole position bradley ellis alex mortimer
|
CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"date" text,
"length" text,
"pole_position" text,
"gt3_winner" text,
"gtc_winner" text
);
|
SELECT "circuit" FROM "calendar" WHERE "gtc_winner"='Graeme Mundy Jamie Smyth' AND "pole_position"='Bradley Ellis Alex Mortimer';
|
1-13079788-3
|
what are all the gtc winners for pole position no. 21 team modena
|
CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"date" text,
"length" text,
"pole_position" text,
"gt3_winner" text,
"gtc_winner" text
);
|
SELECT "gtc_winner" FROM "calendar" WHERE "pole_position"='No. 21 Team Modena';
|
1-13079788-3
|
What material is made with a rounded, plain edge?
|
CREATE TABLE "table1_1307572_1" (
"value" text,
"diameter" text,
"thickness" text,
"mass" text,
"composition" text,
"edge" text,
"obverse" text,
"reverse" text,
"first_minting" real,
"issue" text,
"withdrawal" text,
"lapse" text
);
|
SELECT "composition" FROM "table1_1307572_1" WHERE "edge"='Rounded, plain';
|
1-1307572-1
|
How many coins have a diameter of 23mm?
|
CREATE TABLE "table1_1307572_1" (
"value" text,
"diameter" text,
"thickness" text,
"mass" text,
"composition" text,
"edge" text,
"obverse" text,
"reverse" text,
"first_minting" real,
"issue" text,
"withdrawal" text,
"lapse" text
);
|
SELECT COUNT("reverse") FROM "table1_1307572_1" WHERE "diameter"='23mm';
|
1-1307572-1
|
When was the coin with the mass of 3.7 g first minted?
|
CREATE TABLE "table1_1307572_1" (
"value" text,
"diameter" text,
"thickness" text,
"mass" text,
"composition" text,
"edge" text,
"obverse" text,
"reverse" text,
"first_minting" real,
"issue" text,
"withdrawal" text,
"lapse" text
);
|
SELECT "first_minting" FROM "table1_1307572_1" WHERE "mass"='3.7 g';
|
1-1307572-1
|
What is the number of population for lithuania?
|
CREATE TABLE "2004_enlargement" (
"member_countries" text,
"population" real,
"area_km" real,
"gdp_billion_us" text,
"gdp_per_capita_us" real
);
|
SELECT COUNT("population") FROM "2004_enlargement" WHERE "member_countries"='Lithuania';
|
1-1307842-7
|
Name the gdp where gdp per capita 20200
|
CREATE TABLE "2004_enlargement" (
"member_countries" text,
"population" real,
"area_km" real,
"gdp_billion_us" text,
"gdp_per_capita_us" real
);
|
SELECT "gdp_billion_us" FROM "2004_enlargement" WHERE "gdp_per_capita_us"=20200;
|
1-1307842-7
|
Name the total number of area for 775927 population
|
CREATE TABLE "2004_enlargement" (
"member_countries" text,
"population" real,
"area_km" real,
"gdp_billion_us" text,
"gdp_per_capita_us" real
);
|
SELECT COUNT("area_km") FROM "2004_enlargement" WHERE "population"=775927;
|
1-1307842-7
|
What is the gdp of the country with an area of 83871 (km2)?
|
CREATE TABLE "1995_enlargement" (
"member_countries" text,
"population" real,
"area_km" real,
"gdp_billion_us" text,
"gdp_per_capita_us" real
);
|
SELECT "gdp_billion_us" FROM "1995_enlargement" WHERE "area_km"=83871;
|
1-1307842-6
|
What was the gdp of the country with a gdp per capita of $18048?
|
CREATE TABLE "1995_enlargement" (
"member_countries" text,
"population" real,
"area_km" real,
"gdp_billion_us" text,
"gdp_per_capita_us" real
);
|
SELECT "gdp_billion_us" FROM "1995_enlargement" WHERE "gdp_per_capita_us"=18048;
|
1-1307842-6
|
What is Austria's maximum area (km2)?
|
CREATE TABLE "1995_enlargement" (
"member_countries" text,
"population" real,
"area_km" real,
"gdp_billion_us" text,
"gdp_per_capita_us" real
);
|
SELECT MAX("area_km") FROM "1995_enlargement" WHERE "member_countries"='Austria';
|
1-1307842-6
|
What is the season for no award given for rookie of the year?
|
CREATE TABLE "see_also" (
"season" real,
"teams" real,
"champion" text,
"season_mvp" text,
"top_draft_pick" text,
"rookie_of_the_year" text,
"all_star_game" text
);
|
SELECT "season" FROM "see_also" WHERE "rookie_of_the_year"='No award given';
|
1-13082900-1
|
how many air date with overall being 83/95
|
CREATE TABLE "table1_13110459_2" (
"no" real,
"air_date" text,
"rating" text,
"share" real,
"18_49_rating_share" text,
"viewers_m" text,
"night" real,
"timeslot" real,
"overall" text
);
|
SELECT COUNT("air_date") FROM "table1_13110459_2" WHERE "overall"='83/95';
|
1-13110459-2
|
how many viewers (m) with overall being 91/101
|
CREATE TABLE "table1_13110459_2" (
"no" real,
"air_date" text,
"rating" text,
"share" real,
"18_49_rating_share" text,
"viewers_m" text,
"night" real,
"timeslot" real,
"overall" text
);
|
SELECT COUNT("viewers_m") FROM "table1_13110459_2" WHERE "overall"='91/101';
|
1-13110459-2
|
what are all the rating with viewers (m) being 2.89
|
CREATE TABLE "table1_13110459_2" (
"no" real,
"air_date" text,
"rating" text,
"share" real,
"18_49_rating_share" text,
"viewers_m" text,
"night" real,
"timeslot" real,
"overall" text
);
|
SELECT "rating" FROM "table1_13110459_2" WHERE "viewers_m"='2.89';
|
1-13110459-2
|
what are all the overall with rating being 1.4
|
CREATE TABLE "table1_13110459_2" (
"no" real,
"air_date" text,
"rating" text,
"share" real,
"18_49_rating_share" text,
"viewers_m" text,
"night" real,
"timeslot" real,
"overall" text
);
|
SELECT "overall" FROM "table1_13110459_2" WHERE "rating"='1.4';
|
1-13110459-2
|
what are all the overall with viewers (m) being 2.61
|
CREATE TABLE "table1_13110459_2" (
"no" real,
"air_date" text,
"rating" text,
"share" real,
"18_49_rating_share" text,
"viewers_m" text,
"night" real,
"timeslot" real,
"overall" text
);
|
SELECT "overall" FROM "table1_13110459_2" WHERE "viewers_m"='2.61';
|
1-13110459-2
|
what are all the rating with viewers (m) being 2.61
|
CREATE TABLE "table1_13110459_2" (
"no" real,
"air_date" text,
"rating" text,
"share" real,
"18_49_rating_share" text,
"viewers_m" text,
"night" real,
"timeslot" real,
"overall" text
);
|
SELECT "rating" FROM "table1_13110459_2" WHERE "viewers_m"='2.61';
|
1-13110459-2
|
what is the year where the qualifying score was 15.150?
|
CREATE TABLE "2008_season" (
"year" real,
"competition" text,
"location" text,
"event" text,
"final_rank" text,
"final_score" text,
"qualifying_rank" real,
"qualifying_score" text
);
|
SELECT "year" FROM "2008_season" WHERE "qualifying_score"='15.150';
|
1-13114949-3
|
how many times was the qualifying score 60.750?
|
CREATE TABLE "2008_season" (
"year" real,
"competition" text,
"location" text,
"event" text,
"final_rank" text,
"final_score" text,
"qualifying_rank" real,
"qualifying_score" text
);
|
SELECT COUNT("event") FROM "2008_season" WHERE "qualifying_score"='60.750';
|
1-13114949-3
|
how many times is the qualifying score 61.400?
|
CREATE TABLE "2008_season" (
"year" real,
"competition" text,
"location" text,
"event" text,
"final_rank" text,
"final_score" text,
"qualifying_rank" real,
"qualifying_score" text
);
|
SELECT COUNT("year") FROM "2008_season" WHERE "qualifying_score"='61.400';
|
1-13114949-3
|
what is the final-rank for the uneven bars and the competition is u.s. championships?
|
CREATE TABLE "2008_season" (
"year" real,
"competition" text,
"location" text,
"event" text,
"final_rank" text,
"final_score" text,
"qualifying_rank" real,
"qualifying_score" text
);
|
SELECT "final_rank" FROM "2008_season" WHERE "event"='Uneven Bars' AND "competition"='U.S. Championships';
|
1-13114949-3
|
what is the lowest qualifying rank?
|
CREATE TABLE "2008_season" (
"year" real,
"competition" text,
"location" text,
"event" text,
"final_rank" text,
"final_score" text,
"qualifying_rank" real,
"qualifying_score" text
);
|
SELECT MIN("qualifying_rank") FROM "2008_season";
|
1-13114949-3
|
what is the highest qualifying rank where the competition is olympic trials, the final-rank is 4 and qualifying score is 15.100?
|
CREATE TABLE "2008_season" (
"year" real,
"competition" text,
"location" text,
"event" text,
"final_rank" text,
"final_score" text,
"qualifying_rank" real,
"qualifying_score" text
);
|
SELECT MAX("qualifying_rank") FROM "2008_season" WHERE "competition"='Olympic Trials' AND "final_rank"='4' AND "qualifying_score"='15.100';
|
1-13114949-3
|
When did the season of gurmeet choudhary premiere?
|
CREATE TABLE "series_winners" (
"season" real,
"season_premiere_date" text,
"season_finale_date" text,
"winner" text,
"1st_runner_up" text,
"2nd_runner_up" text
);
|
SELECT "season_premiere_date" FROM "series_winners" WHERE "winner"='Gurmeet Choudhary';
|
1-13133962-1
|
When was the season finale of meiyang chang?
|
CREATE TABLE "series_winners" (
"season" real,
"season_premiere_date" text,
"season_finale_date" text,
"winner" text,
"1st_runner_up" text,
"2nd_runner_up" text
);
|
SELECT "season_finale_date" FROM "series_winners" WHERE "winner"='Meiyang Chang';
|
1-13133962-1
|
What is the winner of rashmi desai?
|
CREATE TABLE "series_winners" (
"season" real,
"season_premiere_date" text,
"season_finale_date" text,
"winner" text,
"1st_runner_up" text,
"2nd_runner_up" text
);
|
SELECT "winner" FROM "series_winners" WHERE "1st_runner_up"='Rashmi Desai';
|
1-13133962-1
|
When is the season finale of meiyang chang?
|
CREATE TABLE "series_winners" (
"season" real,
"season_premiere_date" text,
"season_finale_date" text,
"winner" text,
"1st_runner_up" text,
"2nd_runner_up" text
);
|
SELECT "season_finale_date" FROM "series_winners" WHERE "winner"='Meiyang Chang';
|
1-13133962-1
|
In what number kōhaku was the red team host Peggy Hayama?
|
CREATE TABLE "table1_1315616_1" (
"k_haku_num" real,
"date" text,
"red_team_host" text,
"white_team_host" text,
"mediator" text,
"winning_team" text
);
|
SELECT "k_haku_num" FROM "table1_1315616_1" WHERE "red_team_host"='Peggy Hayama';
|
1-1315616-1
|
Who was the mediator in kōhaku number 53?
|
CREATE TABLE "table1_1315616_1" (
"k_haku_num" real,
"date" text,
"red_team_host" text,
"white_team_host" text,
"mediator" text,
"winning_team" text
);
|
SELECT "mediator" FROM "table1_1315616_1" WHERE "k_haku_num"=53;
|
1-1315616-1
|
On what date was Keiichi Ubukata the mediator and Mitsuko Mori the red team host?
|
CREATE TABLE "table1_1315616_1" (
"k_haku_num" real,
"date" text,
"red_team_host" text,
"white_team_host" text,
"mediator" text,
"winning_team" text
);
|
SELECT "date" FROM "table1_1315616_1" WHERE "mediator"='Keiichi Ubukata' AND "red_team_host"='Mitsuko Mori';
|
1-1315616-1
|
What is the most recent year?
|
CREATE TABLE "winners" (
"year" real,
"dates" text,
"champion" text,
"score" real,
"to_par" text,
"margin_of_victory" text,
"purse" real,
"winners_share" real
);
|
SELECT MAX("year") FROM "winners";
|
1-13169136-1
|
What year is Jiyai Shin the champion?
|
CREATE TABLE "winners" (
"year" real,
"dates" text,
"champion" text,
"score" real,
"to_par" text,
"margin_of_victory" text,
"purse" real,
"winners_share" real
);
|
SELECT COUNT("year") FROM "winners" WHERE "champion"='Jiyai Shin';
|
1-13169136-1
|
What is the # for the episode with a Production code of 3T7057?
|
CREATE TABLE "table1_13183076_3" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
|
SELECT "num" FROM "table1_13183076_3" WHERE "production_code"='3T7057';
|
1-13183076-3
|
What is the Original air date for the episode directed by Tricia Brock?
|
CREATE TABLE "table1_13183076_3" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
|
SELECT "original_air_date" FROM "table1_13183076_3" WHERE "directed_by"='Tricia Brock';
|
1-13183076-3
|
What is the Original air date for the episode written by Peter Ocko?
|
CREATE TABLE "table1_13183076_3" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
|
SELECT "original_air_date" FROM "table1_13183076_3" WHERE "written_by"='Peter Ocko';
|
1-13183076-3
|
How many U.S. viewers (million) are there for the episode whose Production code is 3T7051?
|
CREATE TABLE "table1_13183076_3" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
|
SELECT "u_s_viewers_million" FROM "table1_13183076_3" WHERE "production_code"='3T7051';
|
1-13183076-3
|
How many episodes were aired on the Original air date for "Circus, Circus"?
|
CREATE TABLE "table1_13183076_3" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
|
SELECT COUNT("original_air_date") FROM "table1_13183076_3" WHERE "title"='\"Circus, Circus\"';
|
1-13183076-3
|
How many michelob ultra mountains classification for darren lill
|
CREATE TABLE "table1_13223187_1" (
"stage_winner" text,
"missouri_department_of_tourism_general_classification_yellow_jersey" text,
"edward_jones_investments_points_classification_green_jersey" text,
"michelob_ultra_mountains_classification_gold_polka_dot_jersey" text,
"build_a_bear_best_young_rider_blue_jersey" text,
"drury_hotels_most_aggressive_rider_red_jersey" text,
"team_classification" text
);
|
SELECT COUNT("michelob_ultra_mountains_classification_gold_polka_dot_jersey") FROM "table1_13223187_1" WHERE "drury_hotels_most_aggressive_rider_red_jersey"='Darren Lill';
|
1-13223187-1
|
What was the release date of Sonic Adventure 2?
|
CREATE TABLE "notable_releases_of_the_year_2001" (
"release" text,
"title" text,
"windows" text,
"5th_gen" text,
"6th_gen" text,
"handheld" text
);
|
SELECT "release" FROM "notable_releases_of_the_year_2001" WHERE "title"='Sonic Adventure 2';
|
1-1322904-1
|
Was the release on April 8 available on Windows?
|
CREATE TABLE "notable_releases_of_the_year_2001" (
"release" text,
"title" text,
"windows" text,
"5th_gen" text,
"6th_gen" text,
"handheld" text
);
|
SELECT "windows" FROM "notable_releases_of_the_year_2001" WHERE "release"='April 8';
|
1-1322904-1
|
What title was released on August 27?
|
CREATE TABLE "notable_releases_of_the_year_2001" (
"release" text,
"title" text,
"windows" text,
"5th_gen" text,
"6th_gen" text,
"handheld" text
);
|
SELECT "title" FROM "notable_releases_of_the_year_2001" WHERE "release"='August 27';
|
1-1322904-1
|
Is icewind dale available for windows
|
CREATE TABLE "notable_releases_of_the_year_2000" (
"release" text,
"title" text,
"windows" text,
"5th_gen" text,
"6th_gen" text,
"handheld" text,
"arcade" text
);
|
SELECT "windows" FROM "notable_releases_of_the_year_2000" WHERE "title"='Icewind Dale';
|
1-1322914-1
|
List all number of yards with an AST of 8.
|
CREATE TABLE "table1_13237088_28" (
"name" text,
"gp" real,
"solo" real,
"ast" real,
"total" real,
"tfl_yds" text,
"no_yds" text,
"br_up" real,
"qbh" real,
"no_yds" text,
"avg" text,
"td" real,
"long" real,
"rcv_yds" text,
"ff" real,
"blkd_kick" real
);
|
SELECT "no_yds" FROM "table1_13237088_28" WHERE "ast"=8;
|
1-13237088-28
|
Who did the Seahawks play when the listed attendance was 61615?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT "opponent" FROM "schedule" WHERE "attendance"=61615;
|
1-13258876-2
|
What was the Seahawks record on September 18, 1983?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT "record" FROM "schedule" WHERE "date"='September 18, 1983';
|
1-13258876-2
|
What week did the Seahawks play at los angeles memorial coliseum?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT MIN("week") FROM "schedule" WHERE "game_site"='Los Angeles Memorial Coliseum';
|
1-13258876-2
|
What was the score of the game when the attendance was 48945?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT "result" FROM "schedule" WHERE "attendance"=48945;
|
1-13258876-2
|
Who did the Seahawks play on September 4, 1983?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT "opponent" FROM "schedule" WHERE "date"='September 4, 1983';
|
1-13258876-2
|
What was the record set during the game played at Hubert H. Humphrey Metrodome?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT "record" FROM "schedule" WHERE "game_site"='Hubert H. Humphrey Metrodome';
|
1-13258851-2
|
On what date was the game against San Diego Chargers played?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT "date" FROM "schedule" WHERE "opponent"='San Diego Chargers';
|
1-13258851-2
|
What was the date of the game against Kansas City Chiefs?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT "date" FROM "schedule" WHERE "opponent"='Kansas City Chiefs';
|
1-13258851-2
|
What was the result of the game played on September 16, 1984?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT "result" FROM "schedule" WHERE "date"='September 16, 1984';
|
1-13258851-2
|
On what date did the game end with the result w 43-14?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" text
);
|
SELECT "date" FROM "schedule" WHERE "result"='W 43-14';
|
1-13258806-2
|
What was the attendance at the game that resulted in w 24-20?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" text
);
|
SELECT "attendance" FROM "schedule" WHERE "result"='W 24-20';
|
1-13258806-2
|
Who did they play against in the game that ended in 2-2?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" text
);
|
SELECT "opponent" FROM "schedule" WHERE "record"='2-2';
|
1-13258806-2
|
When was the record of 0-1 set?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" text
);
|
SELECT "date" FROM "schedule" WHERE "record"='0-1';
|
1-13258806-2
|
During what weak of the season was the game played on october 4, 1987?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" text
);
|
SELECT MAX("week") FROM "schedule" WHERE "date"='October 4, 1987';
|
1-13258806-2
|
What was the attendance when the record was 1-1?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT "attendance" FROM "schedule" WHERE "record"='1-1';
|
1-13258972-2
|
In what week was the record 5-9?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT MAX("week") FROM "schedule" WHERE "record"='5-9';
|
1-13258972-2
|
What date did the Seahawks play the Kansas City Chiefs at the Kingdome?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT "date" FROM "schedule" WHERE "game_site"='Kingdome' AND "opponent"='Kansas City Chiefs';
|
1-13258972-2
|
In what week was November 27, 1977?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT MAX("week") FROM "schedule" WHERE "date"='November 27, 1977';
|
1-13259034-2
|
Where did the teams play on October 16, 1977?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT "game_site" FROM "schedule" WHERE "date"='October 16, 1977';
|
1-13259034-2
|
What team was the opponent at Mile High Stadium?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT "opponent" FROM "schedule" WHERE "game_site"='Mile High Stadium';
|
1-13259009-2
|
What was the record when they played the Los Angeles Rams?
|
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
|
SELECT "record" FROM "schedule" WHERE "opponent"='Los Angeles Rams';
|
1-13259009-2
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.