question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What is the Film title used in nomination of the Film with a Serbian title of бело одело?
CREATE TABLE "federal_republic_of_yugoslavia" ( "year_ceremony" text, "film_title_used_in_nomination" text, "serbian_title" text, "director" text, "result" text );
SELECT "film_title_used_in_nomination" FROM "federal_republic_of_yugoslavia" WHERE "serbian_title"='бело одело';
2-16080300-2
In what Year was Labyrinth nominated?
CREATE TABLE "federal_republic_of_yugoslavia" ( "year_ceremony" text, "film_title_used_in_nomination" text, "serbian_title" text, "director" text, "result" text );
SELECT "year_ceremony" FROM "federal_republic_of_yugoslavia" WHERE "film_title_used_in_nomination"='labyrinth';
2-16080300-2
What is the High assists for march 25?
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_assists" FROM "game_log" WHERE "date"='march 25';
2-15872814-7
What is the Score when Donyell Marshall (26) had the high points?
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 "score" FROM "game_log" WHERE "high_points"='donyell marshall (26)';
2-15872814-7
What is the highest Game when Morris Peterson (8) had the high assists?
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 MAX("game") FROM "game_log" WHERE "high_assists"='morris peterson (8)';
2-15872814-7
What is the High assists when jalen rose (22) had the high points?
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_assists" FROM "game_log" WHERE "high_points"='jalen rose (22)';
2-15872814-7
What is the High assists when the record was 28–40?
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_assists" FROM "game_log" WHERE "record"='28–40';
2-15872814-7
Who were the Brazil scorers who scored 3-3?
CREATE TABLE "brazil_national_team" ( "date" text, "result" text, "score" text, "brazil_scorers" text, "competition" text );
SELECT "brazil_scorers" FROM "brazil_national_team" WHERE "score"='3-3';
2-15401676-3
Who is the Brazil scorer who scored 6-0?
CREATE TABLE "brazil_national_team" ( "date" text, "result" text, "score" text, "brazil_scorers" text, "competition" text );
SELECT "brazil_scorers" FROM "brazil_national_team" WHERE "score"='6-0';
2-15401676-3
With a score of 2-2, what was the Result?
CREATE TABLE "brazil_national_team" ( "date" text, "result" text, "score" text, "brazil_scorers" text, "competition" text );
SELECT "result" FROM "brazil_national_team" WHERE "score"='2-2';
2-15401676-3
Which Original Team has a Hometown of Brooklyn, New York and a Background of Comedienne?
CREATE TABLE "candidates" ( "background" text, "original_team" text, "hometown" text, "result" text, "raised" text );
SELECT "original_team" FROM "candidates" WHERE "hometown"='brooklyn, new york' AND "background"='comedienne';
2-15549077-1
What is the Background of the contestant with a Hometown listed as Los Angeles, California?
CREATE TABLE "candidates" ( "background" text, "original_team" text, "hometown" text, "result" text, "raised" text );
SELECT "background" FROM "candidates" WHERE "hometown"='los angeles, california';
2-15549077-1
What is the Background of the contestant with a Result of 07 fired in task 6 (2009-04-05)?
CREATE TABLE "candidates" ( "background" text, "original_team" text, "hometown" text, "result" text, "raised" text );
SELECT "background" FROM "candidates" WHERE "result"='07 fired in task 6 (2009-04-05)';
2-15549077-1
What is the Original Team of the contestant from Wrightsville, Georgia ?
CREATE TABLE "candidates" ( "background" text, "original_team" text, "hometown" text, "result" text, "raised" text );
SELECT "original_team" FROM "candidates" WHERE "hometown"='wrightsville, georgia';
2-15549077-1
Which Attendance has an Opponent of carolina panthers?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "attendance" FROM "schedule" WHERE "opponent"='carolina panthers';
2-15344979-1
Which Date has a Week smaller than 11, and a Attendance of 54,094?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "date" FROM "schedule" WHERE "week"<11 AND "attendance"='54,094';
2-15344979-1
What is the number of the episode titled 'Sugar Daddy'?
CREATE TABLE "uk_ratings" ( "episode_number" real, "title" text, "original_airing_on_channel_4" text, "time_of_airing_on_channel_4" text, "total_viewers_and_rank_on_c4" text, "total_viewers" text );
SELECT AVG("episode_number") FROM "uk_ratings" WHERE "title"='sugar daddy';
2-15472662-4
Which nations have more than 1 gold medal and 4 silver medals?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT "nation" FROM "medal_table" WHERE "gold">1 AND "silver"=4;
2-15980739-1
In Week 7, what is the highest attendance number?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT MAX("attendance") FROM "schedule" WHERE "week"=7;
2-15386248-2
In Week 13, who was the opponent?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "opponent" FROM "schedule" WHERE "week"=13;
2-15386248-2
What date did Week 9 begin?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "date" FROM "schedule" WHERE "week"=9;
2-15386248-2
Which award was given in 2012?
CREATE TABLE "awards_and_nominations" ( "year" text, "award" text, "production" text, "role" text, "result" text );
SELECT "award" FROM "awards_and_nominations" WHERE "year"='2012';
2-16172405-2
Which award was given for the role of Elphaba in 2009?
CREATE TABLE "awards_and_nominations" ( "year" text, "award" text, "production" text, "role" text, "result" text );
SELECT "award" FROM "awards_and_nominations" WHERE "role"='elphaba' AND "year"='2009';
2-16172405-2
What was the result for the role of Ellie Greenwich in 2005?
CREATE TABLE "awards_and_nominations" ( "year" text, "award" text, "production" text, "role" text, "result" text );
SELECT "result" FROM "awards_and_nominations" WHERE "role"='ellie greenwich' AND "year"='2005';
2-16172405-2
Which award was An Officer and a Gentleman nominated for?
CREATE TABLE "awards_and_nominations" ( "year" text, "award" text, "production" text, "role" text, "result" text );
SELECT "award" FROM "awards_and_nominations" WHERE "result"='nominated' AND "production"='an officer and a gentleman';
2-16172405-2
During what year was Wicked associated with the Green Room Awards?
CREATE TABLE "awards_and_nominations" ( "year" text, "award" text, "production" text, "role" text, "result" text );
SELECT "year" FROM "awards_and_nominations" WHERE "production"='wicked' AND "award"='green room awards';
2-16172405-2
What manufacturer makes locomotive number CTN 46?
CREATE TABLE "engine_roster" ( "locomotive_number" text, "model" text, "type" text, "propulsion" text, "manufacturer" text );
SELECT "manufacturer" FROM "engine_roster" WHERE "locomotive_number"='ctn 46';
2-15441362-1
What type is locomotive number CTN 46?
CREATE TABLE "engine_roster" ( "locomotive_number" text, "model" text, "type" text, "propulsion" text, "manufacturer" text );
SELECT "type" FROM "engine_roster" WHERE "locomotive_number"='ctn 46';
2-15441362-1
What type is locomotive CTN 1364?
CREATE TABLE "engine_roster" ( "locomotive_number" text, "model" text, "type" text, "propulsion" text, "manufacturer" text );
SELECT "type" FROM "engine_roster" WHERE "locomotive_number"='ctn 1364';
2-15441362-1
What cuts made has a wins less than 3 and 23 for the events?
CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real );
SELECT "cuts_made" FROM "summary" WHERE "wins"<3 AND "events"=23;
2-1583415-2
What is the lowest events that have 17 as the cuts made, with a top-25 less than 8?
CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real );
SELECT MIN("events") FROM "summary" WHERE "cuts_made"=17 AND "top_25"<8;
2-1583415-2
What are the lowest cuts made that have events less than 4?
CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real );
SELECT MIN("cuts_made") FROM "summary" WHERE "events"<4;
2-1583415-2
What is the highest top-10 that has a u.s. open for the tournament, and a top-25 greater than 12?
CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real );
SELECT MAX("top_10") FROM "summary" WHERE "tournament"='u.s. open' AND "top_25">12;
2-1583415-2
How many points are there with more losses than 16, more goals than 44, and a smaller position than 13?
CREATE TABLE "1_lyga" ( "position" real, "club" text, "games_played" real, "wins" real, "draws" real, "loses" real, "goals_scored" real, "goals_conceded" real, "points" real );
SELECT COUNT("points") FROM "1_lyga" WHERE "loses">16 AND "goals_scored">44 AND "position"<13;
2-16034882-2
What is the sum of the points with less goals conceded than 51, larger than position 1, has a draw of 7, and more losses than 5?
CREATE TABLE "1_lyga" ( "position" real, "club" text, "games_played" real, "wins" real, "draws" real, "loses" real, "goals_scored" real, "goals_conceded" real, "points" real );
SELECT SUM("points") FROM "1_lyga" WHERE "goals_conceded"<51 AND "position">1 AND "draws"=7 AND "loses">5;
2-16034882-2
Which has a Score of 6–1, 3–0 ret.?
CREATE TABLE "titles" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "surface" FROM "titles" WHERE "score"='6–1, 3–0 ret.';
2-1564278-2
Which Surface is on 23 january 2011?
CREATE TABLE "titles" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "surface" FROM "titles" WHERE "date"='23 january 2011';
2-1564278-2
When has a Surface of hard, a Tournament of wrexham , great britain?
CREATE TABLE "titles" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "date" FROM "titles" WHERE "surface"='hard' AND "tournament"='wrexham , great britain';
2-1564278-2
Which Surface has an Opponent in the final of stéphane robert?
CREATE TABLE "titles" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "surface" FROM "titles" WHERE "opponent_in_the_final"='stéphane robert';
2-1564278-2
What kind of Surface has a Score of 6–4, 0–6, 6–2?
CREATE TABLE "titles" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "surface" FROM "titles" WHERE "score"='6–4, 0–6, 6–2';
2-1564278-2
Which Call sign has a Branding of cbc radio one?
CREATE TABLE "radio" ( "frequency" text, "call_sign" text, "branding" text, "format" text, "owner" text );
SELECT "call_sign" FROM "radio" WHERE "branding"='cbc radio one';
2-16079851-1
WHich Frequency has a Format of country / news / sports?
CREATE TABLE "radio" ( "frequency" text, "call_sign" text, "branding" text, "format" text, "owner" text );
SELECT "frequency" FROM "radio" WHERE "format"='country / news / sports';
2-16079851-1
Which Format has a Frequency of 100.5 fm?
CREATE TABLE "radio" ( "frequency" text, "call_sign" text, "branding" text, "format" text, "owner" text );
SELECT "format" FROM "radio" WHERE "frequency"='100.5 fm';
2-16079851-1
Which Frequency has a Branding of country 600?
CREATE TABLE "radio" ( "frequency" text, "call_sign" text, "branding" text, "format" text, "owner" text );
SELECT "frequency" FROM "radio" WHERE "branding"='country 600';
2-16079851-1
WHich format has a Frequency of 99.3 fm?
CREATE TABLE "radio" ( "frequency" text, "call_sign" text, "branding" text, "format" text, "owner" text );
SELECT "format" FROM "radio" WHERE "frequency"='99.3 fm';
2-16079851-1
What is the Class AA where Class AA is Hale Center and Class AAAAA is Del Rio?
CREATE TABLE "individual" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text );
SELECT "class_aaa" FROM "individual" WHERE "class_aa"='hale center' AND "class_aaaaa"='del rio';
2-15315103-1
What School Year has a Class AAAA of Dickinson?
CREATE TABLE "individual" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text );
SELECT "school_year" FROM "individual" WHERE "class_aaaa"='dickinson';
2-15315103-1
If the Class A is Anton and Class AAA is Burnet, what is Class AA?
CREATE TABLE "individual" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text );
SELECT "class_aa" FROM "individual" WHERE "class_a"='anton' AND "class_aaa"='burnet';
2-15315103-1
If Class AAAA is Schertz Clemens and SChool Year is 1987-88, what is Class AA?
CREATE TABLE "individual" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text );
SELECT "class_aa" FROM "individual" WHERE "class_aaaa"='schertz clemens' AND "school_year"='1987-88';
2-15315103-1
Where Class AAA is Atlanta and Class AA is Weimar, what is Class AAAAA?
CREATE TABLE "individual" ( "school_year" text, "class_a" text, "class_aa" text, "class_aaa" text, "class_aaaa" text, "class_aaaaa" text );
SELECT "class_aaaaa" FROM "individual" WHERE "class_aaa"='atlanta' AND "class_aa"='weimar';
2-15315103-1
What was the result of the game on week 11?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real );
SELECT "result" FROM "schedule" WHERE "week"=11;
2-16028479-2
After week 2, how many people attended the game at Rich Stadium against the Miami Dolphins?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "game_site" text, "attendance" real );
SELECT COUNT("attendance") FROM "schedule" WHERE "game_site"='rich stadium' AND "opponent"='miami dolphins' AND "week">2;
2-16028479-2
What is the attendance when the opponent is the San Francisco 49ers?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "attendance" FROM "schedule" WHERE "opponent"='san francisco 49ers';
2-15986756-1
What is the result when the week is greater than 6 and the Buffalo Bills are the opponent?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "result" FROM "schedule" WHERE "week">6 AND "opponent"='buffalo bills';
2-15986756-1
What is the result when the attendance is 54,814?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "result" FROM "schedule" WHERE "attendance"='54,814';
2-15986756-1
What is the total number of weeks when the New York Jets are the opponent?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT COUNT("week") FROM "schedule" WHERE "opponent"='new york jets';
2-15986756-1
What is the result of the game when the attendance is 56,906?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "result" FROM "schedule" WHERE "attendance"='56,906';
2-15986756-1
What Song has a Group Song of Ring Ring Ring and a Score of 6.0 + 6.5 + 5.0 + 6.5 = 24.0?
CREATE TABLE "episode_5_23_february_2008" ( "index" text, "name" text, "song" text, "group_song" text, "score" text );
SELECT "song" FROM "episode_5_23_february_2008" WHERE "group_song"='ring ring ring' AND "score"='6.0 + 6.5 + 5.0 + 6.5 = 24.0';
2-15905451-2
What is Song's 会呼吸的痛 Index?
CREATE TABLE "episode_5_23_february_2008" ( "index" text, "name" text, "song" text, "group_song" text, "score" text );
SELECT "index" FROM "episode_5_23_february_2008" WHERE "song"='会呼吸的痛';
2-15905451-2
What Song's Index is F6?
CREATE TABLE "episode_5_23_february_2008" ( "index" text, "name" text, "song" text, "group_song" text, "score" text );
SELECT "song" FROM "episode_5_23_february_2008" WHERE "index"='f6';
2-15905451-2
What Group Song of Shine 王幸儿?
CREATE TABLE "episode_5_23_february_2008" ( "index" text, "name" text, "song" text, "group_song" text, "score" text );
SELECT "group_song" FROM "episode_5_23_february_2008" WHERE "name"='shine 王幸儿';
2-15905451-2
What is the Score of 我等的人会是谁?
CREATE TABLE "episode_5_23_february_2008" ( "index" text, "name" text, "song" text, "group_song" text, "score" text );
SELECT "score" FROM "episode_5_23_february_2008" WHERE "song"='我等的人会是谁';
2-15905451-2
What is the Name of Index F3?
CREATE TABLE "episode_5_23_february_2008" ( "index" text, "name" text, "song" text, "group_song" text, "score" text );
SELECT "name" FROM "episode_5_23_february_2008" WHERE "index"='f3';
2-15905451-2
What is the record after the game on Feb 10?
CREATE TABLE "schedule_and_results" ( "game" real, "february" real, "opponent" text, "score" text, "record" text );
SELECT "record" FROM "schedule_and_results" WHERE "february"=10;
2-15950317-5
What is the earliest day that had a game against the Boston Bruins?
CREATE TABLE "schedule_and_results" ( "game" real, "february" real, "opponent" text, "score" text, "record" text );
SELECT MIN("february") FROM "schedule_and_results" WHERE "opponent"='boston bruins';
2-15950317-5
What is the sum of Solidat (c) that's purpose is display type, heavy duty jobs, and a hardness (brinell) is smaller than 33?
CREATE TABLE "type_metal_alloys_mentioned_in_the_uk_mo" ( "sn_sb_pct" text, "liquidat_c" real, "solidat_c" real, "hardness_brinell" real, "purpose" text );
SELECT SUM("solidat_c") FROM "type_metal_alloys_mentioned_in_the_uk_mo" WHERE "purpose"='display type, heavy duty jobs' AND "hardness_brinell"<33;
2-159441-2
When the Sn/Sb (%) of 13/17, and a Liquidat (c) bigger than 283 what's the solidat (c)?
CREATE TABLE "type_metal_alloys_mentioned_in_the_uk_mo" ( "sn_sb_pct" text, "liquidat_c" real, "solidat_c" real, "hardness_brinell" real, "purpose" text );
SELECT SUM("solidat_c") FROM "type_metal_alloys_mentioned_in_the_uk_mo" WHERE "sn_sb_pct"='13/17' AND "liquidat_c">283;
2-159441-2
How many Liquidat (c) have a purpose of dual (machine & hand composition)?
CREATE TABLE "type_metal_alloys_mentioned_in_the_uk_mo" ( "sn_sb_pct" text, "liquidat_c" real, "solidat_c" real, "hardness_brinell" real, "purpose" text );
SELECT COUNT("liquidat_c") FROM "type_metal_alloys_mentioned_in_the_uk_mo" WHERE "purpose"='dual (machine & hand composition)';
2-159441-2
What was the record for the Chargers on Week 10?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" text );
SELECT "record" FROM "schedule" WHERE "week"=10;
2-15331726-1
What was the result of the game on week 4?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" text );
SELECT "result" FROM "schedule" WHERE "week"=4;
2-15331726-1
How many weeks did a game happen on September 17, 2000?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" text );
SELECT COUNT("week") FROM "schedule" WHERE "date"='september 17, 2000';
2-15331726-1
What was the result of the game against San Francisco 49ers before week 16?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" text );
SELECT "result" FROM "schedule" WHERE "week"<16 AND "opponent"='san francisco 49ers';
2-15331726-1
Who were semi-finalists in the event with a runner-up of Lisa Raymond?
CREATE TABLE "february" ( "week_of" text, "tier" text, "winner" text, "runner_up" text, "semi_finalists" text );
SELECT "semi_finalists" FROM "february" WHERE "runner_up"='lisa raymond';
2-15866312-2
Which song by David Essex spent 2 weeks on top of the charts?
CREATE TABLE "see_also" ( "volume_issue" text, "issue_date_s" text, "weeks_on_top" real, "song" text, "artist" text );
SELECT "song" FROM "see_also" WHERE "weeks_on_top"=2 AND "artist"='david essex';
2-15940633-1
What is the Volume:Issue number of the George McCrae song that spent less than 2 weeks on top of the charts?
CREATE TABLE "see_also" ( "volume_issue" text, "issue_date_s" text, "weeks_on_top" real, "song" text, "artist" text );
SELECT "volume_issue" FROM "see_also" WHERE "weeks_on_top"<2 AND "artist"='george mccrae';
2-15940633-1
Which venues closed in the 1990s?
CREATE TABLE "defunct" ( "venue" text, "location" text, "environment" text, "closed" text, "reason" text );
SELECT "venue" FROM "defunct" WHERE "closed"='1990s';
2-15720079-6
Which venues were closed because they were replaced?
CREATE TABLE "defunct" ( "venue" text, "location" text, "environment" text, "closed" text, "reason" text );
SELECT "location" FROM "defunct" WHERE "reason"='replaced';
2-15720079-6
Which venue closed in 1996?
CREATE TABLE "defunct" ( "venue" text, "location" text, "environment" text, "closed" text, "reason" text );
SELECT "venue" FROM "defunct" WHERE "closed"='1996';
2-15720079-6
What were the reasons that venues closed in the 1990s?
CREATE TABLE "defunct" ( "venue" text, "location" text, "environment" text, "closed" text, "reason" text );
SELECT "reason" FROM "defunct" WHERE "closed"='1990s';
2-15720079-6
Why did the Belk Gymnasium close?
CREATE TABLE "defunct" ( "venue" text, "location" text, "environment" text, "closed" text, "reason" text );
SELECT "reason" FROM "defunct" WHERE "venue"='belk gymnasium';
2-15720079-6
Can you tell me the Score that has the Home team of townsville crocodiles?
CREATE TABLE "semi_finals" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "crowd" real, "box_score" text, "report" text );
SELECT "score" FROM "semi_finals" WHERE "home_team"='townsville crocodiles';
2-16653153-32
Can you tell me the Venue that has the Away team of south dragons?
CREATE TABLE "semi_finals" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "crowd" real, "box_score" text, "report" text );
SELECT "venue" FROM "semi_finals" WHERE "away_team"='south dragons';
2-16653153-32
Can you tell me the lowest Crowd that has the Away team of melbourne tigers?
CREATE TABLE "semi_finals" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "crowd" real, "box_score" text, "report" text );
SELECT MIN("crowd") FROM "semi_finals" WHERE "away_team"='melbourne tigers';
2-16653153-32
Can you tell me the Away team that has the Home team of south dragons, and the Score of 94-81?
CREATE TABLE "semi_finals" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "crowd" real, "box_score" text, "report" text );
SELECT "away_team" FROM "semi_finals" WHERE "home_team"='south dragons' AND "score"='94-81';
2-16653153-32
Which position has a pick # of 238 and a round above 3?
CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text );
SELECT "position" FROM "nfl_draft" WHERE "round">3 AND "pick_num"=238;
2-16351975-1
Which player went to Vanderbilt?
CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text );
SELECT "player" FROM "nfl_draft" WHERE "college"='vanderbilt';
2-16351975-1
How many grids had a Time/Retired of +4 laps?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT COUNT("grid") FROM "race" WHERE "time_retired"='+4 laps';
2-1688155-2
How many laps had a constructor of toyota and a Time/Retired of +13.409?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT COUNT("laps") FROM "race" WHERE "constructor"='toyota' AND "time_retired"='+13.409';
2-1688155-2
What was the constructor when the laps were larger than 54, and the time/retired was +1 lap on a grid of 20?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "constructor" FROM "race" WHERE "laps">54 AND "time_retired"='+1 lap' AND "grid"=20;
2-1688155-2
How many grids had a constructor of renault and less than 4 laps?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT SUM("grid") FROM "race" WHERE "constructor"='renault' AND "laps"<4;
2-1688155-2
Which census ranking is 57.06 km big?
CREATE TABLE "communities" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text );
SELECT "census_ranking" FROM "communities" WHERE "area_km_2"=57.06;
2-171236-1
Which status is 75.35 km2 and is named sussex?
CREATE TABLE "communities" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text );
SELECT "status" FROM "communities" WHERE "area_km_2"<75.35 AND "official_name"='sussex';
2-171236-1
What was the distance for the winner or 2nd Waterline?
CREATE TABLE "1930_31_season_as_a_four_year_old" ( "result" text, "race" text, "distance" text, "weight" real, "winner_or_2nd" text, "pos_n" text );
SELECT "distance" FROM "1930_31_season_as_a_four_year_old" WHERE "winner_or_2nd"='waterline';
2-174003-3
What is the result for the distance of 10f, and a winner or 2nd of Lampra?
CREATE TABLE "1930_31_season_as_a_four_year_old" ( "result" text, "race" text, "distance" text, "weight" real, "winner_or_2nd" text, "pos_n" text );
SELECT "result" FROM "1930_31_season_as_a_four_year_old" WHERE "distance"='10f' AND "winner_or_2nd"='lampra';
2-174003-3
What is 1987, when 1986 is "1R"?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1978" text, "1979" text, "1980" text, "1982" text, "1983" text, "1984" text, "1985" text, "1986" text, "1987" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "career_sr" text );
SELECT "1987" FROM "singles_performance_timeline" WHERE "1986"='1r';
2-1717159-4
What is 1986, when 1978 is "A", when 1979 is "A", and when 1980 is "1R"?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1978" text, "1979" text, "1980" text, "1982" text, "1983" text, "1984" text, "1985" text, "1986" text, "1987" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "career_sr" text );
SELECT "1986" FROM "singles_performance_timeline" WHERE "1978"='a' AND "1979"='a' AND "1980"='1r';
2-1717159-4
What is 1984, when 1979 is "1R"?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1978" text, "1979" text, "1980" text, "1982" text, "1983" text, "1984" text, "1985" text, "1986" text, "1987" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "career_sr" text );
SELECT "1984" FROM "singles_performance_timeline" WHERE "1979"='1r';
2-1717159-4
What is 1982, when 1978 is "A", when 1985 is "4R", and when 1991 is "1R"?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1978" text, "1979" text, "1980" text, "1982" text, "1983" text, "1984" text, "1985" text, "1986" text, "1987" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "career_sr" text );
SELECT "1982" FROM "singles_performance_timeline" WHERE "1978"='a' AND "1985"='4r' AND "1991"='1r';
2-1717159-4
What is 1989, when 1982 is "SF"?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1978" text, "1979" text, "1980" text, "1982" text, "1983" text, "1984" text, "1985" text, "1986" text, "1987" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "career_sr" text );
SELECT "1989" FROM "singles_performance_timeline" WHERE "1982"='sf';
2-1717159-4
What is 1992, when 1990 is "Grand Slams"?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1978" text, "1979" text, "1980" text, "1982" text, "1983" text, "1984" text, "1985" text, "1986" text, "1987" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "career_sr" text );
SELECT "1992" FROM "singles_performance_timeline" WHERE "1990"='grand slams';
2-1717159-4