question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Which years have a displacement of 1816cc?
CREATE TABLE "engines" ( "model" text, "years" text, "engine" text, "displacement" text, "power" text, "fuel_system" text );
SELECT "years" FROM "engines" WHERE "displacement"='1816cc';
2-1654827-1
How much power does the fuel injection system have with a displacement of 1991cc?
CREATE TABLE "engines" ( "model" text, "years" text, "engine" text, "displacement" text, "power" text, "fuel_system" text );
SELECT "power" FROM "engines" WHERE "fuel_system"='fuel injection' AND "displacement"='1991cc';
2-1654827-1
Which fuel system has a displacement of 1490cc?
CREATE TABLE "engines" ( "model" text, "years" text, "engine" text, "displacement" text, "power" text, "fuel_system" text );
SELECT "fuel_system" FROM "engines" WHERE "displacement"='1490cc';
2-1654827-1
Which fuel system has a displacement of 1500cc for the Berlina model?
CREATE TABLE "engines" ( "model" text, "years" text, "engine" text, "displacement" text, "power" text, "fuel_system" text );
SELECT "fuel_system" FROM "engines" WHERE "displacement"='1500cc' AND "model"='berlina';
2-1654827-1
What is the lowest Industry, when Year is greater than 2005, and when Agriculture is greater than 11?
CREATE TABLE "trend_of_regional_gross_value_added_of_c" ( "year" real, "regional_gva" real, "agriculture" real, "industry" real, "services" real );
SELECT MIN("industry") FROM "trend_of_regional_gross_value_added_of_c" WHERE "year">2005 AND "agriculture">11;
2-17073558-1
What is the average Industry, when Agriculture is greater than 11?
CREATE TABLE "trend_of_regional_gross_value_added_of_c" ( "year" real, "regional_gva" real, "agriculture" real, "industry" real, "services" real );
SELECT AVG("industry") FROM "trend_of_regional_gross_value_added_of_c" WHERE "agriculture">11;
2-17073558-1
What is the average Services, when Year is greater than 2003, when Industry is greater than 1,465, and when Regional GVA is greater than 9,432?
CREATE TABLE "trend_of_regional_gross_value_added_of_c" ( "year" real, "regional_gva" real, "agriculture" real, "industry" real, "services" real );
SELECT AVG("services") FROM "trend_of_regional_gross_value_added_of_c" WHERE "year">2003 AND "industry">'1,465' AND "regional_gva">'9,432';
2-17073558-1
What is the sum of Agriculture, when Regional GVA is greater than 6,584, when Services is greater than 7,502, and when Industry is greater than 1,565?
CREATE TABLE "trend_of_regional_gross_value_added_of_c" ( "year" real, "regional_gva" real, "agriculture" real, "industry" real, "services" real );
SELECT SUM("agriculture") FROM "trend_of_regional_gross_value_added_of_c" WHERE "regional_gva">'6,584' AND "services">'7,502' AND "industry">'1,565';
2-17073558-1
What is the sum of Year, when Regional GVA is 6,584, and when Services is less than 5,277?
CREATE TABLE "trend_of_regional_gross_value_added_of_c" ( "year" real, "regional_gva" real, "agriculture" real, "industry" real, "services" real );
SELECT SUM("year") FROM "trend_of_regional_gross_value_added_of_c" WHERE "regional_gva"='6,584' AND "services"<'5,277';
2-17073558-1
What is the highest Regional GVA, when Year is greater than 2000, when Services is 7,502, and when Agriculture is greater than 11?
CREATE TABLE "trend_of_regional_gross_value_added_of_c" ( "year" real, "regional_gva" real, "agriculture" real, "industry" real, "services" real );
SELECT MAX("regional_gva") FROM "trend_of_regional_gross_value_added_of_c" WHERE "year">2000 AND "services"='7,502' AND "agriculture">11;
2-17073558-1
When the points scored was over 110.25%, what's the average amount lost?
CREATE TABLE "ladder" ( "team" text, "lost" real, "last_5" text, "streak" text, "home" text, "away" text, "pct_pts" real, "pct_won" real );
SELECT AVG("lost") FROM "ladder" WHERE "pct_pts">110.25;
2-16653153-30
If the points scored were 93.45%, what's the lowest amount of games lost?
CREATE TABLE "ladder" ( "team" text, "lost" real, "last_5" text, "streak" text, "home" text, "away" text, "pct_pts" real, "pct_won" real );
SELECT MIN("lost") FROM "ladder" WHERE "pct_pts"=93.45;
2-16653153-30
What is the rank of the film directed by Kevin Costner?
CREATE TABLE "highest_grossing_films" ( "rank" real, "title" text, "studio" text, "director" text, "gross" text );
SELECT COUNT("rank") FROM "highest_grossing_films" WHERE "director"='kevin costner';
2-171259-1
What director grossed $200,512,643
CREATE TABLE "highest_grossing_films" ( "rank" real, "title" text, "studio" text, "director" text, "gross" text );
SELECT "director" FROM "highest_grossing_films" WHERE "gross"='$200,512,643';
2-171259-1
What is the average rank of the movie from Paramount Studios that grossed $200,512,643?
CREATE TABLE "highest_grossing_films" ( "rank" real, "title" text, "studio" text, "director" text, "gross" text );
SELECT AVG("rank") FROM "highest_grossing_films" WHERE "studio"='paramount' AND "gross"='$200,512,643';
2-171259-1
Who directed Teenage Mutant Ninja Turtles?
CREATE TABLE "highest_grossing_films" ( "rank" real, "title" text, "studio" text, "director" text, "gross" text );
SELECT "director" FROM "highest_grossing_films" WHERE "title"='teenage mutant ninja turtles';
2-171259-1
What director ranked higher than 1 from Universal Studios and grossed $201,957,688?
CREATE TABLE "highest_grossing_films" ( "rank" real, "title" text, "studio" text, "director" text, "gross" text );
SELECT "director" FROM "highest_grossing_films" WHERE "rank">1 AND "studio"='universal' AND "gross"='$201,957,688';
2-171259-1
When the rider is Garry Mccoy and the manufacturer was Kawasaki, what was the time retired?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT "time_retired" FROM "moto_gp_classification" WHERE "manufacturer"='kawasaki' AND "rider"='garry mccoy';
2-17063504-1
What's the highest amount of laps Garry Mccoy drove?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT MAX("laps") FROM "moto_gp_classification" WHERE "rider"='garry mccoy';
2-17063504-1
If the manufacturer is Proton Kr and the grid was over 10, what was the time retired?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT "time_retired" FROM "moto_gp_classification" WHERE "grid">10 AND "manufacturer"='proton kr';
2-17063504-1
The year 1974 has what listed as the Height?
CREATE TABLE "all_time" ( "continent" text, "structure" text, "height" text, "year" real, "country" text );
SELECT "height" FROM "all_time" WHERE "year"=1974;
2-166570-6
The OMEGA transmitter Chabrier has what country listed?
CREATE TABLE "all_time" ( "continent" text, "structure" text, "height" text, "year" real, "country" text );
SELECT "country" FROM "all_time" WHERE "structure"='omega transmitter chabrier';
2-166570-6
Listed with a continent of Africa and before 2009 this structure is called what?
CREATE TABLE "all_time" ( "continent" text, "structure" text, "height" text, "year" real, "country" text );
SELECT "structure" FROM "all_time" WHERE "year"<2009 AND "continent"='africa';
2-166570-6
The year 1972 has what written in Height column?
CREATE TABLE "all_time" ( "continent" text, "structure" text, "height" text, "year" real, "country" text );
SELECT "height" FROM "all_time" WHERE "year"=1972;
2-166570-6
What is the Continent that also has the United States listed as a country?
CREATE TABLE "all_time" ( "continent" text, "structure" text, "height" text, "year" real, "country" text );
SELECT "continent" FROM "all_time" WHERE "country"='united states';
2-166570-6
What is the highest number of ends won of 47 Ends Lost and a Shot % less than 73?
CREATE TABLE "standings" ( "country" text, "skip" text, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" real );
SELECT MAX("ends_won") FROM "standings" WHERE "ends_lost"=47 AND "shot_pct"<73;
2-16922657-2
What Poll was on April 14 of 13?
CREATE TABLE "ranking_movement" ( "poll" text, "pre_season" text, "mar_3" text, "mar_17" text, "mar_24" text, "mar_31" text, "april_7" text, "april_14" text, "april_21" text, "april_28" text, "may_5" text, "may_12" text, "may_19" text, "may_26" text, "final" text );
SELECT "poll" FROM "ranking_movement" WHERE "april_14"='13';
2-16224770-3
What is the rank for Mar 17 when the April 21 rank is 10?
CREATE TABLE "ranking_movement" ( "poll" text, "pre_season" text, "mar_3" text, "mar_17" text, "mar_24" text, "mar_31" text, "april_7" text, "april_14" text, "april_21" text, "april_28" text, "may_5" text, "may_12" text, "may_19" text, "may_26" text, "final" text );
SELECT "mar_17" FROM "ranking_movement" WHERE "april_21"='10';
2-16224770-3
What is the Mar 24 rank when the May 26 is 13, and the May 12 is 6?
CREATE TABLE "ranking_movement" ( "poll" text, "pre_season" text, "mar_3" text, "mar_17" text, "mar_24" text, "mar_31" text, "april_7" text, "april_14" text, "april_21" text, "april_28" text, "may_5" text, "may_12" text, "may_19" text, "may_26" text, "final" text );
SELECT "mar_24" FROM "ranking_movement" WHERE "may_26"='13' AND "may_12"='6';
2-16224770-3
What is the April 28 rank when the Mar 24 is 17?
CREATE TABLE "ranking_movement" ( "poll" text, "pre_season" text, "mar_3" text, "mar_17" text, "mar_24" text, "mar_31" text, "april_7" text, "april_14" text, "april_21" text, "april_28" text, "may_5" text, "may_12" text, "may_19" text, "may_26" text, "final" text );
SELECT "april_28" FROM "ranking_movement" WHERE "mar_24"='17';
2-16224770-3
What is the April 14 rank when the Mar 3rd is nr, and the April 21 is 13?
CREATE TABLE "ranking_movement" ( "poll" text, "pre_season" text, "mar_3" text, "mar_17" text, "mar_24" text, "mar_31" text, "april_7" text, "april_14" text, "april_21" text, "april_28" text, "may_5" text, "may_12" text, "may_19" text, "may_26" text, "final" text );
SELECT "april_14" FROM "ranking_movement" WHERE "mar_3"='nr' AND "april_21"='13';
2-16224770-3
What is the April 28th rank when the Final is 20, and Mar 17 is 22?
CREATE TABLE "ranking_movement" ( "poll" text, "pre_season" text, "mar_3" text, "mar_17" text, "mar_24" text, "mar_31" text, "april_7" text, "april_14" text, "april_21" text, "april_28" text, "may_5" text, "may_12" text, "may_19" text, "may_26" text, "final" text );
SELECT "april_28" FROM "ranking_movement" WHERE "final"='20' AND "mar_17"='22';
2-16224770-3
What is the total number of Podiums, when Position is "2nd", when Wins is less than 6, and when Poles is greater than 0?
CREATE TABLE "career_summary" ( "season" real, "wins" real, "poles" real, "podiums" real, "position" text );
SELECT COUNT("podiums") FROM "career_summary" WHERE "position"='2nd' AND "wins"<6 AND "poles">0;
2-16983879-1
What is the sum of Poles, when Season is greater than 2004, and when Podiums is less than 1?
CREATE TABLE "career_summary" ( "season" real, "wins" real, "poles" real, "podiums" real, "position" text );
SELECT SUM("poles") FROM "career_summary" WHERE "season"<2004 AND "podiums"<1;
2-16983879-1
What is the average Poles, when Wins is 0, when Position is "nc", and when Season is before 2004?
CREATE TABLE "career_summary" ( "season" real, "wins" real, "poles" real, "podiums" real, "position" text );
SELECT AVG("poles") FROM "career_summary" WHERE "wins"=0 AND "position"='nc' AND "season"<2004;
2-16983879-1
What is the sum of Poles, when Season is before 2005, when Position is "2nd", and when Wins is less than 6?
CREATE TABLE "career_summary" ( "season" real, "wins" real, "poles" real, "podiums" real, "position" text );
SELECT SUM("poles") FROM "career_summary" WHERE "season"<2005 AND "position"='2nd' AND "wins"<6;
2-16983879-1
What is the 2012 club of the cf pos. player?
CREATE TABLE "current" ( "name" text, "pos" text, "height" text, "weight" text, "2012_club" text );
SELECT "2012_club" FROM "current" WHERE "pos"='cf';
2-16892045-6
What are the years in the ACC of an institution that was founded before 1885 and is located in College Park, Maryland?
CREATE TABLE "members" ( "institution" text, "nickname" text, "location" text, "founded" real, "years_in_the_acc" text, "school_type" text, "enrollment" real );
SELECT "years_in_the_acc" FROM "members" WHERE "founded"<1885 AND "location"='college park, maryland';
2-16346726-1
Who was the partner for the tournament in Lyon, France?
CREATE TABLE "doubles_35_20_15" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partnering" text, "opponent" text, "score" text );
SELECT "partnering" FROM "doubles_35_20_15" WHERE "tournament"='lyon, france';
2-1727962-5
Who were the opponents for the event in Milan, Italy?
CREATE TABLE "doubles_35_20_15" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partnering" text, "opponent" text, "score" text );
SELECT "opponent" FROM "doubles_35_20_15" WHERE "tournament"='milan, italy';
2-1727962-5
What was the record on the date of december 1, 1968?
CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" real );
SELECT "record" FROM "regular_season" WHERE "date"='december 1, 1968';
2-17294353-1
What was the record on the date of september 15, 1968?
CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" real );
SELECT "record" FROM "regular_season" WHERE "date"='september 15, 1968';
2-17294353-1
What was the record on the date of november 10, 1968?
CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" real );
SELECT "record" FROM "regular_season" WHERE "date"='november 10, 1968';
2-17294353-1
What was the first game played on February 28?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT MIN("game") FROM "game_log" WHERE "date"='february 28';
2-17311783-8
What is the sum of Altrincham's Points 2 when they had more than 52 Goals For?
CREATE TABLE "final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_average_1" real, "points_2" real );
SELECT SUM("points_2") FROM "final_table" WHERE "goals_for">52 AND "team"='altrincham';
2-17357929-1
What date was the team @ Detroit?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "date" FROM "game_log" WHERE "team"='@ detroit';
2-17325580-8
What was the score of the game when Maurice Williams (7) had the high assists?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "score" FROM "game_log" WHERE "high_assists"='maurice williams (7)';
2-17325580-8
What was the record of the game when Lebron James (4) had the high assists?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "record" FROM "game_log" WHERE "high_assists"='lebron james (4)';
2-17325580-8
What is the total of the game that the team was @ new york?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT COUNT("game") FROM "game_log" WHERE "team"='@ new york';
2-17325580-8
Which round was Joe Taylor selected in?
CREATE TABLE "nba_draft" ( "round" real, "pick" real, "player" text, "nationality" text, "college" text );
SELECT SUM("round") FROM "nba_draft" WHERE "player"='joe taylor';
2-17062990-1
Which player went to Wake Forest and was selected with a pick after 145?
CREATE TABLE "nba_draft" ( "round" real, "pick" real, "player" text, "nationality" text, "college" text );
SELECT "player" FROM "nba_draft" WHERE "pick">145 AND "college"='wake forest';
2-17062990-1
How many picks were from round 6?
CREATE TABLE "nba_draft" ( "round" real, "pick" real, "player" text, "nationality" text, "college" text );
SELECT COUNT("pick") FROM "nba_draft" WHERE "round"=6;
2-17062990-1
What is the largest round of a pick smaller than 92 from Toledo University?
CREATE TABLE "nba_draft" ( "round" real, "pick" real, "player" text, "nationality" text, "college" text );
SELECT MAX("round") FROM "nba_draft" WHERE "college"='toledo' AND "pick"<92;
2-17062990-1
Which nationality is Dick Walker?
CREATE TABLE "nba_draft" ( "round" real, "pick" real, "player" text, "nationality" text, "college" text );
SELECT "nationality" FROM "nba_draft" WHERE "player"='dick walker';
2-17062990-1
What college has a pick greater than 4 and an overall of 21?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT "college" FROM "washington_redskins_draft_history" WHERE "pick">4 AND "overall"=21;
2-17100961-30
What is the overall sum of round 3?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT SUM("overall") FROM "washington_redskins_draft_history" WHERE "round"=3;
2-17100961-30
What is the position of the player with a round less than 8 and an overall of 48?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT "position" FROM "washington_redskins_draft_history" WHERE "round"<8 AND "overall"=48;
2-17100961-30
What is the position of the player from the college of North Carolina with an overall less than 100?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT "position" FROM "washington_redskins_draft_history" WHERE "overall"<100 AND "college"='north carolina';
2-17100961-30
What is the sum of the pick in round 17?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT SUM("pick") FROM "washington_redskins_draft_history" WHERE "round"=17;
2-17100961-30
What was the 1st leg when team 2 was nov milenium?
CREATE TABLE "second_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "1st_leg" FROM "second_round" WHERE "team_2"='nov milenium';
2-17026260-2
What was the 1st leg for a team 1 of Teteks?
CREATE TABLE "second_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "1st_leg" FROM "second_round" WHERE "team_1"='teteks';
2-17026260-2
What is the sum of Date of Official Foundation of Municipality, when Province is "Kermān", when 2006 us "167014", and when Rank is less than 46?
CREATE TABLE "cities_between_100_000_and_1_000_000_pop" ( "rank" real, "city" text, "province" text, "date_of_official_foundation_of_municipality" real, "2006" real );
SELECT SUM("date_of_official_foundation_of_municipality") FROM "cities_between_100_000_and_1_000_000_pop" WHERE "province"='kermān' AND "2006"=167014 AND "rank"<46;
2-17288411-2
What is the total number of Rank, when Date of Official Foundation of Municipality is after 1926, when Province is "Sistan and Baluchestan", and when 2006 is greater than 567449?
CREATE TABLE "cities_between_100_000_and_1_000_000_pop" ( "rank" real, "city" text, "province" text, "date_of_official_foundation_of_municipality" real, "2006" real );
SELECT COUNT("rank") FROM "cities_between_100_000_and_1_000_000_pop" WHERE "date_of_official_foundation_of_municipality">1926 AND "province"='sistan and baluchestan' AND "2006">567449;
2-17288411-2
What is the sum of Rank, when Province is Gīlān, when Date of Official Foundation of Municipality is after 1922, and when 2006 is greater than 557366?
CREATE TABLE "cities_between_100_000_and_1_000_000_pop" ( "rank" real, "city" text, "province" text, "date_of_official_foundation_of_municipality" real, "2006" real );
SELECT SUM("rank") FROM "cities_between_100_000_and_1_000_000_pop" WHERE "province"='gīlān' AND "date_of_official_foundation_of_municipality">1922 AND "2006">557366;
2-17288411-2
What is the highest Rank, when Date of Official Foundation of Municipality is "1952", and when 2006 is less than 189120?
CREATE TABLE "cities_between_100_000_and_1_000_000_pop" ( "rank" real, "city" text, "province" text, "date_of_official_foundation_of_municipality" real, "2006" real );
SELECT MAX("rank") FROM "cities_between_100_000_and_1_000_000_pop" WHERE "date_of_official_foundation_of_municipality"=1952 AND "2006"<189120;
2-17288411-2
What is Province, when 2006 is less than 153748, when Date of Official Foundation of Municipality is after 1958, and when City is "Pakdasht"?
CREATE TABLE "cities_between_100_000_and_1_000_000_pop" ( "rank" real, "city" text, "province" text, "date_of_official_foundation_of_municipality" real, "2006" real );
SELECT "province" FROM "cities_between_100_000_and_1_000_000_pop" WHERE "2006"<153748 AND "date_of_official_foundation_of_municipality">1958 AND "city"='pakdasht';
2-17288411-2
what is the place when the score is 68-70-68=206?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "third_round" WHERE "score"='68-70-68=206';
2-16292316-6
what is the country when the score is 71-65-69=205?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "third_round" WHERE "score"='71-65-69=205';
2-16292316-6
what is the country when the score is 72-68-67=207?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "third_round" WHERE "score"='72-68-67=207';
2-16292316-6
what is the country when the score is 68-72-67=207?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "third_round" WHERE "score"='68-72-67=207';
2-16292316-6
who is the player when the place is t5 and the score is 69-66-71=206?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "player" FROM "third_round" WHERE "place"='t5' AND "score"='69-66-71=206';
2-16292316-6
What was the highest amount of laps when the class was v8 and the entrant was diet-coke racing?
CREATE TABLE "results" ( "pos" text, "class" text, "entrant" text, "drivers" text, "laps" real );
SELECT MAX("laps") FROM "results" WHERE "class"='v8' AND "entrant"='diet-coke racing';
2-16873670-1
What is the tie with a win of 0?
CREATE TABLE "senior_team_season_records" ( "season" text, "division" text, "wins" text, "ties" text, "final_position" text );
SELECT "ties" FROM "senior_team_season_records" WHERE "wins"='0';
2-16994082-1
What is the final position with ties of 0, and wins of 5?
CREATE TABLE "senior_team_season_records" ( "season" text, "division" text, "wins" text, "ties" text, "final_position" text );
SELECT "final_position" FROM "senior_team_season_records" WHERE "ties"='0' AND "wins"='5';
2-16994082-1
What are the ties for division of bafl division two south?
CREATE TABLE "senior_team_season_records" ( "season" text, "division" text, "wins" text, "ties" text, "final_position" text );
SELECT "ties" FROM "senior_team_season_records" WHERE "division"='bafl division two south';
2-16994082-1
What is the final position for the season 2008?
CREATE TABLE "senior_team_season_records" ( "season" text, "division" text, "wins" text, "ties" text, "final_position" text );
SELECT "final_position" FROM "senior_team_season_records" WHERE "season"='2008';
2-16994082-1
What is the final position for the season 2012?
CREATE TABLE "senior_team_season_records" ( "season" text, "division" text, "wins" text, "ties" text, "final_position" text );
SELECT "final_position" FROM "senior_team_season_records" WHERE "season"='2012';
2-16994082-1
What is the division with wins of 2?
CREATE TABLE "senior_team_season_records" ( "season" text, "division" text, "wins" text, "ties" text, "final_position" text );
SELECT "division" FROM "senior_team_season_records" WHERE "wins"='2';
2-16994082-1
What is the Location of the Hietalahti Stadium?
CREATE TABLE "overview" ( "club" text, "location" text, "stadium" text, "capacity" real, "manager" text );
SELECT "location" FROM "overview" WHERE "stadium"='hietalahti stadium';
2-16807533-1
What is the Location of the Tapiolan Urheilupuisto Stadium with a Capacity or more than 15,000?
CREATE TABLE "overview" ( "club" text, "location" text, "stadium" text, "capacity" real, "manager" text );
SELECT "location" FROM "overview" WHERE "capacity">'15,000' AND "stadium"='tapiolan urheilupuisto';
2-16807533-1
What is the Location of the Stadium where Job Dragtsma is Manager?
CREATE TABLE "overview" ( "club" text, "location" text, "stadium" text, "capacity" real, "manager" text );
SELECT "location" FROM "overview" WHERE "manager"='job dragtsma';
2-16807533-1
what is the react when the lane is 3 and heat is 2?
CREATE TABLE "semifinals" ( "heat" real, "lane" real, "name" text, "country" text, "mark" text, "react" real );
SELECT "react" FROM "semifinals" WHERE "lane"=3 AND "heat"=2;
2-16194679-3
what is the highest lane number for johan wissman when the react is less than 0.242?
CREATE TABLE "semifinals" ( "heat" real, "lane" real, "name" text, "country" text, "mark" text, "react" real );
SELECT MAX("lane") FROM "semifinals" WHERE "name"='johan wissman' AND "react"<0.242;
2-16194679-3
what is the heat when the country is united kingdom and react is less than 0.232?
CREATE TABLE "semifinals" ( "heat" real, "lane" real, "name" text, "country" text, "mark" text, "react" real );
SELECT MAX("heat") FROM "semifinals" WHERE "country"='united kingdom' AND "react"<0.232;
2-16194679-3
what is the react when the country is sweden and the lane is higher than 6?
CREATE TABLE "semifinals" ( "heat" real, "lane" real, "name" text, "country" text, "mark" text, "react" real );
SELECT SUM("react") FROM "semifinals" WHERE "country"='sweden' AND "lane">6;
2-16194679-3
What is the 1st leg of the UEFA Champions League Compeition in the Skonto Riga Club?
CREATE TABLE "european_record" ( "season" text, "competition" text, "round" text, "club" text, "1st_leg" text, "2nd_leg" text );
SELECT "1st_leg" FROM "european_record" WHERE "competition"='uefa champions league' AND "club"='skonto riga';
2-1651899-3
Which season has the Renova Club?
CREATE TABLE "european_record" ( "season" text, "competition" text, "round" text, "club" text, "1st_leg" text, "2nd_leg" text );
SELECT "season" FROM "european_record" WHERE "club"='renova';
2-1651899-3
Which season has the Werder Bremen Club and is in Round 2r?
CREATE TABLE "european_record" ( "season" text, "competition" text, "round" text, "club" text, "1st_leg" text, "2nd_leg" text );
SELECT "season" FROM "european_record" WHERE "club"='werder bremen' AND "round"='2r';
2-1651899-3
Which round is the UEFA Cup Compeition and the Kolkheti-1913 Poti Cub?
CREATE TABLE "european_record" ( "season" text, "competition" text, "round" text, "club" text, "1st_leg" text, "2nd_leg" text );
SELECT "round" FROM "european_record" WHERE "competition"='uefa cup' AND "club"='kolkheti-1913 poti';
2-1651899-3
What is the PAL B, G, H for the PAL I 4.43361875mhz?
CREATE TABLE "color_standards" ( "ntsc_m" text, "pal_b_g_h" text, "pal_i" text, "pal_n" text, "pal_m" text );
SELECT "pal_b_g_h" FROM "color_standards" WHERE "pal_i"='4.43361875mhz';
2-162843-1
Which PAL has a PAL B, G, H of 4.43361875mhz?
CREATE TABLE "color_standards" ( "ntsc_m" text, "pal_b_g_h" text, "pal_i" text, "pal_n" text, "pal_m" text );
SELECT "pal_n" FROM "color_standards" WHERE "pal_b_g_h"='4.43361875mhz';
2-162843-1
Which PAL M has a PAL I of 50HZ?
CREATE TABLE "color_standards" ( "ntsc_m" text, "pal_b_g_h" text, "pal_i" text, "pal_n" text, "pal_m" text );
SELECT "pal_m" FROM "color_standards" WHERE "pal_i"='50hz';
2-162843-1
What is the NTSC M for Pal M 525/60?
CREATE TABLE "color_standards" ( "ntsc_m" text, "pal_b_g_h" text, "pal_i" text, "pal_n" text, "pal_m" text );
SELECT "ntsc_m" FROM "color_standards" WHERE "pal_m"='525/60';
2-162843-1
What is the PAL M for the NTSC M 4.5mhz?
CREATE TABLE "color_standards" ( "ntsc_m" text, "pal_b_g_h" text, "pal_i" text, "pal_n" text, "pal_m" text );
SELECT "pal_m" FROM "color_standards" WHERE "ntsc_m"='4.5mhz';
2-162843-1
What is the sum of Year, when Rank is less than 19?
CREATE TABLE "accolades" ( "publication" text, "country" text, "accolade" text, "year" real, "rank" real );
SELECT SUM("year") FROM "accolades" WHERE "rank"<19;
2-1728643-2
What is the sum of Year, when Publication is "VH1", and when Rank is greater than 11?
CREATE TABLE "accolades" ( "publication" text, "country" text, "accolade" text, "year" real, "rank" real );
SELECT SUM("year") FROM "accolades" WHERE "publication"='vh1' AND "rank">11;
2-1728643-2
What is Accolade, when Year is less than 2002, when Publication is "Rolling Stone", and when Rank is "48"?
CREATE TABLE "accolades" ( "publication" text, "country" text, "accolade" text, "year" real, "rank" real );
SELECT "accolade" FROM "accolades" WHERE "year"<2002 AND "publication"='rolling stone' AND "rank"=48;
2-1728643-2
What is the lowest Year, when Rank is greater than 85?
CREATE TABLE "accolades" ( "publication" text, "country" text, "accolade" text, "year" real, "rank" real );
SELECT MIN("year") FROM "accolades" WHERE "rank">85;
2-1728643-2
What is Accolade, when Country is "United States", and when Year is "1999"?
CREATE TABLE "accolades" ( "publication" text, "country" text, "accolade" text, "year" real, "rank" real );
SELECT "accolade" FROM "accolades" WHERE "country"='united states' AND "year"=1999;
2-1728643-2
What is Pick, when Player is "Dexter Bailey"?
CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "school_club_team" text );
SELECT "pick" FROM "draft_picks" WHERE "player"='dexter bailey';
2-17261434-1