question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Who was the winning driver for the Dutch Grand Prix?
CREATE TABLE "season_review" ( "race" text, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "constructor" text, "tyre" text, "report" text );
SELECT "winning_driver" FROM "season_review" WHERE "race"='dutch grand prix';
2-1140090-1
Tell me the song with year before 2013 and music director of yuvan shankar raja and film of billa ii
CREATE TABLE "songs_by_tanvi" ( "film" text, "song" text, "year" real, "music_director" text, "language" text );
SELECT "song" FROM "songs_by_tanvi" WHERE "year"<2013 AND "music_director"='yuvan shankar raja' AND "film"='billa ii';
2-11032370-1
What title aired on March 19, 1998?
CREATE TABLE "season_4_1998" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "original_air_date" text, "production_code" text );
SELECT "title" FROM "season_4_1998" WHERE "original_air_date"='march 19, 1998';
2-11951237-4
Who directed the show with the production code k2708?
CREATE TABLE "season_4_1998" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "original_air_date" text, "production_code" text );
SELECT "directed_by" FROM "season_4_1998" WHERE "production_code"='k2708';
2-11951237-4
What is the season for series 81?
CREATE TABLE "season_4_1998" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "original_air_date" text, "production_code" text );
SELECT "season_num" FROM "season_4_1998" WHERE "series_num"=81;
2-11951237-4
On what date was a match played at Lake Oval?
CREATE TABLE "round_8" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "date" FROM "round_8" WHERE "venue"='lake oval';
2-10790510-8
At the home game in Collingwood, how much did the away team score?
CREATE TABLE "round_8" ( "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_8" WHERE "home_team"='collingwood';
2-10790510-8
In the game at Victoria Park, what was the number of people in the crowd?
CREATE TABLE "round_8" ( "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_8" WHERE "venue"='victoria park';
2-10790510-8
What was the tournament that happened in 1974 in gothenburg , sweden?
CREATE TABLE "achievements" ( "year" real, "tournament" text, "venue" text, "result" text, "extra" text );
SELECT "tournament" FROM "achievements" WHERE "year"=1974 AND "venue"='gothenburg , sweden';
2-11880183-1
Which MLB division has a win record of 76?
CREATE TABLE "table_key" ( "mlb_season" text, "team_season" text, "league" text, "division" text, "finish" text, "wins" text, "losses" text, "win_pct" text );
SELECT "division" FROM "table_key" WHERE "wins"='76';
2-11073038-2
What was the final rank of the Brewers in 1980?
CREATE TABLE "table_key" ( "mlb_season" text, "team_season" text, "league" text, "division" text, "finish" text, "wins" text, "losses" text, "win_pct" text );
SELECT "finish" FROM "table_key" WHERE "team_season"='1980';
2-11073038-2
What was the final rank of the Brewers when they achieved a win percentage of .585?
CREATE TABLE "table_key" ( "mlb_season" text, "team_season" text, "league" text, "division" text, "finish" text, "wins" text, "losses" text, "win_pct" text );
SELECT "finish" FROM "table_key" WHERE "win_pct"='.585';
2-11073038-2
Which division were the Brewers a part of in the 1987 season?
CREATE TABLE "table_key" ( "mlb_season" text, "team_season" text, "league" text, "division" text, "finish" text, "wins" text, "losses" text, "win_pct" text );
SELECT "division" FROM "table_key" WHERE "team_season"='1987';
2-11073038-2
Which division of the Brewers had a 5th place ranking and a loss record of 87?
CREATE TABLE "table_key" ( "mlb_season" text, "team_season" text, "league" text, "division" text, "finish" text, "wins" text, "losses" text, "win_pct" text );
SELECT "division" FROM "table_key" WHERE "finish"='5th' AND "losses"='87';
2-11073038-2
where was the game site when the opponent was san diego chargers?
CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "result" text, "game_site" text, "attendance" text );
SELECT "game_site" FROM "schedule" WHERE "opponent"='san diego chargers';
2-11273728-11
who was the opponent when the week was 9?
CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "result" text, "game_site" text, "attendance" text );
SELECT "opponent" FROM "schedule" WHERE "week"='9';
2-11273728-11
What venue features geelong as the away side?
CREATE TABLE "round_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_16" WHERE "away_team"='geelong';
2-10824095-16
What venue features essendon at home?
CREATE TABLE "round_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_16" WHERE "home_team"='essendon';
2-10824095-16
What is the home team score at princes park?
CREATE TABLE "round_16" ( "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_16" WHERE "venue"='princes park';
2-10824095-16
What home team scored 10.24 (84) at vfl park?
CREATE TABLE "round_16" ( "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_16" WHERE "venue"='vfl park' AND "home_team_score"='10.24 (84)';
2-10824095-16
Who is the nominee for best director?
CREATE TABLE "awards" ( "ceremony" text, "award" text, "category" text, "nominee" text, "outcome" text );
SELECT "nominee" FROM "awards" WHERE "category"='best director';
2-11051069-1
What ceremony was leela chitnis nominated at?
CREATE TABLE "awards" ( "ceremony" text, "award" text, "category" text, "nominee" text, "outcome" text );
SELECT "ceremony" FROM "awards" WHERE "outcome"='nominated' AND "nominee"='leela chitnis';
2-11051069-1
what is the highest pick number of the CFL team, the winnipeg blue bombers?
CREATE TABLE "round_five" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT MAX("pick_num") FROM "round_five" WHERE "cfl_team"='winnipeg blue bombers';
2-10960039-5
Which college has 41 picks?
CREATE TABLE "round_five" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "college" FROM "round_five" WHERE "pick_num"=41;
2-10960039-5
Which player plays for the college of manitoba?
CREATE TABLE "round_five" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "player" FROM "round_five" WHERE "college"='manitoba';
2-10960039-5
What is the Unami Delaware value for a Thomas value of nacha?
CREATE TABLE "pidgin_delaware_numbers_from_one_to_ten" ( "munsee_delaware" text, "unami_delaware" text, "de_laet_1633" text, "campanius_ca_1645" text, "interpreter_1684" text, "thomas_1698" text );
SELECT "unami_delaware" FROM "pidgin_delaware_numbers_from_one_to_ten" WHERE "thomas_1698"='nacha';
2-1167077-1
What is the Interpreter value for an Unami Delaware value of palé·naxk?
CREATE TABLE "pidgin_delaware_numbers_from_one_to_ten" ( "munsee_delaware" text, "unami_delaware" text, "de_laet_1633" text, "campanius_ca_1645" text, "interpreter_1684" text, "thomas_1698" text );
SELECT "interpreter_1684" FROM "pidgin_delaware_numbers_from_one_to_ten" WHERE "unami_delaware"='palé·naxk';
2-1167077-1
What is the Munsee Delaware value for an Interpreter value of palenah?
CREATE TABLE "pidgin_delaware_numbers_from_one_to_ten" ( "munsee_delaware" text, "unami_delaware" text, "de_laet_1633" text, "campanius_ca_1645" text, "interpreter_1684" text, "thomas_1698" text );
SELECT "munsee_delaware" FROM "pidgin_delaware_numbers_from_one_to_ten" WHERE "interpreter_1684"='palenah';
2-1167077-1
What is the Campanius term for an Unami Delaware term of palé·naxk?
CREATE TABLE "pidgin_delaware_numbers_from_one_to_ten" ( "munsee_delaware" text, "unami_delaware" text, "de_laet_1633" text, "campanius_ca_1645" text, "interpreter_1684" text, "thomas_1698" text );
SELECT "campanius_ca_1645" FROM "pidgin_delaware_numbers_from_one_to_ten" WHERE "unami_delaware"='palé·naxk';
2-1167077-1
What is the Interpreter term for a Munsee Delaware term of (n)xá·š?
CREATE TABLE "pidgin_delaware_numbers_from_one_to_ten" ( "munsee_delaware" text, "unami_delaware" text, "de_laet_1633" text, "campanius_ca_1645" text, "interpreter_1684" text, "thomas_1698" text );
SELECT "interpreter_1684" FROM "pidgin_delaware_numbers_from_one_to_ten" WHERE "munsee_delaware"='(n)xá·š';
2-1167077-1
What is the De Laet term for a Munsee Delaware term of ní·ša?
CREATE TABLE "pidgin_delaware_numbers_from_one_to_ten" ( "munsee_delaware" text, "unami_delaware" text, "de_laet_1633" text, "campanius_ca_1645" text, "interpreter_1684" text, "thomas_1698" text );
SELECT "de_laet_1633" FROM "pidgin_delaware_numbers_from_one_to_ten" WHERE "munsee_delaware"='ní·ša';
2-1167077-1
What is the name of the player picked before round 2?
CREATE TABLE "1993_draft_picks" ( "round" real, "overall" real, "player" text, "nationality" text, "club_team" text );
SELECT "player" FROM "1993_draft_picks" WHERE "round"<2;
2-11803648-2
What is the name of the player with an overall less than 209 for the Victoriaville tigres (qmjhl), and a Round of 1?
CREATE TABLE "1993_draft_picks" ( "round" real, "overall" real, "player" text, "nationality" text, "club_team" text );
SELECT "player" FROM "1993_draft_picks" WHERE "overall"<209 AND "club_team"='victoriaville tigres (qmjhl)' AND "round"=1;
2-11803648-2
What is the name of the player with an Overall larger than 227?
CREATE TABLE "1993_draft_picks" ( "round" real, "overall" real, "player" text, "nationality" text, "club_team" text );
SELECT "player" FROM "1993_draft_picks" WHERE "overall">227;
2-11803648-2
What is the highest overall for a round larger than 8 for pavol demitra?
CREATE TABLE "1993_draft_picks" ( "round" real, "overall" real, "player" text, "nationality" text, "club_team" text );
SELECT MAX("overall") FROM "1993_draft_picks" WHERE "round">8 AND "player"='pavol demitra';
2-11803648-2
What description does Livery of ews have?
CREATE TABLE "heritage_diesels" ( "number_name" text, "description" text, "current_status" text, "livery" text, "date" real );
SELECT "description" FROM "heritage_diesels" WHERE "livery"='ews';
2-1174877-5
What Position has a Super League 1 Competition?
CREATE TABLE "p_premiers_r_runner_ups_m_minor_premiers" ( "competition" text, "played" real, "drawn" real, "lost" real, "position" text, "coach" text, "captain" text, "main_article" text );
SELECT "position" FROM "p_premiers_r_runner_ups_m_minor_premiers" WHERE "competition"='super league 1';
2-1095011-1
What Competition in Main Article of Bradford Bulls 1997 have Robbie Paul as Captain with less than 5 Lost?
CREATE TABLE "p_premiers_r_runner_ups_m_minor_premiers" ( "competition" text, "played" real, "drawn" real, "lost" real, "position" text, "coach" text, "captain" text, "main_article" text );
SELECT "competition" FROM "p_premiers_r_runner_ups_m_minor_premiers" WHERE "captain"='robbie paul' AND "lost"<5 AND "main_article"='bradford bulls 1997';
2-1095011-1
What Captain has Lost 13?
CREATE TABLE "p_premiers_r_runner_ups_m_minor_premiers" ( "competition" text, "played" real, "drawn" real, "lost" real, "position" text, "coach" text, "captain" text, "main_article" text );
SELECT "captain" FROM "p_premiers_r_runner_ups_m_minor_premiers" WHERE "lost"=13;
2-1095011-1
How many Drawn did Coach Francis Cummins have with less than 4 Lost?
CREATE TABLE "p_premiers_r_runner_ups_m_minor_premiers" ( "competition" text, "played" real, "drawn" real, "lost" real, "position" text, "coach" text, "captain" text, "main_article" text );
SELECT SUM("drawn") FROM "p_premiers_r_runner_ups_m_minor_premiers" WHERE "lost"<4 AND "coach"='francis cummins';
2-1095011-1
What horse did not start and had a total of over 16.16?
CREATE TABLE "b" ( "rider" text, "horse" text, "faults" text, "round_1_2_a_2_b_3_a_points" text, "total" real );
SELECT "horse" FROM "b" WHERE "faults"='did not start' AND "total">16.16;
2-11939305-6
What was the total for christina liebherr?
CREATE TABLE "b" ( "rider" text, "horse" text, "faults" text, "round_1_2_a_2_b_3_a_points" text, "total" real );
SELECT MIN("total") FROM "b" WHERE "rider"='christina liebherr';
2-11939305-6
What is the population of the year featuring an 87.5% German population?
CREATE TABLE "demographics" ( "year" text, "population" text, "romanians" text, "hungarians" text, "germans" text );
SELECT "population" FROM "demographics" WHERE "germans"='87.5%';
2-1098446-1
How tall is the player from Chicago, IL?
CREATE TABLE "1987_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text, "nba_draft" text );
SELECT "height" FROM "1987_boys_team" WHERE "hometown"='chicago, il';
2-11677760-9
What college does Dennis Scott attend?
CREATE TABLE "1987_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text, "nba_draft" text );
SELECT "college" FROM "1987_boys_team" WHERE "player"='dennis scott';
2-11677760-9
Who's from Bay City, TX?
CREATE TABLE "1987_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text, "nba_draft" text );
SELECT "player" FROM "1987_boys_team" WHERE "hometown"='bay city, tx';
2-11677760-9
Which NBA Draft had Labradford Smith?
CREATE TABLE "1987_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text, "nba_draft" text );
SELECT "nba_draft" FROM "1987_boys_team" WHERE "player"='labradford smith';
2-11677760-9
What was the lowest attendance at Windy Hill?
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 MIN("crowd") FROM "round_2" WHERE "venue"='windy hill';
2-10823719-2
What was the home team's score 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 "home_team_score" FROM "round_2" WHERE "venue"='princes park';
2-10823719-2
How much did the home team Geelong score?
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_score" FROM "round_2" WHERE "home_team"='geelong';
2-10885968-2
What is the name of the home team that played Carlton?
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"='carlton';
2-10885968-2
Name the status with builder of orenstein and koppel
CREATE TABLE "steam_locomotives" ( "name_number" text, "builder" text, "type" text, "status" text, "notes" text );
SELECT "status" FROM "steam_locomotives" WHERE "builder"='orenstein and koppel';
2-1179778-1
Who was the builder for joffre
CREATE TABLE "steam_locomotives" ( "name_number" text, "builder" text, "type" text, "status" text, "notes" text );
SELECT "builder" FROM "steam_locomotives" WHERE "name_number"='joffre';
2-1179778-1
Where did Carlton play as the home team?
CREATE TABLE "round_11" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_11" WHERE "home_team"='carlton';
2-10809444-11
Who was the away team when the home team scored 12.13 (85)?
CREATE TABLE "round_11" ( "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_11" WHERE "home_team_score"='12.13 (85)';
2-10809444-11
Where was the game held when the home team scored 18.17 (125)?
CREATE TABLE "round_11" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_11" WHERE "home_team_score"='18.17 (125)';
2-10809444-11
Who was the home team when Melbourne was the away team?
CREATE TABLE "round_11" ( "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_11" WHERE "away_team"='melbourne';
2-10809444-11
What was the away team's score at the game played at Lake Oval that had a crowd of over 15,000?
CREATE TABLE "round_11" ( "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_11" WHERE "crowd">'15,000' AND "venue"='lake oval';
2-10809444-11
What was the result on November 20, 1988?
CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "attendance" text, "record" text );
SELECT "result" FROM "schedule" WHERE "date"='november 20, 1988';
2-11452830-2
What time was the kickoff on week 5?
CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "attendance" text, "record" text );
SELECT "kickoff_a" FROM "schedule" WHERE "week"='5';
2-11452830-2
Where was the game that had an attendance of 39,889?
CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "attendance" text, "record" text );
SELECT "game_site" FROM "schedule" WHERE "attendance"='39,889';
2-11452830-2
What was the record when the attendance was 43,502?
CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "attendance" text, "record" text );
SELECT "record" FROM "schedule" WHERE "attendance"='43,502';
2-11452830-2
What label released a CD in 1988?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "label" FROM "release_history" WHERE "date"='1988' AND "format"='cd';
2-1122440-5
On what date did the United Kingdom have a catalog of FT 507?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "date" FROM "release_history" WHERE "region"='united kingdom' AND "catalog"='ft 507';
2-1122440-5
On what date was the Catalog FT 507?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "date" FROM "release_history" WHERE "catalog"='ft 507';
2-1122440-5
Which label had a catalog of 54513 in 1988?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "label" FROM "release_history" WHERE "date"='1988' AND "catalog"='54513';
2-1122440-5
On what date did Fantasy Records release a CD format of catalog FCD-4513-2?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "date" FROM "release_history" WHERE "label"='fantasy records' AND "format"='cd' AND "catalog"='fcd-4513-2';
2-1122440-5
What was John Watson's total laps with a grid of less than 7?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT COUNT("laps") FROM "classification" WHERE "driver"='john watson' AND "grid"<7;
2-1122688-1
How many laps were there with #9 grid?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT COUNT("laps") FROM "classification" WHERE "grid"=9;
2-1122688-1
What was the time/retired with laps less than 33 and a grid of 14?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "time_retired" FROM "classification" WHERE "laps"<33 AND "grid"=14;
2-1122688-1
What was John Watson's time/retired?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "time_retired" FROM "classification" WHERE "driver"='john watson';
2-1122688-1
What is the player with the no. 14?
CREATE TABLE "n" ( "player" text, "no_s" text, "height_in_ft" text, "position" text, "years_for_rockets" text, "school_club_team_country" text );
SELECT "player" FROM "n" WHERE "no_s"='14';
2-11734041-13
What is the height of the player from Benetton Treviso, Italy?
CREATE TABLE "n" ( "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 "n" WHERE "school_club_team_country"='benetton treviso, italy';
2-11734041-13
I want to know the pens with conv of 6
CREATE TABLE "most_points_in_a_match" ( "player" text, "tries" text, "conv" text, "pens" text, "drop" text, "venue" text, "date" text );
SELECT "pens" FROM "most_points_in_a_match" WHERE "conv"='6';
2-1145226-7
Which player has 2 tries and 0 drops?
CREATE TABLE "most_points_in_a_match" ( "player" text, "tries" text, "conv" text, "pens" text, "drop" text, "venue" text, "date" text );
SELECT "player" FROM "most_points_in_a_match" WHERE "drop"='0' AND "tries"='2';
2-1145226-7
Which pens has 1 tries and matt alexander as a player with conv of 4?
CREATE TABLE "most_points_in_a_match" ( "player" text, "tries" text, "conv" text, "pens" text, "drop" text, "venue" text, "date" text );
SELECT "pens" FROM "most_points_in_a_match" WHERE "tries"='1' AND "player"='matt alexander' AND "conv"='4';
2-1145226-7
Name the venue that has conv of 5 players on 20 points
CREATE TABLE "most_points_in_a_match" ( "player" text, "tries" text, "conv" text, "pens" text, "drop" text, "venue" text, "date" text );
SELECT "venue" FROM "most_points_in_a_match" WHERE "conv"='5 players on 20 points';
2-1145226-7
What are the names of those who made less than 3 wins in 15 matches?
CREATE TABLE "coaches" ( "name" text, "period" text, "matches" real, "wins" real, "draws" real, "losses" real );
SELECT "name" FROM "coaches" WHERE "wins"<3 AND "matches"<15;
2-1092723-5
What is the highest amount of points when the game is less than 2?
CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "high_points" FROM "playoffs" WHERE "game"<2;
2-11960407-8
What was the score on April 20?
CREATE TABLE "playoffs" ( "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 "playoffs" WHERE "date"='april 20';
2-11960407-8
Name the surface on june 11, 1995
CREATE TABLE "singles_6" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "surface" FROM "singles_6" WHERE "date"='june 11, 1995';
2-11921956-1
Name the score for september 12, 1993
CREATE TABLE "singles_6" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "score" FROM "singles_6" WHERE "date"='september 12, 1993';
2-11921956-1
Name the surface for score of 7–6(4), 6–1
CREATE TABLE "singles_6" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "surface" FROM "singles_6" WHERE "score"='7–6(4), 6–1';
2-11921956-1
Name the date that had a score of 7–6(4), 6–1
CREATE TABLE "singles_6" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "date" FROM "singles_6" WHERE "score"='7–6(4), 6–1';
2-11921956-1
what is the result for the world group, semifinals after the year 1997?
CREATE TABLE "longest_winning_streak" ( "year" real, "competition" text, "date" text, "location" text, "score" text, "result" text );
SELECT "result" FROM "longest_winning_streak" WHERE "year">1997 AND "competition"='world group, semifinals';
2-11233225-4
What home team played against south Melbourne?
CREATE TABLE "round_10" ( "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_10" WHERE "away_team"='south melbourne';
2-10809142-10
What is the average crowd size for the home team essendon?
CREATE TABLE "round_10" ( "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_10" WHERE "home_team"='essendon';
2-10809142-10
What is the home team score when north Melbourne was the away team?
CREATE TABLE "round_10" ( "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_10" WHERE "away_team"='north melbourne';
2-10809142-10
What is the average grid with brm and under 63 laps?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT AVG("grid") FROM "classification" WHERE "constructor"='brm' AND "laps"<63;
2-1122573-1
On what circuit is there a class gts-2 race that takes place on May 27?
CREATE TABLE "schedule" ( "race" text, "length" text, "class" text, "circuit" text, "date" text );
SELECT "circuit" FROM "schedule" WHERE "date"='may 27' AND "class"='gts-2';
2-11892113-1
On what circuit is there a race that lasts 2 hours?
CREATE TABLE "schedule" ( "race" text, "length" text, "class" text, "circuit" text, "date" text );
SELECT "circuit" FROM "schedule" WHERE "length"='2 hours';
2-11892113-1
What class is the dodge dealers grand prix?
CREATE TABLE "schedule" ( "race" text, "length" text, "class" text, "circuit" text, "date" text );
SELECT "class" FROM "schedule" WHERE "race"='the dodge dealers grand prix';
2-11892113-1
What is the length of the First Union six hours at the Glen?
CREATE TABLE "schedule" ( "race" text, "length" text, "class" text, "circuit" text, "date" text );
SELECT "length" FROM "schedule" WHERE "race"='first union six hours at the glen';
2-11892113-1
What is the class of the race that takes place on August 25?
CREATE TABLE "schedule" ( "race" text, "length" text, "class" text, "circuit" text, "date" text );
SELECT "class" FROM "schedule" WHERE "date"='august 25';
2-11892113-1
What was the score when Montreal was home?
CREATE TABLE "november" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT "score" FROM "november" WHERE "home"='montreal';
2-11902176-4
On 9/3/97, what was the score that resulted in a w?
CREATE TABLE "challenge_cup" ( "date" text, "competition" text, "venue" text, "result" text, "score" text, "goals" text );
SELECT "score" FROM "challenge_cup" WHERE "result"='w' AND "date"='9/3/97';
2-10813310-6
Who has a roll value of 422?
CREATE TABLE "devonport_takapuna_local_board" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );
SELECT "name" FROM "devonport_takapuna_local_board" WHERE "roll"=422;
2-12017602-4
In what area is the decile value 10?
CREATE TABLE "devonport_takapuna_local_board" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );
SELECT "area" FROM "devonport_takapuna_local_board" WHERE "decile"=10;
2-12017602-4
What is the highest decile value with a roll greater than 301 in Hauraki?
CREATE TABLE "devonport_takapuna_local_board" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );
SELECT MAX("decile") FROM "devonport_takapuna_local_board" WHERE "roll">301 AND "area"='hauraki';
2-12017602-4
Which Points classification has a Trofeo Fast Team of metauro mobili-pinarello, and a Stage of 6?
CREATE TABLE "classification_leadership_by_stage" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "trofeo_fast_team" text );
SELECT "points_classification" FROM "classification_leadership_by_stage" WHERE "trofeo_fast_team"='metauro mobili-pinarello' AND "stage"='6';
2-11303288-2