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 date of the game with a score of 4-3? | CREATE TABLE "sunderland_a_f_c_goals" (
"date" text,
"venue" text,
"opposition" text,
"score" text,
"competition" text
); | SELECT "date" FROM "sunderland_a_f_c_goals" WHERE "score"='4-3'; | 2-11788447-2 |
What is the score of the game on 8 Sep 1990? | CREATE TABLE "sunderland_a_f_c_goals" (
"date" text,
"venue" text,
"opposition" text,
"score" text,
"competition" text
); | SELECT "score" FROM "sunderland_a_f_c_goals" WHERE "date"='8 sep 1990'; | 2-11788447-2 |
Who is the opposition on the division 1 game at Stamford Bridge? | CREATE TABLE "sunderland_a_f_c_goals" (
"date" text,
"venue" text,
"opposition" text,
"score" text,
"competition" text
); | SELECT "opposition" FROM "sunderland_a_f_c_goals" WHERE "competition"='division 1' AND "venue"='stamford bridge'; | 2-11788447-2 |
Which rank has a total less than 9, less than 2 bronze, and from France? | CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT "rank" FROM "medals_table" WHERE "total"<9 AND "bronze"<2 AND "nation"='france'; | 2-11661065-10 |
Which rank has more than 1 silver, more than 1 gold, and more than 4 bronze? | CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT "rank" FROM "medals_table" WHERE "silver">1 AND "gold">1 AND "bronze">4; | 2-11661065-10 |
How many silver have a Total smaller than 3, a Bronze of 1, and a Gold larger than 0? | CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("silver") FROM "medals_table" WHERE "total"<3 AND "bronze"=1 AND "gold">0; | 2-11661065-10 |
How many gold have a National of New Zealand with a total less than 2? | CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("gold") FROM "medals_table" WHERE "nation"='new zealand' AND "total"<2; | 2-11661065-10 |
Who won in 2003? | CREATE TABLE "winners_since_2000" (
"year" real,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"time" text
); | SELECT "winner" FROM "winners_since_2000" WHERE "year"=2003; | 2-11587170-1 |
What is the average year for scatman winning? | CREATE TABLE "winners_since_2000" (
"year" real,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"time" text
); | SELECT AVG("year") FROM "winners_since_2000" WHERE "winner"='scatman'; | 2-11587170-1 |
Who trained the horse with time of 1:09.40? | CREATE TABLE "winners_since_2000" (
"year" real,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"time" text
); | SELECT "trainer" FROM "winners_since_2000" WHERE "time"='1:09.40'; | 2-11587170-1 |
Where was the mediterranean games held? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
); | SELECT "venue" FROM "achievements" WHERE "tournament"='mediterranean games'; | 2-11881236-1 |
When was the last time a venue was held in turin, italy? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
); | SELECT MAX("year") FROM "achievements" WHERE "venue"='turin, italy'; | 2-11881236-1 |
Where was the universiade held in 1959? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
); | SELECT "venue" FROM "achievements" WHERE "tournament"='universiade' AND "year"=1959; | 2-11881236-1 |
How many year was the venue in stockholm, sweden used? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
); | SELECT COUNT("year") FROM "achievements" WHERE "venue"='stockholm, sweden'; | 2-11881236-1 |
What is a report for a race with Baconin Borzacchini in Tripoli in a year after 1928? | CREATE TABLE "by_year" (
"year" real,
"driver" text,
"constructor" text,
"location" text,
"report" text
); | SELECT "report" FROM "by_year" WHERE "location"='tripoli' AND "year">1928 AND "driver"='baconin borzacchini'; | 2-1172877-1 |
What was the constructor of the car that Achille Varzi drove before 1937? | CREATE TABLE "by_year" (
"year" real,
"driver" text,
"constructor" text,
"location" text,
"report" text
); | SELECT "constructor" FROM "by_year" WHERE "year"<1937 AND "driver"='achille varzi'; | 2-1172877-1 |
What was the constructor of the car that Hermann Lang drove after 1935? | CREATE TABLE "by_year" (
"year" real,
"driver" text,
"constructor" text,
"location" text,
"report" text
); | SELECT "constructor" FROM "by_year" WHERE "year">1935 AND "driver"='hermann lang'; | 2-1172877-1 |
What is the Works Number that has a Number of 153 in 1916? | CREATE TABLE "locomotives" (
"number" text,
"builder" text,
"type" text,
"date" text,
"works_number" text
); | SELECT "works_number" FROM "locomotives" WHERE "date"='1916' AND "number"='153'; | 2-1169654-1 |
On what Date was the Works Number 7? | CREATE TABLE "locomotives" (
"number" text,
"builder" text,
"type" text,
"date" text,
"works_number" text
); | SELECT "date" FROM "locomotives" WHERE "works_number"='7'; | 2-1169654-1 |
Which Builder has a Works Number of 16272? | CREATE TABLE "locomotives" (
"number" text,
"builder" text,
"type" text,
"date" text,
"works_number" text
); | SELECT "builder" FROM "locomotives" WHERE "works_number"='16272'; | 2-1169654-1 |
On what Date was the Works Number 12? | CREATE TABLE "locomotives" (
"number" text,
"builder" text,
"type" text,
"date" text,
"works_number" text
); | SELECT "date" FROM "locomotives" WHERE "works_number"='12'; | 2-1169654-1 |
Where did South Melbourne play as the home team? | CREATE TABLE "round_3" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_3" WHERE "home_team"='south melbourne'; | 2-10823719-3 |
What was the attendance when St Kilda played as the home team? | CREATE TABLE "round_3" (
"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_3" WHERE "home_team"='st kilda'; | 2-10823719-3 |
Which driver had a grid number of 18? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" text
); | SELECT "driver" FROM "race" WHERE "grid"='18'; | 2-1123329-2 |
Which constructor had Shinji Nakano as a driver? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" text
); | SELECT "constructor" FROM "race" WHERE "driver"='shinji nakano'; | 2-1123329-2 |
How many people were in attendance when the home team scored 7.11 (53)? | 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 "crowd" FROM "round_5" WHERE "home_team_score"='7.11 (53)'; | 2-10784349-5 |
Which away team scored 11.10 (76)? | 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 "away_team" FROM "round_5" WHERE "away_team_score"='11.10 (76)'; | 2-10784349-5 |
What was the home team score at Glenferrie Oval? | 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_score" FROM "round_5" WHERE "venue"='glenferrie oval'; | 2-10784349-5 |
What date has a Data of 19:29? | CREATE TABLE "walking" (
"event" text,
"data" text,
"athlete" text,
"date" text,
"place" text
); | SELECT "date" FROM "walking" WHERE "data"='19:29'; | 2-11070660-5 |
Which athlete has a 35 km event? | CREATE TABLE "walking" (
"event" text,
"data" text,
"athlete" text,
"date" text,
"place" text
); | SELECT "athlete" FROM "walking" WHERE "event"='35 km'; | 2-11070660-5 |
What nation is the cyclist from team discovery channel? | CREATE TABLE "general_classification" (
"cyclist" text,
"nation" text,
"team" text,
"time" text,
"uci_pro_tour_points" real
); | SELECT "nation" FROM "general_classification" WHERE "team"='discovery channel'; | 2-11667521-16 |
What nation is the cyclist hat has a UCI ProTour Points of 25? | CREATE TABLE "general_classification" (
"cyclist" text,
"nation" text,
"team" text,
"time" text,
"uci_pro_tour_points" real
); | SELECT "nation" FROM "general_classification" WHERE "uci_pro_tour_points"=25; | 2-11667521-16 |
What day did the VFL play Punt Road Oval? | CREATE TABLE "round_6" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_6" WHERE "venue"='punt road oval'; | 2-10790397-6 |
What was the home teams score at Western Oval? | CREATE TABLE "round_6" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team_score" FROM "round_6" WHERE "venue"='western oval'; | 2-10790397-6 |
What is the first prize amount of the person who has a score of 207 (-9) and a purse amount of more than 800,000? | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT COUNT("1st_prize") FROM "tournament_results" WHERE "score"='207 (-9)' AND "purse">'800,000'; | 2-11621873-1 |
What is the ISBN of the book with a first edition in May 2011? | CREATE TABLE "collected_editions" (
"title" text,
"pages" text,
"first_edition" text,
"second_edition" text,
"isbn" text
); | SELECT "isbn" FROM "collected_editions" WHERE "first_edition"='may 2011'; | 2-11664-2 |
Which first edition has an ISBN of 978-0785166252? | CREATE TABLE "collected_editions" (
"title" text,
"pages" text,
"first_edition" text,
"second_edition" text,
"isbn" text
); | SELECT "first_edition" FROM "collected_editions" WHERE "isbn"='978-0785166252'; | 2-11664-2 |
Which first edition has 264 pages and the ISBN of 978-0785111832? | CREATE TABLE "collected_editions" (
"title" text,
"pages" text,
"first_edition" text,
"second_edition" text,
"isbn" text
); | SELECT "first_edition" FROM "collected_editions" WHERE "pages"='264' AND "isbn"='978-0785111832'; | 2-11664-2 |
How many people were in the crowd when the home team scored 10.17 (77)? | CREATE TABLE "round_6" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "crowd" FROM "round_6" WHERE "home_team_score"='10.17 (77)'; | 2-10807990-6 |
What home team had a score of 6.9 (45) | CREATE TABLE "round_6" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team" FROM "round_6" WHERE "home_team_score"='6.9 (45)'; | 2-10807990-6 |
How many people were in the crowd at collingwood's home game? | CREATE TABLE "round_6" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT SUM("crowd") FROM "round_6" WHERE "home_team"='collingwood'; | 2-10807990-6 |
On what date did the away team have a score of 11.10 (76)? | CREATE TABLE "round_6" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_6" WHERE "away_team_score"='11.10 (76)'; | 2-10807990-6 |
Which away team played against the home team that scored 8.8 (56)? | CREATE TABLE "round_13" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "round_13" WHERE "away_team_score"='8.8 (56)'; | 2-10887379-13 |
What did the away team score when playing against fitzroy? | 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"='fitzroy'; | 2-10887379-13 |
Where did the away team play when they scored 12.13 (85)? | 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 "venue" FROM "round_13" WHERE "away_team_score"='12.13 (85)'; | 2-10887379-13 |
What is the serial number of the pilot car that is black, has a pilot car number larger than 2, and an engine number of 1008? | CREATE TABLE "production_overview" (
"pilot_car_no" real,
"colour" text,
"serial_no" text,
"engine_no" real,
"registration_no" text
); | SELECT "serial_no" FROM "production_overview" WHERE "colour"='black' AND "pilot_car_no">2 AND "engine_no"=1008; | 2-11066073-1 |
When the Away team had a score of 14.11 (95), what was the team name? | 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 "away_team" FROM "round_12" WHERE "away_team_score"='14.11 (95)'; | 2-10790804-12 |
What is the low lap total that has a Time or Retired of accident? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT MIN("laps") FROM "classification" WHERE "time_retired"='accident'; | 2-1122989-1 |
What is the smallest crowd when the away team scored 10.18 (78)? | 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 MIN("crowd") FROM "round_16" WHERE "away_team_score"='10.18 (78)'; | 2-10809368-16 |
What date was the crowd larger than 16,000 people and the away team scored 8.11 (59)? | 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 "date" FROM "round_16" WHERE "crowd">'16,000' AND "away_team_score"='8.11 (59)'; | 2-10809368-16 |
What was the venue when the Home team scored 18.9 (117)? | 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_score"='18.9 (117)'; | 2-10809368-16 |
Which player was a fly-half? | CREATE TABLE "2007_rugby_world_cup_squads" (
"player" text,
"position" text,
"date_of_birth_age" text,
"caps" real,
"club_province" text
); | SELECT "player" FROM "2007_rugby_world_cup_squads" WHERE "position"='fly-half'; | 2-11783766-12 |
What is the mean number of caps for Ryota Asano? | CREATE TABLE "2007_rugby_world_cup_squads" (
"player" text,
"position" text,
"date_of_birth_age" text,
"caps" real,
"club_province" text
); | SELECT AVG("caps") FROM "2007_rugby_world_cup_squads" WHERE "player"='ryota asano'; | 2-11783766-12 |
What is the mean number of caps for Ryota Asano? | CREATE TABLE "2007_rugby_world_cup_squads" (
"player" text,
"position" text,
"date_of_birth_age" text,
"caps" real,
"club_province" text
); | SELECT AVG("caps") FROM "2007_rugby_world_cup_squads" WHERE "player"='ryota asano'; | 2-11783766-12 |
Who is the forward from Grambling State? | CREATE TABLE "j" (
"player" text,
"nationality" text,
"position" text,
"years_for_jazz" text,
"school_club_team" text
); | SELECT "player" FROM "j" WHERE "position"='forward' AND "school_club_team"='grambling state'; | 2-11545282-10 |
What is the nationality of the guard who plays at Utah? | CREATE TABLE "j" (
"player" text,
"nationality" text,
"position" text,
"years_for_jazz" text,
"school_club_team" text
); | SELECT "nationality" FROM "j" WHERE "position"='guard' AND "school_club_team"='utah'; | 2-11545282-10 |
What is the position of the player from Tampa? | CREATE TABLE "j" (
"player" text,
"nationality" text,
"position" text,
"years_for_jazz" text,
"school_club_team" text
); | SELECT "position" FROM "j" WHERE "school_club_team"='tampa'; | 2-11545282-10 |
What is the nationality of the player on the Jazz from 1974-79? | CREATE TABLE "j" (
"player" text,
"nationality" text,
"position" text,
"years_for_jazz" text,
"school_club_team" text
); | SELECT "nationality" FROM "j" WHERE "years_for_jazz"='1974-79'; | 2-11545282-10 |
Who is the player who went to school at Tampa? | CREATE TABLE "j" (
"player" text,
"nationality" text,
"position" text,
"years_for_jazz" text,
"school_club_team" text
); | SELECT "player" FROM "j" WHERE "school_club_team"='tampa'; | 2-11545282-10 |
What is the nationality of the player on the Jazz from 1974-79? | CREATE TABLE "j" (
"player" text,
"nationality" text,
"position" text,
"years_for_jazz" text,
"school_club_team" text
); | SELECT "nationality" FROM "j" WHERE "years_for_jazz"='1974-79'; | 2-11545282-10 |
What was the total size of the crowd when an away team had a score of 9.9 (63)? | CREATE TABLE "round_9" (
"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_9" WHERE "away_team_score"='9.9 (63)'; | 2-10808089-9 |
What was the away team that had a score of 4.13 (37)? | CREATE TABLE "round_9" (
"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_9" WHERE "away_team_score"='4.13 (37)'; | 2-10808089-9 |
What was the score of the away team at the the glenferrie oval? | CREATE TABLE "round_9" (
"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_9" WHERE "venue"='glenferrie oval'; | 2-10808089-9 |
What institution is located in athens, ga, us? | CREATE TABLE "inactive_chapters" (
"name" text,
"founded" real,
"institution" text,
"location" text,
"status" text
); | SELECT "institution" FROM "inactive_chapters" WHERE "location"='athens, ga, us'; | 2-10784488-2 |
What is the status of the institution that was founded in 1996? | CREATE TABLE "inactive_chapters" (
"name" text,
"founded" real,
"institution" text,
"location" text,
"status" text
); | SELECT "status" FROM "inactive_chapters" WHERE "founded"=1996; | 2-10784488-2 |
During runs 332, what was the venue? | CREATE TABLE "highest_individual_score" (
"runs" text,
"player" text,
"opponent" text,
"venue" text,
"season" text
); | SELECT "venue" FROM "highest_individual_score" WHERE "runs"='332'; | 2-11204543-11 |
Which player's runs are 270? | CREATE TABLE "highest_individual_score" (
"runs" text,
"player" text,
"opponent" text,
"venue" text,
"season" text
); | SELECT "player" FROM "highest_individual_score" WHERE "runs"='270'; | 2-11204543-11 |
During season 1935, what was the venue? | CREATE TABLE "highest_individual_score" (
"runs" text,
"player" text,
"opponent" text,
"venue" text,
"season" text
); | SELECT "venue" FROM "highest_individual_score" WHERE "season"='1935'; | 2-11204543-11 |
For player Les Ames, what was the venue? | CREATE TABLE "highest_individual_score" (
"runs" text,
"player" text,
"opponent" text,
"venue" text,
"season" text
); | SELECT "venue" FROM "highest_individual_score" WHERE "player"='les ames'; | 2-11204543-11 |
When was the Austrian Grand Prix? | CREATE TABLE "season_review" (
"grand_prix" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"report" text
); | SELECT "date" FROM "season_review" WHERE "grand_prix"='austrian grand prix'; | 2-1139093-2 |
How many points has a draw greater than 3 and 3rd place? | CREATE TABLE "melodi_grand_prix_1999_27_february_1999" (
"draw" real,
"artist" text,
"song" text,
"points" real,
"place" real
); | SELECT "points" FROM "melodi_grand_prix_1999_27_february_1999" WHERE "draw">3 AND "place"=3; | 2-11437346-1 |
Name the average events for miller barber | CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"events" real,
"wins" real
); | SELECT AVG("events") FROM "leaders" WHERE "player"='miller barber'; | 2-11622862-3 |
Name the most wins for earnings of 130,002 | CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"events" real,
"wins" real
); | SELECT MAX("wins") FROM "leaders" WHERE "earnings"='130,002'; | 2-11622862-3 |
Name the average wins for earnings more than 120,367 and events less than 13 | CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"events" real,
"wins" real
); | SELECT AVG("wins") FROM "leaders" WHERE "earnings">'120,367' AND "events"<13; | 2-11622862-3 |
Name the average rank for earnings less than 231,008 and wins less than 1 | CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"events" real,
"wins" real
); | SELECT AVG("rank") FROM "leaders" WHERE "earnings"<'231,008' AND "wins"<1; | 2-11622862-3 |
What year was Neverchanger with the label of Latenight weeknight? | CREATE TABLE "releases" (
"release_title" text,
"released_as" text,
"release_type" text,
"label" text,
"year" text
); | SELECT "year" FROM "releases" WHERE "label"='latenight weeknight' AND "release_title"='neverchanger'; | 2-1203996-1 |
What year was Ethereal 77, which has a CD album release type? | CREATE TABLE "releases" (
"release_title" text,
"released_as" text,
"release_type" text,
"label" text,
"year" text
); | SELECT "year" FROM "releases" WHERE "release_type"='cd album' AND "released_as"='ethereal 77'; | 2-1203996-1 |
what is the platform when the frequency (per hour) is 4 and the destination is west croydon? | CREATE TABLE "services" (
"platform" real,
"frequency_per_hour" real,
"destination" text,
"operator" text,
"line" text
); | SELECT SUM("platform") FROM "services" WHERE "frequency_per_hour"=4 AND "destination"='west croydon'; | 2-1132489-1 |
what is the highest platform number when the frequency (per hour) is 4, the operator is london overground and the destination is west croydon? | CREATE TABLE "services" (
"platform" real,
"frequency_per_hour" real,
"destination" text,
"operator" text,
"line" text
); | SELECT MAX("platform") FROM "services" WHERE "frequency_per_hour"=4 AND "operator"='london overground' AND "destination"='west croydon'; | 2-1132489-1 |
What is the name of the team with a qual 1 time of 1:17.481? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "team" FROM "qualifying_results" WHERE "qual_1"='1:17.481'; | 2-12032042-1 |
What is the qual 1 for the best of 1:18.067? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "qual_1" FROM "qualifying_results" WHERE "best"='1:18.067'; | 2-12032042-1 |
What is the qual 1 when the qual 2 has no time and the best is 1:16.776? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "qual_1" FROM "qualifying_results" WHERE "qual_2"='no time' AND "best"='1:16.776'; | 2-12032042-1 |
What person on team Minardi Team USA with a qual of 1:17.481? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "name" FROM "qualifying_results" WHERE "team"='minardi team usa' AND "qual_1"='1:17.481'; | 2-12032042-1 |
What is the name of the person with a qual 1 time of 1:16.850? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "name" FROM "qualifying_results" WHERE "qual_1"='1:16.850'; | 2-12032042-1 |
What is the qual 2 when the qual 1 is 1:16.841? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "qual_2" FROM "qualifying_results" WHERE "qual_1"='1:16.841'; | 2-12032042-1 |
Who is the Monarch whose Heir is Robert Curthose when the Reason is that the father became king? | CREATE TABLE "1066_to_1135" (
"heir" text,
"status" text,
"relationship_to_monarch" text,
"became_heir" text,
"reason" text,
"ceased_to_be_heir" text,
"monarch" text
); | SELECT "monarch" FROM "1066_to_1135" WHERE "heir"='robert curthose' AND "reason"='father became king'; | 2-11782763-1 |
Which Monarch has succession unclear 1100-1103 as his Status? | CREATE TABLE "1066_to_1135" (
"heir" text,
"status" text,
"relationship_to_monarch" text,
"became_heir" text,
"reason" text,
"ceased_to_be_heir" text,
"monarch" text
); | SELECT "monarch" FROM "1066_to_1135" WHERE "status"='succession unclear 1100-1103'; | 2-11782763-1 |
Which Reason is given when 1103 is the date for Became heir? | CREATE TABLE "1066_to_1135" (
"heir" text,
"status" text,
"relationship_to_monarch" text,
"became_heir" text,
"reason" text,
"ceased_to_be_heir" text,
"monarch" text
); | SELECT "reason" FROM "1066_to_1135" WHERE "became_heir"='1103'; | 2-11782763-1 |
What is the Status when Henry I is the Monarch and the Reason is succession unclear 1100-1103? | CREATE TABLE "1066_to_1135" (
"heir" text,
"status" text,
"relationship_to_monarch" text,
"became_heir" text,
"reason" text,
"ceased_to_be_heir" text,
"monarch" text
); | SELECT "status" FROM "1066_to_1135" WHERE "monarch"='henry i' AND "reason"='succession unclear 1100-1103'; | 2-11782763-1 |
Name the tyre for hb bewaking team ensign with rounds of 13 | CREATE TABLE "drivers_and_constructors" (
"entrant" text,
"constructor" text,
"chassis" text,
"engine" text,
"tyre" text,
"driver" text,
"rounds" text
); | SELECT "tyre" FROM "drivers_and_constructors" WHERE "entrant"='hb bewaking team ensign' AND "rounds"='13'; | 2-1140085-1 |
Name the round for engine of ford cosworth dfv 3.0 v8 with chassis fo 751 | CREATE TABLE "drivers_and_constructors" (
"entrant" text,
"constructor" text,
"chassis" text,
"engine" text,
"tyre" text,
"driver" text,
"rounds" text
); | SELECT "rounds" FROM "drivers_and_constructors" WHERE "engine"='ford cosworth dfv 3.0 v8' AND "chassis"='751'; | 2-1140085-1 |
Name the chassis for tyre of g and carlos reutemann | CREATE TABLE "drivers_and_constructors" (
"entrant" text,
"constructor" text,
"chassis" text,
"engine" text,
"tyre" text,
"driver" text,
"rounds" text
); | SELECT "chassis" FROM "drivers_and_constructors" WHERE "tyre"='g' AND "driver"='carlos reutemann'; | 2-1140085-1 |
Name the entrant for chassis of gh1 | CREATE TABLE "drivers_and_constructors" (
"entrant" text,
"constructor" text,
"chassis" text,
"engine" text,
"tyre" text,
"driver" text,
"rounds" text
); | SELECT "entrant" FROM "drivers_and_constructors" WHERE "chassis"='gh1'; | 2-1140085-1 |
Name the rounds for stanley brm | CREATE TABLE "drivers_and_constructors" (
"entrant" text,
"constructor" text,
"chassis" text,
"engine" text,
"tyre" text,
"driver" text,
"rounds" text
); | SELECT "rounds" FROM "drivers_and_constructors" WHERE "entrant"='stanley brm'; | 2-1140085-1 |
What were the years of the Tottenham Hotspur career for the player with 10 goals, from England, played the df position, and had 118 club apps? | CREATE TABLE "key" (
"nationality" text,
"position" text,
"tottenham_hotspur_career" text,
"club_apps" text,
"goals" text
); | SELECT "tottenham_hotspur_career" FROM "key" WHERE "goals"='10' AND "nationality"='england' AND "position"='df' AND "club_apps"='118'; | 2-11673175-2 |
What is the position of the player from England with 62 goals? | CREATE TABLE "key" (
"nationality" text,
"position" text,
"tottenham_hotspur_career" text,
"club_apps" text,
"goals" text
); | SELECT "position" FROM "key" WHERE "nationality"='england' AND "goals"='62'; | 2-11673175-2 |
How many goals did the player from England who played the position of mf and had 170 club apps had? | CREATE TABLE "key" (
"nationality" text,
"position" text,
"tottenham_hotspur_career" text,
"club_apps" text,
"goals" text
); | SELECT "goals" FROM "key" WHERE "nationality"='england' AND "position"='mf' AND "club_apps"='170'; | 2-11673175-2 |
How many goals did the player with 229 club apps have? | CREATE TABLE "key" (
"nationality" text,
"position" text,
"tottenham_hotspur_career" text,
"club_apps" text,
"goals" text
); | SELECT "goals" FROM "key" WHERE "club_apps"='229'; | 2-11673175-2 |
For which Award Ceremony was Emilio Pichardo as Bobby Strong nominated? | CREATE TABLE "the_spring_musical" (
"year" real,
"award_ceremony" text,
"category" text,
"nominee" text,
"result" text
); | SELECT "award_ceremony" FROM "the_spring_musical" WHERE "nominee"='emilio pichardo as bobby strong'; | 2-11952827-2 |
Who was nominated for best female performer? | CREATE TABLE "the_spring_musical" (
"year" real,
"award_ceremony" text,
"category" text,
"nominee" text,
"result" text
); | SELECT "nominee" FROM "the_spring_musical" WHERE "category"='best female performer'; | 2-11952827-2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.