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 record setting time in the 800m freestyle?
CREATE TABLE "men" ( "event" text, "time" text, "nationality" text, "date" text, "meet" text, "location" text );
SELECT "time" FROM "men" WHERE "event"='800m freestyle';
2-18971080-1
What is the least rank for the premier that assumed office on 17 may 1919 and was in office for 7 years, 335 days?
CREATE TABLE "historical_premiers" ( "rank" real, "state" text, "premier" text, "party" text, "assumed_office" text, "left_office" text, "total_time_in_office" text );
SELECT MIN("rank") FROM "historical_premiers" WHERE "total_time_in_office"='7 years, 335 days' AND "assumed_office"='17 may 1919';
2-18651728-2
Premier Sir Charles Cowper (1807-1875) KCMG left office 2 October 1856, when did he assume office?
CREATE TABLE "historical_premiers" ( "rank" real, "state" text, "premier" text, "party" text, "assumed_office" text, "left_office" text, "total_time_in_office" text );
SELECT "assumed_office" FROM "historical_premiers" WHERE "premier"='sir charles cowper (1807-1875) kcmg' AND "left_office"='2 october 1856';
2-18651728-2
What average rank of the premier has NSW as the state, Liberalism as the party, and 22 March 1877 was the assumed office?
CREATE TABLE "historical_premiers" ( "rank" real, "state" text, "premier" text, "party" text, "assumed_office" text, "left_office" text, "total_time_in_office" text );
SELECT AVG("rank") FROM "historical_premiers" WHERE "state"='nsw' AND "party"='liberalism' AND "assumed_office"='22 march 1877';
2-18651728-2
What power has A as the class, and 93.7 as the frequency?
CREATE TABLE "s_rebroadcaster_of_cbon_fm" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );
SELECT "power" FROM "s_rebroadcaster_of_cbon_fm" WHERE "class"='a' AND "frequency"='93.7';
2-1873286-1
What city of license has cbon-fm-11 as the identifier?
CREATE TABLE "s_rebroadcaster_of_cbon_fm" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );
SELECT "city_of_license" FROM "s_rebroadcaster_of_cbon_fm" WHERE "identifier"='cbon-fm-11';
2-1873286-1
What power has thunder bay as the city of license?
CREATE TABLE "s_rebroadcaster_of_cbon_fm" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );
SELECT "power" FROM "s_rebroadcaster_of_cbon_fm" WHERE "city_of_license"='thunder bay';
2-1873286-1
What identifier has 100000 watts as the power?
CREATE TABLE "s_rebroadcaster_of_cbon_fm" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );
SELECT "identifier" FROM "s_rebroadcaster_of_cbon_fm" WHERE "power"='100000 watts';
2-1873286-1
What identifier has 90.3 as the frequency?
CREATE TABLE "s_rebroadcaster_of_cbon_fm" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );
SELECT "identifier" FROM "s_rebroadcaster_of_cbon_fm" WHERE "frequency"='90.3';
2-1873286-1
What class has cbon-fm-23 as the identifier?
CREATE TABLE "s_rebroadcaster_of_cbon_fm" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );
SELECT "class" FROM "s_rebroadcaster_of_cbon_fm" WHERE "identifier"='cbon-fm-23';
2-1873286-1
What is the total number of medals for West Germany with more than 1 bronze medal and more than 2 gold medals?
CREATE TABLE "medals_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("total") FROM "medals_table" WHERE "bronze">1 AND "nation"='west germany' AND "gold">2;
2-18527162-4
What is Denmark's rank?
CREATE TABLE "medals_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT "rank" FROM "medals_table" WHERE "nation"='denmark';
2-18527162-4
What country did ekaterina karsten row for with fa listed under notes?
CREATE TABLE "semifinal_a_b_2" ( "rank" real, "athlete" text, "country" text, "time" text, "notes" text );
SELECT "country" FROM "semifinal_a_b_2" WHERE "notes"='fa' AND "athlete"='ekaterina karsten';
2-18662695-15
What time was the race for the country of france?
CREATE TABLE "semifinal_a_b_2" ( "rank" real, "athlete" text, "country" text, "time" text, "notes" text );
SELECT "time" FROM "semifinal_a_b_2" WHERE "country"='france';
2-18662695-15
What time was the race for the country of france with fb listed under notes?
CREATE TABLE "semifinal_a_b_2" ( "rank" real, "athlete" text, "country" text, "time" text, "notes" text );
SELECT "time" FROM "semifinal_a_b_2" WHERE "notes"='fb' AND "country"='france';
2-18662695-15
What is the sum of the ranks for bulgaria?
CREATE TABLE "semifinal_a_b_2" ( "rank" real, "athlete" text, "country" text, "time" text, "notes" text );
SELECT SUM("rank") FROM "semifinal_a_b_2" WHERE "country"='bulgaria';
2-18662695-15
What is the rank of the new zealand team that had fb listed under notes?
CREATE TABLE "semifinal_a_b_2" ( "rank" real, "athlete" text, "country" text, "time" text, "notes" text );
SELECT "rank" FROM "semifinal_a_b_2" WHERE "notes"='fb' AND "country"='new zealand';
2-18662695-15
Which Position has a Pick of 74?
CREATE TABLE "tenth_round" ( "pick" real, "team" text, "player" text, "position" text, "college" text );
SELECT "position" FROM "tenth_round" WHERE "pick"=74;
2-18652198-10
Which Team has a Position of linebacker?
CREATE TABLE "tenth_round" ( "pick" real, "team" text, "player" text, "position" text, "college" text );
SELECT "team" FROM "tenth_round" WHERE "position"='linebacker';
2-18652198-10
What is the Team for Stanford College?
CREATE TABLE "tenth_round" ( "pick" real, "team" text, "player" text, "position" text, "college" text );
SELECT "team" FROM "tenth_round" WHERE "college"='stanford';
2-18652198-10
What Pick does the College Southeastern Louisiana have?
CREATE TABLE "tenth_round" ( "pick" real, "team" text, "player" text, "position" text, "college" text );
SELECT "pick" FROM "tenth_round" WHERE "college"='southeastern louisiana';
2-18652198-10
Can you tell me the Gold that has the Total larger than 2, and the Bronze smaller than 1?
CREATE TABLE "paracanoe" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT "gold" FROM "paracanoe" WHERE "total">2 AND "bronze"<1;
2-18771517-7
Can you tell me the Nation that has the Bronze of 1, and the Gold of 0?
CREATE TABLE "paracanoe" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT "nation" FROM "paracanoe" WHERE "bronze"=1 AND "gold"=0;
2-18771517-7
Can you tell me the average Total that has the Silver larger than 1, and the Bronze smaller than 8?
CREATE TABLE "paracanoe" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("total") FROM "paracanoe" WHERE "silver">1 AND "bronze"<8;
2-18771517-7
What was the highest number of bronze medals when there were a total of 4 medals, 1 silver medals, and less than 2 medals?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("bronze") FROM "medal_table" WHERE "total"=4 AND "silver"=1 AND "gold"<2;
2-18700993-1
Count the Pommel Horse that has Rings smaller than 59.85 and a Team Total larger than 361.2?
CREATE TABLE "top_8_teams_qualified_for_team_finals" ( "position" text, "country" text, "floor" real, "pommel_horse" real, "rings" real, "vault" real, "parallel_bars" real, "horizontal_bar" real, "team_total" real );
SELECT SUM("pommel_horse") FROM "top_8_teams_qualified_for_team_finals" WHERE "rings"<59.85 AND "team_total">361.2;
2-18662026-1
Name the highest Parallel Bars of the united states with a Vault smaller than 63.85?
CREATE TABLE "top_8_teams_qualified_for_team_finals" ( "position" text, "country" text, "floor" real, "pommel_horse" real, "rings" real, "vault" real, "parallel_bars" real, "horizontal_bar" real, "team_total" real );
SELECT MAX("parallel_bars") FROM "top_8_teams_qualified_for_team_finals" WHERE "country"='united states' AND "vault"<63.85;
2-18662026-1
Name the highest Horizontal Bar which is in france and Rings smaller than 58.975?
CREATE TABLE "top_8_teams_qualified_for_team_finals" ( "position" text, "country" text, "floor" real, "pommel_horse" real, "rings" real, "vault" real, "parallel_bars" real, "horizontal_bar" real, "team_total" real );
SELECT MAX("horizontal_bar") FROM "top_8_teams_qualified_for_team_finals" WHERE "country"='france' AND "rings"<58.975;
2-18662026-1
who is the artist when the televote/sms is 3.20%?
CREATE TABLE "final_february_21_2009" ( "draw" real, "artist" text, "song" text, "televote_sms" text, "place" real );
SELECT "artist" FROM "final_february_21_2009" WHERE "televote_sms"='3.20%';
2-18593648-14
what is the place when the televote/sms is 2.39%?
CREATE TABLE "final_february_21_2009" ( "draw" real, "artist" text, "song" text, "televote_sms" text, "place" real );
SELECT SUM("place") FROM "final_february_21_2009" WHERE "televote_sms"='2.39%';
2-18593648-14
how many times was the televote/sms 2.39% and the place more than 9?
CREATE TABLE "final_february_21_2009" ( "draw" real, "artist" text, "song" text, "televote_sms" text, "place" real );
SELECT COUNT("draw") FROM "final_february_21_2009" WHERE "televote_sms"='2.39%' AND "place">9;
2-18593648-14
Which Release date has a Production Num larger than 5888, and a Director of hugh harman and friz freleng?
CREATE TABLE "1933" ( "title" text, "series" text, "director" text, "production_num" real, "release_date" text );
SELECT "release_date" FROM "1933" WHERE "production_num">5888 AND "director"='hugh harman and friz freleng';
2-18792938-4
How many production numbers have a Title of bosko in dutch?
CREATE TABLE "1933" ( "title" text, "series" text, "director" text, "production_num" real, "release_date" text );
SELECT SUM("production_num") FROM "1933" WHERE "title"='bosko in dutch';
2-18792938-4
Which Release date has a Director of tom palmer, and a Production Num larger than 5956?
CREATE TABLE "1933" ( "title" text, "series" text, "director" text, "production_num" real, "release_date" text );
SELECT "release_date" FROM "1933" WHERE "director"='tom palmer' AND "production_num">5956;
2-18792938-4
How many Goals have Years at club of 1961–1966, and a Debut year larger than 1961?
CREATE TABLE "1960s" ( "debut_year" real, "player" text, "games" real, "goals" real, "years_at_club" text );
SELECT COUNT("goals") FROM "1960s" WHERE "years_at_club"='1961–1966' AND "debut_year">1961;
2-1893924-8
Which Debut year has Goals of 0, and Years at club of 1963, and Games larger than 5?
CREATE TABLE "1960s" ( "debut_year" real, "player" text, "games" real, "goals" real, "years_at_club" text );
SELECT AVG("debut_year") FROM "1960s" WHERE "goals"=0 AND "years_at_club"='1963' AND "games">5;
2-1893924-8
Which Debut year has a Player of bob hayton, and Games smaller than 2?
CREATE TABLE "1960s" ( "debut_year" real, "player" text, "games" real, "goals" real, "years_at_club" text );
SELECT AVG("debut_year") FROM "1960s" WHERE "player"='bob hayton' AND "games"<2;
2-1893924-8
What is the name of the player who competed in the Women's Individual Class 3 in Table Tennis?
CREATE TABLE "medallists" ( "medal" text, "name" text, "sport" text, "event" text, "date" text );
SELECT "name" FROM "medallists" WHERE "sport"='table tennis' AND "event"='women''s individual class 3';
2-18603257-1
What was the date of the Women's Individual Class 3?
CREATE TABLE "medallists" ( "medal" text, "name" text, "sport" text, "event" text, "date" text );
SELECT "date" FROM "medallists" WHERE "event"='women''s individual class 3';
2-18603257-1
What event did Rastislav Turecek participate in?
CREATE TABLE "medallists" ( "medal" text, "name" text, "sport" text, "event" text, "date" text );
SELECT "event" FROM "medallists" WHERE "name"='rastislav turecek';
2-18603257-1
What sport did Miroslav Jambor Richard Csejtey participate in?
CREATE TABLE "medallists" ( "medal" text, "name" text, "sport" text, "event" text, "date" text );
SELECT "sport" FROM "medallists" WHERE "name"='miroslav jambor richard csejtey';
2-18603257-1
Which Artist has a Draw of 6?
CREATE TABLE "results" ( "draw" real, "language" text, "artist" text, "song" text, "english_translation" text, "place" real, "points" real );
SELECT "artist" FROM "results" WHERE "draw"=6;
2-185701-2
Which Song has a Draw smaller than 7, and Points larger than 41, and a Language of german?
CREATE TABLE "results" ( "draw" real, "language" text, "artist" text, "song" text, "english_translation" text, "place" real, "points" real );
SELECT "song" FROM "results" WHERE "draw"<7 AND "points">41 AND "language"='german';
2-185701-2
What was the result for the years after 2001?
CREATE TABLE "bmi_awards" ( "year" real, "category" text, "nominee_s" text, "episode" text, "result" text );
SELECT "result" FROM "bmi_awards" WHERE "year">2001;
2-18540176-6
Who was the nominee for 2005?
CREATE TABLE "bmi_awards" ( "year" real, "category" text, "nominee_s" text, "episode" text, "result" text );
SELECT "nominee_s" FROM "bmi_awards" WHERE "year"=2005;
2-18540176-6
what is the gp-gs when the receptions is more than 4, long is 55 and avg/g is 151?
CREATE TABLE "receiving" ( "name" text, "gp_gs" text, "receptions" real, "long" real, "avg_g" real );
SELECT "gp_gs" FROM "receiving" WHERE "receptions">4 AND "long"=55 AND "avg_g"=151;
2-18830588-40
what is the name when avg/g is 13.7?
CREATE TABLE "receiving" ( "name" text, "gp_gs" text, "receptions" real, "long" real, "avg_g" real );
SELECT "name" FROM "receiving" WHERE "avg_g"=13.7;
2-18830588-40
How many times is avg/g 2?
CREATE TABLE "receiving" ( "name" text, "gp_gs" text, "receptions" real, "long" real, "avg_g" real );
SELECT COUNT("receptions") FROM "receiving" WHERE "avg_g"=2;
2-18830588-40
what is the avg/g for john conner when long is less than 25?
CREATE TABLE "receiving" ( "name" text, "gp_gs" text, "receptions" real, "long" real, "avg_g" real );
SELECT SUM("avg_g") FROM "receiving" WHERE "name"='john conner' AND "long"<25;
2-18830588-40
What conference did the player originally from the denver broncos play in?
CREATE TABLE "notable_undrafted_players" ( "original_nfl_team" text, "player" text, "pos" text, "college" text, "conf" text );
SELECT "conf" FROM "notable_undrafted_players" WHERE "original_nfl_team"='denver broncos';
2-18652117-2
Who was the player from texas southern?
CREATE TABLE "notable_undrafted_players" ( "original_nfl_team" text, "player" text, "pos" text, "college" text, "conf" text );
SELECT "player" FROM "notable_undrafted_players" WHERE "college"='texas southern';
2-18652117-2
What conference did the player with the position of rb play in?
CREATE TABLE "notable_undrafted_players" ( "original_nfl_team" text, "player" text, "pos" text, "college" text, "conf" text );
SELECT "conf" FROM "notable_undrafted_players" WHERE "pos"='rb';
2-18652117-2
What was the original nfl team that the player was in from the midwestern conference?
CREATE TABLE "notable_undrafted_players" ( "original_nfl_team" text, "player" text, "pos" text, "college" text, "conf" text );
SELECT "original_nfl_team" FROM "notable_undrafted_players" WHERE "conf"='midwestern';
2-18652117-2
What position did athlete play from Tennessee state?
CREATE TABLE "notable_undrafted_players" ( "original_nfl_team" text, "player" text, "pos" text, "college" text, "conf" text );
SELECT "pos" FROM "notable_undrafted_players" WHERE "college"='tennessee state';
2-18652117-2
Which Affected area codes have an Effective date of august 30, 2014?
CREATE TABLE "see_also" ( "new_area_code" real, "where" text, "affected_area_codes" text, "format" text, "effective_date" text );
SELECT "affected_area_codes" FROM "see_also" WHERE "effective_date"='august 30, 2014';
2-18504368-1
Which Effective date has a Where of illinois, and Affected area codes of 217?
CREATE TABLE "see_also" ( "new_area_code" real, "where" text, "affected_area_codes" text, "format" text, "effective_date" text );
SELECT "effective_date" FROM "see_also" WHERE "where"='illinois' AND "affected_area_codes"='217';
2-18504368-1
Which New area code is in nevada?
CREATE TABLE "see_also" ( "new_area_code" real, "where" text, "affected_area_codes" text, "format" text, "effective_date" text );
SELECT "new_area_code" FROM "see_also" WHERE "where"='nevada';
2-18504368-1
Which Airing date has a Number of episodes larger than 20, and a Genre of modern drama?
CREATE TABLE "first_line_series" ( "airing_date" text, "english_title_chinese_title" text, "number_of_episodes" real, "theme_song_t_sub_theme_song_st" text, "genre" text );
SELECT "airing_date" FROM "first_line_series" WHERE "number_of_episodes">20 AND "genre"='modern drama';
2-18545645-1
Which Genre has an English title (Chinese title) of the romance of the white hair maiden 白髮魔女傳?
CREATE TABLE "first_line_series" ( "airing_date" text, "english_title_chinese_title" text, "number_of_episodes" real, "theme_song_t_sub_theme_song_st" text, "genre" text );
SELECT "genre" FROM "first_line_series" WHERE "english_title_chinese_title"='the romance of the white hair maiden 白髮魔女傳';
2-18545645-1
who is the grand finalist when the grand finalists are jonathan loh, peterson poon, nathan santos?
CREATE TABLE "past_champions_and_grand_finalists" ( "year" real, "champion" text, "grand_finalist" text, "champion_team_members" text, "grand_finalists" text );
SELECT "grand_finalist" FROM "past_champions_and_grand_finalists" WHERE "grand_finalists"='jonathan loh, peterson poon, nathan santos';
2-18781466-1
what is the earliest year when the champion team members are charisse borromeo, jennifer ong, larissa co?
CREATE TABLE "past_champions_and_grand_finalists" ( "year" real, "champion" text, "grand_finalist" text, "champion_team_members" text, "grand_finalists" text );
SELECT MIN("year") FROM "past_champions_and_grand_finalists" WHERE "champion_team_members"='charisse borromeo, jennifer ong, larissa co';
2-18781466-1
what is the year when the champion team members are mikee de vega, jari monteagudo, crissy aquino?
CREATE TABLE "past_champions_and_grand_finalists" ( "year" real, "champion" text, "grand_finalist" text, "champion_team_members" text, "grand_finalists" text );
SELECT "year" FROM "past_champions_and_grand_finalists" WHERE "champion_team_members"='mikee de vega, jari monteagudo, crissy aquino';
2-18781466-1
who are the grand finalists when the champion team members are miko biscocho, claude gomez, mikee victoriano?
CREATE TABLE "past_champions_and_grand_finalists" ( "year" real, "champion" text, "grand_finalist" text, "champion_team_members" text, "grand_finalists" text );
SELECT "grand_finalists" FROM "past_champions_and_grand_finalists" WHERE "champion_team_members"='miko biscocho, claude gomez, mikee victoriano';
2-18781466-1
What is the highest total number of medals for a team ranked smaller than 1 and had 20 gold medals?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("total") FROM "medal_table" WHERE "gold"=20 AND "rank"<1;
2-18564507-1
What is the nation that had more than 1 gold medal and a total of 62 medals?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT "nation" FROM "medal_table" WHERE "gold">1 AND "total"=62;
2-18564507-1
What is the highest total medals when there were 0 gold medals and 1 silver?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("total") FROM "medal_table" WHERE "silver"=1 AND "gold"<0;
2-18564507-1
What's the 123kg of the Total world record?
CREATE TABLE "records" ( "world_record" text, "snatch" text, "oksana_slivenko_rus" text, "123kg" text, "santo_domingo_dominican" text );
SELECT "123kg" FROM "records" WHERE "world_record"='total';
2-18588862-2
What's the world record when the 123kg was 275kg?
CREATE TABLE "records" ( "world_record" text, "snatch" text, "oksana_slivenko_rus" text, "123kg" text, "santo_domingo_dominican" text );
SELECT "world_record" FROM "records" WHERE "123kg"='275kg';
2-18588862-2
What is the name for the assembly segment with a constituency number of 214?
CREATE TABLE "assembly_segments" ( "constituency_number" text, "name" text, "reserved_for_sc_st_none" text, "district" text, "number_of_electorates_2009" real );
SELECT "name" FROM "assembly_segments" WHERE "constituency_number"='214';
2-18517979-1
What district has an assembly segment named mahidpur?
CREATE TABLE "assembly_segments" ( "constituency_number" text, "name" text, "reserved_for_sc_st_none" text, "district" text, "number_of_electorates_2009" real );
SELECT "district" FROM "assembly_segments" WHERE "name"='mahidpur';
2-18517979-1
Who is Doug Basham's team?
CREATE TABLE "results" ( "elimination" text, "wrestler" text, "team" text, "eliminated_by" text, "elimination_move" text, "time" text );
SELECT "team" FROM "results" WHERE "wrestler"='doug basham';
2-18709785-2
What's Jorge Santana's elimination?
CREATE TABLE "results" ( "elimination" text, "wrestler" text, "team" text, "eliminated_by" text, "elimination_move" text, "time" text );
SELECT "elimination" FROM "results" WHERE "wrestler"='jorge santana';
2-18709785-2
Who's the wrestler with an elimination of 1?
CREATE TABLE "results" ( "elimination" text, "wrestler" text, "team" text, "eliminated_by" text, "elimination_move" text, "time" text );
SELECT "wrestler" FROM "results" WHERE "elimination"='1';
2-18709785-2
Who's the eliminated by when the elimination was 1?
CREATE TABLE "results" ( "elimination" text, "wrestler" text, "team" text, "eliminated_by" text, "elimination_move" text, "time" text );
SELECT "eliminated_by" FROM "results" WHERE "elimination"='1';
2-18709785-2
What is the date where the result was L 27-10 in a week before week 9?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "date" FROM "schedule" WHERE "week"<9 AND "result"='l 27-10';
2-18908278-2
What sum of draw had more than 22 in Jury and a Televote of 130?
CREATE TABLE "nationaal_songfestival_2009_1_february_2" ( "draw" real, "song" text, "jury" real, "televote" real, "total" real, "place" text );
SELECT SUM("draw") FROM "nationaal_songfestival_2009_1_february_2" WHERE "jury">22 AND "televote"=130;
2-18633729-1
What is the total of the jury that is 2nd place and the total is larger than 190?
CREATE TABLE "nationaal_songfestival_2009_1_february_2" ( "draw" real, "song" text, "jury" real, "televote" real, "total" real, "place" text );
SELECT SUM("jury") FROM "nationaal_songfestival_2009_1_february_2" WHERE "place"='2nd' AND "total">190;
2-18633729-1
What's the average L/km combines when the L/100km Urban is 13.9, the mpg-UK combined is more than 28.5 and the mpg-UK extra urban is less than 38.7?
CREATE TABLE "see_also" ( "manufacturer" text, "transmission" text, "engine_capacity" real, "fuel_type" text, "l_100km_urban_cold" real, "l_100km_extra_urban" real, "l_100km_combined" real, "mpg_uk_urban_cold" real, "mpg_uk_extra_urban" real, "mpg_uk_combined" real, "mpg_us_urban" real, "mpg_us_extra_urban" real, "mpg_us_combined" real, "co_2_g_km" real, "green_rating" text );
SELECT AVG("l_100km_combined") FROM "see_also" WHERE "l_100km_urban_cold"=13.9 AND "mpg_uk_combined">28.5 AND "mpg_uk_extra_urban"<38.7;
2-18869502-1
What's the least mpg-UK combined when the mpg-UK urban is 25.4, the L/100km extra urban is less than 6.9 and the L/100km urban is more than 11.1?
CREATE TABLE "see_also" ( "manufacturer" text, "transmission" text, "engine_capacity" real, "fuel_type" text, "l_100km_urban_cold" real, "l_100km_extra_urban" real, "l_100km_combined" real, "mpg_uk_urban_cold" real, "mpg_uk_extra_urban" real, "mpg_uk_combined" real, "mpg_us_urban" real, "mpg_us_extra_urban" real, "mpg_us_combined" real, "co_2_g_km" real, "green_rating" text );
SELECT MIN("mpg_uk_combined") FROM "see_also" WHERE "mpg_uk_urban_cold"=25.4 AND "l_100km_extra_urban"<6.9 AND "l_100km_urban_cold">11.1;
2-18869502-1
What's the CO2 g/km of a Fiat running on diesel with the L/100km urban more than 6.3 and an mpg-UK combined of 43.5?
CREATE TABLE "see_also" ( "manufacturer" text, "transmission" text, "engine_capacity" real, "fuel_type" text, "l_100km_urban_cold" real, "l_100km_extra_urban" real, "l_100km_combined" real, "mpg_uk_urban_cold" real, "mpg_uk_extra_urban" real, "mpg_uk_combined" real, "mpg_us_urban" real, "mpg_us_extra_urban" real, "mpg_us_combined" real, "co_2_g_km" real, "green_rating" text );
SELECT COUNT("co_2_g_km") FROM "see_also" WHERE "fuel_type"='diesel' AND "manufacturer"='fiat' AND "l_100km_urban_cold">6.3 AND "mpg_uk_combined"=43.5;
2-18869502-1
What's the total L/100km extra urban fueled by diesel, when the mpg-UK combines is more than 19.2, mpg-US is less than 50 and the L/100m combined is less than 5.7?
CREATE TABLE "see_also" ( "manufacturer" text, "transmission" text, "engine_capacity" real, "fuel_type" text, "l_100km_urban_cold" real, "l_100km_extra_urban" real, "l_100km_combined" real, "mpg_uk_urban_cold" real, "mpg_uk_extra_urban" real, "mpg_uk_combined" real, "mpg_us_urban" real, "mpg_us_extra_urban" real, "mpg_us_combined" real, "co_2_g_km" real, "green_rating" text );
SELECT COUNT("l_100km_extra_urban") FROM "see_also" WHERE "mpg_uk_combined">19.2 AND "l_100km_combined"<5.7 AND "fuel_type"='diesel' AND "mpg_us_combined"<50;
2-18869502-1
What's the engine capacity when the mpg-UK urban is less than 12.2, the mpg-UK extra urban is less than 18.8 and the mpg-US turban is less than 7.2?
CREATE TABLE "see_also" ( "manufacturer" text, "transmission" text, "engine_capacity" real, "fuel_type" text, "l_100km_urban_cold" real, "l_100km_extra_urban" real, "l_100km_combined" real, "mpg_uk_urban_cold" real, "mpg_uk_extra_urban" real, "mpg_uk_combined" real, "mpg_us_urban" real, "mpg_us_extra_urban" real, "mpg_us_combined" real, "co_2_g_km" real, "green_rating" text );
SELECT SUM("engine_capacity") FROM "see_also" WHERE "mpg_uk_urban_cold"<12.2 AND "mpg_uk_extra_urban"<18.8 AND "mpg_us_urban"<7.2;
2-18869502-1
What's the mpg-US urban when the mpg-UK urban is 20 and the mpg-UK extra urban is less than 37.2?
CREATE TABLE "see_also" ( "manufacturer" text, "transmission" text, "engine_capacity" real, "fuel_type" text, "l_100km_urban_cold" real, "l_100km_extra_urban" real, "l_100km_combined" real, "mpg_uk_urban_cold" real, "mpg_uk_extra_urban" real, "mpg_uk_combined" real, "mpg_us_urban" real, "mpg_us_extra_urban" real, "mpg_us_combined" real, "co_2_g_km" real, "green_rating" text );
SELECT SUM("mpg_us_urban") FROM "see_also" WHERE "mpg_uk_urban_cold"=20 AND "mpg_uk_extra_urban"<37.2;
2-18869502-1
What was the score on 2010-07-13 when Abby wambach had the assist/pass?
CREATE TABLE "international_goals" ( "date" text, "location" text, "lineup" text, "assist_pass" text, "score" text, "result" text, "competition" text );
SELECT "score" FROM "international_goals" WHERE "assist_pass"='abby wambach' AND "date"='2010-07-13';
2-18703801-2
What is the location on 2008-06-17 when the lineup was start?
CREATE TABLE "international_goals" ( "date" text, "location" text, "lineup" text, "assist_pass" text, "score" text, "result" text, "competition" text );
SELECT "location" FROM "international_goals" WHERE "lineup"='start' AND "date"='2008-06-17';
2-18703801-2
What is the assist/pass on 2008-01-16 when the score was 2-0?
CREATE TABLE "international_goals" ( "date" text, "location" text, "lineup" text, "assist_pass" text, "score" text, "result" text, "competition" text );
SELECT "assist_pass" FROM "international_goals" WHERE "date"='2008-01-16' AND "score"='2-0';
2-18703801-2
What is the result at match reports?
CREATE TABLE "international_goals" ( "date" text, "location" text, "lineup" text, "assist_pass" text, "score" text, "result" text, "competition" text );
SELECT "result" FROM "international_goals" WHERE "location"='match reports';
2-18703801-2
What's the points if the goals against were 222?
CREATE TABLE "regular_season" ( "season" text, "games" text, "lost" text, "tied" text, "points" text, "goals_for" text, "goals_against" text, "standing" text );
SELECT "points" FROM "regular_season" WHERE "goals_against"='222';
2-1888192-1
What are the points if the goals against were 260?
CREATE TABLE "regular_season" ( "season" text, "games" text, "lost" text, "tied" text, "points" text, "goals_for" text, "goals_against" text, "standing" text );
SELECT "points" FROM "regular_season" WHERE "goals_against"='260';
2-1888192-1
What are the games with an Involuntary suspension of Season (hurricane Rita)?
CREATE TABLE "regular_season" ( "season" text, "games" text, "lost" text, "tied" text, "points" text, "goals_for" text, "goals_against" text, "standing" text );
SELECT "games" FROM "regular_season" WHERE "standing"='involuntary suspension of season (hurricane rita)';
2-1888192-1
What are the goals for a lost of Involuntary suspension of Season (hurricane Rita)?
CREATE TABLE "regular_season" ( "season" text, "games" text, "lost" text, "tied" text, "points" text, "goals_for" text, "goals_against" text, "standing" text );
SELECT "goals_for" FROM "regular_season" WHERE "lost"='involuntary suspension of season (hurricane rita)';
2-1888192-1
What's the season that had a lost of 9 with 72 games?
CREATE TABLE "regular_season" ( "season" text, "games" text, "lost" text, "tied" text, "points" text, "goals_for" text, "goals_against" text, "standing" text );
SELECT "season" FROM "regular_season" WHERE "games"='72' AND "lost"='9';
2-1888192-1
What event did he compete in at Taipei?
CREATE TABLE "top_8_appearances" ( "season" text, "event_type" text, "location" text, "format" text, "date" text, "rank" real );
SELECT "format" FROM "top_8_appearances" WHERE "location"='taipei';
2-18576668-1
In what season did he compete in the Grand Prix in Kuala Lumpur?
CREATE TABLE "top_8_appearances" ( "season" text, "event_type" text, "location" text, "format" text, "date" text, "rank" real );
SELECT "season" FROM "top_8_appearances" WHERE "event_type"='grand prix' AND "location"='kuala lumpur';
2-18576668-1
What is the position of the player with a pick less than 3 from team san diego?
CREATE TABLE "first_round" ( "pick" real, "team" text, "player" text, "position" text, "college" text );
SELECT "position" FROM "first_round" WHERE "pick"<3 AND "team"='san diego';
2-18636608-1
What location did david mccann receive a siver and morgan fox win the gold?
CREATE TABLE "elite_men" ( "year" text, "location" text, "gold" text, "silver" text, "bronze" text );
SELECT "location" FROM "elite_men" WHERE "silver"='david mccann' AND "gold"='morgan fox';
2-18463682-2
Who received the bronze in 2011?
CREATE TABLE "elite_men" ( "year" text, "location" text, "gold" text, "silver" text, "bronze" text );
SELECT "bronze" FROM "elite_men" WHERE "year"='2011';
2-18463682-2
Who received the silver in 2006?
CREATE TABLE "elite_men" ( "year" text, "location" text, "gold" text, "silver" text, "bronze" text );
SELECT "silver" FROM "elite_men" WHERE "year"='2006';
2-18463682-2
What is the name for the club Liaoning in 2008?
CREATE TABLE "volleyball_at_the_2008_summer_olympics_m" ( "name" text, "height" text, "weight" text, "spike" text, "2008_club" text );
SELECT "name" FROM "volleyball_at_the_2008_summer_olympics_m" WHERE "2008_club"='liaoning';
2-18499677-2
What was the spike for the Army Club in 2008?
CREATE TABLE "volleyball_at_the_2008_summer_olympics_m" ( "name" text, "height" text, "weight" text, "spike" text, "2008_club" text );
SELECT "spike" FROM "volleyball_at_the_2008_summer_olympics_m" WHERE "2008_club"='army';
2-18499677-2