question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Name The Title which has a Track number of 07, and a Record label of emi on 21 april 2006?
CREATE TABLE "discography" ( "release_date" text, "album_title" text, "record_label" text, "disc_number" text, "track_number" text, "title" text );
SELECT "title" FROM "discography" WHERE "track_number"='07' AND "record_label"='emi' AND "release_date"='21 april 2006';
2-16374618-1
WHAT'S THE TIE NUMBER WITH AN AWAY TEAM OF WREXHAM?
CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "tie_no" FROM "fifth_round_proper" WHERE "away_team"='wrexham';
2-17004128-6
WHAT IS THE AWAY TEAM WITH HOME OF LEICESTER CITY?
CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "away_team" FROM "fifth_round_proper" WHERE "home_team"='leicester city';
2-17004128-6
WHAT IS THE AWAY TEAM WHEN HOME IS LEEDS UNITED?
CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "away_team" FROM "fifth_round_proper" WHERE "home_team"='leeds united';
2-17004128-6
WHAT IS THE AWAY TEAM WITH A TIE NUMBER 1?
CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "away_team" FROM "fifth_round_proper" WHERE "tie_no"='1';
2-17004128-6
Which Total has a Club of darlington, and a League goals of 13, and a League Cup goals of 1?
CREATE TABLE "fourth_division" ( "club" text, "league_goals" text, "fa_cup_goals" text, "league_cup_goals" text, "total" real );
SELECT SUM("total") FROM "fourth_division" WHERE "club"='darlington' AND "league_goals"='13' AND "league_cup_goals"='1';
2-16454477-15
Which Club has a League Cup goals of 0, and a FA Cup goals of 1, and a Total larger than 11, and a League goals of 13?
CREATE TABLE "fourth_division" ( "club" text, "league_goals" text, "fa_cup_goals" text, "league_cup_goals" text, "total" real );
SELECT "club" FROM "fourth_division" WHERE "league_cup_goals"='0' AND "fa_cup_goals"='1' AND "total">11 AND "league_goals"='13';
2-16454477-15
Which League Cup goals have a Total larger than 14, and a League goals of 14, and a FA Cup goals of 0?
CREATE TABLE "fourth_division" ( "club" text, "league_goals" text, "fa_cup_goals" text, "league_cup_goals" text, "total" real );
SELECT "league_cup_goals" FROM "fourth_division" WHERE "total">14 AND "league_goals"='14' AND "fa_cup_goals"='0';
2-16454477-15
Which Total has an FA Cup goals of 1, and a League goals of 4 + 7?
CREATE TABLE "fourth_division" ( "club" text, "league_goals" text, "fa_cup_goals" text, "league_cup_goals" text, "total" real );
SELECT AVG("total") FROM "fourth_division" WHERE "fa_cup_goals"='1' AND "league_goals"='4 + 7';
2-16454477-15
What event had a win, record of 8-1 and n/a round?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text );
SELECT "event" FROM "mixed_martial_arts_record" WHERE "res"='win' AND "round"='n/a' AND "record"='8-1';
2-17441870-2
What event was the opponent Karl Knothe and had a submission (rear naked choke)?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text );
SELECT "event" FROM "mixed_martial_arts_record" WHERE "method"='submission (rear naked choke)' AND "opponent"='karl knothe';
2-17441870-2
What's the record for the match when the res was a win and the method was a decision?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text );
SELECT "record" FROM "mixed_martial_arts_record" WHERE "method"='decision' AND "res"='win';
2-17441870-2
What round had a record of 4-1?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text );
SELECT "round" FROM "mixed_martial_arts_record" WHERE "record"='4-1';
2-17441870-2
What's the record of the UCS 2 - Battle at the Barn when the round was n/a?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text );
SELECT "record" FROM "mixed_martial_arts_record" WHERE "round"='n/a' AND "event"='ucs 2 - battle at the barn';
2-17441870-2
What round had a record of 8-2?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text );
SELECT "round" FROM "mixed_martial_arts_record" WHERE "record"='8-2';
2-17441870-2
Who is the opponent when the record is 17-19-4?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "record" text );
SELECT "opponent" FROM "game_log" WHERE "record"='17-19-4';
2-17599495-6
What is the score of game 37?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "record" text );
SELECT "score" FROM "game_log" WHERE "game"=37;
2-17599495-6
What is the record on 1/17/1980?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "record" text );
SELECT "record" FROM "game_log" WHERE "date"='1/17/1980';
2-17599495-6
What date was game number 3?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text );
SELECT "date" FROM "game_log" WHERE "game"=3;
2-17311797-11
What is the record when George Hill (11) had the high rebounds?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text );
SELECT "record" FROM "game_log" WHERE "high_rebounds"='george hill (11)';
2-17288845-5
What number game happened on November 19?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text );
SELECT MAX("game") FROM "game_log" WHERE "date"='november 19';
2-17288845-5
Who had the high rebounds for game 12?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "location_attendance" text, "record" text );
SELECT "high_rebounds" FROM "game_log" WHERE "game"=12;
2-17288845-5
What is the name of the manager in the city of Osijek?
CREATE TABLE "summaries" ( "team" text, "manager" text, "home_city" text, "stadium" text, "capacity" real );
SELECT "manager" FROM "summaries" WHERE "home_city"='osijek';
2-17573976-1
What is the team at Stadion Maksimir?
CREATE TABLE "summaries" ( "team" text, "manager" text, "home_city" text, "stadium" text, "capacity" real );
SELECT "team" FROM "summaries" WHERE "stadium"='stadion maksimir';
2-17573976-1
What is the home city when the stadium was Gradski Stadion U Poljudu?
CREATE TABLE "summaries" ( "team" text, "manager" text, "home_city" text, "stadium" text, "capacity" real );
SELECT "home_city" FROM "summaries" WHERE "stadium"='gradski stadion u poljudu';
2-17573976-1
What is the home city when Mladen Frančić is the manager?
CREATE TABLE "summaries" ( "team" text, "manager" text, "home_city" text, "stadium" text, "capacity" real );
SELECT "home_city" FROM "summaries" WHERE "manager"='mladen frančić';
2-17573976-1
Who was the opponent when the attendance was 80,079?
CREATE TABLE "1998" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text );
SELECT "opponent" FROM "1998" WHERE "attendance"='80,079';
2-17345263-7
Who was the opponent when the attendance was 31,002?
CREATE TABLE "1998" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text );
SELECT "opponent" FROM "1998" WHERE "attendance"='31,002';
2-17345263-7
Who was the opponent when they played at the legion field • birmingham, al site?
CREATE TABLE "1998" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text );
SELECT "opponent" FROM "1998" WHERE "site"='legion field • birmingham, al';
2-17345263-7
On which site was the game against Louisville played?
CREATE TABLE "1998" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text );
SELECT "site" FROM "1998" WHERE "opponent"='louisville';
2-17345263-7
What was the total attendance on September 12?
CREATE TABLE "1998" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text );
SELECT "attendance" FROM "1998" WHERE "date"='september 12';
2-17345263-7
What is the sum of Broadcasts (TV) 1, when Series is "3 4", and when US Release Date is "27 December 2006"?
CREATE TABLE "anime" ( "series" text, "title" text, "broadcasts_tv_1" real, "episodes_tv_extra_2" text, "directors" text, "aired_in_japan_3" text, "us_release_date" text );
SELECT SUM("broadcasts_tv_1") FROM "anime" WHERE "series"='3 4' AND "us_release_date"='27 december 2006';
2-1714685-1
What is the total number of Broadcasts (TV) 1, when Aired in Japan 3 is "5 January 2003 to 30 March 2003"?
CREATE TABLE "anime" ( "series" text, "title" text, "broadcasts_tv_1" real, "episodes_tv_extra_2" text, "directors" text, "aired_in_japan_3" text, "us_release_date" text );
SELECT COUNT("broadcasts_tv_1") FROM "anime" WHERE "aired_in_japan_3"='5 january 2003 to 30 march 2003';
2-1714685-1
What is Episodes (TV+extra) 2, when Broadcasts (TV) 1 is less than 13, and when Directors is "Shigehito Takayanagi"?
CREATE TABLE "anime" ( "series" text, "title" text, "broadcasts_tv_1" real, "episodes_tv_extra_2" text, "directors" text, "aired_in_japan_3" text, "us_release_date" text );
SELECT "episodes_tv_extra_2" FROM "anime" WHERE "broadcasts_tv_1"<13 AND "directors"='shigehito takayanagi';
2-1714685-1
What was the lowest pick when the position was OF with the Chicago White Sox?
CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "hometown_school" text );
SELECT MIN("pick") FROM "first_round_selections" WHERE "position"='of' AND "team"='chicago white sox';
2-16732960-1
What is the affiliation of the University of Maryland?
CREATE TABLE "2013_2014_teams" ( "school" text, "location" text, "founded" real, "affiliation" text, "nickname" text );
SELECT "affiliation" FROM "2013_2014_teams" WHERE "school"='university of maryland';
2-16404837-3
What school has the nickname of Cardinals?
CREATE TABLE "2013_2014_teams" ( "school" text, "location" text, "founded" real, "affiliation" text, "nickname" text );
SELECT MIN("founded") FROM "2013_2014_teams" WHERE "nickname"='cardinals';
2-16404837-3
What is the nickname of the school located in Fairfax, VA?
CREATE TABLE "2013_2014_teams" ( "school" text, "location" text, "founded" real, "affiliation" text, "nickname" text );
SELECT "nickname" FROM "2013_2014_teams" WHERE "location"='fairfax, va';
2-16404837-3
What is "house", when "four" is "opat"?
CREATE TABLE "vocabulary_comparison" ( "english" text, "three" text, "four" text, "person" text, "house" text, "coconut" text, "what" text, "fire" text );
SELECT "house" FROM "vocabulary_comparison" WHERE "four"='opat';
2-1626440-1
What is "house", when "what" is "ano", and when "three" is "tulo"?
CREATE TABLE "vocabulary_comparison" ( "english" text, "three" text, "four" text, "person" text, "house" text, "coconut" text, "what" text, "fire" text );
SELECT "house" FROM "vocabulary_comparison" WHERE "what"='ano' AND "three"='tulo';
2-1626440-1
What is the language, when "house" is "balay", when "three" is "tatlo", and when "four" is "apat"?
CREATE TABLE "vocabulary_comparison" ( "english" text, "three" text, "four" text, "person" text, "house" text, "coconut" text, "what" text, "fire" text );
SELECT "english" FROM "vocabulary_comparison" WHERE "house"='balay' AND "three"='tatlo' AND "four"='apat';
2-1626440-1
What is "what", when "person" is "tawo", when "three" is "tuyo", and when "coconut" is "niyog"?
CREATE TABLE "vocabulary_comparison" ( "english" text, "three" text, "four" text, "person" text, "house" text, "coconut" text, "what" text, "fire" text );
SELECT "what" FROM "vocabulary_comparison" WHERE "person"='tawo' AND "three"='tuyo' AND "coconut"='niyog';
2-1626440-1
What is the language, when "what" is "ango"?
CREATE TABLE "vocabulary_comparison" ( "english" text, "three" text, "four" text, "person" text, "house" text, "coconut" text, "what" text, "fire" text );
SELECT "english" FROM "vocabulary_comparison" WHERE "what"='ango';
2-1626440-1
Who is the opponent for the game played on august 20, 2006?
CREATE TABLE "singles_7" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "opponent" FROM "singles_7" WHERE "date"='august 20, 2006';
2-16484261-3
On which Surface will Estrella Cabeza Candela play?
CREATE TABLE "singles_7" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "surface" FROM "singles_7" WHERE "opponent"='estrella cabeza candela';
2-16484261-3
What was the opponent on December 16, 1989?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "opponent" FROM "schedule" WHERE "date"='december 16, 1989';
2-16642092-2
What was the highest attendance on November 12, 1989?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT MAX("attendance") FROM "schedule" WHERE "date"='november 12, 1989';
2-16642092-2
What was the week on December 10, 1989?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "week" FROM "schedule" WHERE "date"='december 10, 1989';
2-16642092-2
What is the league position number when the attendance was 14,673 with a match day larger than 26?
CREATE TABLE "scottish_premier_league" ( "match_day" real, "date" text, "opponent" text, "score" text, "league_position" real, "attendance" real, "report" text );
SELECT COUNT("league_position") FROM "scottish_premier_league" WHERE "attendance"='14,673' AND "match_day">26;
2-17440681-8
Which men's singles has mixed doubles with Kevin Cao Melody Liang?
CREATE TABLE "previous_winners" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );
SELECT "men_s_singles" FROM "previous_winners" WHERE "mixed_doubles"='kevin cao melody liang';
2-17259359-1
Which men's singles has mixed doubles with Chen Hung-Ling Chou Chia-Chi?
CREATE TABLE "previous_winners" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );
SELECT "men_s_singles" FROM "previous_winners" WHERE "mixed_doubles"='chen hung-ling chou chia-chi';
2-17259359-1
What attendance is dated february 27?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "attendance" real, "record" text, "points" real );
SELECT AVG("attendance") FROM "game_log" WHERE "date"='february 27';
2-17218729-6
What date has 37 points?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "attendance" real, "record" text, "points" real );
SELECT "date" FROM "game_log" WHERE "points"=37;
2-17218729-6
Who was the Team that was played against on February 24 and a game after game 55?
CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text );
SELECT "team" FROM "season_schedule" WHERE "game">55 AND "date"='february 24';
2-17064796-6
what is the name when the lane is less than 4 and mark is 52.64?
CREATE TABLE "heats" ( "heat" real, "lane" real, "name" text, "country" text, "mark" text );
SELECT "name" FROM "heats" WHERE "lane"<4 AND "mark"='52.64';
2-16196238-2
what is the number of times that the heat is 3 and the name is cxhristy ekpukhon ihunaegbo?
CREATE TABLE "heats" ( "heat" real, "lane" real, "name" text, "country" text, "mark" text );
SELECT COUNT("lane") FROM "heats" WHERE "heat"=3 AND "name"='cxhristy ekpukhon ihunaegbo';
2-16196238-2
Name the Score which has a Time of 18:00 and a Venue of african union?
CREATE TABLE "group_1" ( "match_no" real, "date" text, "time" text, "score" text, "venue" text, "match_report" text );
SELECT "score" FROM "group_1" WHERE "time"='18:00' AND "venue"='african union';
2-16330909-2
Name the Venue which has a Score of 8 – 1?
CREATE TABLE "group_1" ( "match_no" real, "date" text, "time" text, "score" text, "venue" text, "match_report" text );
SELECT "venue" FROM "group_1" WHERE "score"='8 – 1';
2-16330909-2
What is 2nd Leg, when 1st Leg is "SGM Basso Molise (Molise)"?
CREATE TABLE "first_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "2nd_leg" FROM "first_round" WHERE "1st_leg"='sgm basso molise (molise)';
2-17337726-61
What is 2nd Leg, when Team 1 is "H"?
CREATE TABLE "first_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "2nd_leg" FROM "first_round" WHERE "team_1"='h';
2-17337726-61
Who are the Batsmen from the year 2002?
CREATE TABLE "records" ( "score" text, "batsmen" text, "against" text, "location" text, "year" text );
SELECT "batsmen" FROM "records" WHERE "year"='2002';
2-1622320-3
What score did the year 1948 have?
CREATE TABLE "records" ( "score" text, "batsmen" text, "against" text, "location" text, "year" text );
SELECT "score" FROM "records" WHERE "year"='1948';
2-1622320-3
Who is the Batsman from the year 1982?
CREATE TABLE "records" ( "score" text, "batsmen" text, "against" text, "location" text, "year" text );
SELECT "batsmen" FROM "records" WHERE "year"='1982';
2-1622320-3
What is the score in 1929?
CREATE TABLE "records" ( "score" text, "batsmen" text, "against" text, "location" text, "year" text );
SELECT "score" FROM "records" WHERE "year"='1929';
2-1622320-3
Who was the batsmen at the Brit Oval location?
CREATE TABLE "records" ( "score" text, "batsmen" text, "against" text, "location" text, "year" text );
SELECT "batsmen" FROM "records" WHERE "location"='the brit oval';
2-1622320-3
What year was the bridge in Kent built?
CREATE TABLE "references" ( "name" text, "built" text, "listed" text, "location" text, "county" text );
SELECT "built" FROM "references" WHERE "county"='kent';
2-17287021-1
In which county is East Providence?
CREATE TABLE "references" ( "name" text, "built" text, "listed" text, "location" text, "county" text );
SELECT "county" FROM "references" WHERE "location"='east providence';
2-17287021-1
What county had a bridge biult in 1884?
CREATE TABLE "references" ( "name" text, "built" text, "listed" text, "location" text, "county" text );
SELECT "county" FROM "references" WHERE "built"='1884';
2-17287021-1
What is the Place of the Player with a Score of 68-73-66-74=281?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "place" FROM "final_round" WHERE "score"='68-73-66-74=281';
2-16225902-7
What is the Place of the Player with 122,100 Money and a Score of 68-70-68-74=280?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "place" FROM "final_round" WHERE "money">'122,100' AND "score"='68-70-68-74=280';
2-16225902-7
What Country's Player scored 71-69-70-71=281?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "country" FROM "final_round" WHERE "score"='71-69-70-71=281';
2-16225902-7
What is T5 Place Vijay Singh's To par?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "to_par" FROM "final_round" WHERE "place"='t5' AND "player"='vijay singh';
2-16225902-7
What is Score, when Player is "Bob Murphy"?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "score" FROM "second_round" WHERE "player"='bob murphy';
2-17277086-4
What is Player, when To Par is "+1", when Country is "United States", and when Score is "71-70=141"?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "player" FROM "second_round" WHERE "to_par"='+1' AND "country"='united states' AND "score"='71-70=141';
2-17277086-4
What is Score, when Place is "T8", and when Player is "Orville Moody"?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "score" FROM "second_round" WHERE "place"='t8' AND "player"='orville moody';
2-17277086-4
What is Score, when Player is "Deane Beman"?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "score" FROM "second_round" WHERE "player"='deane beman';
2-17277086-4
What is Country, when Player is "Jack Nicklaus"?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "second_round" WHERE "player"='jack nicklaus';
2-17277086-4
What is the Country, when Place is "1"?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "second_round" WHERE "place"='1';
2-17277086-4
WHAT IS THE RESULT FOR best urban/alternative performance, IN 2003 OR GREATER?
CREATE TABLE "awards" ( "year" real, "category" text, "genre" text, "title" text, "result" text );
SELECT "result" FROM "awards" WHERE "category"='best urban/alternative performance' AND "year">2003;
2-1673547-4
WHAT IS THE TITLE WITH CATEGORY OF best r&b song?
CREATE TABLE "awards" ( "year" real, "category" text, "genre" text, "title" text, "result" text );
SELECT "title" FROM "awards" WHERE "category"='best r&b song';
2-1673547-4
WHAT IS THE RESULT FOR 2003, IN best urban/alternative performance?
CREATE TABLE "awards" ( "year" real, "category" text, "genre" text, "title" text, "result" text );
SELECT "result" FROM "awards" WHERE "year"=2003 AND "category"='best urban/alternative performance';
2-1673547-4
WHAT IS THE YEAR OF FLOETIC?
CREATE TABLE "awards" ( "year" real, "category" text, "genre" text, "title" text, "result" text );
SELECT SUM("year") FROM "awards" WHERE "title"='floetic';
2-1673547-4
Who had the highest assists when the nuggets record was 2-4?
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"='2-4';
2-17355408-12
Who had the highest assists in game 3?
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 "game"=3;
2-17355408-12
What is Home Team, when Home Team Score is 22.15 (147)?
CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text, "time" text );
SELECT "home_team" FROM "round_of_16" WHERE "home_team_score"='22.15 (147)';
2-16387912-1
What is Time, when Ground is Waverley Park, and when Away Team is Footscray?
CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text, "time" text );
SELECT "time" FROM "round_of_16" WHERE "ground"='waverley park' AND "away_team"='footscray';
2-16387912-1
What is Away Team, when Ground is Waverley Park, and when Away Team Score is 10.14 (74)?
CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text, "time" text );
SELECT "away_team" FROM "round_of_16" WHERE "ground"='waverley park' AND "away_team_score"='10.14 (74)';
2-16387912-1
What is Ground, when Away Team is Sydney?
CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text, "time" text );
SELECT "ground" FROM "round_of_16" WHERE "away_team"='sydney';
2-16387912-1
What is Date, when Home Team is Richmond?
CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text, "time" text );
SELECT "date" FROM "round_of_16" WHERE "home_team"='richmond';
2-16387912-1
What is Home Team Score, when Time is 12:00 PM, and when Ground is Waverley Park?
CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "date" text, "time" text );
SELECT "home_team_score" FROM "round_of_16" WHERE "time"='12:00 pm' AND "ground"='waverley park';
2-16387912-1
What is the highest year for the US Open?
CREATE TABLE "women_s_doubles_13_finals_13_titles" ( "outcome" text, "year" real, "championship" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT MAX("year") FROM "women_s_doubles_13_finals_13_titles" WHERE "championship"='us open';
2-164910-3
What is Result, when Week is 16?
CREATE TABLE "season_schedule" ( "week" real, "date" text, "opponent" text, "score" text, "result" text, "attendance" text, "record" text );
SELECT "result" FROM "season_schedule" WHERE "week"=16;
2-16912111-3
What is Record, when Attendance is 30,110?
CREATE TABLE "season_schedule" ( "week" real, "date" text, "opponent" text, "score" text, "result" text, "attendance" text, "record" text );
SELECT "record" FROM "season_schedule" WHERE "attendance"='30,110';
2-16912111-3
What is Date, when Opponent is At Saskatchewan Roughriders?
CREATE TABLE "season_schedule" ( "week" real, "date" text, "opponent" text, "score" text, "result" text, "attendance" text, "record" text );
SELECT "date" FROM "season_schedule" WHERE "opponent"='at saskatchewan roughriders';
2-16912111-3
Which grades have a 2007 API of 734?
CREATE TABLE "schools" ( "school_name" text, "address" text, "students" real, "grades" text, "2007_api" real );
SELECT "grades" FROM "schools" WHERE "2007_api"=734;
2-16940367-1
Which School name has students smaller than 389, and grades of 10-12?
CREATE TABLE "schools" ( "school_name" text, "address" text, "students" real, "grades" text, "2007_api" real );
SELECT "school_name" FROM "schools" WHERE "students"<389 AND "grades"='10-12';
2-16940367-1
Which grades have students smaller than 430, and a 2007 API of 510?
CREATE TABLE "schools" ( "school_name" text, "address" text, "students" real, "grades" text, "2007_api" real );
SELECT "grades" FROM "schools" WHERE "students"<430 AND "2007_api"=510;
2-16940367-1
What was the score of the game where the home team was the cairns taipans?
CREATE TABLE "round_19" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "crowd" real, "box_score" text, "report" text );
SELECT "score" FROM "round_19" WHERE "home_team"='cairns taipans';
2-16653153-26
What was the score of the game where the adelaide 36ers were the home team?
CREATE TABLE "round_19" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "crowd" real, "box_score" text, "report" text );
SELECT "score" FROM "round_19" WHERE "home_team"='adelaide 36ers';
2-16653153-26
What was the score of the game where the venue was cairns convention centre?
CREATE TABLE "round_19" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "crowd" real, "box_score" text, "report" text );
SELECT "score" FROM "round_19" WHERE "venue"='cairns convention centre';
2-16653153-26