question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What Title's Transliteration is Fal'shivaya Nota?
CREATE TABLE "solo_songs" ( "title" text, "russian" text, "transliteration" text, "original_text" text, "start" real );
SELECT "title" FROM "solo_songs" WHERE "transliteration"='fal''shivaya nota';
2-16820824-5
What Title has a Transliteration of u lyudey-to v domu?
CREATE TABLE "solo_songs" ( "title" text, "russian" text, "transliteration" text, "original_text" text, "start" real );
SELECT "title" FROM "solo_songs" WHERE "transliteration"='u lyudey-to v domu';
2-16820824-5
What is average frequency MHZ when is in portales, new mexico?
CREATE TABLE "new_mexico" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "fcc_info" text );
SELECT AVG("frequency_m_hz") FROM "new_mexico" WHERE "city_of_license"='portales, new mexico';
2-17101015-8
What is FCC info when ERP W is larger than 92 and call sign has k264ba?
CREATE TABLE "new_mexico" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "fcc_info" text );
SELECT "fcc_info" FROM "new_mexico" WHERE "erp_w">92 AND "call_sign"='k264ba';
2-17101015-8
Which call sign has ERP Wlarger than 250, and Frequency MHZ smaller than 99.3?
CREATE TABLE "new_mexico" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "fcc_info" text );
SELECT "call_sign" FROM "new_mexico" WHERE "erp_w">250 AND "frequency_m_hz"<99.3;
2-17101015-8
Where was the game played when the score was 1-4?
CREATE TABLE "friendly_2004" ( "date" text, "venue" text, "opponents" text, "score" text, "comp" text );
SELECT "venue" FROM "friendly_2004" WHERE "score"='1-4';
2-16620240-3
Who was the game played against on 2004-02-28 at Skytteholms IP?
CREATE TABLE "friendly_2004" ( "date" text, "venue" text, "opponents" text, "score" text, "comp" text );
SELECT "opponents" FROM "friendly_2004" WHERE "venue"='skytteholms ip' AND "date"='2004-02-28';
2-16620240-3
When the game was played at Domnarvsvallen who were the opponents?
CREATE TABLE "friendly_2004" ( "date" text, "venue" text, "opponents" text, "score" text, "comp" text );
SELECT "opponents" FROM "friendly_2004" WHERE "venue"='domnarvsvallen';
2-16620240-3
Who were the opposing team when playing in the Portugal venue?
CREATE TABLE "friendly_2004" ( "date" text, "venue" text, "opponents" text, "score" text, "comp" text );
SELECT "opponents" FROM "friendly_2004" WHERE "venue"='portugal';
2-16620240-3
Where was the game played on 2004-06-23?
CREATE TABLE "friendly_2004" ( "date" text, "venue" text, "opponents" text, "score" text, "comp" text );
SELECT "venue" FROM "friendly_2004" WHERE "date"='2004-06-23';
2-16620240-3
What is the to par for Tom Weiskopf?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real );
SELECT AVG("to_par") FROM "final_round" WHERE "player"='tom weiskopf';
2-17245471-6
What title did George Fury win when on the Oran Park Raceway?
CREATE TABLE "race_calendar" ( "race_title" text, "circuit" text, "city_state" text, "date" text, "winner" text, "team" text );
SELECT "race_title" FROM "race_calendar" WHERE "winner"='george fury' AND "circuit"='oran park raceway';
2-17108809-2
Who was the winner on the Amaroo Park circuit?
CREATE TABLE "race_calendar" ( "race_title" text, "circuit" text, "city_state" text, "date" text, "winner" text, "team" text );
SELECT "winner" FROM "race_calendar" WHERE "circuit"='amaroo park';
2-17108809-2
What are the fewest points for goals fewer than 13?
CREATE TABLE "promotion_playoff" ( "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("points") FROM "promotion_playoff" WHERE "goals_for"<13;
2-17421790-5
How many goals when more than 10 games played?
CREATE TABLE "promotion_playoff" ( "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_for") FROM "promotion_playoff" WHERE "played">10;
2-17421790-5
How many losses when goals against are more than 17, goal difference is more than 2 and points are more than 5?
CREATE TABLE "promotion_playoff" ( "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("losses") FROM "promotion_playoff" WHERE "goals_against">17 AND "goal_difference"<2 AND "points">5;
2-17421790-5
How many draws when there are fewer than 6 wins and the goal difference is less than -15?
CREATE TABLE "promotion_playoff" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT COUNT("draws") FROM "promotion_playoff" WHERE "wins"<6 AND "goal_difference"<-15;
2-17421790-5
How much Draw has a Rank of 3rd, and a Performer of noelle, and Points larger than 79?
CREATE TABLE "references" ( "draw" real, "song" text, "performer" text, "points" real, "rank" text );
SELECT COUNT("draw") FROM "references" WHERE "rank"='3rd' AND "performer"='noelle' AND "points">79;
2-16956150-1
Which Draw has a Performer of jenny newman, and Points smaller than 77?
CREATE TABLE "references" ( "draw" real, "song" text, "performer" text, "points" real, "rank" text );
SELECT AVG("draw") FROM "references" WHERE "performer"='jenny newman' AND "points"<77;
2-16956150-1
Which Points have a Draw of 2?
CREATE TABLE "references" ( "draw" real, "song" text, "performer" text, "points" real, "rank" text );
SELECT AVG("points") FROM "references" WHERE "draw"=2;
2-16956150-1
Which stage number did son bou arrive at?
CREATE TABLE "stages" ( "stage" real, "start" text, "arrival" text, "duration" text, "difficulty" text );
SELECT COUNT("stage") FROM "stages" WHERE "arrival"='son bou';
2-16519531-1
How long does the one that stars with son bou of middle difficulty, and on a stage number larger than 13 last?
CREATE TABLE "stages" ( "stage" real, "start" text, "arrival" text, "duration" text, "difficulty" text );
SELECT "duration" FROM "stages" WHERE "stage">13 AND "difficulty"='middle' AND "start"='son bou';
2-16519531-1
What is the lowest stage number that starts with els alocs and has a middle difficulty?
CREATE TABLE "stages" ( "stage" real, "start" text, "arrival" text, "duration" text, "difficulty" text );
SELECT MIN("stage") FROM "stages" WHERE "difficulty"='middle' AND "start"='els alocs';
2-16519531-1
What is the price of the internet provider that has an upstream rate of 256 kbit and a downstream rate of 512 kbit?
CREATE TABLE "saudi_arabia" ( "internet_plan" text, "downstream" text, "upstream" text, "bandwidth_included" text, "price" text );
SELECT "price" FROM "saudi_arabia" WHERE "upstream"='256 kbit' AND "downstream"='512 kbit';
2-17304621-18
For the provider that costs 266 sar, what is the Bandwidth Included?
CREATE TABLE "saudi_arabia" ( "internet_plan" text, "downstream" text, "upstream" text, "bandwidth_included" text, "price" text );
SELECT "bandwidth_included" FROM "saudi_arabia" WHERE "price"='266 sar';
2-17304621-18
What is the name of the plan that has a downstream rate of 4,096 kbit?
CREATE TABLE "saudi_arabia" ( "internet_plan" text, "downstream" text, "upstream" text, "bandwidth_included" text, "price" text );
SELECT "internet_plan" FROM "saudi_arabia" WHERE "downstream"='4,096 kbit';
2-17304621-18
Which record has a score of l 121–127?
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 "score"='l 121–127';
2-17382411-8
What high points did San Francisco have in a game later than 69?
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 "game">69 AND "team"='san francisco';
2-17382411-8
What is the record for March 10?
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 "date"='march 10';
2-17382411-8
What high points did a game earlier than 80 have with a score of l 123–142?
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 "game"<80 AND "score"='l 123–142';
2-17382411-8
What is the lowest Year, when Co-Driver is Warren Luff, when Position is 7th, and when Laps is less than 161?
CREATE TABLE "bathurst_1000_results" ( "year" real, "number" real, "team" text, "co_driver" text, "position" text, "laps" real );
SELECT MIN("year") FROM "bathurst_1000_results" WHERE "co_driver"='warren luff' AND "position"='7th' AND "laps"<161;
2-1643304-2
What is Position, when Laps is 156?
CREATE TABLE "bathurst_1000_results" ( "year" real, "number" real, "team" text, "co_driver" text, "position" text, "laps" real );
SELECT "position" FROM "bathurst_1000_results" WHERE "laps"=156;
2-1643304-2
What is the highest Year, when Laps is greater than 161?
CREATE TABLE "bathurst_1000_results" ( "year" real, "number" real, "team" text, "co_driver" text, "position" text, "laps" real );
SELECT MAX("year") FROM "bathurst_1000_results" WHERE "laps">161;
2-1643304-2
What season had a combined of 13 and a Giant Slalom more than 31?
CREATE TABLE "season_standings" ( "season" real, "overall" real, "slalom" text, "giant_slalom" real, "super_g" text, "downhill" text, "combined" text );
SELECT MAX("season") FROM "season_standings" WHERE "combined"='13' AND "giant_slalom">31;
2-16403980-1
What season had a downhill of 35 and overall greater than 21?
CREATE TABLE "season_standings" ( "season" real, "overall" real, "slalom" text, "giant_slalom" real, "super_g" text, "downhill" text, "combined" text );
SELECT COUNT("season") FROM "season_standings" WHERE "downhill"='35' AND "overall">21;
2-16403980-1
What's the Super G when the combined was 13 and the overall was more than 7?
CREATE TABLE "season_standings" ( "season" real, "overall" real, "slalom" text, "giant_slalom" real, "super_g" text, "downhill" text, "combined" text );
SELECT "super_g" FROM "season_standings" WHERE "overall">7 AND "combined"='13';
2-16403980-1
What is Time, when Laps is 22, and when Grid is 15?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real );
SELECT "time" FROM "moto_gp_classification" WHERE "laps"=22 AND "grid"=15;
2-16193559-1
What is the average Grid, when Time is +45.855?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real );
SELECT AVG("grid") FROM "moto_gp_classification" WHERE "time"='+45.855';
2-16193559-1
What is the total number of Grid, when Time is +43.191, and when Laps is less than 22?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real );
SELECT COUNT("grid") FROM "moto_gp_classification" WHERE "time"='+43.191' AND "laps"<22;
2-16193559-1
What is the place of Mark O'Meara?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "second_round" WHERE "player"='mark o''meara';
2-16514546-2
Which player has a score of 71-72=143?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "player" FROM "second_round" WHERE "score"='71-72=143';
2-16514546-2
What is the score for the United States in place T1 for David Duval?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "score" FROM "second_round" WHERE "country"='united states' AND "place"='t1' AND "player"='david duval';
2-16514546-2
Who is the player from the United States with a score of 71-72=143?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "player" FROM "second_round" WHERE "country"='united states' AND "score"='71-72=143';
2-16514546-2
Which country is Scott McCarron from?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "second_round" WHERE "player"='scott mccarron';
2-16514546-2
Which country is in T1 place with a score of 71-68=139?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "second_round" WHERE "place"='t1' AND "score"='71-68=139';
2-16514546-2
what is the venue when the competition is friendly on 26 may 1999?
CREATE TABLE "international_goals" ( "goal" real, "date" text, "venue" text, "result" text, "competition" text, "scored" real );
SELECT "venue" FROM "international_goals" WHERE "competition"='friendly' AND "date"='26 may 1999';
2-17150259-1
What was Australia's place?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "hole" text );
SELECT "place" FROM "third_round" WHERE "country"='australia';
2-16514242-5
What was the score for United States when the player was Mike Reid and the To par was e?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "hole" text );
SELECT "score" FROM "third_round" WHERE "country"='united states' AND "to_par"='e' AND "player"='mike reid';
2-16514242-5
How many holes did Mike Reid from United States have?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "hole" text );
SELECT "hole" FROM "third_round" WHERE "country"='united states' AND "player"='mike reid';
2-16514242-5
Which Name has a Position smaller than 2?
CREATE TABLE "main_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real );
SELECT "name" FROM "main_round" WHERE "position"<2;
2-16501954-20
Which Lost has a Position larger than 2, a Name of sg münchen (n), and a Drawn larger than 0?
CREATE TABLE "main_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real );
SELECT COUNT("lost") FROM "main_round" WHERE "position">2 AND "name"='sg münchen (n)' AND "drawn">0;
2-16501954-20
Which Drawn has a Position of 2, and a Lost larger than 2?
CREATE TABLE "main_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real );
SELECT MIN("drawn") FROM "main_round" WHERE "position"=2 AND "lost">2;
2-16501954-20
Which Played has a Position of 3, and a Points smaller than 15?
CREATE TABLE "main_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real );
SELECT COUNT("played") FROM "main_round" WHERE "position"=3 AND "points"<15;
2-16501954-20
Which Played has a Position larger than 5, a Points larger than 0, and a Drawn smaller than 0?
CREATE TABLE "main_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real );
SELECT MAX("played") FROM "main_round" WHERE "position">5 AND "points">0 AND "drawn"<0;
2-16501954-20
What is the score when Miami is the visitor?
CREATE TABLE "april" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" text, "record" text );
SELECT "score" FROM "april" WHERE "visitor"='miami';
2-16188254-8
For the game that was 76-85, what was the record?
CREATE TABLE "april" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" text, "record" text );
SELECT "record" FROM "april" WHERE "score"='76-85';
2-16188254-8
On April 18, which team was the visitor?
CREATE TABLE "april" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" text, "record" text );
SELECT "visitor" FROM "april" WHERE "date"='april 18';
2-16188254-8
Who was the leading scorer on April 7?
CREATE TABLE "april" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" text, "record" text );
SELECT "leading_scorer" FROM "april" WHERE "date"='april 7';
2-16188254-8
Where was the home court on April 14?
CREATE TABLE "april" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" text, "record" text );
SELECT "home" FROM "april" WHERE "date"='april 14';
2-16188254-8
What is the boston celtics' record?
CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text );
SELECT "record" FROM "season_schedule" WHERE "team"='boston celtics';
2-17064796-3
Which Score has a Record of 9–8?
CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text );
SELECT "score" FROM "season_schedule" WHERE "record"='9–8';
2-17064796-3
Which Date has a Streak of loss 2, and a Team of @ boston celtics?
CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text );
SELECT "date" FROM "season_schedule" WHERE "streak"='loss 2' AND "team"='@ boston celtics';
2-17064796-3
Which Date has a Streak of win 1, and a Record of 8–4?
CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text );
SELECT "date" FROM "season_schedule" WHERE "streak"='win 1' AND "record"='8–4';
2-17064796-3
What was the top score for grier jones?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT MAX("score") FROM "first_round" WHERE "player"='grier jones';
2-17245483-3
Which To par is scored at 70?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT "to_par" FROM "first_round" WHERE "score"=70;
2-17245483-3
In what place did hubert green score below 70 in the united states?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT "place" FROM "first_round" WHERE "score"<70 AND "country"='united states' AND "player"='hubert green';
2-17245483-3
Which Driver and passenger have a bike number of less than 4 with zabel -vmc equipment?
CREATE TABLE "riders" ( "position" real, "driver_passenger" text, "equipment" text, "bike_no" real, "points" real );
SELECT "driver_passenger" FROM "riders" WHERE "bike_no"<4 AND "equipment"='zabel -vmc';
2-17176509-4
What's the slalom when the average time was greater than 99.25?
CREATE TABLE "final_standings" ( "place" real, "competitor" text, "downhill" real, "slalom" real, "average" real );
SELECT AVG("slalom") FROM "final_standings" WHERE "average">99.25;
2-17578867-4
Where was the place that the downhill was 71.6 and the average was less than 90.06?
CREATE TABLE "final_standings" ( "place" real, "competitor" text, "downhill" real, "slalom" real, "average" real );
SELECT SUM("place") FROM "final_standings" WHERE "average"<90.06 AND "downhill"=71.6;
2-17578867-4
What is ICAO, when Airport is "Sibulan Airport"?
CREATE TABLE "references" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "icao" FROM "references" WHERE "airport"='sibulan airport';
2-17278336-2
What is ICAO, when IATA is "HKG"?
CREATE TABLE "references" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "icao" FROM "references" WHERE "iata"='hkg';
2-17278336-2
What is IATA, when ICAO is "VHHH"?
CREATE TABLE "references" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "iata" FROM "references" WHERE "icao"='vhhh';
2-17278336-2
What is City, when IATA is "LAO"?
CREATE TABLE "references" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "city" FROM "references" WHERE "iata"='lao';
2-17278336-2
What is Country, when City is "Zamboanga"?
CREATE TABLE "references" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "country" FROM "references" WHERE "city"='zamboanga';
2-17278336-2
What is the highest number drawn when the position was 12?
CREATE TABLE "final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text );
SELECT MAX("drawn") FROM "final_table" WHERE "position"=12;
2-17603447-1
What is the highest number of goals against when the number of goals were 55 and the difference was +24?
CREATE TABLE "final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text );
SELECT MAX("goals_against") FROM "final_table" WHERE "goals_for">55 AND "goal_difference"='+24';
2-17603447-1
What is the average number lost for hyde united when they had a smaller position than 17, 8 draws, and more than 57 goals against?
CREATE TABLE "final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text );
SELECT AVG("lost") FROM "final_table" WHERE "goals_against">57 AND "position"<17 AND "drawn"=8 AND "team"='hyde united';
2-17603447-1
What is the highest played when there was less than 74 goals against and points 1 of 36 2?
CREATE TABLE "final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text );
SELECT MAX("played") FROM "final_table" WHERE "points_1"='36 2' AND "goals_against"<74;
2-17603447-1
How long is the diameter that has a longitude of 8.0e?
CREATE TABLE "farra" ( "name" text, "latitude" text, "longitude" text, "diameter_km" real, "year_named" real );
SELECT "diameter_km" FROM "farra" WHERE "longitude"='8.0e';
2-16799784-13
What name was given in 1994 when the diameter (km) was larger than 125 and the latitude was 30.0s?
CREATE TABLE "farra" ( "name" text, "latitude" text, "longitude" text, "diameter_km" real, "year_named" real );
SELECT "name" FROM "farra" WHERE "year_named"=1994 AND "diameter_km">125 AND "latitude"='30.0s';
2-16799784-13
What is the longitude of Carmenta Farra in 1994?
CREATE TABLE "farra" ( "name" text, "latitude" text, "longitude" text, "diameter_km" real, "year_named" real );
SELECT "longitude" FROM "farra" WHERE "year_named"=1994 AND "name"='carmenta farra';
2-16799784-13
Name the No. 5 which has a No. 6 of ethan, and a No. 4 of william, and a No. 9 of john?
CREATE TABLE "male_names" ( "region_year" text, "no_1" text, "no_2" text, "no_3" text, "no_4" text, "no_5" text, "no_6" text, "no_7" text, "no_8" text, "no_9" text, "no_10" text );
SELECT "no_5" FROM "male_names" WHERE "no_6"='ethan' AND "no_4"='william' AND "no_9"='john';
2-16304563-7
Name the No. 2 which has a No. 3 of jacob, and a No. 10 of wyatt, and a No. 6 of ethan?
CREATE TABLE "male_names" ( "region_year" text, "no_1" text, "no_2" text, "no_3" text, "no_4" text, "no_5" text, "no_6" text, "no_7" text, "no_8" text, "no_9" text, "no_10" text );
SELECT "no_2" FROM "male_names" WHERE "no_3"='jacob' AND "no_10"='wyatt' AND "no_6"='ethan';
2-16304563-7
Name the No. 3 which has a No. 7 of logan, and a No. 5 of jackson?
CREATE TABLE "male_names" ( "region_year" text, "no_1" text, "no_2" text, "no_3" text, "no_4" text, "no_5" text, "no_6" text, "no_7" text, "no_8" text, "no_9" text, "no_10" text );
SELECT "no_3" FROM "male_names" WHERE "no_7"='logan' AND "no_5"='jackson';
2-16304563-7
Name the No. 5 which has a No. 8 of logan, and a No. 10 of ethan, and a No. 4 of jacob?
CREATE TABLE "male_names" ( "region_year" text, "no_1" text, "no_2" text, "no_3" text, "no_4" text, "no_5" text, "no_6" text, "no_7" text, "no_8" text, "no_9" text, "no_10" text );
SELECT "no_5" FROM "male_names" WHERE "no_8"='logan' AND "no_10"='ethan' AND "no_4"='jacob';
2-16304563-7
Name the No. 8 which has a No. 4 of benjamin, and a No. 3 of liam?
CREATE TABLE "male_names" ( "region_year" text, "no_1" text, "no_2" text, "no_3" text, "no_4" text, "no_5" text, "no_6" text, "no_7" text, "no_8" text, "no_9" text, "no_10" text );
SELECT "no_8" FROM "male_names" WHERE "no_4"='benjamin' AND "no_3"='liam';
2-16304563-7
Name the No. 10 which has a No. 8 of jackson, and a No. 9 of jayden?
CREATE TABLE "male_names" ( "region_year" text, "no_1" text, "no_2" text, "no_3" text, "no_4" text, "no_5" text, "no_6" text, "no_7" text, "no_8" text, "no_9" text, "no_10" text );
SELECT "no_10" FROM "male_names" WHERE "no_8"='jackson' AND "no_9"='jayden';
2-16304563-7
What was the date for Ron Paul as republican and a sample sized less than 472?
CREATE TABLE "new_mexico" ( "poll_source" text, "sample_size" real, "date" text, "democrat" text, "republican" text );
SELECT "date" FROM "new_mexico" WHERE "sample_size"<472 AND "republican"='ron paul';
2-16668757-1
Who was the Democrat when the Republican was Mike Huckabee, and the sample size was less than 495?
CREATE TABLE "new_mexico" ( "poll_source" text, "sample_size" real, "date" text, "democrat" text, "republican" text );
SELECT "democrat" FROM "new_mexico" WHERE "sample_size"<495 AND "republican"='mike huckabee';
2-16668757-1
What was the attendance in week 9?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT AVG("attendance") FROM "schedule" WHERE "week"=9;
2-17386101-2
What week had attendance of 52,714?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT MAX("week") FROM "schedule" WHERE "attendance"='52,714';
2-17386101-2
what is the gold when silver is 1, event is 2000 summer paralympics and bronze is more than 3?
CREATE TABLE "summer_paralympics" ( "event" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("gold") FROM "summer_paralympics" WHERE "silver"=1 AND "event"='2000 summer paralympics' AND "bronze">3;
2-16261503-1
how many times is bronze 2 and gold more than 3?
CREATE TABLE "summer_paralympics" ( "event" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("total") FROM "summer_paralympics" WHERE "bronze"=2 AND "gold">3;
2-16261503-1
what is the highest gold when silver is 1 and bronze is less than 0?
CREATE TABLE "summer_paralympics" ( "event" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("gold") FROM "summer_paralympics" WHERE "silver"=1 AND "bronze"<0;
2-16261503-1
what is the highest bronze when silver is less than 1 and gold is more than 0?
CREATE TABLE "summer_paralympics" ( "event" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("bronze") FROM "summer_paralympics" WHERE "silver"<1 AND "gold">0;
2-16261503-1
what is the most silver when the event is 2008 summer paralympics and bronze is less than 1?
CREATE TABLE "summer_paralympics" ( "event" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("silver") FROM "summer_paralympics" WHERE "event"='2008 summer paralympics' AND "bronze"<1;
2-16261503-1
Which Album title has a Title of 滑板?
CREATE TABLE "discography" ( "release_date" text, "album_title" text, "record_label" text, "disc_number" text, "track_number" text, "title" text );
SELECT "album_title" FROM "discography" WHERE "title"='滑板';
2-16374618-1
Which Record label has a Title of 诀别诗?
CREATE TABLE "discography" ( "release_date" text, "album_title" text, "record_label" text, "disc_number" text, "track_number" text, "title" text );
SELECT "record_label" FROM "discography" WHERE "title"='诀别诗';
2-16374618-1
Which Track number has a Album title of 文武双全升级版, and a Title of 老爸你别装酷?
CREATE TABLE "discography" ( "release_date" text, "album_title" text, "record_label" text, "disc_number" text, "track_number" text, "title" text );
SELECT "track_number" FROM "discography" WHERE "album_title"='文武双全升级版' AND "title"='老爸你别装酷';
2-16374618-1
What kind of Disc number has a Track number of 02 on 7 september 2004?
CREATE TABLE "discography" ( "release_date" text, "album_title" text, "record_label" text, "disc_number" text, "track_number" text, "title" text );
SELECT "disc_number" FROM "discography" WHERE "track_number"='02' AND "release_date"='7 september 2004';
2-16374618-1