question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Name the opponent with record of 38-34-10
CREATE TABLE "schedule_and_results" ( "game" real, "april" real, "opponent" text, "score" text, "record" text );
SELECT "opponent" FROM "schedule_and_results" WHERE "record"='38-34-10';
2-14034799-8
Name the total number of April for game more than 81 and reord of 38-33-10
CREATE TABLE "schedule_and_results" ( "game" real, "april" real, "opponent" text, "score" text, "record" text );
SELECT COUNT("april") FROM "schedule_and_results" WHERE "record"='38-33-10' AND "game">81;
2-14034799-8
what series was on may 14
CREATE TABLE "playoffs" ( "game" real, "date" text, "opponent" text, "score" text, "series" text );
SELECT "series" FROM "playoffs" WHERE "date"='may 14';
2-14173105-12
What is the to par that has england as the country, with 66 as a score?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT "to_par" FROM "first_round" WHERE "country"='england' AND "score"=66;
2-14614110-4
What country has a score less than 68, and paul casey as the player?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT "country" FROM "first_round" WHERE "score"<68 AND "player"='paul casey';
2-14614110-4
What is the lowest score that has alastair forsyth as the player?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT MIN("score") FROM "first_round" WHERE "player"='alastair forsyth';
2-14614110-4
How many scores have paul casey as a player?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT COUNT("score") FROM "first_round" WHERE "player"='paul casey';
2-14614110-4
Who owns the item that was a T326 before conversion and re-entered service on 11 September 1985?
CREATE TABLE "locomotives" ( "locomotive" text, "pre_conversion" text, "entered_service_t" text, "re_entered_service_p" text, "owner" text );
SELECT "owner" FROM "locomotives" WHERE "re_entered_service_p"='11 september 1985' AND "pre_conversion"='t326';
2-14977358-1
What date did the T328 that entered service on 18 June 1956 re-enter service?
CREATE TABLE "locomotives" ( "locomotive" text, "pre_conversion" text, "entered_service_t" text, "re_entered_service_p" text, "owner" text );
SELECT "re_entered_service_p" FROM "locomotives" WHERE "entered_service_t"='18 june 1956' AND "pre_conversion"='t328';
2-14977358-1
Which of V/Line Passenger's pre-conversions re-entered service on 23 November 1984?
CREATE TABLE "locomotives" ( "locomotive" text, "pre_conversion" text, "entered_service_t" text, "re_entered_service_p" text, "owner" text );
SELECT "pre_conversion" FROM "locomotives" WHERE "owner"='v/line passenger' AND "re_entered_service_p"='23 november 1984';
2-14977358-1
Who owns the locomotive that entered service on 30 October 1956?
CREATE TABLE "locomotives" ( "locomotive" text, "pre_conversion" text, "entered_service_t" text, "re_entered_service_p" text, "owner" text );
SELECT "owner" FROM "locomotives" WHERE "entered_service_t"='30 october 1956';
2-14977358-1
What was the score of the game when the record was 50-85?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );
SELECT "score" FROM "game_log" WHERE "record"='50-85';
2-14271118-8
What was the loss of the game when the record was 46-84?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );
SELECT "loss" FROM "game_log" WHERE "record"='46-84';
2-14271118-8
What was the record at the game with a loss of Cook (14–7)?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );
SELECT "record" FROM "game_log" WHERE "loss"='cook (14–7)';
2-14271118-8
What album is 4:53 long?
CREATE TABLE "official_versions" ( "version" text, "length" text, "album" text, "remixed_by" text, "year" real );
SELECT "album" FROM "official_versions" WHERE "length"='4:53';
2-14857820-1
Which 1989 has a 1986 of 99?
CREATE TABLE "grand_slam_performance_timeline" ( "tournament" text, "1981" text, "1982" text, "1983" text, "1984" text, "1985" text, "1986" text, "1987" text, "1988" text, "1989" text );
SELECT "1989" FROM "grand_slam_performance_timeline" WHERE "1986"='99';
2-14933707-9
Which 1983 has a Tournament of wimbledon?
CREATE TABLE "grand_slam_performance_timeline" ( "tournament" text, "1981" text, "1982" text, "1983" text, "1984" text, "1985" text, "1986" text, "1987" text, "1988" text, "1989" text );
SELECT "1983" FROM "grand_slam_performance_timeline" WHERE "tournament"='wimbledon';
2-14933707-9
Which Tournament has A in 1987?
CREATE TABLE "grand_slam_performance_timeline" ( "tournament" text, "1981" text, "1982" text, "1983" text, "1984" text, "1985" text, "1986" text, "1987" text, "1988" text, "1989" text );
SELECT "tournament" FROM "grand_slam_performance_timeline" WHERE "1987"='a';
2-14933707-9
Which 1988 has a 1985 of 2r?
CREATE TABLE "grand_slam_performance_timeline" ( "tournament" text, "1981" text, "1982" text, "1983" text, "1984" text, "1985" text, "1986" text, "1987" text, "1988" text, "1989" text );
SELECT "1988" FROM "grand_slam_performance_timeline" WHERE "1985"='2r';
2-14933707-9
Which 1988 has a 1982 of 104?
CREATE TABLE "grand_slam_performance_timeline" ( "tournament" text, "1981" text, "1982" text, "1983" text, "1984" text, "1985" text, "1986" text, "1987" text, "1988" text, "1989" text );
SELECT "1988" FROM "grand_slam_performance_timeline" WHERE "1982"='104';
2-14933707-9
Which Tournament has a 1984 of 1r?
CREATE TABLE "grand_slam_performance_timeline" ( "tournament" text, "1981" text, "1982" text, "1983" text, "1984" text, "1985" text, "1986" text, "1987" text, "1988" text, "1989" text );
SELECT "tournament" FROM "grand_slam_performance_timeline" WHERE "1984"='1r';
2-14933707-9
Release date of 2008 q3 has what release price?
CREATE TABLE "table_of_intel_80579_processors" ( "s_spec_number" text, "frequency" text, "l2_cache" text, "mult" text, "voltage" text, "socket" text, "release_date" text, "part_number_s" text, "release_price_usd" text );
SELECT "release_price_usd" FROM "table_of_intel_80579_processors" WHERE "release_date"='2008 q3';
2-14114066-1
Frequency of 1.2 ghz, and a Release price ( USD ) of $70 is what socket?
CREATE TABLE "table_of_intel_80579_processors" ( "s_spec_number" text, "frequency" text, "l2_cache" text, "mult" text, "voltage" text, "socket" text, "release_date" text, "part_number_s" text, "release_price_usd" text );
SELECT "socket" FROM "table_of_intel_80579_processors" WHERE "frequency"='1.2 ghz' AND "release_price_usd"='$70';
2-14114066-1
Socket of fcbga1088, and a Voltage of 1v, and a Part number(s) of nu80579ez600cnu80579ez600ct is what mult?
CREATE TABLE "table_of_intel_80579_processors" ( "s_spec_number" text, "frequency" text, "l2_cache" text, "mult" text, "voltage" text, "socket" text, "release_date" text, "part_number_s" text, "release_price_usd" text );
SELECT "mult" FROM "table_of_intel_80579_processors" WHERE "socket"='fcbga1088' AND "voltage"='1v' AND "part_number_s"='nu80579ez600cnu80579ez600ct';
2-14114066-1
Spec number of slj6d(b1)slj6f(b1) has what mult.?
CREATE TABLE "table_of_intel_80579_processors" ( "s_spec_number" text, "frequency" text, "l2_cache" text, "mult" text, "voltage" text, "socket" text, "release_date" text, "part_number_s" text, "release_price_usd" text );
SELECT "mult" FROM "table_of_intel_80579_processors" WHERE "s_spec_number"='slj6d(b1)slj6f(b1)';
2-14114066-1
Socket of without quickassist has what release price?
CREATE TABLE "table_of_intel_80579_processors" ( "s_spec_number" text, "frequency" text, "l2_cache" text, "mult" text, "voltage" text, "socket" text, "release_date" text, "part_number_s" text, "release_price_usd" text );
SELECT "release_price_usd" FROM "table_of_intel_80579_processors" WHERE "socket"='without quickassist';
2-14114066-1
Release date of 2008 q3, and a Part number(s) of nu80579ez009c has what Release price ( USD )?
CREATE TABLE "table_of_intel_80579_processors" ( "s_spec_number" text, "frequency" text, "l2_cache" text, "mult" text, "voltage" text, "socket" text, "release_date" text, "part_number_s" text, "release_price_usd" text );
SELECT "release_price_usd" FROM "table_of_intel_80579_processors" WHERE "release_date"='2008 q3' AND "part_number_s"='nu80579ez009c';
2-14114066-1
What is the lowest Hong Kong value with a 0 Brisbane value and a greater than 0 Kuala Lumpur value?
CREATE TABLE "standings" ( "new_zealand" real, "hong_kong" real, "singapore" real, "london" real, "brisbane" real, "cardiff" real, "durban" real, "santiago" real, "mar_del_plata" real, "beijing" real, "kuala_lumpur" real, "points" real );
SELECT MIN("hong_kong") FROM "standings" WHERE "brisbane"=0 AND "kuala_lumpur">0;
2-14571840-1
What is the highest Kuala Lumpur value with a Durban value less than 1 and a Mar Del Plata value greater than 0?
CREATE TABLE "standings" ( "new_zealand" real, "hong_kong" real, "singapore" real, "london" real, "brisbane" real, "cardiff" real, "durban" real, "santiago" real, "mar_del_plata" real, "beijing" real, "kuala_lumpur" real, "points" real );
SELECT MAX("kuala_lumpur") FROM "standings" WHERE "durban"<1 AND "mar_del_plata">0;
2-14571840-1
What is the highest New Zealand value with a Hong Kong value less than 0?
CREATE TABLE "standings" ( "new_zealand" real, "hong_kong" real, "singapore" real, "london" real, "brisbane" real, "cardiff" real, "durban" real, "santiago" real, "mar_del_plata" real, "beijing" real, "kuala_lumpur" real, "points" real );
SELECT MAX("new_zealand") FROM "standings" WHERE "hong_kong"<0;
2-14571840-1
What is the average Singapore value with a London value less than 0?
CREATE TABLE "standings" ( "new_zealand" real, "hong_kong" real, "singapore" real, "london" real, "brisbane" real, "cardiff" real, "durban" real, "santiago" real, "mar_del_plata" real, "beijing" real, "kuala_lumpur" real, "points" real );
SELECT AVG("singapore") FROM "standings" WHERE "london"<0;
2-14571840-1
What position was picked for Canada on Pick 8?
CREATE TABLE "first_round_history" ( "year" real, "pick" text, "player" text, "position" text, "country" text, "previous_team_league" text );
SELECT "position" FROM "first_round_history" WHERE "country"='canada' AND "pick"='8';
2-14725734-2
What is the position that is shown for 2011?
CREATE TABLE "first_round_history" ( "year" real, "pick" text, "player" text, "position" text, "country" text, "previous_team_league" text );
SELECT "position" FROM "first_round_history" WHERE "year"=2011;
2-14725734-2
what language is seethaiah in
CREATE TABLE "personal_life" ( "year" real, "song_title" text, "film_name" text, "language" text, "music_director" text );
SELECT "language" FROM "personal_life" WHERE "film_name"='seethaiah';
2-14713754-1
Which Producer has a Role of rizzette?
CREATE TABLE "2000_to_2002" ( "year" text, "title" text, "role" text, "producer" text, "director" text );
SELECT "producer" FROM "2000_to_2002" WHERE "role"='rizzette';
2-15236220-3
Which Title has a Director of rowell santiago?
CREATE TABLE "2000_to_2002" ( "year" text, "title" text, "role" text, "producer" text, "director" text );
SELECT "title" FROM "2000_to_2002" WHERE "director"='rowell santiago';
2-15236220-3
Which Year has a Producer of viva films, and a Title of magkapatid?
CREATE TABLE "2000_to_2002" ( "year" text, "title" text, "role" text, "producer" text, "director" text );
SELECT "year" FROM "2000_to_2002" WHERE "producer"='viva films' AND "title"='magkapatid';
2-15236220-3
Which Director has a Role of melissa?
CREATE TABLE "2000_to_2002" ( "year" text, "title" text, "role" text, "producer" text, "director" text );
SELECT "director" FROM "2000_to_2002" WHERE "role"='melissa';
2-15236220-3
What is the total number of averages where the played is more than 38, the 1990-91 is 39, and the 1989-90 is 34?
CREATE TABLE "relegation" ( "team" text, "average" real, "points" real, "played" real, "1989_90" text, "1990_91" text, "1991_1992" real );
SELECT SUM("average") FROM "relegation" WHERE "played">38 AND "1990_91"='39' AND "1989_90"='34';
2-14390413-1
Which 1990-91 has an average number of 1.035?
CREATE TABLE "relegation" ( "team" text, "average" real, "points" real, "played" real, "1989_90" text, "1990_91" text, "1991_1992" real );
SELECT "1990_91" FROM "relegation" WHERE "average"=1.035;
2-14390413-1
Which team has a 1990-91 number of 39 and a 1989-90 number of 34?
CREATE TABLE "relegation" ( "team" text, "average" real, "points" real, "played" real, "1989_90" text, "1990_91" text, "1991_1992" real );
SELECT "team" FROM "relegation" WHERE "1990_91"='39' AND "1989_90"='34';
2-14390413-1
Which played number has an average of 1.026 and a 1989-90 that is 36?
CREATE TABLE "relegation" ( "team" text, "average" real, "points" real, "played" real, "1989_90" text, "1990_91" text, "1991_1992" real );
SELECT "played" FROM "relegation" WHERE "average">1.026 AND "1989_90"='36';
2-14390413-1
Who was the wrestler when there was over 1 time?
CREATE TABLE "title_history" ( "wrestler" text, "times" real, "date" text, "place" text, "successful_defenses" real );
SELECT "wrestler" FROM "title_history" WHERE "times">1;
2-14738809-1
What results has a week larger than 13?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "attendance" real );
SELECT "result" FROM "schedule" WHERE "week">13;
2-13944099-1
What results has a week smaller than 2?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "attendance" real );
SELECT "result" FROM "schedule" WHERE "week"<2;
2-13944099-1
What was the score for game number 30?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text );
SELECT "score" FROM "game_log" WHERE "game"=30;
2-14827502-5
What is the sum for the game with a score of 103–126?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text );
SELECT SUM("game") FROM "game_log" WHERE "score"='103–126';
2-14827502-5
What is the lowest game number that has a Record of 3–33?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text );
SELECT MIN("game") FROM "game_log" WHERE "record"='3–33';
2-14827502-5
what score was on february 21
CREATE TABLE "regular_season" ( "game" real, "february" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT "score" FROM "regular_season" WHERE "february"=21;
2-14347797-7
What is the nationality of the player from the Ohio State University (NCAA) Team?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "nationality" FROM "draft_picks" WHERE "college_junior_club_team_league"='ohio state university (ncaa)';
2-14056030-13
What is the lowest round of the Kitchener Rangers (OHA)?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT MIN("round") FROM "draft_picks" WHERE "college_junior_club_team_league"='kitchener rangers (oha)';
2-14056030-13
What is the position of Pierre Daigneault?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT "position" FROM "draft_picks" WHERE "player"='pierre daigneault';
2-14056030-13
What is the average 2006 value with a 2010 value of 417.9 and a 2011 value greater than 426.7?
CREATE TABLE "economic_profile" ( "geographic_unit" text, "2006" real, "2007" real, "2008" real, "2009" real, "2010" real, "2011" real );
SELECT AVG("2006") FROM "economic_profile" WHERE "2010"=417.9 AND "2011">426.7;
2-1421600-1
What is the 2011 total with a 2008 value greater than 346.5, a 2009 value of 392, and a 2010 value bigger than 354.6?
CREATE TABLE "economic_profile" ( "geographic_unit" text, "2006" real, "2007" real, "2008" real, "2009" real, "2010" real, "2011" real );
SELECT COUNT("2011") FROM "economic_profile" WHERE "2008">346.5 AND "2009"=392 AND "2010">354.6;
2-1421600-1
What is the total 2008 value with a 2006 value greater than 322.7, a 353.9 in 2011, and a 2009 less than 392?
CREATE TABLE "economic_profile" ( "geographic_unit" text, "2006" real, "2007" real, "2008" real, "2009" real, "2010" real, "2011" real );
SELECT COUNT("2008") FROM "economic_profile" WHERE "2006">322.7 AND "2011"=353.9 AND "2009"<392;
2-1421600-1
What is the highest 2009 value with a 2006 value smaller than 280.4, a 2007 less than 2.2, and a 2011 less than 3.5?
CREATE TABLE "economic_profile" ( "geographic_unit" text, "2006" real, "2007" real, "2008" real, "2009" real, "2010" real, "2011" real );
SELECT MAX("2009") FROM "economic_profile" WHERE "2006"<280.4 AND "2007"<2.2 AND "2010"<3.5;
2-1421600-1
What is the average 2007 value with a 2009 value greater than 2.8, a 4.9 in 2010, and a 2006 less than 2.5?
CREATE TABLE "economic_profile" ( "geographic_unit" text, "2006" real, "2007" real, "2008" real, "2009" real, "2010" real, "2011" real );
SELECT AVG("2007") FROM "economic_profile" WHERE "2009">2.8 AND "2010"=4.9 AND "2006"<2.5;
2-1421600-1
What is the 2006 total with a 2010 value greater than 417.9?
CREATE TABLE "economic_profile" ( "geographic_unit" text, "2006" real, "2007" real, "2008" real, "2009" real, "2010" real, "2011" real );
SELECT COUNT("2006") FROM "economic_profile" WHERE "2010">417.9;
2-1421600-1
when has an Opponent of @ philadelphia phillies and an Attendance of 20,072?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );
SELECT "date" FROM "game_log" WHERE "opponent"='@ philadelphia phillies' AND "attendance"='20,072';
2-14290390-2
Which Opponent is on april 28?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );
SELECT "opponent" FROM "game_log" WHERE "date"='april 28';
2-14290390-2
Which Record has an Attendance of 24,597?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );
SELECT "record" FROM "game_log" WHERE "attendance"='24,597';
2-14290390-2
Which Record has a Loss of o'connor (0-1)?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );
SELECT "record" FROM "game_log" WHERE "loss"='o''connor (0-1)';
2-14290390-2
which attendance has a Loss of drese (0-2)?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );
SELECT "attendance" FROM "game_log" WHERE "loss"='drese (0-2)';
2-14290390-2
Who is the person that has 119.5 m?
CREATE TABLE "sapporo" ( "rank" real, "name" text, "nationality" text, "1st_m" real, "2nd_m" real, "points" real, "overall_wc_points_rank" text );
SELECT "name" FROM "sapporo" WHERE "1st_m"=119.5;
2-14407512-17
What is the highest 2nd in (m) that has a Rank more than 2 and Points more than 249.3
CREATE TABLE "sapporo" ( "rank" real, "name" text, "nationality" text, "1st_m" real, "2nd_m" real, "points" real, "overall_wc_points_rank" text );
SELECT MAX("2nd_m") FROM "sapporo" WHERE "rank">2 AND "points">249.3;
2-14407512-17
Which 2nd (m) has a 1st (m) of 120.5 and Points smaller than 249.9?
CREATE TABLE "sapporo" ( "rank" real, "name" text, "nationality" text, "1st_m" real, "2nd_m" real, "points" real, "overall_wc_points_rank" text );
SELECT AVG("2nd_m") FROM "sapporo" WHERE "1st_m"=120.5 AND "points"<249.9;
2-14407512-17
What is the first date of election for the incumbent that was re-elected in the South Carolina 1 district?
CREATE TABLE "south_carolina" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text );
SELECT "first_elected" FROM "south_carolina" WHERE "result"='re-elected' AND "district"='south carolina 1';
2-1431467-4
Who was the incumbent who was first elected in 1876?
CREATE TABLE "south_carolina" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text );
SELECT "incumbent" FROM "south_carolina" WHERE "first_elected"='1876';
2-1431467-4
Who was the Democratic incumbent in the South Carolina 5 District?
CREATE TABLE "south_carolina" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text );
SELECT "incumbent" FROM "south_carolina" WHERE "party"='democratic' AND "district"='south carolina 5';
2-1431467-4
What is the first elected date for the incumbent in the South Carolina 4 district?
CREATE TABLE "south_carolina" ( "district" text, "incumbent" text, "party" text, "first_elected" text, "result" text );
SELECT "first_elected" FROM "south_carolina" WHERE "district"='south carolina 4';
2-1431467-4
Which area has a telephone of (052) of 3862279?
CREATE TABLE "administrative_divisions" ( "number" real, "name_of_administrative_unit" text, "telephone_052" text, "area_km_2" real, "population_people" real );
SELECT "area_km_2" FROM "administrative_divisions" WHERE "telephone_052"='3862279';
2-14465924-1
What is the sum of area with a population of 5,615 and number more than 6?
CREATE TABLE "administrative_divisions" ( "number" real, "name_of_administrative_unit" text, "telephone_052" text, "area_km_2" real, "population_people" real );
SELECT SUM("area_km_2") FROM "administrative_divisions" WHERE "population_people"='5,615' AND "number">6;
2-14465924-1
Which driver had points over 252 in the season of 2012 with a percentage of possible points at 55.60%?
CREATE TABLE "most_championship_points_in_a_season" ( "driver" text, "points" real, "season" text, "races" real, "percentage_of_possible_points" text );
SELECT "driver" FROM "most_championship_points_in_a_season" WHERE "points">252 AND "season"='2012' AND "percentage_of_possible_points"='55.60%';
2-13599687-59
What is the number of races that took place with points of 257?
CREATE TABLE "most_championship_points_in_a_season" ( "driver" text, "points" real, "season" text, "races" real, "percentage_of_possible_points" text );
SELECT SUM("races") FROM "most_championship_points_in_a_season" WHERE "points"=257;
2-13599687-59
What is the number of points that driver fernando alonso has in the season he had 20 races?
CREATE TABLE "most_championship_points_in_a_season" ( "driver" text, "points" real, "season" text, "races" real, "percentage_of_possible_points" text );
SELECT SUM("points") FROM "most_championship_points_in_a_season" WHERE "races"=20 AND "driver"='fernando alonso';
2-13599687-59
What was the average Points of the season driver Fernando Alonso had a percentage of possible points of 53.05%?
CREATE TABLE "most_championship_points_in_a_season" ( "driver" text, "points" real, "season" text, "races" real, "percentage_of_possible_points" text );
SELECT AVG("points") FROM "most_championship_points_in_a_season" WHERE "driver"='fernando alonso' AND "percentage_of_possible_points"='53.05%';
2-13599687-59
What position has 217 as the pick?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "name" text, "position" text, "college" text );
SELECT "position" FROM "nfl_draft" WHERE "pick"=217;
2-14102220-1
Which score has a record of 18-21-7?
CREATE TABLE "schedule_and_results" ( "game" real, "january" real, "opponent" text, "score" text, "record" text );
SELECT "score" FROM "schedule_and_results" WHERE "record"='18-21-7';
2-13912864-5
What is the lowest value for apps in 2009 season in a division less than 1?
CREATE TABLE "career_statistics" ( "season" text, "team" text, "country" text, "division" real, "apps" real, "goals" real );
SELECT MIN("apps") FROM "career_statistics" WHERE "season"='2009' AND "division"<1;
2-1380738-1
What is the sum of goals for Torpedo Moscow in division 1 with an apps value less than 29?
CREATE TABLE "career_statistics" ( "season" text, "team" text, "country" text, "division" real, "apps" real, "goals" real );
SELECT SUM("goals") FROM "career_statistics" WHERE "team"='torpedo moscow' AND "division"=1 AND "apps"<29;
2-1380738-1
Which Remixed by has a Version of album version, and an Album of les mots?
CREATE TABLE "official_versions" ( "version" text, "length" text, "album" text, "remixed_by" text, "year" real );
SELECT "remixed_by" FROM "official_versions" WHERE "version"='album version' AND "album"='les mots';
2-15204733-2
How long was the instrumental version in 1986?
CREATE TABLE "official_versions" ( "version" text, "length" text, "album" text, "remixed_by" text, "year" real );
SELECT "length" FROM "official_versions" WHERE "year"=1986 AND "version"='instrumental';
2-15204733-2
Which long version was remixed in 1986?
CREATE TABLE "official_versions" ( "version" text, "length" text, "album" text, "remixed_by" text, "year" real );
SELECT "remixed_by" FROM "official_versions" WHERE "year"=1986 AND "version"='long version';
2-15204733-2
Who was Canada's lead?
CREATE TABLE "teams" ( "country" text, "skip" text, "third" text, "second" text, "lead" text );
SELECT "lead" FROM "teams" WHERE "country"='canada';
2-15066680-55
What was Canada's skip?
CREATE TABLE "teams" ( "country" text, "skip" text, "third" text, "second" text, "lead" text );
SELECT "skip" FROM "teams" WHERE "country"='canada';
2-15066680-55
Which country has a Lead of sarah wazney?
CREATE TABLE "teams" ( "country" text, "skip" text, "third" text, "second" text, "lead" text );
SELECT "country" FROM "teams" WHERE "lead"='sarah wazney';
2-15066680-55
Which Lead has a Third of jeanne ellegaard?
CREATE TABLE "teams" ( "country" text, "skip" text, "third" text, "second" text, "lead" text );
SELECT "lead" FROM "teams" WHERE "third"='jeanne ellegaard';
2-15066680-55
Which Skip has a Third of sara carlsson?
CREATE TABLE "teams" ( "country" text, "skip" text, "third" text, "second" text, "lead" text );
SELECT "skip" FROM "teams" WHERE "third"='sara carlsson';
2-15066680-55
Which Skip has a Second of vicki adams?
CREATE TABLE "teams" ( "country" text, "skip" text, "third" text, "second" text, "lead" text );
SELECT "skip" FROM "teams" WHERE "second"='vicki adams';
2-15066680-55
Enrollment that has a School of south central (union mills) has what sum?
CREATE TABLE "indiana_high_school_athletics_conference" ( "school" text, "city" text, "mascot" text, "enrollment" real, "county" text );
SELECT SUM("enrollment") FROM "indiana_high_school_athletics_conference" WHERE "school"='south central (union mills)';
2-13986492-9
Mascot of blazers involves what city?
CREATE TABLE "indiana_high_school_athletics_conference" ( "school" text, "city" text, "mascot" text, "enrollment" real, "county" text );
SELECT "city" FROM "indiana_high_school_athletics_conference" WHERE "mascot"='blazers';
2-13986492-9
County of 46 laporte is what school?
CREATE TABLE "indiana_high_school_athletics_conference" ( "school" text, "city" text, "mascot" text, "enrollment" real, "county" text );
SELECT "school" FROM "indiana_high_school_athletics_conference" WHERE "county"='46 laporte';
2-13986492-9
What is the average Laps that shows spun off for time?
CREATE TABLE "sprint_race" ( "team" text, "driver" text, "laps" real, "time" text, "grid" real );
SELECT AVG("laps") FROM "sprint_race" WHERE "time"='spun off';
2-14647789-3
What is the average Laps for the Mexico team with a grid number of more than 1?
CREATE TABLE "sprint_race" ( "team" text, "driver" text, "laps" real, "time" text, "grid" real );
SELECT AVG("laps") FROM "sprint_race" WHERE "grid">1 AND "team"='mexico';
2-14647789-3
What is name of the drive with a Time of +13.315?
CREATE TABLE "sprint_race" ( "team" text, "driver" text, "laps" real, "time" text, "grid" real );
SELECT "driver" FROM "sprint_race" WHERE "time"='+13.315';
2-14647789-3
What is the total grid number that has 14 laps and a time of +29.483?
CREATE TABLE "sprint_race" ( "team" text, "driver" text, "laps" real, "time" text, "grid" real );
SELECT COUNT("grid") FROM "sprint_race" WHERE "laps"=14 AND "time"='+29.483';
2-14647789-3
What is the total number of Laps when collision shows for time for Switzerland and less than 11 for grid?
CREATE TABLE "sprint_race" ( "team" text, "driver" text, "laps" real, "time" text, "grid" real );
SELECT COUNT("laps") FROM "sprint_race" WHERE "time"='collision' AND "team"='switzerland' AND "grid"<11;
2-14647789-3
What is the time of the game after week 4 against the Baltimore Ravens?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "location" text, "time_et" text, "result" text, "record" text );
SELECT "time_et" FROM "schedule" WHERE "week">4 AND "opponent"='baltimore ravens';
2-14727968-1
What nominated work has seattle international film festival as the award?
CREATE TABLE "awards_and_nominations" ( "year" real, "award" text, "nominated_work" text, "category" text, "result" text );
SELECT "nominated_work" FROM "awards_and_nominations" WHERE "award"='seattle international film festival';
2-1430940-3
What award has breakthrough performance as the category?
CREATE TABLE "awards_and_nominations" ( "year" real, "award" text, "nominated_work" text, "category" text, "result" text );
SELECT "award" FROM "awards_and_nominations" WHERE "category"='breakthrough performance';
2-1430940-3