question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What's the 2008 Status of Rosa Delauro?
CREATE TABLE "match_up_summary" ( "district" real, "incumbent" text, "2008_status" text, "democratic" text, "republican" text, "green" text );
SELECT "2008_status" FROM "match_up_summary" WHERE "democratic"='rosa delauro';
2-18722787-1
Who was the incumbent when Bo Itshaky was the Republican?
CREATE TABLE "match_up_summary" ( "district" real, "incumbent" text, "2008_status" text, "democratic" text, "republican" text, "green" text );
SELECT "incumbent" FROM "match_up_summary" WHERE "republican"='bo itshaky';
2-18722787-1
Who was the Republican in the district more than 4?
CREATE TABLE "match_up_summary" ( "district" real, "incumbent" text, "2008_status" text, "democratic" text, "republican" text, "green" text );
SELECT "republican" FROM "match_up_summary" WHERE "district">4;
2-18722787-1
Who was the Republican when the green was Harold Burbank?
CREATE TABLE "match_up_summary" ( "district" real, "incumbent" text, "2008_status" text, "democratic" text, "republican" text, "green" text );
SELECT "republican" FROM "match_up_summary" WHERE "green"='harold burbank';
2-18722787-1
Who was the Democratic when then Incumbent was Christopher Shays?
CREATE TABLE "match_up_summary" ( "district" real, "incumbent" text, "2008_status" text, "democratic" text, "republican" text, "green" text );
SELECT "democratic" FROM "match_up_summary" WHERE "incumbent"='christopher shays';
2-18722787-1
Who is the director of Antz?
CREATE TABLE "1990s" ( "year" real, "title" text, "director" text, "studio_s" text, "notes" text );
SELECT "director" FROM "1990s" WHERE "title"='antz';
2-18638934-2
What studio has the director Philip Frank Messina?
CREATE TABLE "1990s" ( "year" real, "title" text, "director" text, "studio_s" text, "notes" text );
SELECT "studio_s" FROM "1990s" WHERE "director"='philip frank messina';
2-18638934-2
What are the club number for the first round?
CREATE TABLE "calendar" ( "round" text, "main_date" text, "number_of_fixtures" real, "clubs" text, "new_entries_this_round" text );
SELECT "clubs" FROM "calendar" WHERE "round"='first round';
2-18828647-1
when there were 48 → 32 clubs?
CREATE TABLE "calendar" ( "round" text, "main_date" text, "number_of_fixtures" real, "clubs" text, "new_entries_this_round" text );
SELECT "new_entries_this_round" FROM "calendar" WHERE "clubs"='48 → 32';
2-18828647-1
Where was the fight that took a time of 1:37?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "round" real, "time" text, "location" text );
SELECT "location" FROM "mixed_martial_arts_record" WHERE "time"='1:37';
2-1852133-2
What was the resolution of the fight against kiuma kunioku with a time of 15:00?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "round" real, "time" text, "location" text );
SELECT "res" FROM "mixed_martial_arts_record" WHERE "time"='15:00' AND "opponent"='kiuma kunioku';
2-1852133-2
What is the average number of bronze medals won by Poland?
CREATE TABLE "medals_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("bronze") FROM "medals_table" WHERE "nation"='poland';
2-1848192-5
What is the average number of gold medals Switzerland received when they ranked larger than 1st and received fewer than 10 bronze medals and more than 1 silver medal?
CREATE TABLE "medals_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("gold") FROM "medals_table" WHERE "total">1 AND "bronze"<10 AND "nation"='switzerland' AND "silver">1;
2-1848192-5
What is the rank when the col is larger than 0?
CREATE TABLE "the_six_s_ultra_prominent_summit_of_the_" ( "rank" real, "peak" text, "country" text, "island" text, "elevation_m" real, "col_m" real );
SELECT COUNT("rank") FROM "the_six_s_ultra_prominent_summit_of_the_" WHERE "col_m">0;
2-18946749-5
What is the rank when the elevation is 1,628, and Col (m) is larger than 0?
CREATE TABLE "the_six_s_ultra_prominent_summit_of_the_" ( "rank" real, "peak" text, "country" text, "island" text, "elevation_m" real, "col_m" real );
SELECT COUNT("rank") FROM "the_six_s_ultra_prominent_summit_of_the_" WHERE "elevation_m"='1,628' AND "col_m">0;
2-18946749-5
What is the elevation of Vanuatu, when the rank is smaller than 3?
CREATE TABLE "the_six_s_ultra_prominent_summit_of_the_" ( "rank" real, "peak" text, "country" text, "island" text, "elevation_m" real, "col_m" real );
SELECT AVG("elevation_m") FROM "the_six_s_ultra_prominent_summit_of_the_" WHERE "country"='vanuatu' AND "rank"<3;
2-18946749-5
What's the platform of Super Mario All-Stars?
CREATE TABLE "best_selling_video_games_of_the_1990s_sa" ( "rank" real, "title" text, "release_date" text, "franchise" text, "developer_s" text, "platform" text, "units_sold_in_millions" real );
SELECT "platform" FROM "best_selling_video_games_of_the_1990s_sa" WHERE "title"='super mario all-stars';
2-18590048-1
What is the average number of losses when there are more than 4 wins, and the against matches is more than 1728?
CREATE TABLE "1938_ladder" ( "club" text, "wins" real, "losses" real, "draws" real, "against" real );
SELECT AVG("losses") FROM "1938_ladder" WHERE "wins"<4 AND "against">1728;
2-18628904-12
What is the total number of draws when there is 1 Win, and less than 1728 against matches?
CREATE TABLE "1938_ladder" ( "club" text, "wins" real, "losses" real, "draws" real, "against" real );
SELECT COUNT("draws") FROM "1938_ladder" WHERE "wins"=1 AND "against"<1728;
2-18628904-12
What is the highest number of wins when there are less than 2 losses?
CREATE TABLE "1938_ladder" ( "club" text, "wins" real, "losses" real, "draws" real, "against" real );
SELECT MAX("wins") FROM "1938_ladder" WHERE "losses"<2;
2-18628904-12
What is the highest number of losses for the Cobden club when there is less than 1 win?
CREATE TABLE "1938_ladder" ( "club" text, "wins" real, "losses" real, "draws" real, "against" real );
SELECT MAX("losses") FROM "1938_ladder" WHERE "club"='cobden' AND "wins"<1;
2-18628904-12
What is the average number of wins for the Terang Club, when there are less than 0 draws?
CREATE TABLE "1938_ladder" ( "club" text, "wins" real, "losses" real, "draws" real, "against" real );
SELECT AVG("wins") FROM "1938_ladder" WHERE "club"='terang' AND "draws"<0;
2-18628904-12
What year was Clark-Smith Autos, Phoenix, AZ in 2nd place?
CREATE TABLE "national_softball_congress_1947_to_1957" ( "year" real, "1st_place_team" text, "2nd_place_team" text, "3rd_place_team" text, "4th_place_team" text, "host_location" text );
SELECT "year" FROM "national_softball_congress_1947_to_1957" WHERE "2nd_place_team"='clark-smith autos, phoenix, az';
2-18618672-1
Who was the 2nd place team when the location was Tulsa, OK before 1956?
CREATE TABLE "national_softball_congress_1947_to_1957" ( "year" real, "1st_place_team" text, "2nd_place_team" text, "3rd_place_team" text, "4th_place_team" text, "host_location" text );
SELECT "2nd_place_team" FROM "national_softball_congress_1947_to_1957" WHERE "host_location"='tulsa, ok' AND "year"<1956;
2-18618672-1
In what Year is the Location of the Festival Koror, Palau?
CREATE TABLE "locations" ( "iteration" text, "year" real, "dates" text, "location" text, "theme" text );
SELECT SUM("year") FROM "locations" WHERE "location"='koror, palau';
2-18786505-1
What is the Location of the 10th Iteration?
CREATE TABLE "locations" ( "iteration" text, "year" real, "dates" text, "location" text, "theme" text );
SELECT "location" FROM "locations" WHERE "iteration"='10th';
2-18786505-1
What is the Location of the "My Pacific" Theme?
CREATE TABLE "locations" ( "iteration" text, "year" real, "dates" text, "location" text, "theme" text );
SELECT "location" FROM "locations" WHERE "theme"='\"my pacific\"';
2-18786505-1
How many counties have people before profit as the party, and a borough greater than 0?
CREATE TABLE "all_councils" ( "party" text, "county" real, "city" real, "borough" real, "town" real, "total" real );
SELECT SUM("county") FROM "all_councils" WHERE "party"='people before profit' AND "borough">0;
2-18692014-1
How many counties have 2 as the total, 0 as the city with a town less than 1?
CREATE TABLE "all_councils" ( "party" text, "county" real, "city" real, "borough" real, "town" real, "total" real );
SELECT SUM("county") FROM "all_councils" WHERE "total"=2 AND "city"=0 AND "town"<1;
2-18692014-1
What average city has a total less than 2, with a borough greater than 0?
CREATE TABLE "all_councils" ( "party" text, "county" real, "city" real, "borough" real, "town" real, "total" real );
SELECT AVG("city") FROM "all_councils" WHERE "total"<2 AND "borough">0;
2-18692014-1
What is the rank # of the swimmer in Lane 5?
CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" text );
SELECT COUNT("rank") FROM "semifinal_1" WHERE "lane"=5;
2-18624792-4
What is the total fat with a smoke point of °c () and 37g of polyunsaturated fat?
CREATE TABLE "comparative_properties_of_common_cooking" ( "total_fat" text, "saturated_fat" text, "monounsaturated_fat" text, "polyunsaturated_fat" text, "smoke_point" text );
SELECT "total_fat" FROM "comparative_properties_of_common_cooking" WHERE "smoke_point"='°c ()' AND "polyunsaturated_fat"='37g';
2-18621997-1
What is the saturated fat with 28g of polyunsaturated fat?
CREATE TABLE "comparative_properties_of_common_cooking" ( "total_fat" text, "saturated_fat" text, "monounsaturated_fat" text, "polyunsaturated_fat" text, "smoke_point" text );
SELECT "saturated_fat" FROM "comparative_properties_of_common_cooking" WHERE "polyunsaturated_fat"='28g';
2-18621997-1
What is the monounsaturated fat with 15g of saturated fat?
CREATE TABLE "comparative_properties_of_common_cooking" ( "total_fat" text, "saturated_fat" text, "monounsaturated_fat" text, "polyunsaturated_fat" text, "smoke_point" text );
SELECT "monounsaturated_fat" FROM "comparative_properties_of_common_cooking" WHERE "saturated_fat"='15g';
2-18621997-1
What is the saturated fat with a total fat of 100g and 11g of polyunsaturated fat?
CREATE TABLE "comparative_properties_of_common_cooking" ( "total_fat" text, "saturated_fat" text, "monounsaturated_fat" text, "polyunsaturated_fat" text, "smoke_point" text );
SELECT "saturated_fat" FROM "comparative_properties_of_common_cooking" WHERE "total_fat"='100g' AND "polyunsaturated_fat"='11g';
2-18621997-1
What is the monounsaturated fat with a smoke point of °c (), a total fat of 100g, 11g of polyunsaturated fat, and 14g of saturated fat?
CREATE TABLE "comparative_properties_of_common_cooking" ( "total_fat" text, "saturated_fat" text, "monounsaturated_fat" text, "polyunsaturated_fat" text, "smoke_point" text );
SELECT "monounsaturated_fat" FROM "comparative_properties_of_common_cooking" WHERE "smoke_point"='°c ()' AND "total_fat"='100g' AND "polyunsaturated_fat"='11g' AND "saturated_fat"='14g';
2-18621997-1
What is the polyunsaturated fat with a smoke point of °c (), a total fat of 100g and 63g of monounsaturated fat?
CREATE TABLE "comparative_properties_of_common_cooking" ( "total_fat" text, "saturated_fat" text, "monounsaturated_fat" text, "polyunsaturated_fat" text, "smoke_point" text );
SELECT "polyunsaturated_fat" FROM "comparative_properties_of_common_cooking" WHERE "smoke_point"='°c ()' AND "total_fat"='100g' AND "monounsaturated_fat"='63g';
2-18621997-1
What is the win % of the 2003 atp world tour finals?
CREATE TABLE "grand_slam_timeline" ( "tournament" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "win_pct" text );
SELECT "win_pct" FROM "grand_slam_timeline" WHERE "2003"='atp world tour finals';
2-1896352-2
What is the 2006 value of the 2011 grand slam tournaments?
CREATE TABLE "grand_slam_timeline" ( "tournament" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "win_pct" text );
SELECT "2006" FROM "grand_slam_timeline" WHERE "2011"='grand slam tournaments';
2-1896352-2
What is the 2007 value with a 1r in 2009?
CREATE TABLE "grand_slam_timeline" ( "tournament" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "win_pct" text );
SELECT "2007" FROM "grand_slam_timeline" WHERE "2009"='1r';
2-1896352-2
What is the 2007 value with a 4r in 2006, a 1r in 2004, and a 4r in 2009?
CREATE TABLE "grand_slam_timeline" ( "tournament" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "win_pct" text );
SELECT "2007" FROM "grand_slam_timeline" WHERE "2006"='4r' AND "2004"='1r' AND "2009"='4r';
2-1896352-2
who is the home team when the away team is rivercity rage?
CREATE TABLE "year_by_year" ( "year" real, "home_team" text, "away_team" text, "winner" text, "score" text );
SELECT "home_team" FROM "year_by_year" WHERE "away_team"='rivercity rage';
2-18685742-1
who is the winner when the score is 71-62?
CREATE TABLE "year_by_year" ( "year" real, "home_team" text, "away_team" text, "winner" text, "score" text );
SELECT "winner" FROM "year_by_year" WHERE "score"='71-62';
2-18685742-1
who is the winner when the home team is sioux falls storm and the year is earlier than 2012?
CREATE TABLE "year_by_year" ( "year" real, "home_team" text, "away_team" text, "winner" text, "score" text );
SELECT "winner" FROM "year_by_year" WHERE "home_team"='sioux falls storm' AND "year"<2012;
2-18685742-1
what is the score when the away team is rivercity rage?
CREATE TABLE "year_by_year" ( "year" real, "home_team" text, "away_team" text, "winner" text, "score" text );
SELECT "score" FROM "year_by_year" WHERE "away_team"='rivercity rage';
2-18685742-1
what is the year when the score is 59-32?
CREATE TABLE "year_by_year" ( "year" real, "home_team" text, "away_team" text, "winner" text, "score" text );
SELECT SUM("year") FROM "year_by_year" WHERE "score"='59-32';
2-18685742-1
What is the venue established after 1948?
CREATE TABLE "sport" ( "club" text, "league" text, "sport" text, "venue" text, "established" real, "capacity" real );
SELECT "venue" FROM "sport" WHERE "established">1948;
2-18642444-7
What is the league established before 1930 with the rayo vallecano club?
CREATE TABLE "sport" ( "club" text, "league" text, "sport" text, "venue" text, "established" real, "capacity" real );
SELECT "league" FROM "sport" WHERE "established"<1930 AND "club"='rayo vallecano';
2-18642444-7
What sport is the rayo vallecano club in?
CREATE TABLE "sport" ( "club" text, "league" text, "sport" text, "venue" text, "established" real, "capacity" real );
SELECT "sport" FROM "sport" WHERE "club"='rayo vallecano';
2-18642444-7
What sport is the cb estudiantes club in?
CREATE TABLE "sport" ( "club" text, "league" text, "sport" text, "venue" text, "established" real, "capacity" real );
SELECT "sport" FROM "sport" WHERE "club"='cb estudiantes';
2-18642444-7
What is the label for CAD 2014 CD?
CREATE TABLE "release_history" ( "country" text, "date" text, "label" text, "format" text, "catalogue_num" text );
SELECT "label" FROM "release_history" WHERE "catalogue_num"='cad 2014 cd';
2-1861948-2
What is the format for the catalogue number GAD 2014 CD on July 6, 1998?
CREATE TABLE "release_history" ( "country" text, "date" text, "label" text, "format" text, "catalogue_num" text );
SELECT "format" FROM "release_history" WHERE "catalogue_num"='gad 2014 cd' AND "date"='july 6, 1998';
2-1861948-2
How many wins are there when the draws are less than 0?
CREATE TABLE "1940_ladder" ( "club" text, "wins" real, "losses" real, "draws" real, "against" real );
SELECT SUM("wins") FROM "1940_ladder" WHERE "draws"<0;
2-18628904-14
What are the most losses when there are 5 wins and draws less than 0?
CREATE TABLE "1940_ladder" ( "club" text, "wins" real, "losses" real, "draws" real, "against" real );
SELECT MAX("losses") FROM "1940_ladder" WHERE "wins"=5 AND "draws"<0;
2-18628904-14
What are the most wins of Terang with the draws less than 0?
CREATE TABLE "1940_ladder" ( "club" text, "wins" real, "losses" real, "draws" real, "against" real );
SELECT MAX("wins") FROM "1940_ladder" WHERE "club"='terang' AND "draws"<0;
2-18628904-14
What is the lowest against when the draws are more than 0 and the losses are less than 3?
CREATE TABLE "1940_ladder" ( "club" text, "wins" real, "losses" real, "draws" real, "against" real );
SELECT MIN("against") FROM "1940_ladder" WHERE "losses"<3 AND "draws">0;
2-18628904-14
What are the least losses of Warrnambool with more than 6 wins and less than 630 against?
CREATE TABLE "1940_ladder" ( "club" text, "wins" real, "losses" real, "draws" real, "against" real );
SELECT MIN("losses") FROM "1940_ladder" WHERE "against"<630 AND "club"='warrnambool' AND "wins">6;
2-18628904-14
What are the draws of Cobden when there are more than 3 losses?
CREATE TABLE "1940_ladder" ( "club" text, "wins" real, "losses" real, "draws" real, "against" real );
SELECT AVG("draws") FROM "1940_ladder" WHERE "losses">3 AND "club"='cobden';
2-18628904-14
What average bronze has 0 as the silver, 17 as the rank, and a gold less than 1?
CREATE TABLE "medals_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("bronze") FROM "medals_table" WHERE "silver"=0 AND "rank"='17' AND "gold"<1;
2-18951287-4
What is the lowest silver that has 2 as the bronze, with a total greater than 4?
CREATE TABLE "medals_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("silver") FROM "medals_table" WHERE "bronze"=2 AND "total">4;
2-18951287-4
How many bronzes have a total less than 11, with 11 as the rank, and a gold less than 1?
CREATE TABLE "medals_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("bronze") FROM "medals_table" WHERE "total"<11 AND "rank"='11' AND "gold"<1;
2-18951287-4
What is the memory with a socket g1 and a 1/1/6/9 turbo?
CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "turbo" text, "cores" real, "l2_cache" text, "l3_cache" text, "i_o_bus" text, "mult" text, "memory" text, "voltage" text, "socket" text, "release_date" text, "part_number_s" text, "release_price_usd" text );
SELECT "memory" FROM "45_nm" WHERE "socket"='socket g1' AND "turbo"='1/1/6/9';
2-18823880-10
What is the release date of the 6 mb L3 cache with the part number by80607005259aabx80607i7740qm?
CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "turbo" text, "cores" real, "l2_cache" text, "l3_cache" text, "i_o_bus" text, "mult" text, "memory" text, "voltage" text, "socket" text, "release_date" text, "part_number_s" text, "release_price_usd" text );
SELECT "release_date" FROM "45_nm" WHERE "l3_cache"='6 mb' AND "part_number_s"='by80607005259aabx80607i7740qm';
2-18823880-10
What was the lowest draw for Beathoven when the place was smaller than 16?
CREATE TABLE "results" ( "draw" real, "language" text, "artist" text, "song" text, "place" real, "points" real );
SELECT MIN("draw") FROM "results" WHERE "artist"='beathoven' AND "place"<16;
2-185700-1
What Luca Barbarossa song had a draw smaller than 20?
CREATE TABLE "results" ( "draw" real, "language" text, "artist" text, "song" text, "place" real, "points" real );
SELECT "song" FROM "results" WHERE "draw"<20 AND "artist"='luca barbarossa';
2-185700-1
Who did they play at sec tournament?
CREATE TABLE "2012_results" ( "date" text, "opponent" text, "location" text, "result" text, "record" text, "rank" text );
SELECT "opponent" FROM "2012_results" WHERE "location"='sec tournament';
2-18456762-2
Where was the game played when their record was 9-1-0?
CREATE TABLE "2012_results" ( "date" text, "opponent" text, "location" text, "result" text, "record" text, "rank" text );
SELECT "location" FROM "2012_results" WHERE "record"='9-1-0';
2-18456762-2
Who is the writer of Children of Earth of "day four"?
CREATE TABLE "episodes" ( "children_of_earth" text, "run_time" text, "writer" text, "director" text, "original_airdate" text, "viewers_including_hd_in_millions" text );
SELECT "writer" FROM "episodes" WHERE "children_of_earth"='\"day four\"';
2-18863597-1
How many viewers were there for Children of Earth of "day one"?
CREATE TABLE "episodes" ( "children_of_earth" text, "run_time" text, "writer" text, "director" text, "original_airdate" text, "viewers_including_hd_in_millions" text );
SELECT "viewers_including_hd_in_millions" FROM "episodes" WHERE "children_of_earth"='\"day one\"';
2-18863597-1
Who was the director of Children of Earth of "day five"?
CREATE TABLE "episodes" ( "children_of_earth" text, "run_time" text, "writer" text, "director" text, "original_airdate" text, "viewers_including_hd_in_millions" text );
SELECT "director" FROM "episodes" WHERE "children_of_earth"='\"day five\"';
2-18863597-1
Who was the director of the episode written by Russell T Davies and James Moran?
CREATE TABLE "episodes" ( "children_of_earth" text, "run_time" text, "writer" text, "director" text, "original_airdate" text, "viewers_including_hd_in_millions" text );
SELECT "director" FROM "episodes" WHERE "writer"='russell t davies and james moran';
2-18863597-1
Which Points have Drawn of 1, and a Played larger than 14?
CREATE TABLE "relegation_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real );
SELECT MAX("points") FROM "relegation_round" WHERE "drawn"=1 AND "played">14;
2-18771190-18
Which Position has Drawn larger than 1, and a Played smaller than 14?
CREATE TABLE "relegation_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real );
SELECT MAX("position") FROM "relegation_round" WHERE "drawn">1 AND "played"<14;
2-18771190-18
Which Lost has Drawn larger than 1, and a Played larger than 14?
CREATE TABLE "relegation_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real );
SELECT MIN("lost") FROM "relegation_round" WHERE "drawn">1 AND "played">14;
2-18771190-18
How much Lost has Points larger than 15, and a Name of ev pegnitz?
CREATE TABLE "relegation_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real );
SELECT COUNT("lost") FROM "relegation_round" WHERE "points">15 AND "name"='ev pegnitz';
2-18771190-18
what is the english translation when the artist is ann christine?
CREATE TABLE "results" ( "draw" real, "language" text, "artist" text, "song" text, "english_translation" text, "place" real, "points" real );
SELECT "english_translation" FROM "results" WHERE "artist"='ann christine';
2-184807-1
What player was picked earlier than 126 by the Houston Oilers?
CREATE TABLE "sixteenth_round" ( "pick" real, "team" text, "player" text, "position" text, "college" text );
SELECT "player" FROM "sixteenth_round" WHERE "pick"<126 AND "team"='houston oilers';
2-18652198-16
What college was picked later than 122 by the Boston Patriots?
CREATE TABLE "sixteenth_round" ( "pick" real, "team" text, "player" text, "position" text, "college" text );
SELECT "college" FROM "sixteenth_round" WHERE "pick">122 AND "team"='boston patriots';
2-18652198-16
what is the to par for geoff ogilvy?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "to_par" FROM "made_the_cut" WHERE "player"='geoff ogilvy';
2-18811891-2
what is the country for geoff ogilvy?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "country" FROM "made_the_cut" WHERE "player"='geoff ogilvy';
2-18811891-2
what is the to par for retief goosen?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "to_par" FROM "made_the_cut" WHERE "player"='retief goosen';
2-18811891-2
how many times is the player jim furyk?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT COUNT("total") FROM "made_the_cut" WHERE "player"='jim furyk';
2-18811891-2
What is the lowest lane in which an athlete got a time larger than 20.75 and a react smaller than 0.166?
CREATE TABLE "heat_2" ( "rank" real, "lane" real, "athlete" text, "nationality" text, "time" real, "react" real );
SELECT MIN("lane") FROM "heat_2" WHERE "time">20.75 AND "react"<0.166;
2-18569011-4
What is Christian Malcolm´s highest react when his time was below 20.58?
CREATE TABLE "heat_2" ( "rank" real, "lane" real, "athlete" text, "nationality" text, "time" real, "react" real );
SELECT MAX("react") FROM "heat_2" WHERE "time"<20.58 AND "athlete"='christian malcolm';
2-18569011-4
what is the position when the year [A} is after 2011 and the pick is 28?
CREATE TABLE "player_selections" ( "year_a" real, "pick" text, "player_name" text, "position" text, "college" text );
SELECT "position" FROM "player_selections" WHERE "year_a">2011 AND "pick"='28';
2-18451925-2
Who is the player when the pick is 22 and the year [A] is after 1979?
CREATE TABLE "player_selections" ( "year_a" real, "pick" text, "player_name" text, "position" text, "college" text );
SELECT "player_name" FROM "player_selections" WHERE "pick"='22' AND "year_a">1979;
2-18451925-2
who is the player when the pick is 15 and the year [A] is 2000?
CREATE TABLE "player_selections" ( "year_a" real, "pick" text, "player_name" text, "position" text, "college" text );
SELECT "player_name" FROM "player_selections" WHERE "pick"='15' AND "year_a"=2000;
2-18451925-2
Which country was the player from who scored 66-72-70=207?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "third_round" WHERE "score"='66-72-70=207';
2-18594233-6
What place was the player who scored 70-69-68=207?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "third_round" WHERE "score"='70-69-68=207';
2-18594233-6
What country was the player in t10 place with a score of 66-72-70=207?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "third_round" WHERE "place"='t10' AND "score"='66-72-70=207';
2-18594233-6
What is the to par of United States' Cristie Kerr?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "to_par" FROM "third_round" WHERE "country"='united states' AND "player"='cristie kerr';
2-18594233-6
Who is the original artist of the 3:00 song?
CREATE TABLE "track_listing" ( "song" text, "performer" text, "original_artist" text, "length" text, "recorded" text );
SELECT "original_artist" FROM "track_listing" WHERE "length"='3:00';
2-18646340-2
How long is "Harvest"?
CREATE TABLE "track_listing" ( "song" text, "performer" text, "original_artist" text, "length" text, "recorded" text );
SELECT "length" FROM "track_listing" WHERE "song"='\"harvest\"';
2-18646340-2
Which song lasts 3:34?
CREATE TABLE "track_listing" ( "song" text, "performer" text, "original_artist" text, "length" text, "recorded" text );
SELECT "song" FROM "track_listing" WHERE "length"='3:34';
2-18646340-2
Who is the original artist of "Let's Dance"?
CREATE TABLE "track_listing" ( "song" text, "performer" text, "original_artist" text, "length" text, "recorded" text );
SELECT "original_artist" FROM "track_listing" WHERE "song"='\"let''s dance\"';
2-18646340-2
Which song lasts 4:08?
CREATE TABLE "track_listing" ( "song" text, "performer" text, "original_artist" text, "length" text, "recorded" text );
SELECT "song" FROM "track_listing" WHERE "length"='4:08';
2-18646340-2
How many bronze medals for Romania when the silver count is more than 1?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("bronze") FROM "medal_table" WHERE "nation"='romania' AND "silver">1;
2-18868206-4
Which manager had less than 287 losses, less than 80 wins, a win percentage of 0.296, and was employed in 1904?
CREATE TABLE "managers" ( "num_a" text, "manager" text, "years" text, "wins" real, "losses" real, "w_pct" real );
SELECT "manager" FROM "managers" WHERE "losses"<287 AND "wins"<80 AND "years"='1904' AND "w_pct"=0.296;
2-18761996-2
Which U.S. Hot has 13 as the U.S. R&B?
CREATE TABLE "solo_singles" ( "year" real, "u_s_hot_100" text, "u_s_r_b" text, "u_s_rap" text, "album" text );
SELECT "u_s_hot_100" FROM "solo_singles" WHERE "u_s_r_b"='13';
2-18519524-3
What U.S. Rap has life in the concrete jungle as the album?
CREATE TABLE "solo_singles" ( "year" real, "u_s_hot_100" text, "u_s_r_b" text, "u_s_rap" text, "album" text );
SELECT "u_s_rap" FROM "solo_singles" WHERE "album"='life in the concrete jungle';
2-18519524-3