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 Fourth place with a Year that is 1966?
CREATE TABLE "yearly_results" ( "year" real, "champion" text, "runner_up" text, "third_place" text, "fourth_place" text, "jack_tompkins_trophy_mvp" text );
SELECT "fourth_place" FROM "yearly_results" WHERE "year"=1966;
2-1571238-1
What is the Champion with a Year that is 2008?
CREATE TABLE "yearly_results" ( "year" real, "champion" text, "runner_up" text, "third_place" text, "fourth_place" text, "jack_tompkins_trophy_mvp" text );
SELECT "champion" FROM "yearly_results" WHERE "year"=2008;
2-1571238-1
Who was the opponent for the game played on September 19, 1994?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "opponent" FROM "schedule" WHERE "date"='september 19, 1994';
2-15953766-2
In which week was attendance at 50,814?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT COUNT("week") FROM "schedule" WHERE "attendance"='50,814';
2-15953766-2
What date after Week 6 was a Bye?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "date" FROM "schedule" WHERE "week">6 AND "attendance"='bye';
2-15953766-2
What subjunctive also has an inverse subjunctive of måchadns?
CREATE TABLE "grammar" ( "m_cha" text, "indicative" text, "imperative" text, "subjunctive" text, "inverse_subjunctive" text );
SELECT "subjunctive" FROM "grammar" WHERE "inverse_subjunctive"='måchadns';
2-153500-1
What imperative has måcha as 3.sg?
CREATE TABLE "grammar" ( "m_cha" text, "indicative" text, "imperative" text, "subjunctive" text, "inverse_subjunctive" text );
SELECT "imperative" FROM "grammar" WHERE "m_cha"='3.sg';
2-153500-1
The indicative of si måchan has what as the inverse subjunctive?
CREATE TABLE "grammar" ( "m_cha" text, "indicative" text, "imperative" text, "subjunctive" text, "inverse_subjunctive" text );
SELECT "inverse_subjunctive" FROM "grammar" WHERE "indicative"='si måchan';
2-153500-1
What inverse subjunctive has — as the imperative and a subjunctive of se måchadn?
CREATE TABLE "grammar" ( "m_cha" text, "indicative" text, "imperative" text, "subjunctive" text, "inverse_subjunctive" text );
SELECT "inverse_subjunctive" FROM "grammar" WHERE "imperative"='—' AND "subjunctive"='se måchadn';
2-153500-1
With a subjunctive of du måchast what is the imperative?
CREATE TABLE "grammar" ( "m_cha" text, "indicative" text, "imperative" text, "subjunctive" text, "inverse_subjunctive" text );
SELECT "imperative" FROM "grammar" WHERE "subjunctive"='du måchast';
2-153500-1
What subjunctive has the indicative of se måchan(t)?
CREATE TABLE "grammar" ( "m_cha" text, "indicative" text, "imperative" text, "subjunctive" text, "inverse_subjunctive" text );
SELECT "subjunctive" FROM "grammar" WHERE "indicative"='se måchan(t)';
2-153500-1
What is the Win % in the Span of 2011–2013 with a Lost of less than 1?
CREATE TABLE "result_summary" ( "opposition" text, "span" text, "lost" real, "tied" real, "win_pct" real );
SELECT AVG("win_pct") FROM "result_summary" WHERE "span"='2011–2013' AND "lost"<1;
2-15860092-6
How many games were Tied during the Span of 2011–2013 with a less than 80% Win %?
CREATE TABLE "result_summary" ( "opposition" text, "span" text, "lost" real, "tied" real, "win_pct" real );
SELECT COUNT("tied") FROM "result_summary" WHERE "span"='2011–2013' AND "win_pct"<80;
2-15860092-6
What is the highest Capacity that has 13.14% Annual change and Total Passengers larger than 15,499,462?
CREATE TABLE "brazil_s_20_busiest_airports_by_passenge" ( "rank" real, "location" text, "total_passengers" real, "annual_change" text, "capacity" real, "capacity_in_use" text );
SELECT MAX("capacity") FROM "brazil_s_20_busiest_airports_by_passenge" WHERE "annual_change"='13.14%' AND "total_passengers">'15,499,462';
2-15494883-8
Which Annual change has a Capacity in use of 66.21%?
CREATE TABLE "brazil_s_20_busiest_airports_by_passenge" ( "rank" real, "location" text, "total_passengers" real, "annual_change" text, "capacity" real, "capacity_in_use" text );
SELECT "annual_change" FROM "brazil_s_20_busiest_airports_by_passenge" WHERE "capacity_in_use"='66.21%';
2-15494883-8
Which Rank that has a Total Passengers of 15,499,462?
CREATE TABLE "brazil_s_20_busiest_airports_by_passenge" ( "rank" real, "location" text, "total_passengers" real, "annual_change" text, "capacity" real, "capacity_in_use" text );
SELECT COUNT("rank") FROM "brazil_s_20_busiest_airports_by_passenge" WHERE "total_passengers"='15,499,462';
2-15494883-8
How many Capacity has a Annual change of 53.4% and Total Passengers smaller than 7,822,848?
CREATE TABLE "brazil_s_20_busiest_airports_by_passenge" ( "rank" real, "location" text, "total_passengers" real, "annual_change" text, "capacity" real, "capacity_in_use" text );
SELECT AVG("capacity") FROM "brazil_s_20_busiest_airports_by_passenge" WHERE "annual_change"='53.4%' AND "total_passengers"<'7,822,848';
2-15494883-8
On what date were sheets issued in Tallahassee, Florida?
CREATE TABLE "the_sheets" ( "ecosystem" text, "date_of_issue" text, "place_of_issue" text, "no_stamps_in_sheet" real, "face_value" text, "printer" text );
SELECT "date_of_issue" FROM "the_sheets" WHERE "place_of_issue"='tallahassee, florida';
2-15635768-1
Which printer issued sheets on October 5, 2006?
CREATE TABLE "the_sheets" ( "ecosystem" text, "date_of_issue" text, "place_of_issue" text, "no_stamps_in_sheet" real, "face_value" text, "printer" text );
SELECT "printer" FROM "the_sheets" WHERE "date_of_issue"='october 5, 2006';
2-15635768-1
What is the least amount of silver medals won by Total with more than 1 bronze and more than 18 total medals won?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("silver") FROM "medal_table" WHERE "bronze">1 AND "nation"='total' AND "total">18;
2-15981100-1
How many positions have points against less than 28, americano-sp as the team, with a played greater than 8?
CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT COUNT("position") FROM "campeonato_paulista" WHERE "against"<28 AND "team"='americano-sp' AND "played">8;
2-15418823-1
How many losses have points against less than 15?
CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT COUNT("lost") FROM "campeonato_paulista" WHERE "against"<15;
2-15418823-1
What average played has an against less than 15?
CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT AVG("played") FROM "campeonato_paulista" WHERE "against"<15;
2-15418823-1
How many losses have a played greater than 8, ypiranga-sp as the team, with a position greater than 5?
CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT COUNT("lost") FROM "campeonato_paulista" WHERE "played">8 AND "team"='ypiranga-sp' AND "position">5;
2-15418823-1
What lost has a position greater than 2, a drawn greater than 0, with an against greater than 15?
CREATE TABLE "campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT "lost" FROM "campeonato_paulista" WHERE "position">2 AND "drawn">0 AND "against">15;
2-15418823-1
What is the sum of White (%), when Black (%) is less than 5,8, and when Asian or Amerindian (%) is less than 0,2?
CREATE TABLE "ethnicities_by_region" ( "state" text, "white_pct" real, "brown_pct" real, "black_pct" real, "asian_or_amerindian_pct" real );
SELECT SUM("white_pct") FROM "ethnicities_by_region" WHERE "black_pct"<'5,8' AND "asian_or_amerindian_pct"<'0,2';
2-16176416-6
What is the sum of Asian or Amerindian (%), when State is Sergipe, and when Brown (%) is greater than 61,3?
CREATE TABLE "ethnicities_by_region" ( "state" text, "white_pct" real, "brown_pct" real, "black_pct" real, "asian_or_amerindian_pct" real );
SELECT SUM("asian_or_amerindian_pct") FROM "ethnicities_by_region" WHERE "state"='sergipe' AND "brown_pct">'61,3';
2-16176416-6
What is the total number of White (%), when Brown (%) is less than 54,6, when Asian or Amerindian (%) is greater than 1,3, and when Black (%) is less than 5,3?
CREATE TABLE "ethnicities_by_region" ( "state" text, "white_pct" real, "brown_pct" real, "black_pct" real, "asian_or_amerindian_pct" real );
SELECT COUNT("white_pct") FROM "ethnicities_by_region" WHERE "brown_pct"<'54,6' AND "asian_or_amerindian_pct">'1,3' AND "black_pct"<'5,3';
2-16176416-6
What is the sum of Asian or Amerindian (%), when Black (%) is 9,7, and when White (%) is greater than 45,7?
CREATE TABLE "ethnicities_by_region" ( "state" text, "white_pct" real, "brown_pct" real, "black_pct" real, "asian_or_amerindian_pct" real );
SELECT SUM("asian_or_amerindian_pct") FROM "ethnicities_by_region" WHERE "black_pct"='9,7' AND "white_pct">'45,7';
2-16176416-6
How many points were there when there more than 6 losses and less than 14 matches?
CREATE TABLE "first_league" ( "team" text, "match" real, "points" real, "draw" real, "lost" real );
SELECT COUNT("points") FROM "first_league" WHERE "lost">6 AND "match"<14;
2-15447701-1
How few losses were the least number of losses and points higher than 23?
CREATE TABLE "first_league" ( "team" text, "match" real, "points" real, "draw" real, "lost" real );
SELECT MIN("lost") FROM "first_league" WHERE "points">23;
2-15447701-1
What is the highest number of matches with more than 18 points and more than 1 draw?
CREATE TABLE "first_league" ( "team" text, "match" real, "points" real, "draw" real, "lost" real );
SELECT MAX("match") FROM "first_league" WHERE "points">18 AND "draw">1;
2-15447701-1
Who was the champion in the game played at the St. Andrews Links with Dick Chapman as the runner-up?
CREATE TABLE "winners" ( "year" text, "venue" text, "champion" text, "country" text, "score" text, "runner_up" text );
SELECT "champion" FROM "winners" WHERE "runner_up"='dick chapman' AND "venue"='st. andrews links';
2-1532220-1
What is the score of the match won by Willie Hunter at the Royal Liverpool Golf Club?
CREATE TABLE "winners" ( "year" text, "venue" text, "champion" text, "country" text, "score" text, "runner_up" text );
SELECT "score" FROM "winners" WHERE "venue"='royal liverpool golf club' AND "champion"='willie hunter';
2-1532220-1
What player from England was the runner-up at the match played at the Royal Porthcawl Golf Club?
CREATE TABLE "winners" ( "year" text, "venue" text, "champion" text, "country" text, "score" text, "runner_up" text );
SELECT "runner_up" FROM "winners" WHERE "country"='england' AND "venue"='royal porthcawl golf club';
2-1532220-1
Who was the champion in the match where C.A. Palmer was the runner-up?
CREATE TABLE "winners" ( "year" text, "venue" text, "champion" text, "country" text, "score" text, "runner_up" text );
SELECT "champion" FROM "winners" WHERE "runner_up"='c.a. palmer';
2-1532220-1
What player was the champion in the match where E.A. Lassen was the runner-up?
CREATE TABLE "winners" ( "year" text, "venue" text, "champion" text, "country" text, "score" text, "runner_up" text );
SELECT "champion" FROM "winners" WHERE "runner_up"='e.a. lassen';
2-1532220-1
What is the score of the match played in England where Peter McEvoy was the champion and Paul McKellar was runner-up?
CREATE TABLE "winners" ( "year" text, "venue" text, "champion" text, "country" text, "score" text, "runner_up" text );
SELECT "score" FROM "winners" WHERE "country"='england' AND "champion"='peter mcevoy' AND "runner_up"='paul mckellar';
2-1532220-1
Which federal state has 6 representatives of national average?
CREATE TABLE "federal_representation" ( "federal_state" text, "number_of_members" real, "pct_of_total_members" text, "population_on_the_census_also_called_censo_2010" text, "pct_of_the_population_censo_2010" text, "representativeness_inhabitants_mr" text, "representatives_of_national_average" text, "deputies_required_ignoring_the_limits" real );
SELECT "federal_state" FROM "federal_representation" WHERE "representatives_of_national_average"='6';
2-1589485-1
According to the 2010 census, what was the population for the federal state that had less than -6 deputies required ignoring the limits?
CREATE TABLE "federal_representation" ( "federal_state" text, "number_of_members" real, "pct_of_total_members" text, "population_on_the_census_also_called_censo_2010" text, "pct_of_the_population_censo_2010" text, "representativeness_inhabitants_mr" text, "representatives_of_national_average" text, "deputies_required_ignoring_the_limits" real );
SELECT "population_on_the_census_also_called_censo_2010" FROM "federal_representation" WHERE "deputies_required_ignoring_the_limits"<-6;
2-1589485-1
What is the lowest number of blocks for players with height of 206 and more than 356 spikes?
CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" ( "name" text, "date_of_birth" text, "height" real, "weight" real, "spike" real, "block" real );
SELECT MIN("block") FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "height"=206 AND "spike">356;
2-15859432-12
What is the number of weight values associated with 340 blocks and more than 353 spikes?
CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" ( "name" text, "date_of_birth" text, "height" real, "weight" real, "spike" real, "block" real );
SELECT COUNT("weight") FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "block"=340 AND "spike">353;
2-15859432-12
What award did Forest Whitaker win in 1989?
CREATE TABLE "men" ( "year" real, "actor" text, "award" text, "motion_picture" text, "result" text );
SELECT "award" FROM "men" WHERE "actor"='forest whitaker' AND "year"=1989;
2-16045118-19
For what motion picture did Samuel L. Jackson win the best supporting actor award before 1997?
CREATE TABLE "men" ( "year" real, "actor" text, "award" text, "motion_picture" text, "result" text );
SELECT "motion_picture" FROM "men" WHERE "award"='best supporting actor' AND "actor"='samuel l. jackson' AND "year"<1997;
2-16045118-19
Which actor won in 1966?
CREATE TABLE "men" ( "year" real, "actor" text, "award" text, "motion_picture" text, "result" text );
SELECT "actor" FROM "men" WHERE "year"=1966;
2-16045118-19
What is the lowest population in millions that has inhabitants per MEP less than 414,538, and an influence of 2.06, and MEPs less than 13?
CREATE TABLE "nice_system" ( "member_state" text, "population_millions" real, "me_ps" real, "inhabitants_per_mep" real, "influence" real );
SELECT MIN("population_millions") FROM "nice_system" WHERE "inhabitants_per_mep"<'414,538' AND "influence"=2.06 AND "me_ps"<13;
2-1542906-1
What is the lowest influence with population in the millions less than 60.64, and MEPs less than 22, and 454,059 inhabitant per MEP?
CREATE TABLE "nice_system" ( "member_state" text, "population_millions" real, "me_ps" real, "inhabitants_per_mep" real, "influence" real );
SELECT MIN("influence") FROM "nice_system" WHERE "population_millions"<60.64 AND "me_ps"<22 AND "inhabitants_per_mep"='454,059';
2-1542906-1
What is the highest population in the millions that has an influence of 1.02?
CREATE TABLE "nice_system" ( "member_state" text, "population_millions" real, "me_ps" real, "inhabitants_per_mep" real, "influence" real );
SELECT MAX("population_millions") FROM "nice_system" WHERE "influence"=1.02;
2-1542906-1
What is the total number of MEPs that has 465,955 inhabitants per MEP and an influence smaller than 1.79?
CREATE TABLE "nice_system" ( "member_state" text, "population_millions" real, "me_ps" real, "inhabitants_per_mep" real, "influence" real );
SELECT COUNT("me_ps") FROM "nice_system" WHERE "inhabitants_per_mep"='465,955' AND "influence"<1.79;
2-1542906-1
What is the sum of the population in millions that has an influence less than 2.91, a MEP smaller than 13, a member of Latvia, and more than 286,875 inhabitants per MEP?
CREATE TABLE "nice_system" ( "member_state" text, "population_millions" real, "me_ps" real, "inhabitants_per_mep" real, "influence" real );
SELECT SUM("population_millions") FROM "nice_system" WHERE "influence"<2.91 AND "me_ps"<13 AND "member_state"='latvia' AND "inhabitants_per_mep">'286,875';
2-1542906-1
What is the highest number of inhabitants per MEP that has MEPs larger than 50, a member of Germany, and a population less than 82.43 million?
CREATE TABLE "nice_system" ( "member_state" text, "population_millions" real, "me_ps" real, "inhabitants_per_mep" real, "influence" real );
SELECT MAX("inhabitants_per_mep") FROM "nice_system" WHERE "me_ps">50 AND "member_state"='germany' AND "population_millions"<82.43;
2-1542906-1
Which World Rank has a Year smaller than 1977, and a Location of eugene?
CREATE TABLE "200_meters" ( "year" real, "result" real, "world_rank" text, "location" text, "date" text );
SELECT "world_rank" FROM "200_meters" WHERE "year"<1977 AND "location"='eugene';
2-15369913-4
What's the lowest Year with a World Rank of 5th, with a Result greater than 20.31?
CREATE TABLE "200_meters" ( "year" real, "result" real, "world_rank" text, "location" text, "date" text );
SELECT MIN("year") FROM "200_meters" WHERE "world_rank"='5th' AND "result">20.31;
2-15369913-4
Which Year has a Result smaller than 20.26, and a Location of eugene?
CREATE TABLE "200_meters" ( "year" real, "result" real, "world_rank" text, "location" text, "date" text );
SELECT SUM("year") FROM "200_meters" WHERE "result"<20.26 AND "location"='eugene';
2-15369913-4
What is the Result with a Location of brussels?
CREATE TABLE "200_meters" ( "year" real, "result" real, "world_rank" text, "location" text, "date" text );
SELECT COUNT("result") FROM "200_meters" WHERE "location"='brussels';
2-15369913-4
What Year has a Result smaller than 20.31, and a World Rank of 5th?
CREATE TABLE "200_meters" ( "year" real, "result" real, "world_rank" text, "location" text, "date" text );
SELECT AVG("year") FROM "200_meters" WHERE "result"<20.31 AND "world_rank"='5th';
2-15369913-4
What is the record when the Nuggets are the home team?
CREATE TABLE "january" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "record" text );
SELECT "record" FROM "january" WHERE "home"='nuggets';
2-16140345-6
What is the lowest number of points for Drivers that have raced in more than 16 Races?
CREATE TABLE "gp3_series" ( "year" real, "drivers" text, "races" real, "wins" real, "poles" real, "fast_laps" real, "points" real, "d_c" text, "t_c" text );
SELECT MIN("points") FROM "gp3_series" WHERE "races">16;
2-15499601-2
What is the least number of Races for a Racer with less than 0 Points?
CREATE TABLE "gp3_series" ( "year" real, "drivers" text, "races" real, "wins" real, "poles" real, "fast_laps" real, "points" real, "d_c" text, "t_c" text );
SELECT MIN("races") FROM "gp3_series" WHERE "points"<0;
2-15499601-2
What is the average Year during which the Driver Adrian Quaife-Hobbs has fewer than 2 Poles, and 0 Fast laps?
CREATE TABLE "gp3_series" ( "year" real, "drivers" text, "races" real, "wins" real, "poles" real, "fast_laps" real, "points" real, "d_c" text, "t_c" text );
SELECT AVG("year") FROM "gp3_series" WHERE "poles"<2 AND "fast_laps"=0 AND "drivers"='adrian quaife-hobbs';
2-15499601-2
Which city contains the KPIX station?
CREATE TABLE "television_stations" ( "city_of_license_market" text, "station" text, "channel_tv_dt" text, "years_owned" text, "current_affiliation" text );
SELECT "city_of_license_market" FROM "television_stations" WHERE "station"='kpix';
2-1553485-1
Which station has channel TV (DT) of 3 (26)?
CREATE TABLE "television_stations" ( "city_of_license_market" text, "station" text, "channel_tv_dt" text, "years_owned" text, "current_affiliation" text );
SELECT "station" FROM "television_stations" WHERE "channel_tv_dt"='3 (26)';
2-1553485-1
What is the current affiliation when the years owned is between 1955–1995?
CREATE TABLE "television_stations" ( "city_of_license_market" text, "station" text, "channel_tv_dt" text, "years_owned" text, "current_affiliation" text );
SELECT "current_affiliation" FROM "television_stations" WHERE "years_owned"='1955–1995';
2-1553485-1
What is the city containing the KDKA-TV station?
CREATE TABLE "television_stations" ( "city_of_license_market" text, "station" text, "channel_tv_dt" text, "years_owned" text, "current_affiliation" text );
SELECT "city_of_license_market" FROM "television_stations" WHERE "station"='kdka-tv';
2-1553485-1
Which Channel TV is located in Baltimore?
CREATE TABLE "television_stations" ( "city_of_license_market" text, "station" text, "channel_tv_dt" text, "years_owned" text, "current_affiliation" text );
SELECT "channel_tv_dt" FROM "television_stations" WHERE "city_of_license_market"='baltimore';
2-1553485-1
What is the least number of goals scored in the play-offs among the players that have scored 2 in the FA Cup?
CREATE TABLE "topscorers_in_order_of_league_goals" ( "player" text, "club" text, "league" real, "play_offs" real, "fa_cup" real, "fa_trophy" real, "total" real );
SELECT MIN("play_offs") FROM "topscorers_in_order_of_league_goals" WHERE "fa_cup"=2;
2-15656280-4
What is the average number of goals scored in the FA Cup among players that have more than 20 total goals, less than 1 FA Trophy goals, and less than 25 league goals?
CREATE TABLE "topscorers_in_order_of_league_goals" ( "player" text, "club" text, "league" real, "play_offs" real, "fa_cup" real, "fa_trophy" real, "total" real );
SELECT AVG("fa_cup") FROM "topscorers_in_order_of_league_goals" WHERE "total">20 AND "fa_trophy"<1 AND "league"<25;
2-15656280-4
What is the latitude and longitude for Surveyor 3?
CREATE TABLE "u_s_unmanned_soft_landings_1966_1968" ( "u_s_mission" text, "mass_kg" real, "booster" text, "launched" text, "mission_goal" text, "landing_zone" text, "lat_lon" text );
SELECT "lat_lon" FROM "u_s_unmanned_soft_landings_1966_1968" WHERE "u_s_mission"='surveyor 3';
2-1558077-4
What is the largest mass for Tycho Crater?
CREATE TABLE "u_s_unmanned_soft_landings_1966_1968" ( "u_s_mission" text, "mass_kg" real, "booster" text, "launched" text, "mission_goal" text, "landing_zone" text, "lat_lon" text );
SELECT MAX("mass_kg") FROM "u_s_unmanned_soft_landings_1966_1968" WHERE "landing_zone"='tycho crater';
2-1558077-4
What Field was Commissioned in 1958, 2005?
CREATE TABLE "list_of_geothermal_power_stations" ( "name" text, "location" text, "field" text, "capacity_mw" real, "annual_generation_average_g_wh" text, "commissioned" text );
SELECT "field" FROM "list_of_geothermal_power_stations" WHERE "commissioned"='1958, 2005';
2-15908826-1
What is the Annual Generation at Kawerau (Bope)?
CREATE TABLE "list_of_geothermal_power_stations" ( "name" text, "location" text, "field" text, "capacity_mw" real, "annual_generation_average_g_wh" text, "commissioned" text );
SELECT "annual_generation_average_g_wh" FROM "list_of_geothermal_power_stations" WHERE "name"='kawerau (bope)';
2-15908826-1
What is the Name of the power station with a Capacity of 25 MW?
CREATE TABLE "list_of_geothermal_power_stations" ( "name" text, "location" text, "field" text, "capacity_mw" real, "annual_generation_average_g_wh" text, "commissioned" text );
SELECT "name" FROM "list_of_geothermal_power_stations" WHERE "capacity_mw"=25;
2-15908826-1
What is the Name of the power station in the Field of Mokai?
CREATE TABLE "list_of_geothermal_power_stations" ( "name" text, "location" text, "field" text, "capacity_mw" real, "annual_generation_average_g_wh" text, "commissioned" text );
SELECT "name" FROM "list_of_geothermal_power_stations" WHERE "field"='mokai';
2-15908826-1
How many goals were scored in 2004 when the gp/gs was "did not play"?
CREATE TABLE "national_team" ( "year" text, "gp_gs" text, "goals" text, "assists" text, "total_points" text );
SELECT "goals" FROM "national_team" WHERE "gp_gs"='did not play' AND "year"='2004';
2-15444124-4
How many assists were there when the total points was 2?
CREATE TABLE "national_team" ( "year" text, "gp_gs" text, "goals" text, "assists" text, "total_points" text );
SELECT "assists" FROM "national_team" WHERE "total_points"='2';
2-15444124-4
What was the total number of points when there were 7 assists?
CREATE TABLE "national_team" ( "year" text, "gp_gs" text, "goals" text, "assists" text, "total_points" text );
SELECT "total_points" FROM "national_team" WHERE "assists"='7';
2-15444124-4
What was the gp/gs when the assists was 1?
CREATE TABLE "national_team" ( "year" text, "gp_gs" text, "goals" text, "assists" text, "total_points" text );
SELECT "gp_gs" FROM "national_team" WHERE "assists"='1';
2-15444124-4
what was the gp/gs in 2003 when the total points was "did not play"?
CREATE TABLE "national_team" ( "year" text, "gp_gs" text, "goals" text, "assists" text, "total_points" text );
SELECT "gp_gs" FROM "national_team" WHERE "total_points"='did not play' AND "year"='2003';
2-15444124-4
What was the outcome for Jan Pisecky and his partner?
CREATE TABLE "doubles_titles_17" ( "outcome" text, "date" real, "tournament" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text );
SELECT "outcome" FROM "doubles_titles_17" WHERE "partner"='jan pisecky';
2-15428560-2
What player weight 235?
CREATE TABLE "contestants" ( "pos" text, "player" text, "team" text, "height" text, "weight" real );
SELECT "player" FROM "contestants" WHERE "weight"=235;
2-15753220-17
What is the height of the F who weighs less than 195?
CREATE TABLE "contestants" ( "pos" text, "player" text, "team" text, "height" text, "weight" real );
SELECT "height" FROM "contestants" WHERE "pos"='f' AND "weight"<195;
2-15753220-17
What team does F Trey Gilder play for?
CREATE TABLE "contestants" ( "pos" text, "player" text, "team" text, "height" text, "weight" real );
SELECT "team" FROM "contestants" WHERE "pos"='f' AND "player"='trey gilder';
2-15753220-17
What player plays for the Dakota Wizards?
CREATE TABLE "contestants" ( "pos" text, "player" text, "team" text, "height" text, "weight" real );
SELECT "player" FROM "contestants" WHERE "team"='dakota wizards';
2-15753220-17
Which player who weighs 210 plays for the Reno Bighorns?
CREATE TABLE "contestants" ( "pos" text, "player" text, "team" text, "height" text, "weight" real );
SELECT "player" FROM "contestants" WHERE "weight"=210 AND "team"='reno bighorns';
2-15753220-17
What position does Brian Butch play?
CREATE TABLE "contestants" ( "pos" text, "player" text, "team" text, "height" text, "weight" real );
SELECT "pos" FROM "contestants" WHERE "player"='brian butch';
2-15753220-17
Which Position has a Player of tyronn lue, and a Years in Orlando of 2003–2004?
CREATE TABLE "l" ( "player" text, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text );
SELECT "position" FROM "l" WHERE "player"='tyronn lue' AND "years_in_orlando"='2003–2004';
2-15621965-11
Which School/Club Team has a Player of deandre liggins?
CREATE TABLE "l" ( "player" text, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text );
SELECT "school_club_team" FROM "l" WHERE "player"='deandre liggins';
2-15621965-11
Which Position has a Years in Orlando of 1997–1998?
CREATE TABLE "l" ( "player" text, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text );
SELECT "position" FROM "l" WHERE "years_in_orlando"='1997–1998';
2-15621965-11
Which Position has a School/Club Team of stanford?
CREATE TABLE "l" ( "player" text, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text );
SELECT "position" FROM "l" WHERE "school_club_team"='stanford';
2-15621965-11
Which School/Club Team has a Years in Orlando of 1997–1998?
CREATE TABLE "l" ( "player" text, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text );
SELECT "school_club_team" FROM "l" WHERE "years_in_orlando"='1997–1998';
2-15621965-11
Which Position has a Years in Orlando of 2003–2004?
CREATE TABLE "l" ( "player" text, "nationality" text, "position" text, "years_in_orlando" text, "school_club_team" text );
SELECT "position" FROM "l" WHERE "years_in_orlando"='2003–2004';
2-15621965-11
What is the High assists with a Date that is february 27?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "high_assists" FROM "game_log" WHERE "date"='february 27';
2-15872814-6
What is the High points with a Game that is 56?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "high_points" FROM "game_log" WHERE "game"=56;
2-15872814-6
In what Distance has a Venue of sale?
CREATE TABLE "2007_08_season_as_a_three_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" real, "time" text, "jockey" text, "winner_2nd" text );
SELECT "distance" FROM "2007_08_season_as_a_three_year_old" WHERE "venue"='sale';
2-15926991-1
WHo is Winner/2nd that has c. symons?
CREATE TABLE "2007_08_season_as_a_three_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" real, "time" text, "jockey" text, "winner_2nd" text );
SELECT "winner_2nd" FROM "2007_08_season_as_a_three_year_old" WHERE "jockey"='c. symons';
2-15926991-1
Which Race that Jockey of d. nikolic is in?
CREATE TABLE "2007_08_season_as_a_three_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" real, "time" text, "jockey" text, "winner_2nd" text );
SELECT "race" FROM "2007_08_season_as_a_three_year_old" WHERE "jockey"='d. nikolic';
2-15926991-1
Name The Result that has a Distance of 1200m, and a Weight (kg) of 55.5?
CREATE TABLE "2007_08_season_as_a_three_year_old" ( "result" text, "date" text, "race" text, "venue" text, "group" text, "distance" text, "weight_kg" real, "time" text, "jockey" text, "winner_2nd" text );
SELECT "result" FROM "2007_08_season_as_a_three_year_old" WHERE "distance"='1200m' AND "weight_kg"=55.5;
2-15926991-1
What is the previous team of the United States player who had 2 NBA years and played the F position?
CREATE TABLE "selections" ( "pos" text, "nationality" text, "previous_team" text, "nba_years_a" real, "career_with_the_franchise_b" text );
SELECT "previous_team" FROM "selections" WHERE "nationality"='united states' AND "nba_years_a"=2 AND "pos"='f';
2-15623086-3
Which Team has a Score of 108-107?
CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "location_attendance" text, "record" text );
SELECT "team" FROM "playoffs" WHERE "score"='108-107';
2-15636509-12
Which Record has a Date of may 31?
CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "location_attendance" text, "record" text );
SELECT "record" FROM "playoffs" WHERE "date"='may 31';
2-15636509-12