question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Tell me the number of bronze for silver of 0 and total less than 1 | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("bronze") FROM "medal_table" WHERE "silver"=0 AND "total"<1; | 2-10093722-2 |
Tell me the sum of total for rank of 1 | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("total") FROM "medal_table" WHERE "rank"=1; | 2-10093722-2 |
Tell me the total number for costa rica and rank more than 8 | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("total") FROM "medal_table" WHERE "nation"='costa rica' AND "rank">8; | 2-10093722-2 |
What years did Tymerlan Huseynov, whose average is larger than 0.361, play? | CREATE TABLE "top_ukraine_goalscorers" (
"player" text,
"career" text,
"goals" real,
"caps" real,
"average" real
); | SELECT "career" FROM "top_ukraine_goalscorers" WHERE "average">0.361 AND "player"='tymerlan huseynov'; | 2-1008682-4 |
Who scored more than 8 goals, had more than 75 caps, and averaged 0.432? | CREATE TABLE "top_ukraine_goalscorers" (
"player" text,
"career" text,
"goals" real,
"caps" real,
"average" real
); | SELECT "player" FROM "top_ukraine_goalscorers" WHERE "goals">8 AND "caps">75 AND "average"=0.432; | 2-1008682-4 |
What is the sum of the averages when there are 68 caps and less than 9 goals? | CREATE TABLE "top_ukraine_goalscorers" (
"player" text,
"career" text,
"goals" real,
"caps" real,
"average" real
); | SELECT SUM("average") FROM "top_ukraine_goalscorers" WHERE "caps"=68 AND "goals"<9; | 2-1008682-4 |
Tell me the 1968 for 1r | CREATE TABLE "grand_slam_singles_tournament_timeline" (
"tournament" text,
"1966" text,
"1967" text,
"1968" text,
"1969" text,
"1970" text,
"1971" text,
"1972" text,
"1973" text,
"1974" text,
"1975" text,
"1976" text,
"career_sr" text
); | SELECT "1968" FROM "grand_slam_singles_tournament_timeline" WHERE "1967"='1r'; | 2-1028380-6 |
Tell me the round of 32 for conference of southland | CREATE TABLE "record_by_conference" (
"conference" text,
"num_of_bids" real,
"record" text,
"win_pct" text,
"round_of_32" text,
"sweet_sixteen" text,
"elite_eight" text,
"final_four" text,
"championship_game" text
); | SELECT "round_of_32" FROM "record_by_conference" WHERE "conference"='southland'; | 2-10243182-6 |
Tell me the lowest # of bids for win percent of .667 | CREATE TABLE "record_by_conference" (
"conference" text,
"num_of_bids" real,
"record" text,
"win_pct" text,
"round_of_32" text,
"sweet_sixteen" text,
"elite_eight" text,
"final_four" text,
"championship_game" text
); | SELECT MIN("num_of_bids") FROM "record_by_conference" WHERE "win_pct"='.667'; | 2-10243182-6 |
Tell me the sum of cap/hor for double chair and vertical less than 479 | CREATE TABLE "lifts" (
"lift_name" text,
"type" text,
"length" real,
"vertical" real,
"cap_hour" real
); | SELECT SUM("cap_hour") FROM "lifts" WHERE "type"='double chair' AND "vertical"<479; | 2-10242656-6 |
What's the compression ratio when the vin code is c? | CREATE TABLE "1975_engines" (
"engine" text,
"horsepower" text,
"torque" text,
"carburetor" text,
"compression_ratio" text,
"bore_stroke" text,
"vin_code" text
); | SELECT "compression_ratio" FROM "1975_engines" WHERE "vin_code"='c'; | 2-10166535-8 |
Tell me the sum of year for extra of junior team competition | CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
); | SELECT SUM("year") FROM "achievements" WHERE "extra"='junior team competition'; | 2-10067496-1 |
Tell me the lens zoom for aperture of model s2600 | CREATE TABLE "style_series" (
"model" text,
"sensor_res_size" text,
"lens_35mmequiv_zoom_aperture" text,
"screen_size_pixels" text,
"dimensions_w_h_d_mm" text,
"weight" text
); | SELECT "lens_35mmequiv_zoom_aperture" FROM "style_series" WHERE "model"='s2600'; | 2-1017391-5 |
Tell me the screen size for pixels of model s6400 | CREATE TABLE "style_series" (
"model" text,
"sensor_res_size" text,
"lens_35mmequiv_zoom_aperture" text,
"screen_size_pixels" text,
"dimensions_w_h_d_mm" text,
"weight" text
); | SELECT "screen_size_pixels" FROM "style_series" WHERE "model"='s6400'; | 2-1017391-5 |
Name the sensor res for model of s9200 | CREATE TABLE "style_series" (
"model" text,
"sensor_res_size" text,
"lens_35mmequiv_zoom_aperture" text,
"screen_size_pixels" text,
"dimensions_w_h_d_mm" text,
"weight" text
); | SELECT "sensor_res_size" FROM "style_series" WHERE "model"='s9200'; | 2-1017391-5 |
Tell me the nation for bronze more than 0 and total more than 8 with gold of 4 | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT "nation" FROM "medal_table" WHERE "bronze">0 AND "total">8 AND "gold"=4; | 2-10258155-3 |
Who is Team Suzuki's rider and ranks higher than 6? | CREATE TABLE "1970_isle_of_man_production_250_cc_tt_fi" (
"rank" real,
"rider" text,
"team" text,
"speed" text,
"time" text
); | SELECT "rider" FROM "1970_isle_of_man_production_250_cc_tt_fi" WHERE "rank">6 AND "team"='suzuki'; | 2-10301911-3 |
Who was the lowest division in the 7th season? | CREATE TABLE "year_by_year" (
"year" text,
"division" real,
"league" text,
"reg_season" text,
"playoffs" text
); | SELECT MIN("division") FROM "year_by_year" WHERE "reg_season"='7th'; | 2-1035904-2 |
In 1924/25, who was in the playoffs? | CREATE TABLE "year_by_year" (
"year" text,
"division" real,
"league" text,
"reg_season" text,
"playoffs" text
); | SELECT "playoffs" FROM "year_by_year" WHERE "year"='1924/25'; | 2-1035904-2 |
Which division has no playoff but has a 12th game in their season? | CREATE TABLE "year_by_year" (
"year" text,
"division" real,
"league" text,
"reg_season" text,
"playoffs" text
); | SELECT MAX("division") FROM "year_by_year" WHERE "playoffs"='no playoff' AND "reg_season"='12th'; | 2-1035904-2 |
What was the venue of the competition that held the 1st position in 2011? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"notes" text
); | SELECT "venue" FROM "achievements" WHERE "position"='1st' AND "year"=2011; | 2-1037024-1 |
What was the position of the Olympic Games in the year 2008? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"notes" text
); | SELECT "position" FROM "achievements" WHERE "competition"='olympic games' AND "year"=2008; | 2-1037024-1 |
Which competition held the 1st position in 2009? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"notes" text
); | SELECT "competition" FROM "achievements" WHERE "position"='1st' AND "year"=2009; | 2-1037024-1 |
Which venue did the African Championships have after 2006 with a position of 2nd and 3000 m s'chase in notes? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"notes" text
); | SELECT "venue" FROM "achievements" WHERE "year">2006 AND "notes"='3000 m s''chase' AND "position"='2nd' AND "competition"='african championships'; | 2-1037024-1 |
Tell me the label for US region and catalog of 10008-2 | CREATE TABLE "release_history" (
"region" text,
"date" real,
"label" text,
"format" text,
"catalog" text
); | SELECT "label" FROM "release_history" WHERE "region"='us' AND "catalog"='10008-2'; | 2-1035648-2 |
Tell me the date for format of cd/dvd | CREATE TABLE "release_history" (
"region" text,
"date" real,
"label" text,
"format" text,
"catalog" text
); | SELECT "date" FROM "release_history" WHERE "format"='cd/dvd'; | 2-1035648-2 |
Tell me the format for european union | CREATE TABLE "release_history" (
"region" text,
"date" real,
"label" text,
"format" text,
"catalog" text
); | SELECT "format" FROM "release_history" WHERE "region"='european union'; | 2-1035648-2 |
Tell me the catalog for date larger than 2004 | CREATE TABLE "release_history" (
"region" text,
"date" real,
"label" text,
"format" text,
"catalog" text
); | SELECT "catalog" FROM "release_history" WHERE "date">2004; | 2-1035648-2 |
I want the lowest date for catalog of 6561910008-1 | CREATE TABLE "release_history" (
"region" text,
"date" real,
"label" text,
"format" text,
"catalog" text
); | SELECT MIN("date") FROM "release_history" WHERE "catalog"='6561910008-1'; | 2-1035648-2 |
What date was there a crowd larger than 30,343? | 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 "date" FROM "round_13" WHERE "crowd">'30,343'; | 2-10775038-13 |
Which venue was played in when the Away team scored 11.5 (71)? | 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"='11.5 (71)'; | 2-10775038-13 |
What was the lowest Crowd total from a game in which Essendon 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 MIN("crowd") FROM "round_13" WHERE "away_team"='essendon'; | 2-10775038-13 |
Which Venue was played in when the Away team scored 13.13 (91)? | 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"='13.13 (91)'; | 2-10775038-13 |
Which Venue was used when the Home team was geelong? | 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"='geelong'; | 2-10775038-13 |
What is the highest scored in the 2010 east asian football championship? | CREATE TABLE "international_career" (
"date" text,
"venue" text,
"result" text,
"scored" real,
"competition" text
); | SELECT MAX("scored") FROM "international_career" WHERE "competition"='2010 east asian football championship'; | 2-10749310-2 |
Which country is Wellington located in? | CREATE TABLE "see_also" (
"rank" text,
"stadium" text,
"capacity" real,
"city" text,
"country" text
); | SELECT "country" FROM "see_also" WHERE "city"='wellington'; | 2-10586264-1 |
What label is in download format in the United States? | CREATE TABLE "release" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalogue" text
); | SELECT "label" FROM "release" WHERE "region"='united states' AND "format"='download'; | 2-10647532-1 |
What label is in download format in the United States? | CREATE TABLE "release" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalogue" text
); | SELECT "label" FROM "release" WHERE "region"='united states' AND "format"='download'; | 2-10647532-1 |
What label has RTRADLP 346 as catalogue? | CREATE TABLE "release" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalogue" text
); | SELECT "label" FROM "release" WHERE "catalogue"='rtradlp 346'; | 2-10647532-1 |
What label has 22 January 2008 date? | CREATE TABLE "release" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalogue" text
); | SELECT "label" FROM "release" WHERE "date"='22 january 2008'; | 2-10647532-1 |
What is the label for catalogue of RT-346-5? | CREATE TABLE "release" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalogue" text
); | SELECT "label" FROM "release" WHERE "catalogue"='rt-346-5'; | 2-10647532-1 |
What position is mentioned for Rice school? | CREATE TABLE "nfl_draft" (
"round" real,
"overall" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT "position" FROM "nfl_draft" WHERE "school_club_team"='rice'; | 2-10651080-1 |
What is the average round for Wisconsin when the overall is larger than 238 and there is a defensive end? | CREATE TABLE "nfl_draft" (
"round" real,
"overall" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT AVG("round") FROM "nfl_draft" WHERE "overall">238 AND "position"='defensive end' AND "school_club_team"='wisconsin'; | 2-10651080-1 |
What is the average round when there is a defensive back and an overall smaller than 199? | CREATE TABLE "nfl_draft" (
"round" real,
"overall" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT AVG("round") FROM "nfl_draft" WHERE "position"='defensive back' AND "overall"<199; | 2-10651080-1 |
What was the date of game with a score of 42-6? | CREATE TABLE "round_3" (
"date" text,
"result" text,
"score" text,
"stadium" text,
"city" text,
"crowd" real
); | SELECT "date" FROM "round_3" WHERE "score"='42-6'; | 2-10637415-7 |
What stadium was the game played at when the result was hunter mariners def. sheffield eagles? | CREATE TABLE "round_3" (
"date" text,
"result" text,
"score" text,
"stadium" text,
"city" text,
"crowd" real
); | SELECT "stadium" FROM "round_3" WHERE "result"='hunter mariners def. sheffield eagles'; | 2-10637415-7 |
What city has a Result of brisbane broncos def. halifax blue sox? | CREATE TABLE "round_3" (
"date" text,
"result" text,
"score" text,
"stadium" text,
"city" text,
"crowd" real
); | SELECT "city" FROM "round_3" WHERE "result"='brisbane broncos def. halifax blue sox'; | 2-10637415-7 |
Which player was drafted after round 9 and number 464 overall? | CREATE TABLE "nfl_draft" (
"round" real,
"overall" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT "player" FROM "nfl_draft" WHERE "round">9 AND "overall"=464; | 2-10651121-1 |
What was James Reed's draft round number? | CREATE TABLE "nfl_draft" (
"round" real,
"overall" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT COUNT("round") FROM "nfl_draft" WHERE "player"='james reed'; | 2-10651121-1 |
What was the overall draft number of Tom Fleming, a wide receiver? | CREATE TABLE "nfl_draft" (
"round" real,
"overall" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT COUNT("overall") FROM "nfl_draft" WHERE "position"='wide receiver' AND "player"='tom fleming'; | 2-10651121-1 |
Which player is from Dartmouth? | CREATE TABLE "nfl_draft" (
"round" real,
"overall" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT "player" FROM "nfl_draft" WHERE "school_club_team"='dartmouth'; | 2-10651121-1 |
What position does the player from tulsa play? | CREATE TABLE "k" (
"player" text,
"nationality" text,
"position" text,
"from" text,
"school_country" text
); | SELECT "position" FROM "k" WHERE "school_country"='tulsa'; | 2-10560886-12 |
What is the sum of Magnitude on february 12, 1953? | CREATE TABLE "20th_century" (
"date" text,
"epicenter" text,
"magnitude" real,
"fatalities" text,
"name" text
); | SELECT SUM("magnitude") FROM "20th_century" WHERE "date"='february 12, 1953'; | 2-10677198-2 |
What was the final score of a baseball game that happened before 2005? | CREATE TABLE "list_of_winners" (
"year" real,
"date_contested" text,
"sport" text,
"winning_team" text,
"losing_team" text,
"final_score" text
); | SELECT "final_score" FROM "list_of_winners" WHERE "sport"='baseball' AND "year"<2005; | 2-10548224-1 |
What venue did Richmond play as the 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 "venue" FROM "round_18" WHERE "away_team"='richmond'; | 2-10774891-18 |
What is the team of Essendon's score in the game where they were the home 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 "home_team_score" FROM "round_18" WHERE "home_team"='essendon'; | 2-10774891-18 |
Who is the away side when st kilda is the home side? | 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" FROM "round_19" WHERE "home_team"='st kilda'; | 2-10750694-19 |
What is the away side score when footscray is the home side? | 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"='footscray'; | 2-10750694-19 |
What is the home team's score at kardinia park? | 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 "venue"='kardinia park'; | 2-10750694-19 |
What was the lowest crowd seen at a game that Richmond was the Away team in? | 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 MIN("crowd") FROM "round_5" WHERE "away_team"='richmond'; | 2-10746808-5 |
What was the highest crowd count seen in the Windy Hill venue? | 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 MAX("crowd") FROM "round_5" WHERE "venue"='windy hill'; | 2-10746808-5 |
On what date did Brunswick Street Oval see more than 19,500 people? | 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 "crowd">'19,500' AND "venue"='brunswick street oval'; | 2-10746808-5 |
What was the score of the Away team that played against the Home team of Fitzroy? | 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"='fitzroy'; | 2-10746808-5 |
Which was the lowest overall that Wisconsin's team managed? | CREATE TABLE "nfl_draft" (
"round" real,
"overall" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT MIN("overall") FROM "nfl_draft" WHERE "school_club_team"='wisconsin'; | 2-10651215-1 |
Which team was Roy de Walt a player on? | CREATE TABLE "nfl_draft" (
"round" real,
"overall" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT "school_club_team" FROM "nfl_draft" WHERE "player"='roy de walt'; | 2-10651215-1 |
In which round did Paul McDonald have an overall greater than 109? | CREATE TABLE "nfl_draft" (
"round" real,
"overall" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT MAX("round") FROM "nfl_draft" WHERE "player"='paul mcdonald' AND "overall">109; | 2-10651215-1 |
What is the total overall in round 1, in which Charles White was a player? | CREATE TABLE "nfl_draft" (
"round" real,
"overall" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT SUM("overall") FROM "nfl_draft" WHERE "player"='charles white' AND "round"<1; | 2-10651215-1 |
What is the name of a running back in a round before round 3? | CREATE TABLE "nfl_draft" (
"round" real,
"overall" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT "player" FROM "nfl_draft" WHERE "round"<3 AND "position"='running back'; | 2-10651215-1 |
What is the win/loss percentage with wins of 63 and losses smaller than 76? | CREATE TABLE "season_by_season_records" (
"year" real,
"team_name" text,
"wins" real,
"losses" real,
"w_l_pct" text,
"manager" text
); | SELECT "w_l_pct" FROM "season_by_season_records" WHERE "wins"=63 AND "losses"<76; | 2-1050189-1 |
What is the away team score when the home team is Geelong? | 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 "home_team"='geelong'; | 2-10776330-14 |
What was the highest order amount in weeks prier to 15 and a major less than 1? | CREATE TABLE "weeks_at_number_one" (
"rank" real,
"player" text,
"country" text,
"weeks" real,
"order" real,
"majors" real
); | SELECT MAX("order") FROM "weeks_at_number_one" WHERE "weeks"<15 AND "majors"<1; | 2-10753786-4 |
What is the position of the player from Temple? | CREATE TABLE "m" (
"player" text,
"nationality" text,
"position" text,
"from" real,
"school_country" text
); | SELECT "position" FROM "m" WHERE "school_country"='temple'; | 2-10560886-14 |
What is the most recent year from Creighton? | CREATE TABLE "m" (
"player" text,
"nationality" text,
"position" text,
"from" real,
"school_country" text
); | SELECT MAX("from") FROM "m" WHERE "school_country"='creighton'; | 2-10560886-14 |
What is the most recent year with a United States nationality and the school Hamline? | CREATE TABLE "m" (
"player" text,
"nationality" text,
"position" text,
"from" real,
"school_country" text
); | SELECT MAX("from") FROM "m" WHERE "nationality"='united states' AND "school_country"='hamline'; | 2-10560886-14 |
Which player is from 2012 and North Carolina? | CREATE TABLE "j" (
"player" text,
"nationality" text,
"position" text,
"from" text,
"school_country" text
); | SELECT "player" FROM "j" WHERE "from"='2012' AND "school_country"='north carolina'; | 2-10560886-11 |
Which player is associated with Temple? | CREATE TABLE "j" (
"player" text,
"nationality" text,
"position" text,
"from" text,
"school_country" text
); | SELECT "player" FROM "j" WHERE "school_country"='temple'; | 2-10560886-11 |
Which nationality is associated with Temple? | CREATE TABLE "j" (
"player" text,
"nationality" text,
"position" text,
"from" text,
"school_country" text
); | SELECT "nationality" FROM "j" WHERE "school_country"='temple'; | 2-10560886-11 |
Which player was a forward/center from 1960? | CREATE TABLE "j" (
"player" text,
"nationality" text,
"position" text,
"from" text,
"school_country" text
); | SELECT "player" FROM "j" WHERE "from"='1960' AND "position"='forward/center'; | 2-10560886-11 |
How many goals were achieved when Chievo was the club and the debut year was before 2002? | CREATE TABLE "goalscoring" (
"rank" real,
"all_time_rank" text,
"name" text,
"debut_year" real,
"current_club" text,
"goals" real,
"apps" real
); | SELECT COUNT("goals") FROM "goalscoring" WHERE "current_club"='chievo' AND "debut_year"<2002; | 2-10724559-2 |
How many goals occurred with Diego Milito in a debut year later than 2008? | CREATE TABLE "goalscoring" (
"rank" real,
"all_time_rank" text,
"name" text,
"debut_year" real,
"current_club" text,
"goals" real,
"apps" real
); | SELECT COUNT("goals") FROM "goalscoring" WHERE "name"='diego milito' AND "debut_year">2008; | 2-10724559-2 |
Which value for Apps is associated with the all-time rank of 53? | CREATE TABLE "goalscoring" (
"rank" real,
"all_time_rank" text,
"name" text,
"debut_year" real,
"current_club" text,
"goals" real,
"apps" real
); | SELECT "apps" FROM "goalscoring" WHERE "all_time_rank"='53'; | 2-10724559-2 |
Who is the home team at the Punt Road 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 "home_team_score" FROM "round_8" WHERE "venue"='punt road oval'; | 2-10773616-8 |
Who is the away team at Windy Hill? | 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" FROM "round_8" WHERE "venue"='windy hill'; | 2-10773616-8 |
What is the date of the game that had a crowd larger than 25,000? | 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 "crowd">'25,000'; | 2-10773616-18 |
What was South Melbourne's score as the home 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 "home_team_score" FROM "round_18" WHERE "home_team"='south melbourne'; | 2-10773616-18 |
Who was the away team when the home team scored 13.12 (90)? | 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 "home_team_score"='13.12 (90)'; | 2-10773616-18 |
What was the date of the game where the home team scored 7.7 (49)? | 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.7 (49)'; | 2-10773616-18 |
What was the largest crowd of a game where Collingwood was the 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 MAX("crowd") FROM "round_18" WHERE "away_team"='collingwood'; | 2-10773616-18 |
What's the lowest round with the opponent John Howard that had a method of Decision (unanimous)? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT MIN("round") FROM "mixed_martial_arts_record" WHERE "method"='decision (unanimous)' AND "opponent"='john howard'; | 2-10602557-2 |
What's the time for the match with a record of 2-0? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "time" FROM "mixed_martial_arts_record" WHERE "record"='2-0'; | 2-10602557-2 |
Where was the match with a method of submission (standing guillotine choke)? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "location" FROM "mixed_martial_arts_record" WHERE "method"='submission (standing guillotine choke)'; | 2-10602557-2 |
What language is the moviein that is on UMP movies network through Sky service? | CREATE TABLE "united_kingdom" (
"network" text,
"origin_of_programming" text,
"language" text,
"genre" text,
"service" text
); | SELECT "language" FROM "united_kingdom" WHERE "genre"='movies' AND "service"='sky' AND "network"='ump movies'; | 2-10503963-6 |
What language is the movie in that is on SAB network through Sky service? | CREATE TABLE "united_kingdom" (
"network" text,
"origin_of_programming" text,
"language" text,
"genre" text,
"service" text
); | SELECT "language" FROM "united_kingdom" WHERE "network"='sab' AND "service"='sky'; | 2-10503963-6 |
What was the overall pick for the player who was a guard and had a round less than 9? | CREATE TABLE "nfl_draft" (
"round" real,
"overall" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT AVG("overall") FROM "nfl_draft" WHERE "position"='guard' AND "round"<9; | 2-10650489-1 |
What was the lowest round number that had an overall pick up 92? | CREATE TABLE "nfl_draft" (
"round" real,
"overall" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT MIN("round") FROM "nfl_draft" WHERE "overall"=92; | 2-10650489-1 |
What open source movie has a CC License of by-nc-sa 1.0? | CREATE TABLE "published_films" (
"type" text,
"released" text,
"cc_license" text,
"sources_available" text,
"open_source_movie" text,
"commercial_reuse" text
); | SELECT "open_source_movie" FROM "published_films" WHERE "cc_license"='by-nc-sa 1.0'; | 2-10597959-1 |
Which venue had the result 7-1? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "venue" FROM "international_goals" WHERE "result"='7-1'; | 2-10505151-1 |
What date was the Competition of rothmans cup? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "date" FROM "international_goals" WHERE "competition"='rothmans cup'; | 2-10505151-1 |
What was the result of the Competition of friendly? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "result" FROM "international_goals" WHERE "competition"='friendly'; | 2-10505151-1 |
Which competition was played on 8 June 2005? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "competition" FROM "international_goals" WHERE "date"='8 june 2005'; | 2-10505151-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.