question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
I want the sum of Laps with Grid less than 11 for jean-pierre jarier
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT SUM("laps") FROM "classification" WHERE "grid"<11 AND "driver"='jean-pierre jarier';
2-1122641-1
I want the constructor for brakes and grid less than 14
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "constructor" FROM "classification" WHERE "time_retired"='brakes' AND "grid"<14;
2-1122641-1
How may episodes did season 1 have?
CREATE TABLE "episodes" ( "season_no" real, "season_start" text, "season_end" text, "episodes" real, "host" text );
SELECT COUNT("episodes") FROM "episodes" WHERE "season_no"=1;
2-10888144-1
Which chassis did Aguri Suzuki drive with an entrant of Larrousse F1?
CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyre" text, "driver" text, "rounds" text );
SELECT "chassis" FROM "drivers_and_constructors" WHERE "entrant"='larrousse f1' AND "driver"='aguri suzuki';
2-1137706-1
What was the entrant in round 16 were Ferrari was the constructor?
CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyre" text, "driver" text, "rounds" text );
SELECT "entrant" FROM "drivers_and_constructors" WHERE "rounds"='16' AND "constructor"='ferrari';
2-1137706-1
Tell me the country with ICAO of zgha
CREATE TABLE "destinations" ( "city" text, "country" text, "region" text, "iata" text, "icao" text, "airport" text );
SELECT "country" FROM "destinations" WHERE "icao"='zgha';
2-11194817-2
I want the ICAO for city of xi'an
CREATE TABLE "destinations" ( "city" text, "country" text, "region" text, "iata" text, "icao" text, "airport" text );
SELECT "icao" FROM "destinations" WHERE "city"='xi''an';
2-11194817-2
I want the IATA for ICAO of zgkl
CREATE TABLE "destinations" ( "city" text, "country" text, "region" text, "iata" text, "icao" text, "airport" text );
SELECT "iata" FROM "destinations" WHERE "icao"='zgkl';
2-11194817-2
I want the region for ICAO of vmmc
CREATE TABLE "destinations" ( "city" text, "country" text, "region" text, "iata" text, "icao" text, "airport" text );
SELECT "region" FROM "destinations" WHERE "icao"='vmmc';
2-11194817-2
What is the high grid number for a Time/Retired of + 3 laps, and a Laps smaller than 57?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT MAX("grid") FROM "classification" WHERE "time_retired"='+ 3 laps' AND "laps"<57;
2-1122819-2
Who built the car that has a Time/Retired of 1:36:38.887?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "constructor" FROM "classification" WHERE "time_retired"='1:36:38.887';
2-1122819-2
Who was the leading scorer on 9 January 2008?
CREATE TABLE "january" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT "leading_scorer" FROM "january" WHERE "date"='9 january 2008';
2-11963209-6
What is the number played for the Barcelona B club, with wins under 11?
CREATE TABLE "final_table" ( "position" real, "club" text, "played" real, "points" text, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT SUM("played") FROM "final_table" WHERE "club"='barcelona b' AND "wins"<11;
2-12091720-2
What was the biggest draws, for wins under 4, and points of 20-18?
CREATE TABLE "final_table" ( "position" real, "club" text, "played" real, "points" text, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT MAX("draws") FROM "final_table" WHERE "points"='20-18' AND "wins"<4;
2-12091720-2
What is the average of goals against, where overall goals are more than 35 and the goal difference is 20?
CREATE TABLE "final_table" ( "position" real, "club" text, "played" real, "points" text, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT AVG("goals_against") FROM "final_table" WHERE "goals_for">35 AND "goal_difference"=20;
2-12091720-2
What is the Crowd number for the Away team of Richmond?
CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT SUM("crowd") FROM "round_6" WHERE "away_team"='richmond';
2-10788451-6
What is the Home team score for the Venue named Glenferrie Oval?
CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team_score" FROM "round_6" WHERE "venue"='glenferrie oval';
2-10788451-6
What is the smallest Crowd number for the Venue named Princes Park?
CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT MIN("crowd") FROM "round_6" WHERE "venue"='princes park';
2-10788451-6
Which Home team has an Away team score of 6.9 (45)?
CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team" FROM "round_6" WHERE "away_team_score"='6.9 (45)';
2-10788451-6
Tell me the notes with method of points and event of adcc 2001 absolute with result of loss
CREATE TABLE "submission_grappling_record" ( "result" text, "opponent" text, "method" text, "event" text, "date" real, "notes" text );
SELECT "notes" FROM "submission_grappling_record" WHERE "method"='points' AND "event"='adcc 2001 absolute' AND "result"='loss';
2-1111874-3
Tell me the lowest date for result of win and method of points with notes of opening round
CREATE TABLE "submission_grappling_record" ( "result" text, "opponent" text, "method" text, "event" text, "date" real, "notes" text );
SELECT MIN("date") FROM "submission_grappling_record" WHERE "result"='win' AND "method"='points' AND "notes"='opening round';
2-1111874-3
Name the result with notes of quarter-finals and event of adcc 2001 absolute
CREATE TABLE "submission_grappling_record" ( "result" text, "opponent" text, "method" text, "event" text, "date" real, "notes" text );
SELECT "result" FROM "submission_grappling_record" WHERE "notes"='quarter-finals' AND "event"='adcc 2001 absolute';
2-1111874-3
I want the event for method of points with notes of opening round
CREATE TABLE "submission_grappling_record" ( "result" text, "opponent" text, "method" text, "event" text, "date" real, "notes" text );
SELECT "event" FROM "submission_grappling_record" WHERE "method"='points' AND "notes"='opening round';
2-1111874-3
How many win total which has the rank smaller than 3 and events smaller than 22
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real );
SELECT COUNT("wins") FROM "leaders" WHERE "events"<22 AND "rank"<3;
2-11622829-3
What denomination is mt lawley?
CREATE TABLE "current_member_schools" ( "school" text, "location" text, "enrolment" real, "founded" real, "denomination" text, "day_boarding" text, "school_colors" text );
SELECT "denomination" FROM "current_member_schools" WHERE "location"='mt lawley';
2-11236641-1
Is mt lawley day or boarding?
CREATE TABLE "current_member_schools" ( "school" text, "location" text, "enrolment" real, "founded" real, "denomination" text, "day_boarding" text, "school_colors" text );
SELECT "day_boarding" FROM "current_member_schools" WHERE "location"='mt lawley';
2-11236641-1
What is the average year founded for schools in claremont?
CREATE TABLE "current_member_schools" ( "school" text, "location" text, "enrolment" real, "founded" real, "denomination" text, "day_boarding" text, "school_colors" text );
SELECT AVG("founded") FROM "current_member_schools" WHERE "location"='claremont';
2-11236641-1
When north melbourne was the home team who was the Away team?
CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team" FROM "round_13" WHERE "home_team"='north melbourne';
2-10883333-13
Which home team scored 19.18 (132)?
CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team" FROM "round_13" WHERE "home_team_score"='19.18 (132)';
2-10883333-13
When collingwood played as the home team who was the away team?
CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team" FROM "round_13" WHERE "home_team"='collingwood';
2-10883333-13
When the Away team was south melbourne what was the home team?
CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team" FROM "round_13" WHERE "away_team"='south melbourne';
2-10883333-13
What is the lowest attendance for a stadium that has an average smaller than 307?
CREATE TABLE "stadia_and_attendances" ( "team" text, "stadium" text, "capacity" real, "highest" real, "lowest" real, "average" real );
SELECT AVG("lowest") FROM "stadia_and_attendances" WHERE "average"<307;
2-11206916-1
When the home team scored 17.13 (115), where was the venue?
CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_7" WHERE "home_team_score"='17.13 (115)';
2-10806852-7
When the home team was South Melbourne, what did the away team score?
CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team_score" FROM "round_7" WHERE "home_team"='south melbourne';
2-10806852-7
What is the average rank of a country with less than 13 bronze medals, a total of 11 medals, and more than 4 gold?
CREATE TABLE "medal_count" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("rank") FROM "medal_count" WHERE "bronze"<13 AND "total"=11 AND "gold">4;
2-113485-1
What is the lowest bronze a team with 9 silvers, a total larger than 13, and more than 13 gold medals has?
CREATE TABLE "medal_count" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("bronze") FROM "medal_count" WHERE "silver"=9 AND "total">13 AND "gold">13;
2-113485-1
What is the highest number of silvers a team with more than 95 total medals has?
CREATE TABLE "medal_count" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("silver") FROM "medal_count" WHERE "total">95;
2-113485-1
What is the highest total medals a team with less than 15 gold, less than 5 bronze, and a rank larger than 10 has?
CREATE TABLE "medal_count" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("total") FROM "medal_count" WHERE "gold"<15 AND "bronze"<5 AND "rank">10;
2-113485-1
Who is the home team who plays at Glenferrie Oval?
CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team" FROM "round_13" WHERE "venue"='glenferrie oval';
2-10808681-13
What did the away team Carlton score?
CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team_score" FROM "round_13" WHERE "away_team"='carlton';
2-10808681-13
In the game where the home team scored 19.21 (135), who was the away team?
CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team" FROM "round_13" WHERE "home_team_score"='19.21 (135)';
2-10808681-13
Which away team scored 13.13 (91)?
CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team" FROM "round_13" WHERE "away_team_score"='13.13 (91)';
2-10808681-13
What position did Lee Gilmour play while having more than 4 Tries and 20 points?
CREATE TABLE "2003_squad_statistics" ( "player" text, "position" text, "tries" real, "goals" real, "points" real );
SELECT "position" FROM "2003_squad_statistics" WHERE "tries">4 AND "points"=20 AND "player"='lee gilmour';
2-10814478-9
Who was the host that garnered ratings of 9.4/27?
CREATE TABLE "cbs_era_1979_2000" ( "year" real, "network" text, "lap_by_lap" text, "color_commentator_s" text, "pit_reporters" text, "host" text, "ratings" text, "viewers" text );
SELECT "host" FROM "cbs_era_1979_2000" WHERE "ratings"='9.4/27';
2-11691212-2
Who was the lap-by-lap broadcaster before 1994 who garnered ratings of 8.0/21?
CREATE TABLE "cbs_era_1979_2000" ( "year" real, "network" text, "lap_by_lap" text, "color_commentator_s" text, "pit_reporters" text, "host" text, "ratings" text, "viewers" text );
SELECT "lap_by_lap" FROM "cbs_era_1979_2000" WHERE "year"<1994 AND "ratings"='8.0/21';
2-11691212-2
Who was the host that garnered ratings of 9.6/26?
CREATE TABLE "cbs_era_1979_2000" ( "year" real, "network" text, "lap_by_lap" text, "color_commentator_s" text, "pit_reporters" text, "host" text, "ratings" text, "viewers" text );
SELECT "host" FROM "cbs_era_1979_2000" WHERE "ratings"='9.6/26';
2-11691212-2
What were the ratings for host Chris Economaki who had 12.3 million viewers?
CREATE TABLE "cbs_era_1979_2000" ( "year" real, "network" text, "lap_by_lap" text, "color_commentator_s" text, "pit_reporters" text, "host" text, "ratings" text, "viewers" text );
SELECT "ratings" FROM "cbs_era_1979_2000" WHERE "host"='chris economaki' AND "viewers"='12.3 million';
2-11691212-2
Who was the network who had Ken Squier as a host and 13.9 million viewers?
CREATE TABLE "cbs_era_1979_2000" ( "year" real, "network" text, "lap_by_lap" text, "color_commentator_s" text, "pit_reporters" text, "host" text, "ratings" text, "viewers" text );
SELECT "network" FROM "cbs_era_1979_2000" WHERE "host"='ken squier' AND "viewers"='13.9 million';
2-11691212-2
What was the lowest Attendance for Games played on the Date of February 5?
CREATE TABLE "february" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT MIN("attendance") FROM "february" WHERE "date"='february 5';
2-11775918-7
What was the total Attendance for Games while Chicago was the visiting Team?
CREATE TABLE "february" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT SUM("attendance") FROM "february" WHERE "visitor"='chicago';
2-11775918-7
What pole position was Rubens Barrichello when he had the fastest lap and a round larger than 11?
CREATE TABLE "grands_prix" ( "round" real, "grand_prix" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "pole_position" FROM "grands_prix" WHERE "fastest_lap"='rubens barrichello' AND "round">11;
2-1132600-3
Which Grand Prix did David Coulthard win with Michael Schumacher in the pole position before round 9?
CREATE TABLE "grands_prix" ( "round" real, "grand_prix" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "grand_prix" FROM "grands_prix" WHERE "winning_driver"='david coulthard' AND "pole_position"='michael schumacher' AND "round"<9;
2-1132600-3
Who had the fastest lap when David Coulthard had pole position and Michael Schumacher as a winning driver.
CREATE TABLE "grands_prix" ( "round" real, "grand_prix" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "fastest_lap" FROM "grands_prix" WHERE "pole_position"='david coulthard' AND "winning_driver"='michael schumacher';
2-1132600-3
Who had the fastest lap at the Australian Grand Prix?
CREATE TABLE "grands_prix" ( "round" real, "grand_prix" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "fastest_lap" FROM "grands_prix" WHERE "grand_prix"='australian grand prix';
2-1132600-3
Tell me the team 2 for team 1 being la nuova piovese (veneto a)
CREATE TABLE "second_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "team_2" FROM "second_round" WHERE "team_1"='la nuova piovese (veneto a)';
2-10882589-58
Tell me the team 1 for team 2 being civitavecchiese (latium a)
CREATE TABLE "second_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "team_1" FROM "second_round" WHERE "team_2"='civitavecchiese (latium a)';
2-10882589-58
Tell me the 1st leg for team being budoni (Sardinia)
CREATE TABLE "second_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "1st_leg" FROM "second_round" WHERE "team_1"='budoni (sardinia)';
2-10882589-58
How many attended the game at Busch Stadium (ii) when the time was 3:54?
CREATE TABLE "st_louis_cardinals_vs_houston_astros" ( "game" real, "date" text, "location" text, "time" text, "attendance" real );
SELECT "attendance" FROM "st_louis_cardinals_vs_houston_astros" WHERE "location"='busch stadium (ii)' AND "time"='3:54';
2-1083912-1
What dates were the games after game 6 played?
CREATE TABLE "st_louis_cardinals_vs_houston_astros" ( "game" real, "date" text, "location" text, "time" text, "attendance" real );
SELECT "date" FROM "st_louis_cardinals_vs_houston_astros" WHERE "game">6;
2-1083912-1
What is the 1977 value that had Grand Slam Tournaments in 1972?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1972" text, "1973" text, "1974" text, "1975" text, "1976" text, "1977" text, "1978" text );
SELECT "1977" FROM "singles_performance_timeline" WHERE "1972"='grand slam tournaments';
2-11422713-2
What is the tournament that had Grand Slam Tournaments in 1976?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1972" text, "1973" text, "1974" text, "1975" text, "1976" text, "1977" text, "1978" text );
SELECT "tournament" FROM "singles_performance_timeline" WHERE "1976"='grand slam tournaments';
2-11422713-2
What is the 1976 value of the Australian Open?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1972" text, "1973" text, "1974" text, "1975" text, "1976" text, "1977" text, "1978" text );
SELECT "1976" FROM "singles_performance_timeline" WHERE "tournament"='australian open';
2-11422713-2
What is the 1977 value that has a 1974 a value?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1972" text, "1973" text, "1974" text, "1975" text, "1976" text, "1977" text, "1978" text );
SELECT "1977" FROM "singles_performance_timeline" WHERE "1974"='a';
2-11422713-2
Which week led to a record of 4-10?
CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "attendance" text, "record" text );
SELECT "week" FROM "schedule" WHERE "record"='4-10';
2-11452712-2
Which week was the game against the San Diego Chargers?
CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "attendance" text, "record" text );
SELECT "week" FROM "schedule" WHERE "opponent"='san diego chargers';
2-11452712-2
What is the height of the player who is from Huntington, WV?
CREATE TABLE "2007_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text );
SELECT "height" FROM "2007_boys_team" WHERE "hometown"='huntington, wv';
2-11677760-17
What school is the player who has a hometown of Chicago, IL from?
CREATE TABLE "2007_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text );
SELECT "school" FROM "2007_boys_team" WHERE "hometown"='chicago, il';
2-11677760-17
Which college is the player from South Medford High School headed to?
CREATE TABLE "2007_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text );
SELECT "college" FROM "2007_boys_team" WHERE "school"='south medford high school';
2-11677760-17
Which school is the player who is headed to Duke from?
CREATE TABLE "2007_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text );
SELECT "school" FROM "2007_boys_team" WHERE "college"='duke';
2-11677760-17
What is the hometown of the player who is headed to Duke?
CREATE TABLE "2007_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text );
SELECT "hometown" FROM "2007_boys_team" WHERE "college"='duke';
2-11677760-17
Who was Louise when Tracy Venner was Dainty June?
CREATE TABLE "casts_and_directors_of_broadway_and_west" ( "productions" text, "rose" text, "louise" text, "dainty_june" text, "herbie" text, "director" text );
SELECT "louise" FROM "casts_and_directors_of_broadway_and_west" WHERE "dainty_june"='tracy venner';
2-11943-1
Who was Dainty June when Tammy Blanchard was Louise?
CREATE TABLE "casts_and_directors_of_broadway_and_west" ( "productions" text, "rose" text, "louise" text, "dainty_june" text, "herbie" text, "director" text );
SELECT "dainty_june" FROM "casts_and_directors_of_broadway_and_west" WHERE "louise"='tammy blanchard';
2-11943-1
Who was Dainty June when Boyd Gaines was Herbie?
CREATE TABLE "casts_and_directors_of_broadway_and_west" ( "productions" text, "rose" text, "louise" text, "dainty_june" text, "herbie" text, "director" text );
SELECT "dainty_june" FROM "casts_and_directors_of_broadway_and_west" WHERE "herbie"='boyd gaines';
2-11943-1
What production had Angela Lansbury as Rose and Barrie Ingham as Herbie?
CREATE TABLE "casts_and_directors_of_broadway_and_west" ( "productions" text, "rose" text, "louise" text, "dainty_june" text, "herbie" text, "director" text );
SELECT "productions" FROM "casts_and_directors_of_broadway_and_west" WHERE "rose"='angela lansbury' AND "herbie"='barrie ingham';
2-11943-1
Who was rose in the 1975 Broadway Revival?
CREATE TABLE "casts_and_directors_of_broadway_and_west" ( "productions" text, "rose" text, "louise" text, "dainty_june" text, "herbie" text, "director" text );
SELECT "rose" FROM "casts_and_directors_of_broadway_and_west" WHERE "productions"='1975 broadway revival';
2-11943-1
Which production had Rex Robbins as Herbie?
CREATE TABLE "casts_and_directors_of_broadway_and_west" ( "productions" text, "rose" text, "louise" text, "dainty_june" text, "herbie" text, "director" text );
SELECT "productions" FROM "casts_and_directors_of_broadway_and_west" WHERE "herbie"='rex robbins';
2-11943-1
On what date was the venue VFL Park?
CREATE TABLE "round_21" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "date" FROM "round_21" WHERE "venue"='vfl park';
2-10826385-21
What date did Footscray play at home?
CREATE TABLE "round_21" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "date" FROM "round_21" WHERE "home_team"='footscray';
2-10826385-21
What did the home team score when they played the away team of Geelong?
CREATE TABLE "round_21" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team_score" FROM "round_21" WHERE "away_team"='geelong';
2-10826385-21
For the away team with a score of 14.7 (91) what was the home team?
CREATE TABLE "round_21" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team" FROM "round_21" WHERE "away_team_score"='14.7 (91)';
2-10826385-21
What was the lowest pick number for the Boston Celtics?
CREATE TABLE "draft" ( "round" real, "pick" real, "player" text, "position" text, "team" text, "college" text );
SELECT MIN("pick") FROM "draft" WHERE "team"='boston celtics';
2-12093318-3
Who is the visitor team on 23 November 2007?
CREATE TABLE "november" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT "visitor" FROM "november" WHERE "date"='23 november 2007';
2-11963209-4
Who is the leading scorer of the game on 20 November 2007?
CREATE TABLE "november" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT "leading_scorer" FROM "november" WHERE "date"='20 november 2007';
2-11963209-4
When was petter ronnquist picked?
CREATE TABLE "1992_draft_picks" ( "round" real, "overall" real, "player" text, "nationality" text, "club_team" text );
SELECT "overall" FROM "1992_draft_picks" WHERE "player"='petter ronnquist';
2-11803648-1
Which venue has a Result of 1–0?
CREATE TABLE "international_career" ( "date" text, "venue" text, "result" text, "scored" real, "competition" text );
SELECT "venue" FROM "international_career" WHERE "result"='1–0';
2-11408917-2
Which venue has a Result of 1–2?
CREATE TABLE "international_career" ( "date" text, "venue" text, "result" text, "scored" real, "competition" text );
SELECT "venue" FROM "international_career" WHERE "result"='1–2';
2-11408917-2
What is the highest score with a Result of 1–1 on 4 march 2001?
CREATE TABLE "international_career" ( "date" text, "venue" text, "result" text, "scored" real, "competition" text );
SELECT MAX("scored") FROM "international_career" WHERE "result"='1–1' AND "date"='4 march 2001';
2-11408917-2
What is the result of 2003 eaff championship preliminary on 2 march 2003?
CREATE TABLE "international_career" ( "date" text, "venue" text, "result" text, "scored" real, "competition" text );
SELECT "result" FROM "international_career" WHERE "competition"='2003 eaff championship preliminary' AND "date"='2 march 2003';
2-11408917-2
I want the engine for luigi villoresi
CREATE TABLE "entries" ( "driver" text, "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyre" text );
SELECT "engine" FROM "entries" WHERE "driver"='luigi villoresi';
2-1122040-1
I want the chassis for entrant of ecurie lutetia
CREATE TABLE "entries" ( "driver" text, "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyre" text );
SELECT "chassis" FROM "entries" WHERE "entrant"='ecurie lutetia';
2-1122040-1
What is the venue when the away team scored 15.9 (99)?
CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_2" WHERE "away_team_score"='15.9 (99)';
2-10823950-2
What date was the game played at princes park?
CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "date" FROM "round_2" WHERE "venue"='princes park';
2-10823950-2
What was the score of the away team when the game was played at vfl park?
CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team_score" FROM "round_2" WHERE "venue"='vfl park';
2-10823950-2
What was the venue when the away team scored 17.21 (123)?
CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_2" WHERE "away_team_score"='17.21 (123)';
2-10823950-2
What team was the home team when the away team scored 17.21 (123)?
CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team" FROM "round_2" WHERE "away_team_score"='17.21 (123)';
2-10823950-2
Name the kaz hayashi for block A being bushi
CREATE TABLE "2011" ( "block_a" text, "black_bushi" text, "bushi" text, "kaz_hayashi" text, "kenny_omega" text, "minoru" text );
SELECT "kaz_hayashi" FROM "2011" WHERE "block_a"='bushi';
2-11934531-13
Name the minoru for block A being koji kanemoto
CREATE TABLE "2011" ( "block_a" text, "black_bushi" text, "bushi" text, "kaz_hayashi" text, "kenny_omega" text, "minoru" text );
SELECT "minoru" FROM "2011" WHERE "block_a"='koji kanemoto';
2-11934531-13
Name the BUSHI when it has kenny omega of yang (7:27)
CREATE TABLE "2011" ( "block_a" text, "black_bushi" text, "bushi" text, "kaz_hayashi" text, "kenny_omega" text, "minoru" text );
SELECT "bushi" FROM "2011" WHERE "kenny_omega"='yang (7:27)';
2-11934531-13
Name the BUSHI that has kaz hayashi of kai (14:01)
CREATE TABLE "2011" ( "block_a" text, "black_bushi" text, "bushi" text, "kaz_hayashi" text, "kenny_omega" text, "minoru" text );
SELECT "bushi" FROM "2011" WHERE "kaz_hayashi"='kai (14:01)';
2-11934531-13
Name the Kaz Hayashi which has BUSHI of yang (9:43)
CREATE TABLE "2011" ( "block_a" text, "black_bushi" text, "bushi" text, "kaz_hayashi" text, "kenny_omega" text, "minoru" text );
SELECT "kaz_hayashi" FROM "2011" WHERE "bushi"='yang (9:43)';
2-11934531-13