question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Which venue has an Away team score of 18.9 (117)? | CREATE TABLE "round_18" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_18" WHERE "away_team_score"='18.9 (117)'; | 2-10808681-18 |
What date has a Home team score of 7.11 (53)? | CREATE TABLE "round_18" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_18" WHERE "home_team_score"='7.11 (53)'; | 2-10808681-18 |
What is moorabbin oval's away team? | CREATE TABLE "round_18" (
"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_18" WHERE "venue"='moorabbin oval'; | 2-10808681-18 |
What is the home score with an Away team score of 10.14 (74)? | CREATE TABLE "round_18" (
"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_18" WHERE "away_team_score"='10.14 (74)'; | 2-10808681-18 |
What is Karl Wendlinger's total grid #? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT COUNT("grid") FROM "race" WHERE "driver"='karl wendlinger'; | 2-1123177-2 |
Which away team score also had a home team score of 20.20 (140)? | CREATE TABLE "round_19" (
"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_19" WHERE "home_team_score"='20.20 (140)'; | 2-10824095-19 |
Which Home team score had a Home team of Fitzroy? | CREATE TABLE "round_19" (
"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_19" WHERE "home_team"='fitzroy'; | 2-10824095-19 |
Who was replaced by Lieve Wierinck? | CREATE TABLE "list_of_representatives_who_resigned" (
"name" text,
"party" text,
"date_of_resignation" text,
"replacement" text,
"notes" text
); | SELECT "name" FROM "list_of_representatives_who_resigned" WHERE "replacement"='lieve wierinck'; | 2-11847977-29 |
Name the sum of gross tonnage for wood on date more tahn 1846 for comissioned and ship of esk | CREATE TABLE "list_of_rmsp_company_vessels" (
"ship" text,
"date_commissioned" real,
"gross_tonnage" real,
"propulsion" text,
"material" text
); | SELECT SUM("gross_tonnage") FROM "list_of_rmsp_company_vessels" WHERE "material"='wood' AND "date_commissioned">1846 AND "ship"='esk'; | 2-11859464-1 |
Tell me the sum of Gross Tonnage for isis ship on date commisioned less than 1842 | CREATE TABLE "list_of_rmsp_company_vessels" (
"ship" text,
"date_commissioned" real,
"gross_tonnage" real,
"propulsion" text,
"material" text
); | SELECT SUM("gross_tonnage") FROM "list_of_rmsp_company_vessels" WHERE "ship"='isis' AND "date_commissioned"<1842; | 2-11859464-1 |
Tell me the lowest date commissioned for iron rmsrhone and gross tonnage less than 2,738 | CREATE TABLE "list_of_rmsp_company_vessels" (
"ship" text,
"date_commissioned" real,
"gross_tonnage" real,
"propulsion" text,
"material" text
); | SELECT MIN("date_commissioned") FROM "list_of_rmsp_company_vessels" WHERE "material"='iron' AND "ship"='rmsrhone' AND "gross_tonnage"<'2,738'; | 2-11859464-1 |
Name the height for 2008 club of trentino volley | CREATE TABLE "men_s_tournament" (
"name" text,
"height" text,
"weight" text,
"spike" text,
"2008_club" text
); | SELECT "height" FROM "men_s_tournament" WHERE "2008_club"='trentino volley'; | 2-10955187-17 |
Who was in the 2008 club of gabeca montichiari? | CREATE TABLE "men_s_tournament" (
"name" text,
"height" text,
"weight" text,
"spike" text,
"2008_club" text
); | SELECT "name" FROM "men_s_tournament" WHERE "2008_club"='gabeca montichiari'; | 2-10955187-17 |
What Constructor has a +1.027 Time/Retired? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "constructor" FROM "race" WHERE "time_retired"='+1.027'; | 2-1123345-2 |
What Constructor has 56 Laps? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "constructor" FROM "race" WHERE "laps"=56; | 2-1123345-2 |
What Driver has 28 Laps and a Grid greater than 5? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "driver" FROM "race" WHERE "grid">5 AND "laps"=28; | 2-1123345-2 |
What is the highest Laps with a Time/Retired Wheel? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT MAX("laps") FROM "race" WHERE "time_retired"='wheel'; | 2-1123345-2 |
What Driver has a +1.027 Time/Retired? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "driver" FROM "race" WHERE "time_retired"='+1.027'; | 2-1123345-2 |
What game has a score of 44-20? | CREATE TABLE "challenge_cup" (
"date" text,
"competition" text,
"venue" text,
"result" text,
"score" text,
"goals" text
); | SELECT "result" FROM "challenge_cup" WHERE "score"='44-20'; | 2-10814470-6 |
What date was a game played at Headingley Stadium? | CREATE TABLE "challenge_cup" (
"date" text,
"competition" text,
"venue" text,
"result" text,
"score" text,
"goals" text
); | SELECT "date" FROM "challenge_cup" WHERE "venue"='headingley stadium'; | 2-10814470-6 |
What competition was played at Shay Stadium? | CREATE TABLE "challenge_cup" (
"date" text,
"competition" text,
"venue" text,
"result" text,
"score" text,
"goals" text
); | SELECT "competition" FROM "challenge_cup" WHERE "venue"='shay stadium'; | 2-10814470-6 |
Which show had a part 3 before 2011? | CREATE TABLE "filmography" (
"year" real,
"show" text,
"season" real,
"episode_title" text,
"episode" real
); | SELECT "show" FROM "filmography" WHERE "year"<2011 AND "episode_title"='part 3'; | 2-1124323-2 |
What are the male Bounder books? | CREATE TABLE "residents_of_white_deer_park" (
"animal_name" text,
"species" text,
"books" text,
"tv_series" text,
"gender" text,
"tv_seasons" text,
"mate" text,
"first_appearance" text,
"last_appearance" text
); | SELECT "books" FROM "residents_of_white_deer_park" WHERE "gender"='male' AND "animal_name"='bounder'; | 2-11206371-3 |
How many people attended on April 12? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT COUNT("attendance") FROM "game_log" WHERE "date"='april 12'; | 2-11512659-3 |
On what date were 5 built with 4-4-2t wheels? | CREATE TABLE "1905_1911" (
"class" text,
"wheels" text,
"date" text,
"no_built" real,
"loco_nos" text
); | SELECT "date" FROM "1905_1911" WHERE "no_built"=5 AND "wheels"='4-4-2t'; | 2-1169552-16 |
On what date was the number of locomotives 421-6? | CREATE TABLE "1905_1911" (
"class" text,
"wheels" text,
"date" text,
"no_built" real,
"loco_nos" text
); | SELECT "date" FROM "1905_1911" WHERE "loco_nos"='421-6'; | 2-1169552-16 |
How many were built with a locomotive number of 11-20? | CREATE TABLE "1905_1911" (
"class" text,
"wheels" text,
"date" text,
"no_built" real,
"loco_nos" text
); | SELECT "no_built" FROM "1905_1911" WHERE "loco_nos"='11-20'; | 2-1169552-16 |
On what date were more than 5 built with 4-4-2 wheels? | CREATE TABLE "1905_1911" (
"class" text,
"wheels" text,
"date" text,
"no_built" real,
"loco_nos" text
); | SELECT "date" FROM "1905_1911" WHERE "wheels"='4-4-2' AND "no_built">5; | 2-1169552-16 |
On what date were less than 10 built with a locomotive number of 31-35? | CREATE TABLE "1905_1911" (
"class" text,
"wheels" text,
"date" text,
"no_built" real,
"loco_nos" text
); | SELECT "date" FROM "1905_1911" WHERE "no_built"<10 AND "loco_nos"='31-35'; | 2-1169552-16 |
How many spectators watched when the away team was Collingwood? | 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 "crowd" FROM "round_10" WHERE "away_team"='collingwood'; | 2-10807990-10 |
What did Essendon score when they were 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 "away_team_score" FROM "round_10" WHERE "away_team"='essendon'; | 2-10807990-10 |
When did the home team score 19.17 (131)? | 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 "date" FROM "round_10" WHERE "home_team_score"='19.17 (131)'; | 2-10807990-10 |
Who was the home team at Brunswick Street 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" FROM "round_6" WHERE "venue"='brunswick street oval'; | 2-10809368-6 |
What was South Melbourne's away team score? | 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 "away_team_score" FROM "round_6" WHERE "away_team"='south melbourne'; | 2-10809368-6 |
Who was the away team at Brunswick Street 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 "away_team_score" FROM "round_6" WHERE "venue"='brunswick street oval'; | 2-10809368-6 |
Tell me the lowest height for class of hewitt and prom less than 148 | CREATE TABLE "the" (
"peak" text,
"height_m" real,
"prom_m" real,
"class" text,
"parent" text
); | SELECT MIN("height_m") FROM "the" WHERE "class"='hewitt' AND "prom_m"<148; | 2-10814429-1 |
Tell me the total number of prom for height less than 615 | CREATE TABLE "the" (
"peak" text,
"height_m" real,
"prom_m" real,
"class" text,
"parent" text
); | SELECT COUNT("prom_m") FROM "the" WHERE "height_m"<615; | 2-10814429-1 |
I want to know the peak which is prom less than 147 and height less than 619 | CREATE TABLE "the" (
"peak" text,
"height_m" real,
"prom_m" real,
"class" text,
"parent" text
); | SELECT "peak" FROM "the" WHERE "prom_m"<147 AND "height_m"<619; | 2-10814429-1 |
Tell me the peak for prom being less than 147 | CREATE TABLE "the" (
"peak" text,
"height_m" real,
"prom_m" real,
"class" text,
"parent" text
); | SELECT "peak" FROM "the" WHERE "prom_m"<147; | 2-10814429-1 |
Tell me the lowest prom for class of hewitt and peak of cushat law and height more than 615 | CREATE TABLE "the" (
"peak" text,
"height_m" real,
"prom_m" real,
"class" text,
"parent" text
); | SELECT MIN("prom_m") FROM "the" WHERE "class"='hewitt' AND "peak"='cushat law' AND "height_m">615; | 2-10814429-1 |
Name the peak for height more than 619 and class of hewitt with prom being 148 | CREATE TABLE "the" (
"peak" text,
"height_m" real,
"prom_m" real,
"class" text,
"parent" text
); | SELECT "peak" FROM "the" WHERE "height_m">619 AND "class"='hewitt' AND "prom_m"=148; | 2-10814429-1 |
What is the percentage democrats with 2/4 democrat/republican? | CREATE TABLE "partisan_mix_of_the_house_by_state" (
"state_ranked_in_partisan_order" text,
"percentage_democrats" text,
"percentage_republicans" text,
"democratic_republican" text,
"democratic_seat_plurality" text
); | SELECT "percentage_democrats" FROM "partisan_mix_of_the_house_by_state" WHERE "democratic_republican"='2/4'; | 2-11854559-2 |
What is the percentage democrats with democratic plurality of -3, and 2/5 democrat/republican? | CREATE TABLE "partisan_mix_of_the_house_by_state" (
"state_ranked_in_partisan_order" text,
"percentage_democrats" text,
"percentage_republicans" text,
"democratic_republican" text,
"democratic_seat_plurality" text
); | SELECT "percentage_democrats" FROM "partisan_mix_of_the_house_by_state" WHERE "democratic_seat_plurality"='-3' AND "democratic_republican"='2/5'; | 2-11854559-2 |
What is the percent of republicans with 7/6 democrat/republican? | CREATE TABLE "partisan_mix_of_the_house_by_state" (
"state_ranked_in_partisan_order" text,
"percentage_democrats" text,
"percentage_republicans" text,
"democratic_republican" text,
"democratic_seat_plurality" text
); | SELECT "percentage_republicans" FROM "partisan_mix_of_the_house_by_state" WHERE "democratic_republican"='7/6'; | 2-11854559-2 |
What is the democratic seat plurality with 29% democrat? | CREATE TABLE "partisan_mix_of_the_house_by_state" (
"state_ranked_in_partisan_order" text,
"percentage_democrats" text,
"percentage_republicans" text,
"democratic_republican" text,
"democratic_seat_plurality" text
); | SELECT "democratic_seat_plurality" FROM "partisan_mix_of_the_house_by_state" WHERE "percentage_democrats"='29%'; | 2-11854559-2 |
What is the democratic seat plurality with partisan order of New Hampshire? | CREATE TABLE "partisan_mix_of_the_house_by_state" (
"state_ranked_in_partisan_order" text,
"percentage_democrats" text,
"percentage_republicans" text,
"democratic_republican" text,
"democratic_seat_plurality" text
); | SELECT "democratic_seat_plurality" FROM "partisan_mix_of_the_house_by_state" WHERE "state_ranked_in_partisan_order"='new hampshire'; | 2-11854559-2 |
What is the score of the game with Pacers as the Visitor? | CREATE TABLE "december" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "december" WHERE "visitor"='pacers'; | 2-11965402-4 |
Who was Home on December 5, 2007? | CREATE TABLE "december" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" real,
"record" text
); | SELECT "home" FROM "december" WHERE "date"='december 5, 2007'; | 2-11965402-4 |
What is the Japanese orthography for the abbreviation of ndmc? | CREATE TABLE "administered_by_the_national_government_" (
"english_name" text,
"japanese_orthography" text,
"pronouciation" text,
"abbreviation" text,
"provider_national_government" text,
"foundation" real
); | SELECT "japanese_orthography" FROM "administered_by_the_national_government_" WHERE "abbreviation"='ndmc'; | 2-11390711-1 |
What is the english name of the ministry of defense with an abbreviation of nda bōei-dai(防衛大)? | CREATE TABLE "administered_by_the_national_government_" (
"english_name" text,
"japanese_orthography" text,
"pronouciation" text,
"abbreviation" text,
"provider_national_government" text,
"foundation" real
); | SELECT "english_name" FROM "administered_by_the_national_government_" WHERE "provider_national_government"='ministry of defense' AND "abbreviation"='nda bōei-dai(防衛大)'; | 2-11390711-1 |
What did the team score when playing at home in victoria 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"='victoria park'; | 2-10826385-16 |
What was the top crowd when the away team scored 11.14 (80)? | 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 MAX("crowd") FROM "round_16" WHERE "away_team_score"='11.14 (80)'; | 2-10826385-16 |
What did st kilda score 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 "home_team_score" FROM "round_16" WHERE "home_team"='st kilda'; | 2-10826385-16 |
What was the top crowd when collingwood played 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 MAX("crowd") FROM "round_16" WHERE "home_team"='collingwood'; | 2-10826385-16 |
Which team plays home in western oval venue? | 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"='western oval'; | 2-10826385-16 |
When the driver is innes ireland and they drove under 53 laps, what was the Time/Retired? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "time_retired" FROM "race" WHERE "laps"<53 AND "driver"='innes ireland'; | 2-1122312-2 |
How many laps does peter arundell have? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "laps" FROM "race" WHERE "driver"='peter arundell'; | 2-1122312-2 |
Which driver has a grid value larger than 11, and drove more than 52 laps? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "driver" FROM "race" WHERE "grid">11 AND "laps">52; | 2-1122312-2 |
Tell me the away team score with the crowd bigger than 15,242 with home team of carlton | CREATE TABLE "round_1" (
"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_1" WHERE "crowd">'15,242' AND "home_team"='carlton'; | 2-1164217-1 |
What is the crowd for away team of north melbourne? | CREATE TABLE "round_1" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "crowd" FROM "round_1" WHERE "away_team"='north melbourne'; | 2-1164217-1 |
What is the date when the away team is essendon? | CREATE TABLE "round_1" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_1" WHERE "away_team"='essendon'; | 2-1164217-1 |
Name the visitor from vancouver on february 24 | CREATE TABLE "february" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "visitor" FROM "february" WHERE "home"='vancouver' AND "date"='february 24'; | 2-11128774-6 |
Which description is dated 1962? | CREATE TABLE "list_of_great_central_railway_locomotive" (
"number_name" text,
"description" text,
"livery" text,
"owner_s" text,
"date" text
); | SELECT "description" FROM "list_of_great_central_railway_locomotive" WHERE "date"='1962'; | 2-11913905-3 |
Moorabbin oval is home to what 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 "venue"='moorabbin oval'; | 2-10788451-11 |
Which away team scored 10.14 (74)? | 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 "away_team_score"='10.14 (74)'; | 2-10788451-11 |
How many crowds had a home team score of 9.13 (67)? | 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 COUNT("crowd") FROM "round_11" WHERE "home_team_score"='9.13 (67)'; | 2-10788451-11 |
How many people were in the crowd on the day the home team scored 7.10 (52)? | 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 "crowd" FROM "round_11" WHERE "home_team_score"='7.10 (52)'; | 2-10788451-11 |
Who was the leader at the summit for the race in 2005? | CREATE TABLE "appearances_in_tour_de_france" (
"year" real,
"stage" real,
"category" text,
"start" text,
"finish" text,
"leader_at_the_summit" text
); | SELECT "leader_at_the_summit" FROM "appearances_in_tour_de_france" WHERE "year"=2005; | 2-12095103-1 |
What is the sum of the stages for category 1 races after the year 2003? | CREATE TABLE "appearances_in_tour_de_france" (
"year" real,
"stage" real,
"category" text,
"start" text,
"finish" text,
"leader_at_the_summit" text
); | SELECT SUM("stage") FROM "appearances_in_tour_de_france" WHERE "category"='1' AND "year">2003; | 2-12095103-1 |
What is the stadium of melbourne? | 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 "venue" FROM "round_6" WHERE "home_team"='melbourne'; | 2-10809823-6 |
How big was the average crowd when the opposing team scored 19.16 (130)? | 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 AVG("crowd") FROM "round_6" WHERE "away_team_score"='19.16 (130)'; | 2-10809823-6 |
What was the record in the game where the decision was Backstrom and there were more than 18,568 in attendance? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "record" FROM "game_log" WHERE "decision"='backstrom' AND "attendance">'18,568'; | 2-11739153-6 |
For Getafe CF, what is the highest number of goals scored? | CREATE TABLE "zamora_trophy" (
"goalkeeper" text,
"goals" real,
"matches" real,
"average" real,
"team" text
); | SELECT MAX("goals") FROM "zamora_trophy" WHERE "team"='getafe cf'; | 2-11834742-5 |
For players with fewer than 41 goals for CA Osasuna and averages under 1.06, what is the average number of matches? | CREATE TABLE "zamora_trophy" (
"goalkeeper" text,
"goals" real,
"matches" real,
"average" real,
"team" text
); | SELECT AVG("matches") FROM "zamora_trophy" WHERE "goals"<41 AND "team"='ca osasuna' AND "average"<1.06; | 2-11834742-5 |
For averages of 1.58 and matches under 38, what is the average number of goals? | CREATE TABLE "zamora_trophy" (
"goalkeeper" text,
"goals" real,
"matches" real,
"average" real,
"team" text
); | SELECT AVG("goals") FROM "zamora_trophy" WHERE "average"=1.58 AND "matches"<38; | 2-11834742-5 |
Which Ranking has a Season of 2009? | CREATE TABLE "summary" (
"season" text,
"uefa_season" text,
"coeff" text,
"ranking" real,
"champions" text,
"runner_up" text,
"3rd_place" text,
"cup_winner" text,
"cup_runner_up" text
); | SELECT "ranking" FROM "summary" WHERE "season"='2009'; | 2-10994730-1 |
Which Champions have a Runner-up of tobol, and a Coeff of 1.125? | CREATE TABLE "summary" (
"season" text,
"uefa_season" text,
"coeff" text,
"ranking" real,
"champions" text,
"runner_up" text,
"3rd_place" text,
"cup_winner" text,
"cup_runner_up" text
); | SELECT "champions" FROM "summary" WHERE "runner_up"='tobol' AND "coeff"='1.125'; | 2-10994730-1 |
In what Season is there a 3rd place of tobol, and a Champion of irtysh? | CREATE TABLE "summary" (
"season" text,
"uefa_season" text,
"coeff" text,
"ranking" real,
"champions" text,
"runner_up" text,
"3rd_place" text,
"cup_winner" text,
"cup_runner_up" text
); | SELECT "season" FROM "summary" WHERE "3rd_place"='tobol' AND "champions"='irtysh'; | 2-10994730-1 |
Which Champion has a Coeff of 1.000? | CREATE TABLE "summary" (
"season" text,
"uefa_season" text,
"coeff" text,
"ranking" real,
"champions" text,
"runner_up" text,
"3rd_place" text,
"cup_winner" text,
"cup_runner_up" text
); | SELECT "champions" FROM "summary" WHERE "coeff"='1.000'; | 2-10994730-1 |
what is the game for 23 april when batting 2nd is england 5/113 (19)? | CREATE TABLE "qualifying_games" (
"game" real,
"date" text,
"batting_1st" text,
"batting_2nd" text,
"result" text
); | SELECT MIN("game") FROM "qualifying_games" WHERE "date"='23 april' AND "batting_2nd"='england 5/113 (19)'; | 2-11971919-1 |
what is the game when batting 2nd is new zealand 6/133 (18)? | CREATE TABLE "qualifying_games" (
"game" real,
"date" text,
"batting_1st" text,
"batting_2nd" text,
"result" text
); | SELECT MIN("game") FROM "qualifying_games" WHERE "batting_2nd"='new zealand 6/133 (18)'; | 2-11971919-1 |
what is the game when the result is new zealand by 4 wickets? | CREATE TABLE "qualifying_games" (
"game" real,
"date" text,
"batting_1st" text,
"batting_2nd" text,
"result" text
); | SELECT MAX("game") FROM "qualifying_games" WHERE "result"='new zealand by 4 wickets'; | 2-11971919-1 |
who is batting 1st in game 8? | CREATE TABLE "qualifying_games" (
"game" real,
"date" text,
"batting_1st" text,
"batting_2nd" text,
"result" text
); | SELECT "batting_1st" FROM "qualifying_games" WHERE "game"=8; | 2-11971919-1 |
What is the regular season 1 result of the season when the Copa México was no longer played, the pyramid level was 2, and the regular season 2 result was 15th? | CREATE TABLE "year_by_year" (
"season" text,
"pyramid_level" text,
"regular_season_1" text,
"playoffs_1" text,
"regular_season_2" text,
"playoffs_2" text,
"copa_m_xico" text,
"concacaf" text
); | SELECT "regular_season_1" FROM "year_by_year" WHERE "copa_m_xico"='no longer played' AND "pyramid_level"='2' AND "regular_season_2"='15th'; | 2-1193316-2 |
What is the regular season 2 result of season 2001-02? | CREATE TABLE "year_by_year" (
"season" text,
"pyramid_level" text,
"regular_season_1" text,
"playoffs_1" text,
"regular_season_2" text,
"playoffs_2" text,
"copa_m_xico" text,
"concacaf" text
); | SELECT "regular_season_2" FROM "year_by_year" WHERE "season"='2001-02'; | 2-1193316-2 |
What is the playoffs 2 result of season 2010-11? | CREATE TABLE "year_by_year" (
"season" text,
"pyramid_level" text,
"regular_season_1" text,
"playoffs_1" text,
"regular_season_2" text,
"playoffs_2" text,
"copa_m_xico" text,
"concacaf" text
); | SELECT "playoffs_2" FROM "year_by_year" WHERE "season"='2010-11'; | 2-1193316-2 |
What is the playoffs 1 result of season 2004-05? | CREATE TABLE "year_by_year" (
"season" text,
"pyramid_level" text,
"regular_season_1" text,
"playoffs_1" text,
"regular_season_2" text,
"playoffs_2" text,
"copa_m_xico" text,
"concacaf" text
); | SELECT "playoffs_1" FROM "year_by_year" WHERE "season"='2004-05'; | 2-1193316-2 |
Which Grid did Alain Prost drive on? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT SUM("grid") FROM "race" WHERE "driver"='alain prost'; | 2-1122873-2 |
What was Riccardo Patrese's time/retired? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "time_retired" FROM "race" WHERE "driver"='riccardo patrese'; | 2-1122873-2 |
What venue has a score of 14.15 (99) for away teams? | 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 "venue" FROM "round_15" WHERE "away_team_score"='14.15 (99)'; | 2-10809368-15 |
What venue has the score of 14.11 (95) for away teams? | 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 "venue" FROM "round_15" WHERE "away_team_score"='14.11 (95)'; | 2-10809368-15 |
How many rounds did geoff lees drive with chassis of n180? | CREATE TABLE "drivers_and_constructors" (
"constructor" text,
"chassis" text,
"engine" text,
"tyres" text,
"driver" text,
"rounds" text
); | SELECT "rounds" FROM "drivers_and_constructors" WHERE "chassis"='n180' AND "driver"='geoff lees'; | 2-1140078-1 |
What is the tyres for Didier pironi? | CREATE TABLE "drivers_and_constructors" (
"constructor" text,
"chassis" text,
"engine" text,
"tyres" text,
"driver" text,
"rounds" text
); | SELECT "tyres" FROM "drivers_and_constructors" WHERE "driver"='didier pironi'; | 2-1140078-1 |
Who was the constructor of the car that Jan Lammers made 7-14 rounds in? | CREATE TABLE "drivers_and_constructors" (
"constructor" text,
"chassis" text,
"engine" text,
"tyres" text,
"driver" text,
"rounds" text
); | SELECT "constructor" FROM "drivers_and_constructors" WHERE "driver"='jan lammers' AND "rounds"='7-14'; | 2-1140078-1 |
What engine was used during the race driven by Jan Lammers using a chassis of d3 d4, making a tyre of g and rounds of 4-6? | CREATE TABLE "drivers_and_constructors" (
"constructor" text,
"chassis" text,
"engine" text,
"tyres" text,
"driver" text,
"rounds" text
); | SELECT "engine" FROM "drivers_and_constructors" WHERE "tyres"='g' AND "chassis"='d3 d4' AND "driver"='jan lammers' AND "rounds"='4-6'; | 2-1140078-1 |
Which Competition has a Venue of Seoul, and Result of 4-1? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "competition" FROM "international_goals" WHERE "venue"='seoul' AND "result"='4-1'; | 2-11871805-3 |
What's the Result listed that has a Date of June 12, 1997? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "result" FROM "international_goals" WHERE "date"='june 12, 1997'; | 2-11871805-3 |
What's the Score listed that has a Result of 1-0? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "international_goals" WHERE "result"='1-0'; | 2-11871805-3 |
What's the Result for the Competition of 1994 FIFA World Cup Qualification, with the Date of May 15, 1993? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "result" FROM "international_goals" WHERE "competition"='1994 fifa world cup qualification' AND "date"='may 15, 1993'; | 2-11871805-3 |
Which Competition had a Result of 3-0 and VEnue of Suwon? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "competition" FROM "international_goals" WHERE "result"='3-0' AND "venue"='suwon'; | 2-11871805-3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.