question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What was the attendance during the november 16, 1975 game?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT MAX("attendance") FROM "schedule" WHERE "date"='november 16, 1975';
2-16767061-2
What is the total number in class for the Whitehaven Coal?
CREATE TABLE "summary" ( "owner" text, "class" text, "number_in_class" real, "road_numbers" text, "built" text );
SELECT SUM("number_in_class") FROM "summary" WHERE "owner"='whitehaven coal';
2-17557270-1
What was built in a class with less than 10, and the Downer Rail owner?
CREATE TABLE "summary" ( "owner" text, "class" text, "number_in_class" real, "road_numbers" text, "built" text );
SELECT "built" FROM "summary" WHERE "number_in_class"<10 AND "owner"='downer rail';
2-17557270-1
Which class has more than 15 people in the class?
CREATE TABLE "summary" ( "owner" text, "class" text, "number_in_class" real, "road_numbers" text, "built" text );
SELECT "class" FROM "summary" WHERE "number_in_class">15;
2-17557270-1
Who is the owner that built in 2009-2011?
CREATE TABLE "summary" ( "owner" text, "class" text, "number_in_class" real, "road_numbers" text, "built" text );
SELECT "owner" FROM "summary" WHERE "built"='2009-2011';
2-17557270-1
Count the Grid which has a Manufacturer of aprilia, and a Rider of bradley smith?
CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real );
SELECT AVG("grid") FROM "125cc_classification" WHERE "manufacturer"='aprilia' AND "rider"='bradley smith';
2-16295105-3
Name the Time which has Laps of 19, and a Grid larger than 19, and a Manufacturer of ktm, and a Rider of randy krummenacher?
CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real );
SELECT "time" FROM "125cc_classification" WHERE "laps"=19 AND "grid">19 AND "manufacturer"='ktm' AND "rider"='randy krummenacher';
2-16295105-3
Name the Time which has a Manufacturer of aprilia, and a Grid smaller than 16, and a Rider of sandro cortese?
CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real );
SELECT "time" FROM "125cc_classification" WHERE "manufacturer"='aprilia' AND "grid"<16 AND "rider"='sandro cortese';
2-16295105-3
Name the Silver which has a Bronze of 19, and a Total larger than 58?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("silver") FROM "medal_table" WHERE "bronze"=19 AND "total">58;
2-16334126-1
What kind of Silver has a Rank of 3, and a Gold smaller than 2?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("silver") FROM "medal_table" WHERE "rank"='3' AND "gold"<2;
2-16334126-1
COunt the silver that has a Bronze smaller than 1?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("silver") FROM "medal_table" WHERE "bronze"<1;
2-16334126-1
Name the Total which has a Silver larger than 19?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("total") FROM "medal_table" WHERE "silver">19;
2-16334126-1
Name the Silver that has a Total smaller than 2, and a Nation of south korea?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("silver") FROM "medal_table" WHERE "total"<2 AND "nation"='south korea';
2-16334126-1
What is the location of the match with chad armstrong as the opponent?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "location" FROM "mixed_martial_arts_record" WHERE "opponent"='chad armstrong';
2-17441930-2
What is Scott Verplank's score?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "score" FROM "third_round" WHERE "player"='scott verplank';
2-17162214-4
What place is United States player Corey Pavin in?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "third_round" WHERE "country"='united states' AND "player"='corey pavin';
2-17162214-4
Which country has a score of 70-71-72=213?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "third_round" WHERE "score"='70-71-72=213';
2-17162214-4
Where does Bob Tway Place?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "third_round" WHERE "player"='bob tway';
2-17162214-4
What is the place with a to par of E and a score of 69-69-72=210?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "third_round" WHERE "to_par"='e' AND "score"='69-69-72=210';
2-17162214-4
WHAT IS THE COUNTRY WITH DAVE BARR?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "second_round" WHERE "player"='dave barr';
2-17231246-5
WHAT IS THE TO PAR WITH A T7 PLACE, SCORE OF 72-67=139, AND PLAYER RAYMOND FLOYD?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "to_par" FROM "second_round" WHERE "place"='t7' AND "score"='72-67=139' AND "player"='raymond floyd';
2-17231246-5
WHAT IS THE PLACE WITH PLAYER 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-17231246-5
Which Drawn is the highest one that has a Position smaller than 4, and a Lost smaller than 2?
CREATE TABLE "first_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real );
SELECT MAX("drawn") FROM "first_round" WHERE "position"<4 AND "lost"<2;
2-16566850-10
How many Points have a Position larger than 3, and a Played smaller than 14?
CREATE TABLE "first_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real );
SELECT COUNT("points") FROM "first_round" WHERE "position">3 AND "played"<14;
2-16566850-10
Which Lost has a Position of 4, and a Drawn smaller than 3?
CREATE TABLE "first_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real );
SELECT AVG("lost") FROM "first_round" WHERE "position"=4 AND "drawn"<3;
2-16566850-10
Which Position has a Lost larger than 4, and a Played larger than 14?
CREATE TABLE "first_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real );
SELECT AVG("position") FROM "first_round" WHERE "lost">4 AND "played">14;
2-16566850-10
On which week was the opponent the oakland raiders?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT SUM("week") FROM "schedule" WHERE "opponent"='oakland raiders';
2-16677938-2
What was the attendance at the game where the opponent was the denver broncos?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "attendance" FROM "schedule" WHERE "opponent"='denver broncos';
2-16677938-2
How many people are enrolled in platteville, wi?
CREATE TABLE "west_conference" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "nickname" text );
SELECT SUM("enrollment") FROM "west_conference" WHERE "location"='platteville, wi';
2-16406736-4
What is the team nickname of university of wisconsin-platteville?
CREATE TABLE "west_conference" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "nickname" text );
SELECT "nickname" FROM "west_conference" WHERE "institution"='university of wisconsin-platteville';
2-16406736-4
What is To Par, when Place is 3?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "to_par" FROM "third_round" WHERE "place"='3';
2-17277136-5
What is Country, when Player is "Rives McBee"?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "third_round" WHERE "player"='rives mcbee';
2-17277136-5
What is Place, when Player is "Tony Lema"?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "third_round" WHERE "player"='tony lema';
2-17277136-5
What is Score, when To Par is "E"?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "score" FROM "third_round" WHERE "to_par"='e';
2-17277136-5
What is Country, when Score is 71-71-69=211?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "third_round" WHERE "score"='71-71-69=211';
2-17277136-5
What is Country, when Score is 71-74-70=215?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "third_round" WHERE "score"='71-74-70=215';
2-17277136-5
What shows for 2004/ 05 when 2007/ 08 shows not held, 2012/ 13 is A, 2011/ 12 of A, and a 2010/ 11 of not held?
CREATE TABLE "performance_and_rankings_timeline" ( "2004_05" text, "2007_08" text, "2010_11" text, "2011_12" text, "2012_13" text );
SELECT "2004_05" FROM "performance_and_rankings_timeline" WHERE "2007_08"='not held' AND "2012_13"='a' AND "2011_12"='a' AND "2010_11"='not held';
2-17554307-1
What shows for 2012/ 13 when the 2007/ 08 is not held, and the 2011/ 12 is non-ranking?
CREATE TABLE "performance_and_rankings_timeline" ( "2004_05" text, "2007_08" text, "2010_11" text, "2011_12" text, "2012_13" text );
SELECT "2012_13" FROM "performance_and_rankings_timeline" WHERE "2007_08"='not held' AND "2011_12"='non-ranking';
2-17554307-1
What is the 2011/ 12 when the 2010/ 11 is not held, and the 2012/ 13 is A?
CREATE TABLE "performance_and_rankings_timeline" ( "2004_05" text, "2007_08" text, "2010_11" text, "2011_12" text, "2012_13" text );
SELECT "2011_12" FROM "performance_and_rankings_timeline" WHERE "2010_11"='not held' AND "2012_13"='a';
2-17554307-1
What is the 2004/ 05 when the 2011/ 12 is non-ranking?
CREATE TABLE "performance_and_rankings_timeline" ( "2004_05" text, "2007_08" text, "2010_11" text, "2011_12" text, "2012_13" text );
SELECT "2004_05" FROM "performance_and_rankings_timeline" WHERE "2011_12"='non-ranking';
2-17554307-1
What is the 2012/ 13 when the 2011/ 12 is non-ranking?
CREATE TABLE "performance_and_rankings_timeline" ( "2004_05" text, "2007_08" text, "2010_11" text, "2011_12" text, "2012_13" text );
SELECT "2012_13" FROM "performance_and_rankings_timeline" WHERE "2011_12"='non-ranking';
2-17554307-1
What is the 2010/ 11 when the 2011/ 12 is ranking tournaments?
CREATE TABLE "performance_and_rankings_timeline" ( "2004_05" text, "2007_08" text, "2010_11" text, "2011_12" text, "2012_13" text );
SELECT "2010_11" FROM "performance_and_rankings_timeline" WHERE "2011_12"='ranking tournaments';
2-17554307-1
what is the lost when played is less than 42?
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" real );
SELECT SUM("lost") FROM "final_table" WHERE "played"<42;
2-17368673-1
what is the goal difference when drawn is more than 11, goals against is less than 63, goals for is less than 87 and lost is more than 16?
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" real );
SELECT "goal_difference" FROM "final_table" WHERE "drawn">11 AND "goals_against"<63 AND "goals_for"<87 AND "lost">16;
2-17368673-1
how many times is lost less than 7 and the position 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" real );
SELECT COUNT("goals_for") FROM "final_table" WHERE "lost"<7 AND "position"=2;
2-17368673-1
what is the position when the points 1 is less than 36, goals for is less than 40 and drawn is less than 9?
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" real );
SELECT SUM("position") FROM "final_table" WHERE "points_1"<36 AND "goals_for"<40 AND "drawn"<9;
2-17368673-1
How many executions in persona have a number with known sentences of 2 (1543–1544)?
CREATE TABLE "table_of_sentences" ( "tribunal" text, "number_of_autos_da_f_with_known_sentences" text, "executions_in_persona" text, "executions_in_effigie" text, "penanced" text, "total" text );
SELECT "executions_in_persona" FROM "table_of_sentences" WHERE "number_of_autos_da_f_with_known_sentences"='2 (1543–1544)';
2-1644613-1
How many were penanced when the number with known sentences was 71 (1600–1773)?
CREATE TABLE "table_of_sentences" ( "tribunal" text, "number_of_autos_da_f_with_known_sentences" text, "executions_in_persona" text, "executions_in_effigie" text, "penanced" text, "total" text );
SELECT "penanced" FROM "table_of_sentences" WHERE "number_of_autos_da_f_with_known_sentences"='71 (1600–1773)';
2-1644613-1
How many were penanced for a total of 7666?
CREATE TABLE "table_of_sentences" ( "tribunal" text, "number_of_autos_da_f_with_known_sentences" text, "executions_in_persona" text, "executions_in_effigie" text, "penanced" text, "total" text );
SELECT "penanced" FROM "table_of_sentences" WHERE "total"='7666';
2-1644613-1
How man executions in effigie took place at the Lamego tribunal?
CREATE TABLE "table_of_sentences" ( "tribunal" text, "number_of_autos_da_f_with_known_sentences" text, "executions_in_persona" text, "executions_in_effigie" text, "penanced" text, "total" text );
SELECT "executions_in_effigie" FROM "table_of_sentences" WHERE "tribunal"='lamego';
2-1644613-1
How many were penanced with 0 executions in effigie for a total of 21?
CREATE TABLE "table_of_sentences" ( "tribunal" text, "number_of_autos_da_f_with_known_sentences" text, "executions_in_persona" text, "executions_in_effigie" text, "penanced" text, "total" text );
SELECT "penanced" FROM "table_of_sentences" WHERE "executions_in_effigie"='0' AND "total"='21';
2-1644613-1
Which tribunal had a total of 4167?
CREATE TABLE "table_of_sentences" ( "tribunal" text, "number_of_autos_da_f_with_known_sentences" text, "executions_in_persona" text, "executions_in_effigie" text, "penanced" text, "total" text );
SELECT "tribunal" FROM "table_of_sentences" WHERE "total"='4167';
2-1644613-1
What is the Opponent of the Game on October 20?
CREATE TABLE "season_schedule" ( "date" text, "opponent" text, "score" text, "result" text, "record" text, "attendance" real );
SELECT "opponent" FROM "season_schedule" WHERE "date"='october 20';
2-16982985-3
Which institution is located in Reading, PA?
CREATE TABLE "national_division" ( "institution" text, "location" text, "nickname" text, "enrollment" real, "established" real );
SELECT "institution" FROM "national_division" WHERE "location"='reading, pa';
2-16432543-2
What was the nick name for the school established in 1958?
CREATE TABLE "national_division" ( "institution" text, "location" text, "nickname" text, "enrollment" real, "established" real );
SELECT "nickname" FROM "national_division" WHERE "established"=1958;
2-16432543-2
When the grid is under 5 and justin wilson is driving for the team mi-jack conquest racing, what's the highest number of laps driven?
CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real );
SELECT MAX("laps") FROM "race" WHERE "team"='mi-jack conquest racing' AND "driver"='justin wilson' AND "grid"<5;
2-16651598-2
When the team is newman/haas racing and the grid size is 3, what's the time/retired?
CREATE TABLE "race" ( "driver" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real );
SELECT "time_retired" FROM "race" WHERE "team"='newman/haas racing' AND "grid"=3;
2-16651598-2
What tournament took place on Ground A with 8 rounds?
CREATE TABLE "competitive_matches" ( "date" text, "tournament" text, "round" text, "ground" text, "opponent" text, "score_1" text );
SELECT "tournament" FROM "competitive_matches" WHERE "ground"='a' AND "round"='8';
2-17200019-13
What series had the title rank of various?
CREATE TABLE "regular_cast" ( "actor" text, "character" text, "title_rank" text, "series" text, "years" text );
SELECT "series" FROM "regular_cast" WHERE "title_rank"='various';
2-170661-1
What is the title rank of the actor who played the character of arthur hastings during series 1-8, 13?
CREATE TABLE "regular_cast" ( "actor" text, "character" text, "title_rank" text, "series" text, "years" text );
SELECT "title_rank" FROM "regular_cast" WHERE "series"='1-8, 13' AND "character"='arthur hastings';
2-170661-1
What is the title rank of the actor who played the character of arthur hastings during series 1-8, 13?
CREATE TABLE "regular_cast" ( "actor" text, "character" text, "title_rank" text, "series" text, "years" text );
SELECT "title_rank" FROM "regular_cast" WHERE "series"='1-8, 13' AND "character"='arthur hastings';
2-170661-1
What is the title rank of actor pauline moran?
CREATE TABLE "regular_cast" ( "actor" text, "character" text, "title_rank" text, "series" text, "years" text );
SELECT "title_rank" FROM "regular_cast" WHERE "actor"='pauline moran';
2-170661-1
Which character had a title rank of various?
CREATE TABLE "regular_cast" ( "actor" text, "character" text, "title_rank" text, "series" text, "years" text );
SELECT "character" FROM "regular_cast" WHERE "title_rank"='various';
2-170661-1
Who had the highest rebounds of the game with a game number higher than 65 on March 28?
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 "high_rebounds" FROM "game_log" WHERE "game">65 AND "date"='march 28';
2-17340355-9
WHAT DATE HAD A GAME SMALLER THAN 58, AND FROM BOSTON?
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 "game"<58 AND "team"='boston';
2-17060277-8
Original airdate for #6 with 1.246 viewers?
CREATE TABLE "series_3_2009_ratings" ( "episode" real, "original_airdate" text, "timeslot_approx" text, "viewers_millions" real, "nightly_rank" text );
SELECT "original_airdate" FROM "series_3_2009_ratings" WHERE "nightly_rank"='#6' AND "viewers_millions"=1.246;
2-17111841-3
Rank for viewers larger than 1.244?
CREATE TABLE "series_3_2009_ratings" ( "episode" real, "original_airdate" text, "timeslot_approx" text, "viewers_millions" real, "nightly_rank" text );
SELECT "nightly_rank" FROM "series_3_2009_ratings" WHERE "viewers_millions">1.244;
2-17111841-3
How many weeks had a Result of w 20–6?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT SUM("week") FROM "schedule" WHERE "result"='w 20–6';
2-16678519-2
Which Opponent has an Attendance of bye?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "opponent" FROM "schedule" WHERE "attendance"='bye';
2-16678519-2
WHAT IS THE FLAPS WITH PODIUMS OF 24 AND RACES BIGGER THAN 143?
CREATE TABLE "by_seasons" ( "season" text, "races" real, "podiums" real, "pole" real, "f_laps" real );
SELECT MAX("f_laps") FROM "by_seasons" WHERE "podiums"=24 AND "races">143;
2-16711949-1
WHAT ARE THE RACES WHEN FLAPS ARE ZERO, PODIUMS ARE LARGER THAN 0, SEASON IS 2008, AND POLE SMALLER THAN 1?
CREATE TABLE "by_seasons" ( "season" text, "races" real, "podiums" real, "pole" real, "f_laps" real );
SELECT SUM("races") FROM "by_seasons" WHERE "f_laps"=0 AND "podiums">0 AND "season"='2008' AND "pole"<1;
2-16711949-1
WHAT ARE THE RACES WITH A POLE SMALLER THAN 2 IN 2007?
CREATE TABLE "by_seasons" ( "season" text, "races" real, "podiums" real, "pole" real, "f_laps" real );
SELECT MIN("races") FROM "by_seasons" WHERE "pole"<2 AND "season"='2007';
2-16711949-1
WHAT ARE THE RACES FOR 2010 WITH FLAPS LARGER THAN 6?
CREATE TABLE "by_seasons" ( "season" text, "races" real, "podiums" real, "pole" real, "f_laps" real );
SELECT MAX("races") FROM "by_seasons" WHERE "season"='2010' AND "f_laps">6;
2-16711949-1
What T20 Match has a total of 23?
CREATE TABLE "ground_history" ( "name_of_ground" text, "location" text, "year" text, "fc_matches" text, "la_matches" text, "t20_matches" text, "total" text );
SELECT "t20_matches" FROM "ground_history" WHERE "total"='23';
2-1176371-1
What FC Match was played in Darlington?
CREATE TABLE "ground_history" ( "name_of_ground" text, "location" text, "year" text, "fc_matches" text, "la_matches" text, "t20_matches" text, "total" text );
SELECT "fc_matches" FROM "ground_history" WHERE "location"='darlington';
2-1176371-1
What T20 match was played in 1979?
CREATE TABLE "ground_history" ( "name_of_ground" text, "location" text, "year" text, "fc_matches" text, "la_matches" text, "t20_matches" text, "total" text );
SELECT "t20_matches" FROM "ground_history" WHERE "year"='1979';
2-1176371-1
Which FC match has a total of 24?
CREATE TABLE "ground_history" ( "name_of_ground" text, "location" text, "year" text, "fc_matches" text, "la_matches" text, "t20_matches" text, "total" text );
SELECT "fc_matches" FROM "ground_history" WHERE "total"='24';
2-1176371-1
Where was the FC match with a score of 12 played?
CREATE TABLE "ground_history" ( "name_of_ground" text, "location" text, "year" text, "fc_matches" text, "la_matches" text, "t20_matches" text, "total" text );
SELECT "location" FROM "ground_history" WHERE "fc_matches"='12';
2-1176371-1
How many oricon's have a romaji title of rakuen -memorial tracks- (maxi-single)?
CREATE TABLE "singles" ( "romaji_title" text, "japanese_title" text, "release_date" text, "reference" text, "oricon" real );
SELECT COUNT("oricon") FROM "singles" WHERE "romaji_title"='rakuen -memorial tracks- (maxi-single)';
2-10979230-5
What reference is used with the title アイシテル?
CREATE TABLE "singles" ( "romaji_title" text, "japanese_title" text, "release_date" text, "reference" text, "oricon" real );
SELECT "reference" FROM "singles" WHERE "japanese_title"='アイシテル';
2-10979230-5
What is the reference for the romani title da.i.su.ki?
CREATE TABLE "singles" ( "romaji_title" text, "japanese_title" text, "release_date" text, "reference" text, "oricon" real );
SELECT "reference" FROM "singles" WHERE "romaji_title"='da.i.su.ki';
2-10979230-5
What title to the japanese give the romani title ashita wa ashita no kaze ga fuku?
CREATE TABLE "singles" ( "romaji_title" text, "japanese_title" text, "release_date" text, "reference" text, "oricon" real );
SELECT "japanese_title" FROM "singles" WHERE "romaji_title"='ashita wa ashita no kaze ga fuku';
2-10979230-5
Which club was founded after 1998?
CREATE TABLE "sport" ( "club" text, "sport" text, "founded" real, "league" text, "venue" text );
SELECT "club" FROM "sport" WHERE "founded">1998;
2-113288-4
Which Tries has a Goal smaller than 0?
CREATE TABLE "2002_squad_statistics" ( "player" text, "position" text, "tries" real, "goals" real, "points" real );
SELECT MIN("tries") FROM "2002_squad_statistics" WHERE "goals"<0;
2-10814474-12
What was the issue price for the Trumpeter Swan set?
CREATE TABLE "specimen_set_variant_dollars" ( "year" real, "theme" text, "artist" text, "mintage" text, "issue_price" text );
SELECT "issue_price" FROM "specimen_set_variant_dollars" WHERE "theme"='trumpeter swan';
2-11916083-28
Who was the artist with a mintage of 40,000 and an issue price of $45.95?
CREATE TABLE "specimen_set_variant_dollars" ( "year" real, "theme" text, "artist" text, "mintage" text, "issue_price" text );
SELECT "artist" FROM "specimen_set_variant_dollars" WHERE "mintage"='40,000' AND "issue_price"='45.95';
2-11916083-28
What is the highest number of points a player got during the game on May 25?
CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text );
SELECT "high_points" FROM "playoffs" WHERE "date"='may 25';
2-11963601-12
What is the position of the player who has ongoing first-team goals and currently plays for the Aston Villa club?
CREATE TABLE "2010s" ( "player" text, "position" text, "first_team_appearances" text, "first_team_goals" text, "current_club" text );
SELECT "position" FROM "2010s" WHERE "first_team_goals"='ongoing' AND "current_club"='aston villa';
2-11526405-1
Who is the player who has had 7 first team appearances?
CREATE TABLE "2010s" ( "player" text, "position" text, "first_team_appearances" text, "first_team_goals" text, "current_club" text );
SELECT "player" FROM "2010s" WHERE "first_team_appearances"='7';
2-11526405-1
What is the name of the club that has ongoing first-team appearances, a midfielder, and whose player is Samir Carruthers?
CREATE TABLE "2010s" ( "player" text, "position" text, "first_team_appearances" text, "first_team_goals" text, "current_club" text );
SELECT "current_club" FROM "2010s" WHERE "first_team_appearances"='ongoing' AND "position"='midfielder' AND "player"='samir carruthers';
2-11526405-1
How many first-team goals does the team have whose player is Samir Carruthers?
CREATE TABLE "2010s" ( "player" text, "position" text, "first_team_appearances" text, "first_team_goals" text, "current_club" text );
SELECT "first_team_goals" FROM "2010s" WHERE "player"='samir carruthers';
2-11526405-1
What position has ongoing first-team appearances, Graham Burke for a player, and whose club is Aston Villa?
CREATE TABLE "2010s" ( "player" text, "position" text, "first_team_appearances" text, "first_team_goals" text, "current_club" text );
SELECT "position" FROM "2010s" WHERE "first_team_appearances"='ongoing' AND "current_club"='aston villa' AND "player"='graham burke';
2-11526405-1
Which position has had 7 first-team appearances?
CREATE TABLE "2010s" ( "player" text, "position" text, "first_team_appearances" text, "first_team_goals" text, "current_club" text );
SELECT "position" FROM "2010s" WHERE "first_team_appearances"='7';
2-11526405-1
What was the theme when the issue price was $508.95?
CREATE TABLE "18_k_gold_proof_lunar_hologram_coin_seri" ( "year" real, "theme" text, "artist" text, "composition" text, "mintage" real, "issue_price" text );
SELECT "theme" FROM "18_k_gold_proof_lunar_hologram_coin_seri" WHERE "issue_price"='$508.95';
2-11916083-59
What's the mintage when the theme was year of the rabbit?
CREATE TABLE "18_k_gold_proof_lunar_hologram_coin_seri" ( "year" real, "theme" text, "artist" text, "composition" text, "mintage" real, "issue_price" text );
SELECT "mintage" FROM "18_k_gold_proof_lunar_hologram_coin_seri" WHERE "theme"='year of the rabbit';
2-11916083-59
What year was the year of the pig theme?
CREATE TABLE "18_k_gold_proof_lunar_hologram_coin_seri" ( "year" real, "theme" text, "artist" text, "composition" text, "mintage" real, "issue_price" text );
SELECT "year" FROM "18_k_gold_proof_lunar_hologram_coin_seri" WHERE "theme"='year of the pig';
2-11916083-59
Who was the artist for the year of the snake?
CREATE TABLE "18_k_gold_proof_lunar_hologram_coin_seri" ( "year" real, "theme" text, "artist" text, "composition" text, "mintage" real, "issue_price" text );
SELECT "artist" FROM "18_k_gold_proof_lunar_hologram_coin_seri" WHERE "theme"='year of the snake';
2-11916083-59
What is the total Frequency MHz Port Charlotte, Florida, which has an ERP W larger than 10, has?
CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );
SELECT COUNT("frequency_m_hz") FROM "translators" WHERE "city_of_license"='port charlotte, florida' AND "erp_w">10;
2-11540543-1
What is the call sign for the translator with an ERP W larger than 10?
CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );
SELECT "call_sign" FROM "translators" WHERE "erp_w">10;
2-11540543-1
What is the highest ERP W of the translator with a call sign of w284av?
CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );
SELECT MAX("erp_w") FROM "translators" WHERE "call_sign"='w284av';
2-11540543-1