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 result on February 18, 2003?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "result" FROM "international_goals" WHERE "date"='february 18, 2003';
2-11945983-1
When was the ship that had a fate of 'converted to laker, 1961; still in service' commissioned?
CREATE TABLE "ships_of_the_class" ( "name" text, "original_name" text, "commissioned" text, "final_decommission" text, "fate" text );
SELECT "commissioned" FROM "ships_of_the_class" WHERE "fate"='converted to laker, 1961; still in service';
2-12013207-1
When was the ship originally named sachem finally decommissioned?
CREATE TABLE "ships_of_the_class" ( "name" text, "original_name" text, "commissioned" text, "final_decommission" text, "fate" text );
SELECT "final_decommission" FROM "ships_of_the_class" WHERE "original_name"='sachem';
2-12013207-1
When did the home team score 12.18 (90)?
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 "date" FROM "round_13" WHERE "home_team_score"='12.18 (90)';
2-10790099-13
What did the away team score in the game against Richmond?
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 "home_team"='richmond';
2-10790099-13
Which player has no 0 results and multiples ties?
CREATE TABLE "list_of_ireland_cricket_captains" ( "player" text, "dates_of_captaincy" text, "lost" real, "tied" real, "no_result" real, "pct_win_a" real );
SELECT "player" FROM "list_of_ireland_cricket_captains" WHERE "no_result"=0 AND "tied">0;
2-11783487-3
What is the low no result with more than 5 loss and a win ration lesser than 58.06?
CREATE TABLE "list_of_ireland_cricket_captains" ( "player" text, "dates_of_captaincy" text, "lost" real, "tied" real, "no_result" real, "pct_win_a" real );
SELECT MIN("no_result") FROM "list_of_ireland_cricket_captains" WHERE "lost">5 AND "pct_win_a"<58.06;
2-11783487-3
Which Crowd has an Away team score of 17.8 (110)?
CREATE TABLE "round_20" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "crowd" FROM "round_20" WHERE "away_team_score"='17.8 (110)';
2-10869537-20
Name the opponent for may 12
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );
SELECT "opponent" FROM "game_log" WHERE "date"='may 12';
2-11885248-3
Name the date for Loss of schilling (5–2)
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );
SELECT "date" FROM "game_log" WHERE "loss"='schilling (5–2)';
2-11885248-3
Name the record for may 31
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );
SELECT "record" FROM "game_log" WHERE "date"='may 31';
2-11885248-3
What was the highest average for the contestant having an interview score of 8.46?
CREATE TABLE "preliminary_competition" ( "state" text, "interview" real, "swimsuit" real, "evening_gown" real, "average" real );
SELECT MAX("average") FROM "preliminary_competition" WHERE "interview"=8.46;
2-12045304-1
What day had a time of 29.816?
CREATE TABLE "nascar" ( "record" text, "year" text, "date" text, "driver" text, "car_make" text, "time" text, "average_speed_mph" text );
SELECT "date" FROM "nascar" WHERE "time"='29.816';
2-1184867-2
What kind of car has the NASCAR Camping World Truck Series record?
CREATE TABLE "nascar" ( "record" text, "year" text, "date" text, "driver" text, "car_make" text, "time" text, "average_speed_mph" text );
SELECT "car_make" FROM "nascar" WHERE "record"='nascar camping world truck series';
2-1184867-2
Was it a home game on the date of April 6?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "home" FROM "game_log" WHERE "date"='april 6';
2-11945691-8
What was the date when the home team was Dallas?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "date" FROM "game_log" WHERE "home"='dallas';
2-11945691-8
What is Rhett Mclane's highest pick number?
CREATE TABLE "round_two" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT MAX("pick_num") FROM "round_two" WHERE "player"='rhett mclane';
2-10975034-2
What is Colorado College's lowest pick number?
CREATE TABLE "round_two" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT MIN("pick_num") FROM "round_two" WHERE "college"='colorado';
2-10975034-2
What player belongs to Northwestern College?
CREATE TABLE "round_two" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "player" FROM "round_two" WHERE "college"='northwestern';
2-10975034-2
What CFL Team is Pascal Masson on?
CREATE TABLE "round_two" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "cfl_team" FROM "round_two" WHERE "player"='pascal masson';
2-10975034-2
What's the number & name for the date after 1954?
CREATE TABLE "operational" ( "number_name" text, "description" text, "livery" text, "owner_s" text, "date" real );
SELECT "number_name" FROM "operational" WHERE "date">1954;
2-1167462-1
What's the date for princess royal class locomotive trust?
CREATE TABLE "operational" ( "number_name" text, "description" text, "livery" text, "owner_s" text, "date" real );
SELECT "date" FROM "operational" WHERE "owner_s"='princess royal class locomotive trust';
2-1167462-1
What's the number & name for the description peckett 0-4-0st?
CREATE TABLE "operational" ( "number_name" text, "description" text, "livery" text, "owner_s" text, "date" real );
SELECT "number_name" FROM "operational" WHERE "description"='peckett 0-4-0st';
2-1167462-1
What's the number & name for a description of lms fowler class 3f 0-6-0t?
CREATE TABLE "operational" ( "number_name" text, "description" text, "livery" text, "owner_s" text, "date" real );
SELECT "number_name" FROM "operational" WHERE "description"='lms fowler class 3f 0-6-0t';
2-1167462-1
When did the green bay packers win at green bay with an attendance over 70,920?
CREATE TABLE "2000s_packers_12_8" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "attendance" real, "location" text );
SELECT "date" FROM "2000s_packers_12_8" WHERE "location"='green bay' AND "winner"='green bay packers' AND "attendance">'70,920';
2-11650849-12
Who drive 74 laps in a grid larger than 9?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "driver" FROM "classification" WHERE "laps"=74 AND "grid">9;
2-1122984-1
Who is the player for St. Mary's team?
CREATE TABLE "r" ( "player" text, "no_s" text, "height_in_ft" text, "position" text, "years_for_rockets" text, "school_club_team_country" text );
SELECT "player" FROM "r" WHERE "school_club_team_country"='st. mary''s';
2-11734041-16
How tall is the player from Mississippi
CREATE TABLE "r" ( "player" text, "no_s" text, "height_in_ft" text, "position" text, "years_for_rockets" text, "school_club_team_country" text );
SELECT "height_in_ft" FROM "r" WHERE "school_club_team_country"='mississippi';
2-11734041-16
What is the player number for the player from Centenary?
CREATE TABLE "r" ( "player" text, "no_s" text, "height_in_ft" text, "position" text, "years_for_rockets" text, "school_club_team_country" text );
SELECT "no_s" FROM "r" WHERE "school_club_team_country"='centenary';
2-11734041-16
How tall is player 42 from Long Beach State?
CREATE TABLE "r" ( "player" text, "no_s" text, "height_in_ft" text, "position" text, "years_for_rockets" text, "school_club_team_country" text );
SELECT "height_in_ft" FROM "r" WHERE "no_s"='42' AND "school_club_team_country"='long beach state';
2-11734041-16
What network has lap-by-laps by Bill Flemming, and Pit reporter Chris Economaki?
CREATE TABLE "early_cbs_and_abc_s_era_1959_1978" ( "year" real, "network" text, "lap_by_lap" text, "pit_reporters" text, "host" text );
SELECT "network" FROM "early_cbs_and_abc_s_era_1959_1978" WHERE "lap_by_lap"='bill flemming' AND "pit_reporters"='chris economaki';
2-11691212-1
Which lap-by-lap has a year after 1973, with pit reporter Bill Flemming?
CREATE TABLE "early_cbs_and_abc_s_era_1959_1978" ( "year" real, "network" text, "lap_by_lap" text, "pit_reporters" text, "host" text );
SELECT "lap_by_lap" FROM "early_cbs_and_abc_s_era_1959_1978" WHERE "year">1973 AND "pit_reporters"='bill flemming';
2-11691212-1
What is on at 9:00 when at 10:00 it is local programming and at 8:30 it is decision house (reruns)?
CREATE TABLE "monday" ( "8_00" text, "8_30" text, "9_00" text, "9_30" text, "10_00" text );
SELECT "9_00" FROM "monday" WHERE "10_00"='local programming' AND "8_30"='decision house (reruns)';
2-11190694-16
What is on at 8:00 when at 8:30 it is the bachelorette?
CREATE TABLE "monday" ( "8_00" text, "8_30" text, "9_00" text, "9_30" text, "10_00" text );
SELECT "8_00" FROM "monday" WHERE "8_30"='the bachelorette';
2-11190694-16
what is on a 8:30 when at 9:00 it is one tree hill (reruns)?
CREATE TABLE "monday" ( "8_00" text, "8_30" text, "9_00" text, "9_30" text, "10_00" text );
SELECT "8_30" FROM "monday" WHERE "9_00"='one tree hill (reruns)';
2-11190694-16
What is at 8:30 when at 9:30 it is rules of engagement (reruns)?
CREATE TABLE "monday" ( "8_00" text, "8_30" text, "9_00" text, "9_30" text, "10_00" text );
SELECT "8_30" FROM "monday" WHERE "9_30"='rules of engagement (reruns)';
2-11190694-16
What is the lowest round for Fort Lauderdale, Florida, United States, with a win and a time of 3:38?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "round" real, "time" text, "location" text );
SELECT MIN("round") FROM "mixed_martial_arts_record" WHERE "res"='win' AND "location"='fort lauderdale, florida, united states' AND "time"='3:38';
2-11439940-2
How many rounds have a time of 2:18?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "round" real, "time" text, "location" text );
SELECT COUNT("round") FROM "mixed_martial_arts_record" WHERE "time"='2:18';
2-11439940-2
What is the lowest Grid with fewer than 65 Laps and with Driver Tim Schenken?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT MIN("grid") FROM "classification" WHERE "laps"<65 AND "driver"='tim schenken';
2-1122493-1
What Driver has 1 in Grid?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "driver" FROM "classification" WHERE "grid"=1;
2-1122493-1
What is Driver Howden Ganley's Time/Retired?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "time_retired" FROM "classification" WHERE "driver"='howden ganley';
2-1122493-1
On what date was Hawthorn the home team?
CREATE TABLE "round_18" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "date" FROM "round_18" WHERE "home_team"='hawthorn';
2-1164217-18
Which home team opposed an away team with a score of 16.22 (118)?
CREATE TABLE "round_18" ( "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_18" WHERE "away_team_score"='16.22 (118)';
2-1164217-18
Who was the away team at Junction Oval?
CREATE TABLE "round_18" ( "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_18" WHERE "venue"='junction oval';
2-1164217-18
Which home team played at MCG?
CREATE TABLE "round_18" ( "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_18" WHERE "venue"='mcg';
2-1164217-18
Tell me the sum of draws for position less than 15 with played more than 38
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("draws") FROM "final_table" WHERE "position"<15 AND "played">38;
2-12103836-2
Name the sum of played for position less than 9 and draws more than 19 with goals against more than 27
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 "position"<9 AND "draws">19 AND "goals_against">27;
2-12103836-2
Name the recorded for translation of sleep my love, good night
CREATE TABLE "track_listing" ( "track" real, "title" text, "translation" text, "composer" text, "recorded" text );
SELECT "recorded" FROM "track_listing" WHERE "translation"='sleep my love, good night';
2-1187374-1
What is the Winter in 1906?
CREATE TABLE "olympic_host_cities" ( "city" text, "country" text, "continent" text, "summer" text, "winter" text, "season" text, "year" real );
SELECT "winter" FROM "olympic_host_cities" WHERE "year"=1906;
2-11015817-1
Which driver has a Time/Retired of 2:45:46.2?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "driver" FROM "race" WHERE "time_retired"='2:45:46.2';
2-1122049-2
What position for the western michigan product picked ahead of 312?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text );
SELECT "position" FROM "nfl_draft" WHERE "pick"<312 AND "school_club_team"='western michigan';
2-11156675-1
What date did the Chicago Bears beat the Green bay Packers 31-20?
CREATE TABLE "1950s_bears_14_5_1" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "attendance" real, "location" text );
SELECT "date" FROM "1950s_bears_14_5_1" WHERE "loser"='green bay packers' AND "location"='green bay';
2-11650849-7
When were the boston bruins the home team?
CREATE TABLE "march" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT "date" FROM "march" WHERE "home"='boston bruins';
2-11622632-8
In what nation is Bordeaux?
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 "moving_from"='bordeaux';
2-11221038-2
Who has the lead in Norway?
CREATE TABLE "teams" ( "nation" text, "skip" text, "third" text, "second" text, "lead" text, "alternate" text );
SELECT "lead" FROM "teams" WHERE "nation"='norway';
2-1158632-44
Which Skip will play Joan Mccusker?
CREATE TABLE "teams" ( "nation" text, "skip" text, "third" text, "second" text, "lead" text, "alternate" text );
SELECT "skip" FROM "teams" WHERE "second"='joan mccusker';
2-1158632-44
Who is the Alternate for Sweden?
CREATE TABLE "teams" ( "nation" text, "skip" text, "third" text, "second" text, "lead" text, "alternate" text );
SELECT "alternate" FROM "teams" WHERE "nation"='sweden';
2-1158632-44
Who is the third alternate for Germany?
CREATE TABLE "teams" ( "nation" text, "skip" text, "third" text, "second" text, "lead" text, "alternate" text );
SELECT "third" FROM "teams" WHERE "nation"='germany';
2-1158632-44
Which translation was published in 1986?
CREATE TABLE "bibliography" ( "title" text, "urdu" text, "translation" text, "date" real, "content" text );
SELECT "translation" FROM "bibliography" WHERE "date"=1986;
2-11712287-1
Which title has content including mysticism, spiritualism, and a translation of the minaret of light?
CREATE TABLE "bibliography" ( "title" text, "urdu" text, "translation" text, "date" real, "content" text );
SELECT "title" FROM "bibliography" WHERE "content"='mysticism, spiritualism' AND "translation"='the minaret of light';
2-11712287-1
What is hte nuumber of employees that has a revenue of 104.000?
CREATE TABLE "economy" ( "rank" text, "name" text, "headquarters" text, "revenue_mil" text, "profit_mil" text, "employees_world" real );
SELECT "employees_world" FROM "economy" WHERE "revenue_mil"='104.000';
2-11867-3
Which HQ is associated with a number of employees of 100?
CREATE TABLE "economy" ( "rank" text, "name" text, "headquarters" text, "revenue_mil" text, "profit_mil" text, "employees_world" real );
SELECT "headquarters" FROM "economy" WHERE "employees_world"=100;
2-11867-3
What is the low silver medal total for nations with over 1 bronze ranked above 11?
CREATE TABLE "medal_table" ( "rank" real, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("silver") FROM "medal_table" WHERE "bronze">1 AND "rank"<11;
2-11383852-2
What is the high total for nations with 1 gold and over 1 bronze?
CREATE TABLE "medal_table" ( "rank" real, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("total") FROM "medal_table" WHERE "gold"=1 AND "bronze">1;
2-11383852-2
What was the home team with a 4-6-0 record?
CREATE TABLE "october" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT "home" FROM "october" WHERE "record"='4-6-0';
2-11772462-3
What was the decision of the game with Washington as the visitor team on October 13?
CREATE TABLE "october" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT "decision" FROM "october" WHERE "visitor"='washington' AND "date"='october 13';
2-11772462-3
What is the average NGC number of everything with a Right ascension (J2000) of 05h33m30s?
CREATE TABLE "2001_2100" ( "ngc_number" real, "object_type" text, "constellation" text, "right_ascension_j2000" text, "declination_j2000" text );
SELECT AVG("ngc_number") FROM "2001_2100" WHERE "right_ascension_j2000"='05h33m30s';
2-11097664-1
What is the right ascension (J2000) with a Declination (J2000) of °12′43″, is a constellation of dorado, and has an NGC number larger than 2068?
CREATE TABLE "2001_2100" ( "ngc_number" real, "object_type" text, "constellation" text, "right_ascension_j2000" text, "declination_j2000" text );
SELECT "right_ascension_j2000" FROM "2001_2100" WHERE "ngc_number">2068 AND "constellation"='dorado' AND "declination_j2000"='°12′43″';
2-11097664-1
What type of object has an NGC number higher than 2090 and has a right ascension (J2000) of 05h52m19s?
CREATE TABLE "2001_2100" ( "ngc_number" real, "object_type" text, "constellation" text, "right_ascension_j2000" text, "declination_j2000" text );
SELECT "object_type" FROM "2001_2100" WHERE "ngc_number">2090 AND "right_ascension_j2000"='05h52m19s';
2-11097664-1
How is the crowd of the team Geelong?
CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT AVG("crowd") FROM "round_1" WHERE "away_team"='geelong';
2-10809529-1
Who has the smallest crowd in the Venue of Arden Street Oval?
CREATE TABLE "round_1" ( "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_1" WHERE "venue"='arden street oval';
2-10809529-1
What team has a Venue at Lake Oval?
CREATE TABLE "round_1" ( "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_1" WHERE "venue"='lake oval';
2-10809529-1
What day is the grand prix de trois-rivières?
CREATE TABLE "trans_am_series" ( "year" real, "date" text, "drivers" text, "distance_duration" text, "race_title" text );
SELECT "date" FROM "trans_am_series" WHERE "race_title"='grand prix de trois-rivières';
2-11095234-8
What race is on aug 4 with ron fellows?
CREATE TABLE "trans_am_series" ( "year" real, "date" text, "drivers" text, "distance_duration" text, "race_title" text );
SELECT "race_title" FROM "trans_am_series" WHERE "drivers"='ron fellows' AND "date"='aug 4';
2-11095234-8
What is the distance/duration on sept 5 of le grand prix de trois-rivières?
CREATE TABLE "trans_am_series" ( "year" real, "date" text, "drivers" text, "distance_duration" text, "race_title" text );
SELECT "distance_duration" FROM "trans_am_series" WHERE "date"='sept 5' AND "race_title"='le grand prix de trois-rivières';
2-11095234-8
What is terry's record when he fights julio paulino?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "record" FROM "mixed_martial_arts_record" WHERE "opponent"='julio paulino';
2-11515383-2
How long is the ko (punch) fight against scott smith?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "time" FROM "mixed_martial_arts_record" WHERE "method"='ko (punch)' AND "opponent"='scott smith';
2-11515383-2
What is the average feet that has a Latitude (N) of 35°48′35″, and under 8,047m?
CREATE TABLE "history_of_conquest" ( "peak" text, "metres" real, "feet" real, "latitude_n" text, "longitude_e" text, "prominence_m" real );
SELECT AVG("feet") FROM "history_of_conquest" WHERE "latitude_n"='35°48′35″' AND "metres"<'8,047';
2-1141976-1
What is the lowest feet total with a Longitude (E) of 76°34′06″, and a Prominence (m) under 1,701?
CREATE TABLE "history_of_conquest" ( "peak" text, "metres" real, "feet" real, "latitude_n" text, "longitude_e" text, "prominence_m" real );
SELECT MIN("feet") FROM "history_of_conquest" WHERE "longitude_e"='76°34′06″' AND "prominence_m"<'1,701';
2-1141976-1
What Player comes from the Hometown of Wichita, KS?
CREATE TABLE "2012_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text, "nba_draft" text );
SELECT "player" FROM "2012_boys_team" WHERE "hometown"='wichita, ks';
2-11677760-33
For the Player from Brampton, ON what is their NBA Draft status?
CREATE TABLE "2012_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text, "nba_draft" text );
SELECT "nba_draft" FROM "2012_boys_team" WHERE "hometown"='brampton, on';
2-11677760-33
What was the College of Player Perry Ellis?
CREATE TABLE "2012_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text, "nba_draft" text );
SELECT "college" FROM "2012_boys_team" WHERE "player"='perry ellis';
2-11677760-33
What is the lowest figure score when the free is 556?
CREATE TABLE "ladies" ( "rank" real, "name" text, "nation" text, "placings" text, "figures" real, "free" real, "total" real );
SELECT MIN("figures") FROM "ladies" WHERE "free"=556;
2-11124874-2
On what date did the home team score 5.8 (38)?
CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "date" FROM "round_12" WHERE "home_team_score"='5.8 (38)';
2-10784349-12
What is the size of the crowd for the game where the away team South Melbourne played?
CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT AVG("crowd") FROM "round_12" WHERE "away_team"='south melbourne';
2-10784349-12
What is the home team score when the crowd was larger than 30,100?
CREATE TABLE "round_12" ( "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_12" WHERE "crowd">'30,100';
2-10784349-12
What was the size of the crowd when the away team scored 6.15 (51)?
CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "crowd" FROM "round_12" WHERE "away_team_score"='6.15 (51)';
2-10784349-12
How much did the home team Hawthorn score?
CREATE TABLE "round_12" ( "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_12" WHERE "home_team"='hawthorn';
2-10784349-12
Who was the away team at South Melbourne with a crowd size larger than 10,000.
CREATE TABLE "round_5" ( "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_5" WHERE "crowd">'10,000' AND "away_team"='south melbourne';
2-10789881-5
Where did the away team score 10.11 (71)?
CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_5" WHERE "away_team_score"='10.11 (71)';
2-10789881-5
What was the crowd size for the game at Footscray?
CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT COUNT("crowd") FROM "round_5" WHERE "away_team"='footscray';
2-10789881-5
Who was the visitor when phoenix was at home?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT "visitor" FROM "game_log" WHERE "home"='phoenix';
2-11786147-6
What day did philadelphia visit?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT "date" FROM "game_log" WHERE "visitor"='philadelphia';
2-11786147-6
Which song has a Picturization of Vijay?
CREATE TABLE "soundtrack" ( "track_num" real, "song" text, "singers" text, "picturization" text, "length" text, "lyricist" text );
SELECT "song" FROM "soundtrack" WHERE "picturization"='vijay';
2-10848177-1
How long is the song "Maduraikku Pogathadee"?
CREATE TABLE "soundtrack" ( "track_num" real, "song" text, "singers" text, "picturization" text, "length" text, "lyricist" text );
SELECT "length" FROM "soundtrack" WHERE "song"='\"maduraikku pogathadee\"';
2-10848177-1
What is the air date for the episode with production code ad1c13?
CREATE TABLE "season_3" ( "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );
SELECT "original_air_date" FROM "season_3" WHERE "production_code"='ad1c13';
2-1137274-3
Who wrote the episode that has the production code ad1c05?
CREATE TABLE "season_3" ( "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );
SELECT "written_by" FROM "season_3" WHERE "production_code"='ad1c05';
2-1137274-3
What is the title of the episode with production code ad1c07?
CREATE TABLE "season_3" ( "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text );
SELECT "title" FROM "season_3" WHERE "production_code"='ad1c07';
2-1137274-3
What is the low draw total for yarragon teams with over 3 wins, and under 966 against?
CREATE TABLE "2011_ladder" ( "mid_gippsland_fl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT MIN("draws") FROM "2011_ladder" WHERE "wins">3 AND "mid_gippsland_fl"='yarragon' AND "against"<966;
2-11562830-9
What is the General classification for a points classification leader of Bradley Wiggins?
CREATE TABLE "jersey_progress" ( "stage_winner" text, "general_classification" text, "mountains_classification" text, "points_classification" text, "combination_classification" text, "team_classification" text );
SELECT "general_classification" FROM "jersey_progress" WHERE "points_classification"='bradley wiggins';
2-11667521-17