question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Can you tell me the Opponent that has the Round of 3?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "round"=3;
2-17445522-3
What is the main use for the structure listed in walker city, iowa?
CREATE TABLE "structures_past_or_present_between_550_a" ( "pinnacle_height" text, "year" real, "structure_type" text, "main_use" text, "country" text, "town" text );
SELECT "main_use" FROM "structures_past_or_present_between_550_a" WHERE "town"='walker city, iowa';
2-166570-2
What year was the structure in greensboro, north carolina considered tallest?
CREATE TABLE "structures_past_or_present_between_550_a" ( "pinnacle_height" text, "year" real, "structure_type" text, "main_use" text, "country" text, "town" text );
SELECT "year" FROM "structures_past_or_present_between_550_a" WHERE "town"='greensboro, north carolina';
2-166570-2
What was the earliest year that a structure was located in gray court, south carolina?
CREATE TABLE "structures_past_or_present_between_550_a" ( "pinnacle_height" text, "year" real, "structure_type" text, "main_use" text, "country" text, "town" text );
SELECT MIN("year") FROM "structures_past_or_present_between_550_a" WHERE "town"='gray court, south carolina';
2-166570-2
What is the main use of the structure that was in redfield, arkansas before 2004?
CREATE TABLE "structures_past_or_present_between_550_a" ( "pinnacle_height" text, "year" real, "structure_type" text, "main_use" text, "country" text, "town" text );
SELECT "main_use" FROM "structures_past_or_present_between_550_a" WHERE "year"<2004 AND "town"='redfield, arkansas';
2-166570-2
How far did the pilot go when averaging 124.1km/h?
CREATE TABLE "race_4_5_01_2010" ( "position" real, "pilot" text, "glider" text, "speed" text, "distance" text );
SELECT "distance" FROM "race_4_5_01_2010" WHERE "speed"='124.1km/h';
2-17277703-7
What was sebastian kawa's average speed with Diana 2?
CREATE TABLE "race_4_5_01_2010" ( "position" real, "pilot" text, "glider" text, "speed" text, "distance" text );
SELECT "speed" FROM "race_4_5_01_2010" WHERE "glider"='diana 2' AND "pilot"='sebastian kawa';
2-17277703-7
What glider did thomas gostner pilot?
CREATE TABLE "race_4_5_01_2010" ( "position" real, "pilot" text, "glider" text, "speed" text, "distance" text );
SELECT "glider" FROM "race_4_5_01_2010" WHERE "pilot"='thomas gostner';
2-17277703-7
Which Run 4 has a Final of 8:16.28?
CREATE TABLE "results" ( "rank" text, "team" text, "athletes" text, "run_1" text, "run_2" text, "run_3" text, "run_4" text, "final" text );
SELECT "run_4" FROM "results" WHERE "final"='8:16.28';
2-16927589-2
Which Run 4 has Athletes of hubert stevens & curtis stevens?
CREATE TABLE "results" ( "rank" text, "team" text, "athletes" text, "run_1" text, "run_2" text, "run_3" text, "run_4" text, "final" text );
SELECT "run_4" FROM "results" WHERE "athletes"='hubert stevens & curtis stevens';
2-16927589-2
Which Run 2 has a Rank of 4?
CREATE TABLE "results" ( "rank" text, "team" text, "athletes" text, "run_1" text, "run_2" text, "run_3" text, "run_4" text, "final" text );
SELECT "run_2" FROM "results" WHERE "rank"='4';
2-16927589-2
Which Athletes have a Rank of bronze?
CREATE TABLE "results" ( "rank" text, "team" text, "athletes" text, "run_1" text, "run_2" text, "run_3" text, "run_4" text, "final" text );
SELECT "athletes" FROM "results" WHERE "rank"='bronze';
2-16927589-2
Which Athletes have a Run 2 of 2:21.82?
CREATE TABLE "results" ( "rank" text, "team" text, "athletes" text, "run_1" text, "run_2" text, "run_3" text, "run_4" text, "final" text );
SELECT "athletes" FROM "results" WHERE "run_2"='2:21.82';
2-16927589-2
Which Run 3 has a Run 1 of 2:20.10?
CREATE TABLE "results" ( "rank" text, "team" text, "athletes" text, "run_1" text, "run_2" text, "run_3" text, "run_4" text, "final" text );
SELECT "run_3" FROM "results" WHERE "run_1"='2:20.10';
2-16927589-2
What were the dates administered in the Survey USA poll source where Republican Christopher Reed received 37%?
CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_tom_harkin" text, "republican_christopher_reed" text, "lead_margin" real );
SELECT "dates_administered" FROM "opinion_polling_for_the_united_states_se" WHERE "poll_source"='survey usa' AND "republican_christopher_reed"='37%';
2-16751596-3
What percentage did Republish Christopher Reed receive when the lead margin was smaller than 16?
CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_tom_harkin" text, "republican_christopher_reed" text, "lead_margin" real );
SELECT "republican_christopher_reed" FROM "opinion_polling_for_the_united_states_se" WHERE "lead_margin"<16;
2-16751596-3
What were the dates administered when the lead margin was smaller than 39 with Republican Christopher Reed at 37% and Democrat Tom Harkin at 53%?
CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_tom_harkin" text, "republican_christopher_reed" text, "lead_margin" real );
SELECT "dates_administered" FROM "opinion_polling_for_the_united_states_se" WHERE "lead_margin"<39 AND "republican_christopher_reed"='37%' AND "democrat_tom_harkin"='53%';
2-16751596-3
What was Democrat: Tom Harkin's percentage when the poll source was Rasmussen Reports and the lead margin was 14?
CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_tom_harkin" text, "republican_christopher_reed" text, "lead_margin" real );
SELECT "democrat_tom_harkin" FROM "opinion_polling_for_the_united_states_se" WHERE "poll_source"='rasmussen reports' AND "lead_margin"=14;
2-16751596-3
What were the dates administered when the lead margin was larger than 14 and the poll source was Research 2000?
CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_tom_harkin" text, "republican_christopher_reed" text, "lead_margin" real );
SELECT "dates_administered" FROM "opinion_polling_for_the_united_states_se" WHERE "lead_margin">14 AND "poll_source"='research 2000';
2-16751596-3
What is Olivier Jacque's Time/Retired?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" text, "time_retired" text, "grid" text );
SELECT "time_retired" FROM "moto_gp_classification" WHERE "rider"='olivier jacque';
2-17063289-1
Which manufacturer is grid 11?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" text, "time_retired" text, "grid" text );
SELECT "manufacturer" FROM "moto_gp_classification" WHERE "grid"='11';
2-17063289-1
Which manufacturer does Loris Capirossi ride for?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" text, "time_retired" text, "grid" text );
SELECT "manufacturer" FROM "moto_gp_classification" WHERE "rider"='loris capirossi';
2-17063289-1
Which manufacturer has 8 laps?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" text, "time_retired" text, "grid" text );
SELECT "manufacturer" FROM "moto_gp_classification" WHERE "laps"='8';
2-17063289-1
How many laps does grid 4 have?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" text, "time_retired" text, "grid" text );
SELECT "laps" FROM "moto_gp_classification" WHERE "grid"='4';
2-17063289-1
Which rider's manufacturer is Honda and has 28 laps and a grid of 1?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" text, "time_retired" text, "grid" text );
SELECT "rider" FROM "moto_gp_classification" WHERE "laps"='28' AND "manufacturer"='honda' AND "grid"='1';
2-17063289-1
What is the 2006 sum with a rank 1 and more than 6758845 in 1996?
CREATE TABLE "cities_over_1_000_000_population" ( "rank" real, "city" text, "province" text, "date_of_official_foundation_of_municipality" real, "2006" real, "1996" real, "1986" real, "1976" real, "1966" real, "1956" real );
SELECT SUM("2006") FROM "cities_over_1_000_000_population" WHERE "rank"=1 AND "1996">6758845;
2-17288411-1
What is the total number in 2006, which has an official foundation of municipality of 1918?
CREATE TABLE "cities_over_1_000_000_population" ( "rank" real, "city" text, "province" text, "date_of_official_foundation_of_municipality" real, "2006" real, "1996" real, "1986" real, "1976" real, "1966" real, "1956" real );
SELECT COUNT("2006") FROM "cities_over_1_000_000_population" WHERE "date_of_official_foundation_of_municipality"=1918;
2-17288411-1
What is teh average rank of the city of mashhad, which had less than 667770 in 1976?
CREATE TABLE "cities_over_1_000_000_population" ( "rank" real, "city" text, "province" text, "date_of_official_foundation_of_municipality" real, "2006" real, "1996" real, "1986" real, "1976" real, "1966" real, "1956" real );
SELECT AVG("rank") FROM "cities_over_1_000_000_population" WHERE "city"='mashhad' AND "1976"<667770;
2-17288411-1
What is the average rank of the province alborz, which had more than 14526 in 1956?
CREATE TABLE "cities_over_1_000_000_population" ( "rank" real, "city" text, "province" text, "date_of_official_foundation_of_municipality" real, "2006" real, "1996" real, "1986" real, "1976" real, "1966" real, "1956" real );
SELECT AVG("rank") FROM "cities_over_1_000_000_population" WHERE "province"='alborz' AND "1956">14526;
2-17288411-1
Which World Rank happened in 1977?
CREATE TABLE "400_meters" ( "year" real, "result" real, "world_rank" text, "location" text, "date" text );
SELECT "world_rank" FROM "400_meters" WHERE "year"=1977;
2-1673661-3
What is the rank for the episode that premiered on September 12, 1979?
CREATE TABLE "nielsen_ratings_broadcast_history" ( "season" real, "premiere" text, "finale" text, "rank" text, "rating" text );
SELECT "rank" FROM "nielsen_ratings_broadcast_history" WHERE "premiere"='september 12, 1979';
2-174284-2
What was the date of the finale for the season that premiered on September 22, 1976?
CREATE TABLE "nielsen_ratings_broadcast_history" ( "season" real, "premiere" text, "finale" text, "rank" text, "rating" text );
SELECT "finale" FROM "nielsen_ratings_broadcast_history" WHERE "premiere"='september 22, 1976';
2-174284-2
What is the rank for the episode that premiered on September 13, 1978?
CREATE TABLE "nielsen_ratings_broadcast_history" ( "season" real, "premiere" text, "finale" text, "rank" text, "rating" text );
SELECT "rank" FROM "nielsen_ratings_broadcast_history" WHERE "premiere"='september 13, 1978';
2-174284-2
What was the date of the finale for Season 3?
CREATE TABLE "nielsen_ratings_broadcast_history" ( "season" real, "premiere" text, "finale" text, "rank" text, "rating" text );
SELECT "finale" FROM "nielsen_ratings_broadcast_history" WHERE "season"=3;
2-174284-2
What was the date of the premiere that had a 20.9 rating?
CREATE TABLE "nielsen_ratings_broadcast_history" ( "season" real, "premiere" text, "finale" text, "rank" text, "rating" text );
SELECT "premiere" FROM "nielsen_ratings_broadcast_history" WHERE "rating"='20.9';
2-174284-2
What was Herdez Competition's total points with a grid larger than 1?
CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real );
SELECT COUNT("points") FROM "race" WHERE "team"='herdez competition' AND "grid">1;
2-16420963-2
What was the highest lap count for Walker Racing with a grid larger than 15?
CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real );
SELECT MAX("laps") FROM "race" WHERE "team"='walker racing' AND "grid">15;
2-16420963-2
Which driver had 248 laps?
CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real );
SELECT "driver" FROM "race" WHERE "laps"=248;
2-16420963-2
What driver had a time/retired of + 10 laps and more than 6 points?
CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real );
SELECT "driver" FROM "race" WHERE "time_retired"='+ 10 laps' AND "points">6;
2-16420963-2
Which Record has a Game of 61?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text );
SELECT "record" FROM "game_log" WHERE "game"=61;
2-17058116-8
Which High points have a Record of 27–29?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text );
SELECT "high_points" FROM "game_log" WHERE "record"='27–29';
2-17058116-8
Which High points has a Game larger than 58, and a High rebounds of francisco elson (7)?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text );
SELECT "high_points" FROM "game_log" WHERE "game">58 AND "high_rebounds"='francisco elson (7)';
2-17058116-8
Which Location Attendance has a Date of february 27?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text );
SELECT "location_attendance" FROM "game_log" WHERE "date"='february 27';
2-17058116-8
Which Record has a High rebounds of luc mbah a moute (11)?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text );
SELECT "record" FROM "game_log" WHERE "high_rebounds"='luc mbah a moute (11)';
2-17058116-8
Which Game has a Record of 27–30?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text );
SELECT SUM("game") FROM "game_log" WHERE "record"='27–30';
2-17058116-8
What Tournament had a Score in Final of 5–7, 4–6?
CREATE TABLE "doubles_18_7_10" ( "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_final" text, "score_in_final" text );
SELECT "tournament" FROM "doubles_18_7_10" WHERE "score_in_final"='5–7, 4–6';
2-1676921-5
What is the Opponents in Final in the match with a Score in Final of 4–6, 1–6 played on Clay Surface?
CREATE TABLE "doubles_18_7_10" ( "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_final" text, "score_in_final" text );
SELECT "opponents_in_final" FROM "doubles_18_7_10" WHERE "score_in_final"='4–6, 1–6' AND "surface"='clay';
2-1676921-5
What is the Date of the match with Partner Steffi Graf with a Score in Final of 4–6, 1–6?
CREATE TABLE "doubles_18_7_10" ( "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_final" text, "score_in_final" text );
SELECT "date" FROM "doubles_18_7_10" WHERE "score_in_final"='4–6, 1–6' AND "partner"='steffi graf';
2-1676921-5
What is the Partner of the match with a Score in Final of 5–7, 4–6?
CREATE TABLE "doubles_18_7_10" ( "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_final" text, "score_in_final" text );
SELECT "partner" FROM "doubles_18_7_10" WHERE "score_in_final"='5–7, 4–6';
2-1676921-5
What is 2001, when 1999 is "2R", and when 1992 is "3R"?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text...
SELECT "2001" FROM "singles_performance_timeline" WHERE "1999"='2r' AND "1992"='3r';
2-1728546-3
What is 1990, when 1997 is "1R", and when Tournament is "Hamburg"?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text...
SELECT "1990" FROM "singles_performance_timeline" WHERE "1997"='1r' AND "tournament"='hamburg';
2-1728546-3
What is 2001, when 1989 is "A", and when Tournament is "U.S. Open"?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text...
SELECT "2001" FROM "singles_performance_timeline" WHERE "1989"='a' AND "tournament"='u.s. open';
2-1728546-3
what is the goals against when the points is 43 and draws is more than 9?
CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT AVG("goals_against") FROM "group_i" WHERE "points"=43 AND "draws">9;
2-17619574-2
what is the goals when the goal difference is more than -3, the club is real avilés cf and the goals against is more than 60?
CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT SUM("goals_for") FROM "group_i" WHERE "goal_difference">-3 AND "club"='real avilés cf' AND "goals_against">60;
2-17619574-2
what is the least draws when the position is lower than 5, the points is 62 and played is more than 38?
CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT MIN("draws") FROM "group_i" WHERE "position"<5 AND "points"=62 AND "played">38;
2-17619574-2
what is the played when the wins is 21 and the positions is higher than 3?
CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT SUM("played") FROM "group_i" WHERE "wins"=21 AND "position">3;
2-17619574-2
What is the sum of Week, when Date is December 2, 2001?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT SUM("week") FROM "schedule" WHERE "date"='december 2, 2001';
2-16778063-2
What is the total number of Week, when Opponent is At Cleveland Browns?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT COUNT("week") FROM "schedule" WHERE "opponent"='at cleveland browns';
2-16778063-2
What Country's ICAO is VOTR?
CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "country" FROM "destinations" WHERE "icao"='votr';
2-1679864-2
What is the City in the Maldives?
CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "city" FROM "destinations" WHERE "country"='maldives';
2-1679864-2
What is the ICAO in India with IATA TRZ?
CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "icao" FROM "destinations" WHERE "country"='india' AND "iata"='trz';
2-1679864-2
What is the Airport in Singapore?
CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "airport" FROM "destinations" WHERE "country"='singapore';
2-1679864-2
What is the Airport with an IATA of TRZ?
CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "airport" FROM "destinations" WHERE "iata"='trz';
2-1679864-2
What is the opponent of the game with a w 87-64 score?
CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "opponent" FROM "regular_season" WHERE "score"='w 87-64';
2-17104677-7
What is the location/attendance of the game with a 3-1 record?
CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "location_attendance" FROM "regular_season" WHERE "record"='3-1';
2-17104677-7
Who had the highest points of the game on May 27?
CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "high_points" FROM "regular_season" WHERE "date"='may 27';
2-17104677-7
Who is the opponent on October 28, 2001?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" text );
SELECT "opponent" FROM "schedule" WHERE "date"='october 28, 2001';
2-16351975-2
What was the lowest week at Ralph Wilson Stadium on October 7, 2001?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" text );
SELECT MIN("week") FROM "schedule" WHERE "game_site"='ralph wilson stadium' AND "date"='october 7, 2001';
2-16351975-2
What is the sum of To Par, when Player is "Bob Rosburg"?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real );
SELECT SUM("to_par") FROM "third_round" WHERE "player"='bob rosburg';
2-17290150-6
What is the total number of To Par, when Score is "70-75-76=221"?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real );
SELECT COUNT("to_par") FROM "third_round" WHERE "score"='70-75-76=221';
2-17290150-6
What is Player, when Score is "76-73-73=222"?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real );
SELECT "player" FROM "third_round" WHERE "score"='76-73-73=222';
2-17290150-6
What is Score, when To Par is greater than 7, when Place is "T4", and when Player is "Bob Rosburg"?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real );
SELECT "score" FROM "third_round" WHERE "to_par">7 AND "place"='t4' AND "player"='bob rosburg';
2-17290150-6
Which transfer window ends after 2006?
CREATE TABLE "in" ( "nat" text, "name" text, "moving_from" text, "type" text, "transfer_window" text, "ends" real, "transfer_fee" text );
SELECT "transfer_window" FROM "in" WHERE "ends">2006;
2-1630554-1
What is the transfer fee for Paolo Vanoli?
CREATE TABLE "in" ( "nat" text, "name" text, "moving_from" text, "type" text, "transfer_window" text, "ends" real, "transfer_fee" text );
SELECT "transfer_fee" FROM "in" WHERE "name"='paolo vanoli';
2-1630554-1
What is the nationality of Gavin Rae?
CREATE TABLE "in" ( "nat" text, "name" text, "moving_from" text, "type" text, "transfer_window" text, "ends" real, "transfer_fee" text );
SELECT "nat" FROM "in" WHERE "name"='gavin rae';
2-1630554-1
How much Overall has a Position of ot, and a Round larger than 5?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT COUNT("overall") FROM "washington_redskins_draft_history" WHERE "position"='ot' AND "round">5;
2-17100961-5
What is the to par for Bart Bryant?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "to_par" FROM "third_round" WHERE "player"='bart bryant';
2-16225902-6
Who scored 68-73-66=207 in South Africa?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "third_round" WHERE "country"='south africa' AND "score"='68-73-66=207';
2-16225902-6
What year is Zhong from?
CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text, "from" text );
SELECT "from" FROM "vassal_states" WHERE "name"='zhong';
2-17310478-8
Which Royal house has a name of ding?
CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text, "from" text );
SELECT "royal_house" FROM "vassal_states" WHERE "name"='ding';
2-17310478-8
What type of state is bo qin?
CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text, "from" text );
SELECT "type" FROM "vassal_states" WHERE "name"='bo qin';
2-17310478-8
What year is the Royal house of ji from?
CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text, "from" text );
SELECT "from" FROM "vassal_states" WHERE "royal_house"='ji';
2-17310478-8
What type of state has a royal house of ji and has a ruler?
CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text, "from" text );
SELECT "type" FROM "vassal_states" WHERE "royal_house"='ji' AND "title"='ruler';
2-17310478-8
what is the record when the game is 13?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "location_attendance" text, "record" text );
SELECT "record" FROM "game_log" WHERE "game"=13;
2-17382411-4
who had the high points on november 20?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "location_attendance" text, "record" text );
SELECT "high_points" FROM "game_log" WHERE "date"='november 20';
2-17382411-4
What is the Score on November 23, 1946 with Washington Capitols Home team?
CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "regular_season" WHERE "home"='washington capitols' AND "date"='november 23, 1946';
2-17102518-2
On what Date is the Detroit Falcons the Home team in a game with a Score of 63–66?
CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "date" FROM "regular_season" WHERE "home"='detroit falcons' AND "score"='63–66';
2-17102518-2
What is the Home team on January 24, 1947?
CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "home" FROM "regular_season" WHERE "date"='january 24, 1947';
2-17102518-2
What is the Home team on November 16, 1946?
CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "home" FROM "regular_season" WHERE "date"='november 16, 1946';
2-17102518-2
What is the Home team on February 2, 1947?
CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "home" FROM "regular_season" WHERE "date"='february 2, 1947';
2-17102518-2
Which Laps have a Time of +23.002, and a Grid smaller than 11?
CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real );
SELECT AVG("laps") FROM "125cc_classification" WHERE "time"='+23.002' AND "grid"<11;
2-16193157-3
Which Laps have a Manufacturer of aprilia, and a Rider of sergio gadea?
CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real );
SELECT "laps" FROM "125cc_classification" WHERE "manufacturer"='aprilia' AND "rider"='sergio gadea';
2-16193157-3
Which Grid that has a Rider of mike di meglio, and Laps larger than 23?
CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real );
SELECT AVG("grid") FROM "125cc_classification" WHERE "rider"='mike di meglio' AND "laps">23;
2-16193157-3
Which Manufacturer has a Grid smaller than 9, and a Time of +22.517?
CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real );
SELECT "manufacturer" FROM "125cc_classification" WHERE "grid"<9 AND "time"='+22.517';
2-16193157-3
What is Result, when Round is SF?
CREATE TABLE "league_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real, "scorers" text );
SELECT "result" FROM "league_cup" WHERE "round"='sf';
2-16649577-6
What is Scorers, when Attendance is greater than 11,091, and when Round is R3?
CREATE TABLE "league_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real, "scorers" text );
SELECT "scorers" FROM "league_cup" WHERE "attendance">'11,091' AND "round"='r3';
2-16649577-6
What is Result, when Date is 11 August 1992?
CREATE TABLE "league_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real, "scorers" text );
SELECT "result" FROM "league_cup" WHERE "date"='11 august 1992';
2-16649577-6
What is Result, when Date is 19 August 1992?
CREATE TABLE "league_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real, "scorers" text );
SELECT "result" FROM "league_cup" WHERE "date"='19 august 1992';
2-16649577-6
Did he win or lose rof 32: respect?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "res" FROM "mixed_martial_arts_record" WHERE "event"='rof 32: respect';
2-17440823-2
What round did he win rof 29: aftershock in?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "round" FROM "mixed_martial_arts_record" WHERE "res"='win' AND "event"='rof 29: aftershock';
2-17440823-2