question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Which result has a recipients and nominees of outstanding achievement in drama with 1995 as the year?
CREATE TABLE "writers_guild_of_america" ( "year" real, "category" text, "recipients_and_nominees" text, "role_episode" text, "result" text );
SELECT "result" FROM "writers_guild_of_america" WHERE "recipients_and_nominees"='outstanding achievement in drama' AND "year"=1995;
2-18552926-10
What recipients and nominees have outstanding achievement in drama as the category with 1994 as the year?
CREATE TABLE "writers_guild_of_america" ( "year" real, "category" text, "recipients_and_nominees" text, "role_episode" text, "result" text );
SELECT "recipients_and_nominees" FROM "writers_guild_of_america" WHERE "category"='outstanding achievement in drama' AND "year"=1994;
2-18552926-10
What result has outstanding achievement in drama, as the role/episode with a year prior to 1995?
CREATE TABLE "writers_guild_of_america" ( "year" real, "category" text, "recipients_and_nominees" text, "role_episode" text, "result" text );
SELECT "result" FROM "writers_guild_of_america" WHERE "role_episode"='outstanding achievement in drama' AND "year"<1995;
2-18552926-10
What is the total for Danny Pinheiro Rodrigues ( fra ), in a Position smaller than 7?
CREATE TABLE "qualified_competitors" ( "position" real, "gymnast" text, "a_score" real, "b_score" real, "total" real );
SELECT AVG("total") FROM "qualified_competitors" WHERE "gymnast"='danny pinheiro rodrigues ( fra )' AND "position"<7;
2-18662019-2
What is the total for Chen Yibing ( chn ), when his B Score was smaller than 9.225?
CREATE TABLE "qualified_competitors" ( "position" real, "gymnast" text, "a_score" real, "b_score" real, "total" real );
SELECT COUNT("total") FROM "qualified_competitors" WHERE "gymnast"='chen yibing ( chn )' AND "b_score"<9.225;
2-18662019-2
What is the A Score when the B Score is more than 9.05, and the total is less than 16.525?
CREATE TABLE "qualified_competitors" ( "position" real, "gymnast" text, "a_score" real, "b_score" real, "total" real );
SELECT COUNT("a_score") FROM "qualified_competitors" WHERE "b_score">9.05 AND "total"<16.525;
2-18662019-2
What is the position for Oleksandr Vorobiov ( ukr ), when the total was larger than 16.25?
CREATE TABLE "qualified_competitors" ( "position" real, "gymnast" text, "a_score" real, "b_score" real, "total" real );
SELECT COUNT("position") FROM "qualified_competitors" WHERE "gymnast"='oleksandr vorobiov ( ukr )' AND "total">16.25;
2-18662019-2
What is the total for Robert Stanescu ( rou ), when the B Score is larger than 8.75?
CREATE TABLE "qualified_competitors" ( "position" real, "gymnast" text, "a_score" real, "b_score" real, "total" real );
SELECT SUM("total") FROM "qualified_competitors" WHERE "gymnast"='robert stanescu ( rou )' AND "b_score">8.75;
2-18662019-2
Poland has what notes?
CREATE TABLE "repechage" ( "rank" real, "rowers" text, "country" text, "time" text, "notes" text );
SELECT "notes" FROM "repechage" WHERE "country"='poland';
2-18662689-5
What is Croatia's rank?
CREATE TABLE "repechage" ( "rank" real, "rowers" text, "country" text, "time" text, "notes" text );
SELECT "rank" FROM "repechage" WHERE "country"='croatia';
2-18662689-5
When rank is 5, what is the rowers?
CREATE TABLE "repechage" ( "rank" real, "rowers" text, "country" text, "time" text, "notes" text );
SELECT "rowers" FROM "repechage" WHERE "rank"=5;
2-18662689-5
What is the average rank for Denmark?
CREATE TABLE "repechage" ( "rank" real, "rowers" text, "country" text, "time" text, "notes" text );
SELECT AVG("rank") FROM "repechage" WHERE "country"='denmark';
2-18662689-5
What is the end of the term for Kadima that started on 18 January 2006?
CREATE TABLE "list_of_housing_and_construction_ministe" ( "minister" text, "party" text, "governments" text, "term_start" text, "term_end" text );
SELECT "term_end" FROM "list_of_housing_and_construction_ministe" WHERE "party"='kadima' AND "term_start"='18 january 2006';
2-18921615-1
Whose term started on 4 May 2006?
CREATE TABLE "list_of_housing_and_construction_ministe" ( "minister" text, "party" text, "governments" text, "term_start" text, "term_end" text );
SELECT "minister" FROM "list_of_housing_and_construction_ministe" WHERE "term_start"='4 may 2006';
2-18921615-1
Which 2005/ 06 has a 2006/ 07 of ur?
CREATE TABLE "performance_and_rankings_timeline" ( "2005_06" text, "2006_07" text, "2007_08" text, "2009_10" text, "2010_11" text, "2011_12" text, "2012_13" text );
SELECT "2005_06" FROM "performance_and_rankings_timeline" WHERE "2006_07"='ur';
2-18746717-1
Which 2005/ 06 has a 2011/ 12 of ranking tournaments
CREATE TABLE "performance_and_rankings_timeline" ( "2005_06" text, "2006_07" text, "2007_08" text, "2009_10" text, "2010_11" text, "2011_12" text, "2012_13" text );
SELECT "2005_06" FROM "performance_and_rankings_timeline" WHERE "2011_12"='ranking tournaments';
2-18746717-1
Which the 2007/ 08 has a 2006/ 07 of 1r?
CREATE TABLE "performance_and_rankings_timeline" ( "2005_06" text, "2006_07" text, "2007_08" text, "2009_10" text, "2010_11" text, "2011_12" text, "2012_13" text );
SELECT "2007_08" FROM "performance_and_rankings_timeline" WHERE "2006_07"='1r';
2-18746717-1
Which 2010/ 11 has a 2011/ 12 of wr?
CREATE TABLE "performance_and_rankings_timeline" ( "2005_06" text, "2006_07" text, "2007_08" text, "2009_10" text, "2010_11" text, "2011_12" text, "2012_13" text );
SELECT "2010_11" FROM "performance_and_rankings_timeline" WHERE "2011_12"='wr';
2-18746717-1
Which in 2007/ 08 has a 2009/ 10 of non-ranking?
CREATE TABLE "performance_and_rankings_timeline" ( "2005_06" text, "2006_07" text, "2007_08" text, "2009_10" text, "2010_11" text, "2011_12" text, "2012_13" text );
SELECT "2007_08" FROM "performance_and_rankings_timeline" WHERE "2009_10"='non-ranking';
2-18746717-1
Name the 2010/ 11 which has a 2006/ 07 of not held, and a 2011/ 12 of a, and a 2012/ 13 of a?
CREATE TABLE "performance_and_rankings_timeline" ( "2005_06" text, "2006_07" text, "2007_08" text, "2009_10" text, "2010_11" text, "2011_12" text, "2012_13" text );
SELECT "2010_11" FROM "performance_and_rankings_timeline" WHERE "2006_07"='not held' AND "2011_12"='a' AND "2012_13"='a';
2-18746717-1
What's the number of bronze when they are ranked 29, had a total more than 3 and less than 2 golds?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("bronze") FROM "medal_table" WHERE "gold"<2 AND "rank"='29' AND "total">3;
2-18395096-1
What's the bronze medal count for Rank 33 when the silver count was less than 2 and the total was more than 4?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("bronze") FROM "medal_table" WHERE "silver"<2 AND "total">4 AND "rank"='33';
2-18395096-1
How many silver for rank 22 when gold count was more than 0 and Bronze count was less than 5?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("silver") FROM "medal_table" WHERE "bronze"<5 AND "gold">0 AND "rank"='22';
2-18395096-1
What's the bronze count for South Africa (RSA) with a total more than 16?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("bronze") FROM "medal_table" WHERE "nation"='south africa (rsa)' AND "total">16;
2-18395096-1
What was the lowest election result for President Leonardo Marras with an area smaller than 227,063 people?
CREATE TABLE "provinces" ( "province" text, "inhabitants" real, "established" real, "president" text, "party" text, "election" real );
SELECT MIN("election") FROM "provinces" WHERE "president"='leonardo marras' AND "inhabitants"<'227,063';
2-18568417-3
What is the party affiliation for President Stefano Baccelli?
CREATE TABLE "provinces" ( "province" text, "inhabitants" real, "established" real, "president" text, "party" text, "election" real );
SELECT "party" FROM "provinces" WHERE "president"='stefano baccelli';
2-18568417-3
What is the average election result for the province of Grosseto from 1766 and prior?
CREATE TABLE "provinces" ( "province" text, "inhabitants" real, "established" real, "president" text, "party" text, "election" real );
SELECT AVG("election") FROM "provinces" WHERE "province"='grosseto' AND "established"<1766;
2-18568417-3
What is the total number of all bills co-sponsored associated with all amendments sponsored under 15, all bills sponsored of 6, and 0 amendments cosponsored?
CREATE TABLE "legislation_sponsored_by_john_mc_cain" ( "years_covered" text, "all_bills_sponsored" real, "all_amendments_sponsored" real, "all_bills_cosponsored" real, "all_amendments_cosponsored" real, "bills_originally_cosponsored" real, "amendments_originally_cosponsored" real );
SELECT COUNT("all_bills_cosponsored") FROM "legislation_sponsored_by_john_mc_cain" WHERE "all_amendments_sponsored"<15 AND "all_bills_sponsored"=6 AND "all_amendments_cosponsored"<0;
2-18852984-2
What is the fewest amendments sponsored associated with 150 bills originally cosponsored and over 247 bills cosponsored?
CREATE TABLE "legislation_sponsored_by_john_mc_cain" ( "years_covered" text, "all_bills_sponsored" real, "all_amendments_sponsored" real, "all_bills_cosponsored" real, "all_amendments_cosponsored" real, "bills_originally_cosponsored" real, "amendments_originally_cosponsored" real );
SELECT MIN("all_amendments_sponsored") FROM "legislation_sponsored_by_john_mc_cain" WHERE "bills_originally_cosponsored"=150 AND "all_bills_cosponsored">247;
2-18852984-2
What is the highest number of bills cosponsored associated with under 24 bills sponsored and under 16 amendments sponsored?
CREATE TABLE "legislation_sponsored_by_john_mc_cain" ( "years_covered" text, "all_bills_sponsored" real, "all_amendments_sponsored" real, "all_bills_cosponsored" real, "all_amendments_cosponsored" real, "bills_originally_cosponsored" real, "amendments_originally_cosponsored" real );
SELECT MAX("all_bills_cosponsored") FROM "legislation_sponsored_by_john_mc_cain" WHERE "all_bills_sponsored"<24 AND "all_amendments_sponsored"<16;
2-18852984-2
What is the highest number of amendments cosponsored associated with 53 amendments originally cosponsored and over 54 bills sponsored?
CREATE TABLE "legislation_sponsored_by_john_mc_cain" ( "years_covered" text, "all_bills_sponsored" real, "all_amendments_sponsored" real, "all_bills_cosponsored" real, "all_amendments_cosponsored" real, "bills_originally_cosponsored" real, "amendments_originally_cosponsored" real );
SELECT MAX("all_amendments_cosponsored") FROM "legislation_sponsored_by_john_mc_cain" WHERE "amendments_originally_cosponsored"=53 AND "all_bills_sponsored">54;
2-18852984-2
What is the number of bills sponsored associated with over 113 bills originally cosponsored and under 47 amendments cosponsored?
CREATE TABLE "legislation_sponsored_by_john_mc_cain" ( "years_covered" text, "all_bills_sponsored" real, "all_amendments_sponsored" real, "all_bills_cosponsored" real, "all_amendments_cosponsored" real, "bills_originally_cosponsored" real, "amendments_originally_cosponsored" real );
SELECT "all_bills_sponsored" FROM "legislation_sponsored_by_john_mc_cain" WHERE "bills_originally_cosponsored">113 AND "all_amendments_cosponsored"<47;
2-18852984-2
What is the Lane of the swimmer from Uzbekistan in Heat 1?
CREATE TABLE "heats" ( "heat" real, "lane" real, "name" text, "nationality" text, "time" text );
SELECT COUNT("lane") FROM "heats" WHERE "heat"=1 AND "nationality"='uzbekistan';
2-18624740-3
Which station has a frequency of 873khz?
CREATE TABLE "list_of_radio_stations_in_malaysia" ( "frequency" text, "station" text, "operator" text, "country_of_origin" text, "transmitter_location" text, "format" text );
SELECT "station" FROM "list_of_radio_stations_in_malaysia" WHERE "frequency"='873khz';
2-1837570-2
Where is the transmitter located for the station voice of vietnam
CREATE TABLE "list_of_radio_stations_in_malaysia" ( "frequency" text, "station" text, "operator" text, "country_of_origin" text, "transmitter_location" text, "format" text );
SELECT "transmitter_location" FROM "list_of_radio_stations_in_malaysia" WHERE "station"='voice of vietnam';
2-1837570-2
Which station is from China and has a frequency of 684khz?
CREATE TABLE "list_of_radio_stations_in_malaysia" ( "frequency" text, "station" text, "operator" text, "country_of_origin" text, "transmitter_location" text, "format" text );
SELECT "station" FROM "list_of_radio_stations_in_malaysia" WHERE "country_of_origin"='china' AND "frequency"='684khz';
2-1837570-2
Name the Tally of an Opposition of westmeath?
CREATE TABLE "single_game" ( "rank" real, "player" text, "county" text, "tally" text, "total" real, "opposition" text );
SELECT "tally" FROM "single_game" WHERE "opposition"='westmeath';
2-18937304-2
What is the horizontal bar score with a pommel horse of n/a, and the position is less than 27, and the parallel bars score is 15.800?
CREATE TABLE "individuals" ( "position" real, "gymnast" text, "floor" text, "pommel_horse" text, "rings" text, "vault" text, "parallel_bars" text, "horizontal_bar" text, "total" real );
SELECT "horizontal_bar" FROM "individuals" WHERE "pommel_horse"='n/a' AND "position"<27 AND "parallel_bars"='15.800';
2-18662026-10
What is the score of the floor when the position is less than 21, and less than 81.2 total, and the pommel horse score is 13.925?
CREATE TABLE "individuals" ( "position" real, "gymnast" text, "floor" text, "pommel_horse" text, "rings" text, "vault" text, "parallel_bars" text, "horizontal_bar" text, "total" real );
SELECT "floor" FROM "individuals" WHERE "position"<21 AND "total"<81.2 AND "pommel_horse"='13.925';
2-18662026-10
Who is the gymnast with a floor score of 14.800?
CREATE TABLE "individuals" ( "position" real, "gymnast" text, "floor" text, "pommel_horse" text, "rings" text, "vault" text, "parallel_bars" text, "horizontal_bar" text, "total" real );
SELECT "gymnast" FROM "individuals" WHERE "floor"='14.800';
2-18662026-10
What horizontal bar score also has a pommel horse score of 15.250?
CREATE TABLE "individuals" ( "position" real, "gymnast" text, "floor" text, "pommel_horse" text, "rings" text, "vault" text, "parallel_bars" text, "horizontal_bar" text, "total" real );
SELECT "horizontal_bar" FROM "individuals" WHERE "pommel_horse"='15.250';
2-18662026-10
With a parallel bars score of 14.625 what is the average total?
CREATE TABLE "individuals" ( "position" real, "gymnast" text, "floor" text, "pommel_horse" text, "rings" text, "vault" text, "parallel_bars" text, "horizontal_bar" text, "total" real );
SELECT AVG("total") FROM "individuals" WHERE "parallel_bars"='14.625';
2-18662026-10
What is the Rank of the Athletes with a Time of 3:43.491?
CREATE TABLE "heat_1" ( "rank" real, "athletes" text, "country" text, "time" text, "notes" text );
SELECT COUNT("rank") FROM "heat_1" WHERE "time"='3:43.491';
2-18646504-3
What are the Notes of the Athletes from Germany?
CREATE TABLE "heat_1" ( "rank" real, "athletes" text, "country" text, "time" text, "notes" text );
SELECT "notes" FROM "heat_1" WHERE "country"='germany';
2-18646504-3
What is the Rank of the Athletes from Ukraine?
CREATE TABLE "heat_1" ( "rank" real, "athletes" text, "country" text, "time" text, "notes" text );
SELECT COUNT("rank") FROM "heat_1" WHERE "country"='ukraine';
2-18646504-3
What location did Sherry Middaugh win in?
CREATE TABLE "winners" ( "event" text, "date" text, "location" text, "winning_skip" text, "runner_up_skip" text );
SELECT "location" FROM "winners" WHERE "winning_skip"='sherry middaugh';
2-18776133-4
What event did Patti Lank have the winning skip?
CREATE TABLE "winners" ( "event" text, "date" text, "location" text, "winning_skip" text, "runner_up_skip" text );
SELECT "event" FROM "winners" WHERE "winning_skip"='patti lank';
2-18776133-4
What date shows Binia Feltscher-Beeli as the runner-up skip?
CREATE TABLE "winners" ( "event" text, "date" text, "location" text, "winning_skip" text, "runner_up_skip" text );
SELECT "date" FROM "winners" WHERE "runner_up_skip"='binia feltscher-beeli';
2-18776133-4
What person was the runner-up skip when Julie Reddick was the winning skip?
CREATE TABLE "winners" ( "event" text, "date" text, "location" text, "winning_skip" text, "runner_up_skip" text );
SELECT "runner_up_skip" FROM "winners" WHERE "winning_skip"='julie reddick';
2-18776133-4
What's the Yellow fertility rate when Brazil is 0,43407?
CREATE TABLE "total_fertility_rate" ( "brazil_100pct" text, "white_47_73pct" text, "black_7_61pct" text, "yellow_1_09pct" text, "brown_multiracial_43_13pct" text, "indians_0_43pct" text );
SELECT "yellow_1_09pct" FROM "total_fertility_rate" WHERE "brazil_100pct"='0,43407';
2-18950570-3
What is the sum of the area in km with a population of 110 in 2011?
CREATE TABLE "list" ( "name" text, "type" text, "population_2011" real, "population_2006" real, "area_km_2" real );
SELECT SUM("area_km_2") FROM "list" WHERE "population_2011"=110;
2-18376479-1
What is the average population in 2006 that has more than 5 people in 2011 and an area 5.84km?
CREATE TABLE "list" ( "name" text, "type" text, "population_2011" real, "population_2006" real, "area_km_2" real );
SELECT AVG("population_2006") FROM "list" WHERE "population_2011">5 AND "area_km_2"=5.84;
2-18376479-1
What is the lowest lane with a 0.216 react?
CREATE TABLE "semifinal_2" ( "rank" real, "lane" real, "athlete" text, "nationality" text, "time" real, "react" real );
SELECT MIN("lane") FROM "semifinal_2" WHERE "react"=0.216;
2-18569105-10
What is the total rank for the lane before 2?
CREATE TABLE "semifinal_2" ( "rank" real, "lane" real, "athlete" text, "nationality" text, "time" real, "react" real );
SELECT SUM("rank") FROM "semifinal_2" WHERE "lane"<2;
2-18569105-10
What genre is the game from the year 2007?
CREATE TABLE "readers_choice" ( "year" real, "game" text, "genre" text, "platform_s" text, "developer_s" text );
SELECT "genre" FROM "readers_choice" WHERE "year"=2007;
2-1851722-36
What is the Game that came out before the year 2009 for the Playstation 3?
CREATE TABLE "readers_choice" ( "year" real, "game" text, "genre" text, "platform_s" text, "developer_s" text );
SELECT "game" FROM "readers_choice" WHERE "platform_s"='playstation 3' AND "year"<2009;
2-1851722-36
What is the earliest year that had the Legend of Zelda: Twilight Princess game?
CREATE TABLE "readers_choice" ( "year" real, "game" text, "genre" text, "platform_s" text, "developer_s" text );
SELECT MIN("year") FROM "readers_choice" WHERE "game"='the legend of zelda: twilight princess';
2-1851722-36
Who was the opponent on November 15, 1981?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "opponent" FROM "schedule" WHERE "date"='november 15, 1981';
2-18847715-2
Which Debut year has a Player of noel carroll, and Games smaller than 12?
CREATE TABLE "1950s" ( "debut_year" real, "player" text, "games" real, "goals" real, "years_at_club" text );
SELECT MAX("debut_year") FROM "1950s" WHERE "player"='noel carroll' AND "games"<12;
2-1893924-7
Which Goals have a Player of noel carroll?
CREATE TABLE "1950s" ( "debut_year" real, "player" text, "games" real, "goals" real, "years_at_club" text );
SELECT MIN("goals") FROM "1950s" WHERE "player"='noel carroll';
2-1893924-7
How many debut years have Years at club of 1950–1951, and Games larger than 14?
CREATE TABLE "1950s" ( "debut_year" real, "player" text, "games" real, "goals" real, "years_at_club" text );
SELECT SUM("debut_year") FROM "1950s" WHERE "years_at_club"='1950–1951' AND "games">14;
2-1893924-7
Which title has origianal sound entertainment as its label?
CREATE TABLE "greatest_hits_best_of_compilations" ( "title" text, "label" text, "year_of_release" real, "country_of_release" text, "peaches" text );
SELECT "title" FROM "greatest_hits_best_of_compilations" WHERE "label"='origianal sound entertainment';
2-1862179-2
What was the earliest year of release for Peaches: Francine Barker with the wounded bird label?
CREATE TABLE "greatest_hits_best_of_compilations" ( "title" text, "label" text, "year_of_release" real, "country_of_release" text, "peaches" text );
SELECT MIN("year_of_release") FROM "greatest_hits_best_of_compilations" WHERE "peaches"='francine barker' AND "label"='wounded bird';
2-1862179-2
What was the latest year of release for the greatest hits title?
CREATE TABLE "greatest_hits_best_of_compilations" ( "title" text, "label" text, "year_of_release" real, "country_of_release" text, "peaches" text );
SELECT MAX("year_of_release") FROM "greatest_hits_best_of_compilations" WHERE "title"='greatest hits';
2-1862179-2
When the country of release is EU, what is the label name?
CREATE TABLE "greatest_hits_best_of_compilations" ( "title" text, "label" text, "year_of_release" real, "country_of_release" text, "peaches" text );
SELECT "label" FROM "greatest_hits_best_of_compilations" WHERE "country_of_release"='eu';
2-1862179-2
what is the highest latitude when the township is kingsley and the geo id is higher than 3803942820?
CREATE TABLE "k" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" real, "water_sqmi" real, "latitude" real, "longitude" real, "geo_id" real, "ansi_code" real );
SELECT MAX("latitude") FROM "k" WHERE "township"='kingsley' AND "geo_id">3803942820;
2-18600760-11
what is the latitude when water (sqmi) is 0.058 and the ansi code is less than 1759683?
CREATE TABLE "k" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" real, "water_sqmi" real, "latitude" real, "longitude" real, "geo_id" real, "ansi_code" real );
SELECT AVG("latitude") FROM "k" WHERE "water_sqmi"=0.058 AND "ansi_code"<1759683;
2-18600760-11
what is the geo id when the longitude is -98.435797 and the land (sqmi) is less than 36.039?
CREATE TABLE "k" ( "township" text, "county" text, "pop_2010" real, "land_sqmi" real, "water_sqmi" real, "latitude" real, "longitude" real, "geo_id" real, "ansi_code" real );
SELECT MAX("geo_id") FROM "k" WHERE "longitude"=-98.435797 AND "land_sqmi"<36.039;
2-18600760-11
Name the lowest Year Joined which has a Mascot of pioneers?
CREATE TABLE "membership" ( "school" text, "location" text, "mascot" text, "enrollment" real, "ihsaa_class" text, "county" text, "year_joined" real, "previous_conference" text );
SELECT MIN("year_joined") FROM "membership" WHERE "mascot"='pioneers';
2-18792229-1
Name the IHSAA Class of Mascot of pioneers?
CREATE TABLE "membership" ( "school" text, "location" text, "mascot" text, "enrollment" real, "ihsaa_class" text, "county" text, "year_joined" real, "previous_conference" text );
SELECT "ihsaa_class" FROM "membership" WHERE "mascot"='pioneers';
2-18792229-1
Name the IHSAA Class of 55 morgan and a School of mooresville?
CREATE TABLE "membership" ( "school" text, "location" text, "mascot" text, "enrollment" real, "ihsaa_class" text, "county" text, "year_joined" real, "previous_conference" text );
SELECT "ihsaa_class" FROM "membership" WHERE "county"='55 morgan' AND "school"='mooresville';
2-18792229-1
where is Mascot of quakers?
CREATE TABLE "membership" ( "school" text, "location" text, "mascot" text, "enrollment" real, "ihsaa_class" text, "county" text, "year_joined" real, "previous_conference" text );
SELECT "location" FROM "membership" WHERE "mascot"='quakers';
2-18792229-1
What kind of IHSAA Class has a School of decatur central?
CREATE TABLE "membership" ( "school" text, "location" text, "mascot" text, "enrollment" real, "ihsaa_class" text, "county" text, "year_joined" real, "previous_conference" text );
SELECT "ihsaa_class" FROM "membership" WHERE "school"='decatur central';
2-18792229-1
What studio had the director Peter Lord Nick Park before 2004?
CREATE TABLE "2000s" ( "year" real, "title" text, "director" text, "studio_s" text, "notes" text );
SELECT "studio_s" FROM "2000s" WHERE "year"<2004 AND "director"='peter lord nick park';
2-18638934-3
What studio did Paul Greengrass direct in 2007?
CREATE TABLE "2000s" ( "year" real, "title" text, "director" text, "studio_s" text, "notes" text );
SELECT "studio_s" FROM "2000s" WHERE "year"=2007 AND "director"='paul greengrass';
2-18638934-3
What is the A score when the B score is more than 9.15 and the gymnast was in the 2nd position?
CREATE TABLE "parallel_bars_event_final_qualifiers" ( "position" text, "gymnast" text, "a_score" real, "b_score" real, "total" real );
SELECT SUM("a_score") FROM "parallel_bars_event_final_qualifiers" WHERE "b_score">9.15 AND "position"='2nd';
2-18662026-5
what is the quantity when the year of manufacture is 1900 and the class is mc?
CREATE TABLE "railbuses" ( "class" text, "railway_number_s" text, "quantity" real, "year_s_of_manufacture" text, "axle_arrangement_uic" text );
SELECT "quantity" FROM "railbuses" WHERE "year_s_of_manufacture"='1900' AND "class"='mc';
2-18843924-6
what is the class when the quantity is 4?
CREATE TABLE "railbuses" ( "class" text, "railway_number_s" text, "quantity" real, "year_s_of_manufacture" text, "axle_arrangement_uic" text );
SELECT "class" FROM "railbuses" WHERE "quantity"=4;
2-18843924-6
Who were the opponents on Week 8?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "opponent" FROM "schedule" WHERE "week"=8;
2-18733329-2
When the city is agadir what is the change (12/11)?
CREATE TABLE "2012_statistics_at_least_1_000_000_passe" ( "country" text, "airport" text, "city" text, "2012" real, "change_12_11" text );
SELECT "change_12_11" FROM "2012_statistics_at_least_1_000_000_passe" WHERE "city"='agadir';
2-18600121-1
What is the catalog number of Venus Demilo's A-side?
CREATE TABLE "singles" ( "year" real, "a_side" text, "b_side" text, "catalog_number" text, "label" text );
SELECT "catalog_number" FROM "singles" WHERE "a_side"='venus demilo';
2-1839489-10
What year did the B-Side of Just Squeeze Me come out?
CREATE TABLE "singles" ( "year" real, "a_side" text, "b_side" text, "catalog_number" text, "label" text );
SELECT "year" FROM "singles" WHERE "b_side"='just squeeze me';
2-1839489-10
What label has the 817 catalog?
CREATE TABLE "singles" ( "year" real, "a_side" text, "b_side" text, "catalog_number" text, "label" text );
SELECT "label" FROM "singles" WHERE "catalog_number"='817';
2-1839489-10
What is the A-side for it Never Entered My Mind, Part 2?
CREATE TABLE "singles" ( "year" real, "a_side" text, "b_side" text, "catalog_number" text, "label" text );
SELECT "a_side" FROM "singles" WHERE "b_side"='it never entered my mind, part 2';
2-1839489-10
What is the A-side for catalog 902?
CREATE TABLE "singles" ( "year" real, "a_side" text, "b_side" text, "catalog_number" text, "label" text );
SELECT "a_side" FROM "singles" WHERE "catalog_number"='902';
2-1839489-10
What is the class of the a1 bm type?
CREATE TABLE "railbuses" ( "class" text, "railway_number_s" text, "quantity" text, "year_s_of_manufacture" text, "type" text );
SELECT "class" FROM "railbuses" WHERE "type"='a1 bm';
2-18934662-10
What is the quantity of the aw class?
CREATE TABLE "railbuses" ( "class" text, "railway_number_s" text, "quantity" text, "year_s_of_manufacture" text, "type" text );
SELECT "quantity" FROM "railbuses" WHERE "class"='aw';
2-18934662-10
What is the class with 1 quantity?
CREATE TABLE "railbuses" ( "class" text, "railway_number_s" text, "quantity" text, "year_s_of_manufacture" text, "type" text );
SELECT "class" FROM "railbuses" WHERE "quantity"='1';
2-18934662-10
What is the railway number of the aw class?
CREATE TABLE "railbuses" ( "class" text, "railway_number_s" text, "quantity" text, "year_s_of_manufacture" text, "type" text );
SELECT "railway_number_s" FROM "railbuses" WHERE "class"='aw';
2-18934662-10
What was the game when the record was 31-15?
CREATE TABLE "game_log" ( "game" text, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text );
SELECT "game" FROM "game_log" WHERE "record"='31-15';
2-18493040-7
What was the date of the game with a score of W 106-100?
CREATE TABLE "game_log" ( "game" text, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text );
SELECT "date" FROM "game_log" WHERE "score"='w 106-100';
2-18493040-7
What is the speed for rank 1?
CREATE TABLE "twin_cylinder_race" ( "rank" text, "rider" text, "team" text, "speed" text, "time" text );
SELECT "speed" FROM "twin_cylinder_race" WHERE "rank"='1';
2-184455-2
What team has a Rank Ret, and rider Frank A Applebee?
CREATE TABLE "twin_cylinder_race" ( "rank" text, "rider" text, "team" text, "speed" text, "time" text );
SELECT "team" FROM "twin_cylinder_race" WHERE "rank"='ret' AND "rider"='frank a applebee';
2-184455-2
What internet explorer has 29.07% for the chrome?
CREATE TABLE "global_usage_share_data_from_get_clicky_" ( "period" text, "internet_explorer" text, "chrome" text, "firefox" text, "safari" text, "opera" text, "other_mozilla" text );
SELECT "internet_explorer" FROM "global_usage_share_data_from_get_clicky_" WHERE "chrome"='29.07%';
2-1876262-4
What is the other mozilla that has 9.41% for the safari?
CREATE TABLE "global_usage_share_data_from_get_clicky_" ( "period" text, "internet_explorer" text, "chrome" text, "firefox" text, "safari" text, "opera" text, "other_mozilla" text );
SELECT "other_mozilla" FROM "global_usage_share_data_from_get_clicky_" WHERE "safari"='9.41%';
2-1876262-4
What other mozilla has January 2010 as the period?
CREATE TABLE "global_usage_share_data_from_get_clicky_" ( "period" text, "internet_explorer" text, "chrome" text, "firefox" text, "safari" text, "opera" text, "other_mozilla" text );
SELECT "other_mozilla" FROM "global_usage_share_data_from_get_clicky_" WHERE "period"='january 2010';
2-1876262-4
What internet explorer has 7.89% as the safari, and 8.22% as the chrome?
CREATE TABLE "global_usage_share_data_from_get_clicky_" ( "period" text, "internet_explorer" text, "chrome" text, "firefox" text, "safari" text, "opera" text, "other_mozilla" text );
SELECT "internet_explorer" FROM "global_usage_share_data_from_get_clicky_" WHERE "safari"='7.89%' AND "chrome"='8.22%';
2-1876262-4
What period has 0.25% as the other mozilla?
CREATE TABLE "global_usage_share_data_from_get_clicky_" ( "period" text, "internet_explorer" text, "chrome" text, "firefox" text, "safari" text, "opera" text, "other_mozilla" text );
SELECT "period" FROM "global_usage_share_data_from_get_clicky_" WHERE "other_mozilla"='0.25%';
2-1876262-4
Which socket goes with the item with release price of $378 and turbo of 6/6/8/9?
CREATE TABLE "sandy_bridge_quad_core_32_nm" ( "model_number" text, "s_spec_number" text, "cores" text, "frequency" text, "turbo" text, "l2_cache" text, "l3_cache" text, "gpu_model" text, "gpu_frequency" text, "socket" text, "i_o_bus" text, "release_date" text, "part_number_s" text, "release_price_usd" text );
SELECT "socket" FROM "sandy_bridge_quad_core_32_nm" WHERE "release_price_usd"='$378' AND "turbo"='6/6/8/9';
2-18823880-13
What is the L2 cache for the core i7-2635QM?
CREATE TABLE "sandy_bridge_quad_core_32_nm" ( "model_number" text, "s_spec_number" text, "cores" text, "frequency" text, "turbo" text, "l2_cache" text, "l3_cache" text, "gpu_model" text, "gpu_frequency" text, "socket" text, "i_o_bus" text, "release_date" text, "part_number_s" text, "release_price_usd" text );
SELECT "l2_cache" FROM "sandy_bridge_quad_core_32_nm" WHERE "model_number"='core i7-2635qm';
2-18823880-13