question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Who played home team at Victoria Park? | 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 "venue"='victoria park'; | 2-10824095-11 |
What Season has Goals greater than 0 and less than 33 Apps? | CREATE TABLE "club_statistics" (
"season" text,
"team" text,
"country" text,
"league" text,
"level" real,
"apps" real,
"goals" real
); | SELECT "season" FROM "club_statistics" WHERE "goals">0 AND "apps"<33; | 2-11012004-1 |
How many carries for the RB averaging 4.7, and a long of over 30 yards? | CREATE TABLE "running_backs" (
"player" text,
"car" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
); | SELECT SUM("car") FROM "running_backs" WHERE "avg"=4.7 AND "long">30; | 2-11783944-4 |
How many yards did kevin swayne average, with a long carry over 7? | CREATE TABLE "running_backs" (
"player" text,
"car" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
); | SELECT MIN("avg") FROM "running_backs" WHERE "player"='kevin swayne' AND "long">7; | 2-11783944-4 |
How many yards for the player with over 0 TDs and an average of 2.9? | CREATE TABLE "running_backs" (
"player" text,
"car" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
); | SELECT MIN("yards") FROM "running_backs" WHERE "td_s">0 AND "avg"=2.9; | 2-11783944-4 |
How many TDs for the player averaging over 7, and over 39 yards? | CREATE TABLE "running_backs" (
"player" text,
"car" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
); | SELECT MIN("td_s") FROM "running_backs" WHERE "avg">7 AND "yards">39; | 2-11783944-4 |
What is the catalogue for Harbor Lights as a title? | CREATE TABLE "disc_one" (
"track" real,
"recorded" text,
"catalogue" text,
"release_date" text,
"song_title" text,
"time" text
); | SELECT "catalogue" FROM "disc_one" WHERE "song_title"='harbor lights'; | 2-11551042-2 |
What cataglogue has 27 tracks? | CREATE TABLE "disc_one" (
"track" real,
"recorded" text,
"catalogue" text,
"release_date" text,
"song_title" text,
"time" text
); | SELECT "catalogue" FROM "disc_one" WHERE "track"=27; | 2-11551042-2 |
Which year first played with Double W-L of 8–3? | CREATE TABLE "current_and_former_player_information" (
"name" text,
"total_w_l" text,
"singles_w_l" text,
"doubles_w_l" text,
"no_of_ties" real,
"first_year_played" real,
"no_of_years_played" real
); | SELECT "first_year_played" FROM "current_and_former_player_information" WHERE "doubles_w_l"='8–3'; | 2-11280589-1 |
What is the height that has a year after 1983 and is named Phoenix Tower? | CREATE TABLE "tallest_buildings" (
"rank" text,
"name" text,
"height_ft_m" text,
"floors" real,
"year" real
); | SELECT "height_ft_m" FROM "tallest_buildings" WHERE "year">1983 AND "name"='phoenix tower'; | 2-11530524-1 |
What is the oldest year listed with the 1500 Louisiana Street name? | CREATE TABLE "tallest_buildings" (
"rank" text,
"name" text,
"height_ft_m" text,
"floors" real,
"year" real
); | SELECT MIN("year") FROM "tallest_buildings" WHERE "name"='1500 louisiana street'; | 2-11530524-1 |
What is the Height of rank 11? | CREATE TABLE "tallest_buildings" (
"rank" text,
"name" text,
"height_ft_m" text,
"floors" real,
"year" real
); | SELECT "height_ft_m" FROM "tallest_buildings" WHERE "rank"='11'; | 2-11530524-1 |
What is the largest enrollment for anglican day schools founded after 1929? | CREATE TABLE "winning_head_of_the_river_championship_e" (
"school" text,
"location" text,
"enrolment" real,
"founded" real,
"denomination" text,
"day_boarding" text,
"school_colours" text,
"abbreviation" text,
"in_competition_since" real
); | SELECT MAX("enrolment") FROM "winning_head_of_the_river_championship_e" WHERE "denomination"='anglican' AND "day_boarding"='day' AND "founded">1929; | 2-11318462-29 |
What city of license is associated with call sign w244bk? | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "city_of_license" FROM "translators" WHERE "call_sign"='w244bk'; | 2-11540543-2 |
What city of license has a Frequency under 107.7, and a call sign of w247aq? | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "city_of_license" FROM "translators" WHERE "frequency_m_hz"<107.7 AND "call_sign"='w247aq'; | 2-11540543-2 |
Which team was played against on the game where Earl Watson (6) had the highest assists on January 19? | 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 "team" FROM "game_log" WHERE "high_assists"='earl watson (6)' AND "date"='january 19'; | 2-11964154-8 |
A singular abbreviation of p. is used for what singular word? | CREATE TABLE "plural_forms" (
"singular_abbreviation" text,
"singular_word" text,
"plural_abbreviation" text,
"plural_word" text,
"discipline" text
); | SELECT "singular_word" FROM "plural_forms" WHERE "singular_abbreviation"='p.'; | 2-1171-2 |
A plural abbreviation of pp. is used for what singular word? | CREATE TABLE "plural_forms" (
"singular_abbreviation" text,
"singular_word" text,
"plural_abbreviation" text,
"plural_word" text,
"discipline" text
); | SELECT "singular_word" FROM "plural_forms" WHERE "plural_abbreviation"='pp.'; | 2-1171-2 |
The plural word of hands uses what singular word? | CREATE TABLE "plural_forms" (
"singular_abbreviation" text,
"singular_word" text,
"plural_abbreviation" text,
"plural_word" text,
"discipline" text
); | SELECT "singular_word" FROM "plural_forms" WHERE "plural_word"='hands'; | 2-1171-2 |
The plural word of following lines or pages has what plural abbreviation? | CREATE TABLE "plural_forms" (
"singular_abbreviation" text,
"singular_word" text,
"plural_abbreviation" text,
"plural_word" text,
"discipline" text
); | SELECT "plural_abbreviation" FROM "plural_forms" WHERE "plural_word"='following lines or pages'; | 2-1171-2 |
The plural abbreviation of ll. uses what plural word? | CREATE TABLE "plural_forms" (
"singular_abbreviation" text,
"singular_word" text,
"plural_abbreviation" text,
"plural_word" text,
"discipline" text
); | SELECT "plural_word" FROM "plural_forms" WHERE "plural_abbreviation"='ll.'; | 2-1171-2 |
The singular word of hand uses what plural word? | CREATE TABLE "plural_forms" (
"singular_abbreviation" text,
"singular_word" text,
"plural_abbreviation" text,
"plural_word" text,
"discipline" text
); | SELECT "plural_word" FROM "plural_forms" WHERE "singular_word"='hand'; | 2-1171-2 |
How much did the home team st kilda score? | CREATE TABLE "round_14" (
"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_14" WHERE "home_team"='st kilda'; | 2-10790804-14 |
When the crowd was larger than 7,500 what was the away teams score? | CREATE TABLE "round_14" (
"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_14" WHERE "crowd">'7,500'; | 2-10790804-14 |
What's the total number of people to attend games at junction oval? | CREATE TABLE "round_14" (
"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_14" WHERE "venue"='junction oval'; | 2-10790804-14 |
When the Away team scored 11.8 (74) how many people showed up? | CREATE TABLE "round_14" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "crowd" FROM "round_14" WHERE "away_team_score"='11.8 (74)'; | 2-10790804-14 |
How many people have attended victoria park? | CREATE TABLE "round_14" (
"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_14" WHERE "venue"='victoria park'; | 2-10790804-14 |
How many people voted in the election of 1941? | CREATE TABLE "president" (
"election" real,
"candidate" text,
"number_of_votes" text,
"share_of_votes" text,
"outcome_of_election" text
); | SELECT "number_of_votes" FROM "president" WHERE "election"=1941; | 2-11383551-1 |
Which candidate lost the election that 770,046 people voted in? | CREATE TABLE "president" (
"election" real,
"candidate" text,
"number_of_votes" text,
"share_of_votes" text,
"outcome_of_election" text
); | SELECT "candidate" FROM "president" WHERE "outcome_of_election"='lost' AND "number_of_votes"='770,046'; | 2-11383551-1 |
Which candidate won 61.47% of the votes? | CREATE TABLE "president" (
"election" real,
"candidate" text,
"number_of_votes" text,
"share_of_votes" text,
"outcome_of_election" text
); | SELECT "candidate" FROM "president" WHERE "share_of_votes"='61.47%'; | 2-11383551-1 |
What percentage of votes did the candidate win in the election of 1969? | CREATE TABLE "president" (
"election" real,
"candidate" text,
"number_of_votes" text,
"share_of_votes" text,
"outcome_of_election" text
); | SELECT "share_of_votes" FROM "president" WHERE "election"=1969; | 2-11383551-1 |
Which GWR numbers had a quantity less than 2 when the M&SWJ number was 9? | CREATE TABLE "locomotives_of_the_great_western_railway" (
"manufacturer" text,
"type" text,
"quantity" real,
"m_swj_nos" text,
"gwr_nos" text
); | SELECT "gwr_nos" FROM "locomotives_of_the_great_western_railway" WHERE "quantity"<2 AND "m_swj_nos"='9'; | 2-1169521-12 |
Which manucfaturer's type was 2-6-0? | CREATE TABLE "locomotives_of_the_great_western_railway" (
"manufacturer" text,
"type" text,
"quantity" real,
"m_swj_nos" text,
"gwr_nos" text
); | SELECT "manufacturer" FROM "locomotives_of_the_great_western_railway" WHERE "type"='2-6-0'; | 2-1169521-12 |
What was the score of the game when the Devils had a record of 14–10–2? | CREATE TABLE "december" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "december" WHERE "record"='14–10–2'; | 2-11902366-5 |
What was the date of the game when the Devils had a record of 21–14–3? | CREATE TABLE "december" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "date" FROM "december" WHERE "record"='21–14–3'; | 2-11902366-5 |
What distance did the winning horse run in the Summer Doldrums. | CREATE TABLE "belmont_stakes_feature_key_prep_races_li" (
"date" text,
"track" text,
"race" text,
"distance" text,
"surface_track" text,
"winning_horse" text,
"winning_jockey" text
); | SELECT "distance" FROM "belmont_stakes_feature_key_prep_races_li" WHERE "winning_horse"='summer doldrums'; | 2-11685771-2 |
Who is the jockey for the winning horse Rafael Bejarano? | CREATE TABLE "belmont_stakes_feature_key_prep_races_li" (
"date" text,
"track" text,
"race" text,
"distance" text,
"surface_track" text,
"winning_horse" text,
"winning_jockey" text
); | SELECT "winning_horse" FROM "belmont_stakes_feature_key_prep_races_li" WHERE "winning_jockey"='rafael bejarano'; | 2-11685771-2 |
What is the race with the track distance of 6 furlongs and spectacular bid stakes? | CREATE TABLE "belmont_stakes_feature_key_prep_races_li" (
"date" text,
"track" text,
"race" text,
"distance" text,
"surface_track" text,
"winning_horse" text,
"winning_jockey" text
); | SELECT "track" FROM "belmont_stakes_feature_key_prep_races_li" WHERE "distance"='6 furlongs' AND "race"='spectacular bid stakes'; | 2-11685771-2 |
what race did Dominican win with a distance of 1-1/16 miles? | CREATE TABLE "belmont_stakes_feature_key_prep_races_li" (
"date" text,
"track" text,
"race" text,
"distance" text,
"surface_track" text,
"winning_horse" text,
"winning_jockey" text
); | SELECT "race" FROM "belmont_stakes_feature_key_prep_races_li" WHERE "winning_horse"='dominican' AND "distance"='1-1/16 miles'; | 2-11685771-2 |
What tournament since 1973 has a result of 1st? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
); | SELECT "tournament" FROM "achievements" WHERE "result"='1st' AND "year">1973; | 2-11503671-1 |
In what tournament was there an extra of 400 m hurdles? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
); | SELECT "tournament" FROM "achievements" WHERE "extra"='400 m hurdles'; | 2-11503671-1 |
What was the Result in Year 1973? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
); | SELECT "result" FROM "achievements" WHERE "year"=1973; | 2-11503671-1 |
In which year was the Tournament of european indoor championships played where the Extra was 800 m and the Result was 2nd? | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
); | SELECT "year" FROM "achievements" WHERE "extra"='800 m' AND "tournament"='european indoor championships' AND "result"='2nd'; | 2-11503671-1 |
What player is from Chula Vista, Ca? | CREATE TABLE "2000_team" (
"player" text,
"position" text,
"school" text,
"hometown" text,
"mlb_draft" text
); | SELECT "player" FROM "2000_team" WHERE "hometown"='chula vista, ca'; | 2-11677100-6 |
What MLB draft has Shaun Boyd? | CREATE TABLE "2000_team" (
"player" text,
"position" text,
"school" text,
"hometown" text,
"mlb_draft" text
); | SELECT "mlb_draft" FROM "2000_team" WHERE "player"='shaun boyd'; | 2-11677100-6 |
what is the college/junior/club team (league) when the round is more than 2 and the player is bert robertsson (d)? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team_league" text
); | SELECT "college_junior_club_team_league" FROM "draft_picks" WHERE "round">2 AND "player"='bert robertsson (d)'; | 2-11110963-11 |
what is the college/junior/club team (league) when the round is less than 7? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team_league" text
); | SELECT "college_junior_club_team_league" FROM "draft_picks" WHERE "round"<7; | 2-11110963-11 |
what is the nhl team for round 10? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team_league" text
); | SELECT "nhl_team" FROM "draft_picks" WHERE "round"=10; | 2-11110963-11 |
what is the highest round when the player is troy creurer (d)? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team_league" text
); | SELECT MAX("round") FROM "draft_picks" WHERE "player"='troy creurer (d)'; | 2-11110963-11 |
Who was the opponent on week 3? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "opponent" FROM "schedule" WHERE "week"=3; | 2-11157258-2 |
What chapter is located in Normal, Illinois? | CREATE TABLE "list_of_college_chapters_and_colonies" (
"number" real,
"chapter" text,
"installation_date" text,
"location" text,
"status" text
); | SELECT "chapter" FROM "list_of_college_chapters_and_colonies" WHERE "location"='normal, illinois'; | 2-11978456-1 |
What is the average position for tb2l teams promoted champion? | CREATE TABLE "season_by_season" (
"season" text,
"tier" real,
"league" text,
"pos" real,
"postseason" text,
"turkish_cup" text
); | SELECT AVG("pos") FROM "season_by_season" WHERE "league"='tb2l' AND "postseason"='promoted champion'; | 2-11295162-1 |
How many teams were promoted in the postseason in a tier above 2? | CREATE TABLE "season_by_season" (
"season" text,
"tier" real,
"league" text,
"pos" real,
"postseason" text,
"turkish_cup" text
); | SELECT COUNT("pos") FROM "season_by_season" WHERE "postseason"='promoted' AND "tier"<2; | 2-11295162-1 |
What is the Home team score At Windy Hill? | CREATE TABLE "round_15" (
"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_15" WHERE "venue"='windy hill'; | 2-10807990-15 |
How big of a crowd was attending the game whose Away team scored 9.10 (64)? | CREATE TABLE "round_15" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "crowd" FROM "round_15" WHERE "away_team_score"='9.10 (64)'; | 2-10807990-15 |
Who is the partner in the final with a score of 2–6, 7–6, 7–6? | CREATE TABLE "doubles_finals_19_10_9" (
"outcome" text,
"date" real,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
); | SELECT "partner" FROM "doubles_finals_19_10_9" WHERE "score_in_the_final"='2–6, 7–6, 7–6'; | 2-1171445-6 |
On what surface was Ivan Lendl a partner with a runner-up outcome and final score of 2–6, 6–7? | CREATE TABLE "doubles_finals_19_10_9" (
"outcome" text,
"date" real,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
); | SELECT "surface" FROM "doubles_finals_19_10_9" WHERE "outcome"='runner-up' AND "partner"='ivan lendl' AND "score_in_the_final"='2–6, 6–7'; | 2-1171445-6 |
What was the highest crowd at the venue MCG? | 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 MAX("crowd") FROM "round_8" WHERE "venue"='mcg'; | 2-10887680-8 |
What is the away team score at the Windy Hill venue? | 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 "venue"='windy hill'; | 2-10887680-8 |
What is the score of the game against the pirates with over 48,308 attending? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "game_log" WHERE "attendance">'48,308' AND "opponent"='pirates'; | 2-11512626-6 |
Where was the game with a crowd of 18,817 and an away team score of 11.14 (80) held? | 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 "crowd">'18,817' AND "away_team_score"='11.14 (80)'; | 2-1164217-13 |
Where was the game held when the home team scored 12.21 (93)? | 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 "home_team_score"='12.21 (93)'; | 2-1164217-13 |
Where was the game when Melbourne was the away team? | 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"='melbourne'; | 2-1164217-13 |
What was the away score when the game was at Brunswick Street 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"='brunswick street oval'; | 2-10806852-9 |
How many rounds were run at Calder Park? | CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"state" text,
"date" text,
"winning_driver" text
); | SELECT COUNT("round") FROM "calendar" WHERE "circuit"='calder park'; | 2-11890800-1 |
In which state can you find the Sandown circuit? | CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"state" text,
"date" text,
"winning_driver" text
); | SELECT "state" FROM "calendar" WHERE "circuit"='sandown'; | 2-11890800-1 |
How many rounds were run in New South Wales? | CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"state" text,
"date" text,
"winning_driver" text
); | SELECT COUNT("round") FROM "calendar" WHERE "state"='new south wales'; | 2-11890800-1 |
Who is the driver from 1969? | CREATE TABLE "by_year" (
"year" text,
"driver" text,
"constructor" text,
"location" text,
"report" text
); | SELECT "driver" FROM "by_year" WHERE "year"='1969'; | 2-1108831-3 |
Who was the driver in 1964? | CREATE TABLE "by_year" (
"year" text,
"driver" text,
"constructor" text,
"location" text,
"report" text
); | SELECT "driver" FROM "by_year" WHERE "year"='1964'; | 2-1108831-3 |
What is the highest diff with drawn of 6 and play larger than 18? | CREATE TABLE "torneo_apertura_opening_tournament" (
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"diff" real
); | SELECT MAX("diff") FROM "torneo_apertura_opening_tournament" WHERE "drawn"=6 AND "played">18; | 2-11164956-1 |
How many games were played when the loss is less than 5 and points greater than 41? | CREATE TABLE "torneo_apertura_opening_tournament" (
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"diff" real
); | SELECT SUM("played") FROM "torneo_apertura_opening_tournament" WHERE "lost"<5 AND "points">41; | 2-11164956-1 |
How many genes are in species burkholderia pseudomallei with 4,126,292 base pairs? | CREATE TABLE "list_of_sequenced_bacterial_genomes" (
"species" text,
"strain" text,
"type" text,
"base_pairs" text,
"genes" text
); | SELECT "genes" FROM "list_of_sequenced_bacterial_genomes" WHERE "species"='burkholderia pseudomallei' AND "base_pairs"='4,126,292'; | 2-11664498-13 |
Which strain has 1,312 genes? | CREATE TABLE "list_of_sequenced_bacterial_genomes" (
"species" text,
"strain" text,
"type" text,
"base_pairs" text,
"genes" text
); | SELECT "strain" FROM "list_of_sequenced_bacterial_genomes" WHERE "genes"='1,312'; | 2-11664498-13 |
Which gene has 4,895,836 base pairs? | CREATE TABLE "list_of_sequenced_bacterial_genomes" (
"species" text,
"strain" text,
"type" text,
"base_pairs" text,
"genes" text
); | SELECT "genes" FROM "list_of_sequenced_bacterial_genomes" WHERE "base_pairs"='4,895,836'; | 2-11664498-13 |
Which species has 3,441 genes? | CREATE TABLE "list_of_sequenced_bacterial_genomes" (
"species" text,
"strain" text,
"type" text,
"base_pairs" text,
"genes" text
); | SELECT "species" FROM "list_of_sequenced_bacterial_genomes" WHERE "genes"='3,441'; | 2-11664498-13 |
How many base pairs are there in the tohamai strain? | CREATE TABLE "list_of_sequenced_bacterial_genomes" (
"species" text,
"strain" text,
"type" text,
"base_pairs" text,
"genes" text
); | SELECT "base_pairs" FROM "list_of_sequenced_bacterial_genomes" WHERE "strain"='tohamai'; | 2-11664498-13 |
What was the home team score at junction oval? | 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 "venue"='junction oval'; | 2-10809271-10 |
What was the away team score at western oval? | 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 "away_team_score" FROM "round_10" WHERE "venue"='western oval'; | 2-10809271-10 |
what is the lowest crowd at kardinia park | 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 MIN("crowd") FROM "round_10" WHERE "venue"='kardinia park'; | 2-10809271-10 |
What was the score for the tournament in Budapest? | CREATE TABLE "2008" (
"tournament" text,
"winner" text,
"runner_up" text,
"score" text,
"third_place" text
); | SELECT "score" FROM "2008" WHERE "tournament"='budapest'; | 2-11346282-10 |
Which tournament did Patrick Rafter win? | CREATE TABLE "2008" (
"tournament" text,
"winner" text,
"runner_up" text,
"score" text,
"third_place" text
); | SELECT "tournament" FROM "2008" WHERE "winner"='patrick rafter'; | 2-11346282-10 |
Which winner won by a score of 6–7(4), 7–6(3), [11–9]? | CREATE TABLE "2008" (
"tournament" text,
"winner" text,
"runner_up" text,
"score" text,
"third_place" text
); | SELECT "winner" FROM "2008" WHERE "score"='6–7(4), 7–6(3), [11–9]'; | 2-11346282-10 |
what was the score when goran ivanišević was runner up and the tournament was in algarve? | CREATE TABLE "2008" (
"tournament" text,
"winner" text,
"runner_up" text,
"score" text,
"third_place" text
); | SELECT "score" FROM "2008" WHERE "runner_up"='goran ivanišević' AND "tournament"='algarve'; | 2-11346282-10 |
What was the score when Stefan Edberg won? | CREATE TABLE "2008" (
"tournament" text,
"winner" text,
"runner_up" text,
"score" text,
"third_place" text
); | SELECT "score" FROM "2008" WHERE "winner"='stefan edberg'; | 2-11346282-10 |
Which Away team that has a Crowd greater than 15,481, and a Home team score of 20.17 (137)? | 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 "crowd">'15,481' AND "home_team_score"='20.17 (137)'; | 2-10823719-5 |
What is the Away team score when home's score is 10.16 (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_score" FROM "round_5" WHERE "home_team_score"='10.16 (76)'; | 2-10823719-5 |
Which Date has an Away team of south melbourne? | 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 "date" FROM "round_5" WHERE "away_team"='south melbourne'; | 2-10823719-5 |
What is the Away team score for mcg? | 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_score" FROM "round_5" WHERE "venue"='mcg'; | 2-10823719-5 |
What is the total Crowd with a Home team of collingwood? | 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 SUM("crowd") FROM "round_5" WHERE "home_team"='collingwood'; | 2-10823719-5 |
When mcg is the Venue what's the Away team? | 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 "away_team" FROM "round_16" WHERE "venue"='mcg'; | 2-10809823-16 |
When the Away team footscray played on the Date of 19 july 1980, what was the amount of people in the Crowd? | 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 "crowd" FROM "round_16" WHERE "date"='19 july 1980' AND "away_team"='footscray'; | 2-10809823-16 |
When the Home team of collingwood played, what was the opposing Away team score? | 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 "away_team_score" FROM "round_16" WHERE "home_team"='collingwood'; | 2-10809823-16 |
When the Crowd is larger than 23,327, what Home team is playing? | 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 "crowd">'23,327'; | 2-10809823-16 |
When vfl park is the venue what's the Away team playing? | 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 "away_team" FROM "round_16" WHERE "venue"='vfl park'; | 2-10809823-16 |
If collingwood was the Home team, what Date did they play? | 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 "home_team"='collingwood'; | 2-10809823-16 |
What division has a Rank in Respective Divisions of 5, and is the Altrincham club? | CREATE TABLE "existing_stadiums" (
"stadium" text,
"capacity" text,
"club" text,
"division" text,
"rank_in_respective_divisions" text
); | SELECT "division" FROM "existing_stadiums" WHERE "rank_in_respective_divisions"='5' AND "club"='altrincham'; | 2-1188541-1 |
Which club has a capacity of 25138? | CREATE TABLE "existing_stadiums" (
"stadium" text,
"capacity" text,
"club" text,
"division" text,
"rank_in_respective_divisions" text
); | SELECT "club" FROM "existing_stadiums" WHERE "capacity"='25138'; | 2-1188541-1 |
What Rank in Respective Divisions has a capacity of 4100? | CREATE TABLE "existing_stadiums" (
"stadium" text,
"capacity" text,
"club" text,
"division" text,
"rank_in_respective_divisions" text
); | SELECT "rank_in_respective_divisions" FROM "existing_stadiums" WHERE "capacity"='4100'; | 2-1188541-1 |
What stadium has a club of west ham united? | CREATE TABLE "existing_stadiums" (
"stadium" text,
"capacity" text,
"club" text,
"division" text,
"rank_in_respective_divisions" text
); | SELECT "stadium" FROM "existing_stadiums" WHERE "club"='west ham united'; | 2-1188541-1 |
What was the result of week 16? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "result" FROM "schedule" WHERE "week"=16; | 2-11157007-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.