question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
When Aalborg BK is Team 1, what is the 1st leg? | CREATE TABLE "second_qualifying_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "1st_leg" FROM "second_qualifying_round" WHERE "team_1"='aalborg bk'; | 2-11399628-6 |
What is the story timeline that was published first prior to 1984? | CREATE TABLE "references" (
"order" real,
"title" text,
"story_timeline" text,
"published" real,
"in_order_of_publication" text
); | SELECT "story_timeline" FROM "references" WHERE "published"<1984 AND "in_order_of_publication"='first'; | 2-11251694-1 |
How many total publications were the first of the series? | CREATE TABLE "references" (
"order" real,
"title" text,
"story_timeline" text,
"published" real,
"in_order_of_publication" text
); | SELECT COUNT("published") FROM "references" WHERE "in_order_of_publication"='first'; | 2-11251694-1 |
Who did the play-by-play before 1998 on Fox network? | CREATE TABLE "1990s" (
"year" real,
"network" text,
"play_by_play" text,
"color_commentator_s" text,
"ice_level_reporters" text
); | SELECT "play_by_play" FROM "1990s" WHERE "year"<1998 AND "network"='fox'; | 2-11829563-3 |
Who did the play-by-play before 1992 with the Ice level reporter Mike Emrick? | CREATE TABLE "1990s" (
"year" real,
"network" text,
"play_by_play" text,
"color_commentator_s" text,
"ice_level_reporters" text
); | SELECT "play_by_play" FROM "1990s" WHERE "year"<1992 AND "ice_level_reporters"='mike emrick'; | 2-11829563-3 |
Who is the Ice level reporter after 1992 with the color commentator John Davidson and the play-by-play Marv Albert? | CREATE TABLE "1990s" (
"year" real,
"network" text,
"play_by_play" text,
"color_commentator_s" text,
"ice_level_reporters" text
); | SELECT "ice_level_reporters" FROM "1990s" WHERE "color_commentator_s"='john davidson' AND "play_by_play"='marv albert' AND "year">1992; | 2-11829563-3 |
What is the network with the play-by-play Marv Albert before 1994? | CREATE TABLE "1990s" (
"year" real,
"network" text,
"play_by_play" text,
"color_commentator_s" text,
"ice_level_reporters" text
); | SELECT "network" FROM "1990s" WHERE "play_by_play"='marv albert' AND "year"<1994; | 2-11829563-3 |
What was the total crowd of the Carlton game? | 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 COUNT("crowd") FROM "round_13" WHERE "home_team"='carlton'; | 2-10808346-13 |
What was the highest long of Charles Pauley with fewer than 60 yards? | CREATE TABLE "wide_receivers" (
"player" text,
"rec" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
); | SELECT MAX("long") FROM "wide_receivers" WHERE "player"='charles pauley' AND "yards"<60; | 2-11783842-12 |
What is the score of the game on May 26? | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"series" text
); | SELECT "score" FROM "playoffs" WHERE "date"='may 26'; | 2-11960944-11 |
What was the location and attendance on the May 22 game? | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"series" text
); | SELECT "location_attendance" FROM "playoffs" WHERE "date"='may 22'; | 2-11960944-11 |
What is the final placing of the team with 0 ples, more than 16 races, and 16 podiums? | CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team_name" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"final_placing" text
); | SELECT "final_placing" FROM "career_summary" WHERE "poles"=0 AND "races">16 AND "podiums"=16; | 2-11356729-1 |
What is the sum of podiums of the teams with a final placing of 14th, seasons after 2008, and less than 1 races? | CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team_name" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"final_placing" text
); | SELECT SUM("podiums") FROM "career_summary" WHERE "final_placing"='14th' AND "season">2008 AND "races"<1; | 2-11356729-1 |
What is the total number of seasons with more than 0 wins and a 1st final placing? | CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team_name" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"final_placing" text
); | SELECT COUNT("season") FROM "career_summary" WHERE "wins">0 AND "final_placing"='1st'; | 2-11356729-1 |
What is the average wins of a team with more than 0 ples and less than 3 podiums? | CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team_name" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"final_placing" text
); | SELECT AVG("wins") FROM "career_summary" WHERE "poles">0 AND "podiums"<3; | 2-11356729-1 |
I want the ends for transfer fee of free and goals being 0 for roy carroll | CREATE TABLE "squad_information" (
"nat" text,
"name" text,
"since" text,
"goals" real,
"ends" real,
"transfer_fee" text
); | SELECT "ends" FROM "squad_information" WHERE "transfer_fee"='free' AND "goals"=0 AND "name"='roy carroll'; | 2-11221038-1 |
I want the total number of ends for filip šebo and Goals more than 2 | CREATE TABLE "squad_information" (
"nat" text,
"name" text,
"since" text,
"goals" real,
"ends" real,
"transfer_fee" text
); | SELECT COUNT("ends") FROM "squad_information" WHERE "name"='filip šebo' AND "goals">2; | 2-11221038-1 |
What is the score of the home team whose opponent scored 5.10 (40)? | 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 "away_team_score"='5.10 (40)'; | 2-10883333-8 |
What is the name of the away team whose opponent scored 11.8 (74)? | 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 "home_team_score"='11.8 (74)'; | 2-10883333-8 |
How big was the crowd of away team Richmond? | 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 "crowd" FROM "round_8" WHERE "away_team"='richmond'; | 2-10883333-8 |
How much did the away team Geelong score? | CREATE TABLE "round_8" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team_score" FROM "round_8" WHERE "away_team"='geelong'; | 2-10883333-8 |
What is on at 9:00pm on the channel of smallville? | CREATE TABLE "thursday" (
"network" text,
"8_00_pm" text,
"8_30_pm" text,
"9_00_pm" text,
"9_30_pm" text,
"10_00_pm" text
); | SELECT "9_00_pm" FROM "thursday" WHERE "8_00_pm"='smallville'; | 2-11190694-5 |
What is the network that plays ugly betty? | CREATE TABLE "thursday" (
"network" text,
"8_00_pm" text,
"8_30_pm" text,
"9_00_pm" text,
"9_30_pm" text,
"10_00_pm" text
); | SELECT "network" FROM "thursday" WHERE "8_30_pm"='ugly betty'; | 2-11190694-5 |
What is the 8:30pm show on fox? | CREATE TABLE "thursday" (
"network" text,
"8_00_pm" text,
"8_30_pm" text,
"9_00_pm" text,
"9_30_pm" text,
"10_00_pm" text
); | SELECT "8_30_pm" FROM "thursday" WHERE "network"='fox'; | 2-11190694-5 |
What is the 8:30pm channel that has local programming at ten and nine thirty is my thursday night movie? | CREATE TABLE "thursday" (
"network" text,
"8_00_pm" text,
"8_30_pm" text,
"9_00_pm" text,
"9_30_pm" text,
"10_00_pm" text
); | SELECT "8_30_pm" FROM "thursday" WHERE "10_00_pm"='local programming' AND "9_30_pm"='my thursday night movie'; | 2-11190694-5 |
Name the 10:00pm when 8:0pm is my thursday night movie | CREATE TABLE "thursday" (
"network" text,
"8_00_pm" text,
"8_30_pm" text,
"9_00_pm" text,
"9_30_pm" text,
"10_00_pm" text
); | SELECT "10_00_pm" FROM "thursday" WHERE "8_00_pm"='my thursday night movie'; | 2-11190694-5 |
What is the average year for releases on Friday and weeks larger than 2 days? | CREATE TABLE "biggest_single_day_gross" (
"rank" real,
"movie" text,
"year" real,
"studio_s" text,
"single_day_net_gross" real,
"day_in_release" text,
"day_of_week" real
); | SELECT AVG("year") FROM "biggest_single_day_gross" WHERE "day_in_release"='friday' AND "day_of_week">2; | 2-11872185-6 |
What number of win% has a postseason of did not qualify and rank larger than 8? | CREATE TABLE "season_by_season_records" (
"year" real,
"rank" real,
"games" real,
"winpct" real,
"postseason" text
); | SELECT COUNT("winpct") FROM "season_by_season_records" WHERE "postseason"='did not qualify' AND "rank">8; | 2-1147950-2 |
What year ranked larger than 5? | CREATE TABLE "season_by_season_records" (
"year" real,
"rank" real,
"games" real,
"winpct" real,
"postseason" text
); | SELECT "year" FROM "season_by_season_records" WHERE "rank">5; | 2-1147950-2 |
What postseason has a win% between 0.40700000000000003 and 108 with a rank of 1? | CREATE TABLE "season_by_season_records" (
"year" real,
"rank" real,
"games" real,
"winpct" real,
"postseason" text
); | SELECT "postseason" FROM "season_by_season_records" WHERE "winpct">0.40700000000000003 AND "games"<108 AND "rank"=1; | 2-1147950-2 |
How many laps in total does the driver named Eddie Irvine have? | CREATE TABLE "race_results" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT COUNT("laps") FROM "race_results" WHERE "driver"='eddie irvine'; | 2-1123306-2 |
What's the average crowd size when the venue is western oval? | 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 AVG("crowd") FROM "round_3" WHERE "venue"='western oval'; | 2-10885968-3 |
What team has Carlos Sánchez as a goalkeeper and an average below 1.12? | CREATE TABLE "for_top_goalkeepers" (
"goalkeeper" text,
"goals" real,
"matches" real,
"average" real,
"team" text
); | SELECT "team" FROM "for_top_goalkeepers" WHERE "average"<1.12 AND "goalkeeper"='carlos sánchez'; | 2-11828307-4 |
What is the average of the team who has Jacobo as a goalkeeper and has played more than 32 matches? | CREATE TABLE "for_top_goalkeepers" (
"goalkeeper" text,
"goals" real,
"matches" real,
"average" real,
"team" text
); | SELECT AVG("average") FROM "for_top_goalkeepers" WHERE "goalkeeper"='jacobo' AND "matches">32; | 2-11828307-4 |
What home team played Fitzroy? | CREATE TABLE "round_17" (
"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_17" WHERE "away_team"='fitzroy'; | 2-10790397-17 |
Which network has a play-by-play announcer of John Wells? | CREATE TABLE "1980s" (
"year" real,
"network" text,
"play_by_play" text,
"colour_commentator_s" text,
"studio_host" text
); | SELECT "network" FROM "1980s" WHERE "play_by_play"='john wells'; | 2-11829563-9 |
On CBC, who was the colour commentator in 1987? | CREATE TABLE "1980s" (
"year" real,
"network" text,
"play_by_play" text,
"colour_commentator_s" text,
"studio_host" text
); | SELECT "colour_commentator_s" FROM "1980s" WHERE "network"='cbc' AND "year"=1987; | 2-11829563-9 |
Who was the colour commentator when the play-by-play announcer was Bob Cole? | CREATE TABLE "1980s" (
"year" real,
"network" text,
"play_by_play" text,
"colour_commentator_s" text,
"studio_host" text
); | SELECT "colour_commentator_s" FROM "1980s" WHERE "play_by_play"='bob cole'; | 2-11829563-9 |
Who is the studio host that has a play-by-play announcer of Bob Cole and a colour commentator of Harry Neale? | CREATE TABLE "1980s" (
"year" real,
"network" text,
"play_by_play" text,
"colour_commentator_s" text,
"studio_host" text
); | SELECT "studio_host" FROM "1980s" WHERE "play_by_play"='bob cole' AND "colour_commentator_s"='harry neale'; | 2-11829563-9 |
In 1981, with a studio host of Dave Hodge, who was the colour commentator? | CREATE TABLE "1980s" (
"year" real,
"network" text,
"play_by_play" text,
"colour_commentator_s" text,
"studio_host" text
); | SELECT "colour_commentator_s" FROM "1980s" WHERE "studio_host"='dave hodge' AND "year"=1981; | 2-11829563-9 |
What Song is by the Artist 'mor ve ötesi'? | CREATE TABLE "final" (
"draw" real,
"language" text,
"artist" text,
"song" text,
"place" text,
"points" real
); | SELECT "song" FROM "final" WHERE "artist"='mor ve ötesi'; | 2-11173692-4 |
How much did the home team score that played the away team who scored 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-10789881-18 |
How big was the crowd when the home team scored 5.14 (44)? | 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 COUNT("crowd") FROM "round_18" WHERE "home_team_score"='5.14 (44)'; | 2-10789881-18 |
What date did the home team Richmond play? | 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"='richmond'; | 2-10789881-18 |
What size was the biggest crowd that watched the home team Hawthorn play? | 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 "home_team"='hawthorn'; | 2-10789881-18 |
What is the name of the away team that scored 9.12 (66)? | 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 "away_team_score"='9.12 (66)'; | 2-10789881-18 |
What is the high cap total for a lock with the vicenza rangers? | CREATE TABLE "other_recent_call_ups" (
"player" text,
"position" text,
"date_of_birth_age" text,
"caps" real,
"club_province" text
); | SELECT MAX("caps") FROM "other_recent_call_ups" WHERE "position"='lock' AND "club_province"='vicenza rangers'; | 2-1145226-3 |
When was nese malifa born? | CREATE TABLE "other_recent_call_ups" (
"player" text,
"position" text,
"date_of_birth_age" text,
"caps" real,
"club_province" text
); | SELECT "date_of_birth_age" FROM "other_recent_call_ups" WHERE "player"='nese malifa'; | 2-1145226-3 |
What position for jj gagiano? | CREATE TABLE "other_recent_call_ups" (
"player" text,
"position" text,
"date_of_birth_age" text,
"caps" real,
"club_province" text
); | SELECT "position" FROM "other_recent_call_ups" WHERE "player"='jj gagiano'; | 2-1145226-3 |
What club/province has 41 caps? | CREATE TABLE "other_recent_call_ups" (
"player" text,
"position" text,
"date_of_birth_age" text,
"caps" real,
"club_province" text
); | SELECT "club_province" FROM "other_recent_call_ups" WHERE "caps"=41; | 2-1145226-3 |
Name the date for the australian grand prix. | CREATE TABLE "grands_prix" (
"round" real,
"grand_prix" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
); | SELECT "date" FROM "grands_prix" WHERE "grand_prix"='australian grand prix'; | 2-1137703-2 |
Who did the fastest lap when pole position was damon hill and the location was magny-cours? | CREATE TABLE "grands_prix" (
"round" real,
"grand_prix" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
); | SELECT "fastest_lap" FROM "grands_prix" WHERE "pole_position"='damon hill' AND "location"='magny-cours'; | 2-1137703-2 |
What was the date for the canadian grand prix? | CREATE TABLE "grands_prix" (
"round" real,
"grand_prix" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
); | SELECT "date" FROM "grands_prix" WHERE "grand_prix"='canadian grand prix'; | 2-1137703-2 |
What is the low rebound total for players from Oklahoma before 1975? | CREATE TABLE "a" (
"player" text,
"pos" text,
"from" real,
"school_country" text,
"rebs" real,
"asts" real
); | SELECT MIN("rebs") FROM "a" WHERE "school_country"='oklahoma' AND "from"<1975; | 2-11482079-2 |
What is the earliest year a SG has over 650 assists? | CREATE TABLE "a" (
"player" text,
"pos" text,
"from" real,
"school_country" text,
"rebs" real,
"asts" real
); | SELECT MIN("from") FROM "a" WHERE "pos"='sg' AND "asts">650; | 2-11482079-2 |
What is the number of the Foundation with Japanese orthography of 国立看護大学校? | CREATE TABLE "administered_by_independent_administrati" (
"english_name" text,
"japanese_orthography" text,
"pronouciation" text,
"abbreviation" text,
"provider_iai" text,
"foundation" real
); | SELECT SUM("foundation") FROM "administered_by_independent_administrati" WHERE "japanese_orthography"='国立看護大学校'; | 2-11390711-4 |
what is the least yards when the average is 7 and the long is less than 7? | CREATE TABLE "wide_receivers" (
"player" text,
"rec" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
); | SELECT MIN("yards") FROM "wide_receivers" WHERE "avg"=7 AND "long"<7; | 2-11713403-3 |
what is the average td's for the player jacques rumph with yards more than 214? | CREATE TABLE "wide_receivers" (
"player" text,
"rec" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
); | SELECT AVG("td_s") FROM "wide_receivers" WHERE "player"='jacques rumph' AND "yards">214; | 2-11713403-3 |
Which women's doubles has Howard Bach Tony Gunawan as Men's doubles and Taufik Hidayat as Men's Singles? | CREATE TABLE "21st_century" (
"year" real,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "women_s_doubles" FROM "21st_century" WHERE "men_s_doubles"='howard bach tony gunawan' AND "men_s_singles"='taufik hidayat'; | 2-10999302-1 |
Which Men's doubles has Miyuki Maeda Satoko Suetsuna as Women's double? | CREATE TABLE "21st_century" (
"year" real,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
); | SELECT "men_s_doubles" FROM "21st_century" WHERE "women_s_doubles"='miyuki maeda satoko suetsuna'; | 2-10999302-1 |
What is the average laps for ralph firman with a grid of over 19? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT AVG("laps") FROM "race" WHERE "driver"='ralph firman' AND "grid">19; | 2-1123529-2 |
What grid features 6 laps? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "grid" FROM "race" WHERE "laps"=6; | 2-1123529-2 |
What's the sum of asts for boston college with a rebs over 63? | CREATE TABLE "e" (
"player" text,
"pos" text,
"from" real,
"school_country" text,
"rebs" real,
"asts" real
); | SELECT SUM("asts") FROM "e" WHERE "school_country"='boston college' AND "rebs">63; | 2-11482079-6 |
What's the average rebs before 1972? | CREATE TABLE "e" (
"player" text,
"pos" text,
"from" real,
"school_country" text,
"rebs" real,
"asts" real
); | SELECT AVG("rebs") FROM "e" WHERE "from"<1972; | 2-11482079-6 |
What's the highest rebs for a pos of pg before 2004? | CREATE TABLE "e" (
"player" text,
"pos" text,
"from" real,
"school_country" text,
"rebs" real,
"asts" real
); | SELECT MAX("rebs") FROM "e" WHERE "pos"='pg' AND "from"<2004; | 2-11482079-6 |
What's the pos for an asts less than 117? | CREATE TABLE "e" (
"player" text,
"pos" text,
"from" real,
"school_country" text,
"rebs" real,
"asts" real
); | SELECT "pos" FROM "e" WHERE "asts"<117; | 2-11482079-6 |
What's the total of rebs for UCLA after 1973? | CREATE TABLE "e" (
"player" text,
"pos" text,
"from" real,
"school_country" text,
"rebs" real,
"asts" real
); | SELECT COUNT("rebs") FROM "e" WHERE "school_country"='ucla' AND "from">1973; | 2-11482079-6 |
How many release dates has Canada had? | CREATE TABLE "release_history" (
"release_format" text,
"country" text,
"label" text,
"cat_no" text,
"release_date" real
); | SELECT COUNT("release_date") FROM "release_history" WHERE "country"='canada'; | 2-11391707-1 |
What constructor is grid 1 with a time/retired of engine? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "constructor" FROM "race" WHERE "time_retired"='engine' AND "grid"=1; | 2-1122942-2 |
Who constructed grid 14? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "constructor" FROM "race" WHERE "grid"=14; | 2-1122942-2 |
I want to know the 2001 that has a 2004 of a and 2003 of a with 2012 of 3r | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
); | SELECT "2001" FROM "singles_performance_timeline" WHERE "2004"='a' AND "2003"='a' AND "2012"='3r'; | 2-11307139-8 |
Tell me the 2008 for when 2001 of wta premier 5 tournaments | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
); | SELECT "2008" FROM "singles_performance_timeline" WHERE "2001"='wta premier 5 tournaments'; | 2-11307139-8 |
I want to know the 2013 when 2001 was wta premier 5 tournaments | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
); | SELECT "2013" FROM "singles_performance_timeline" WHERE "2001"='wta premier 5 tournaments'; | 2-11307139-8 |
Tell me the 2007 for 2010 olympic games | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
); | SELECT "2007" FROM "singles_performance_timeline" WHERE "2010"='olympic games'; | 2-11307139-8 |
Tell me the 2004 for 2012 of 21 | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
); | SELECT "2004" FROM "singles_performance_timeline" WHERE "2012"='21'; | 2-11307139-8 |
On which date did the away team score 3.4 (22)? | CREATE TABLE "round_1" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "date" FROM "round_1" WHERE "away_team_score"='3.4 (22)'; | 2-1204658-1 |
When Richmond was the Home team, who was the away team? | CREATE TABLE "round_1" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "away_team" FROM "round_1" WHERE "home_team"='richmond'; | 2-1204658-1 |
Which home team plays in the Corio Oval venue? | CREATE TABLE "round_1" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "home_team" FROM "round_1" WHERE "venue"='corio oval'; | 2-1204658-1 |
When the game was played at the EMCG venue, who was the away team? | CREATE TABLE "round_1" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "away_team" FROM "round_1" WHERE "venue"='emcg'; | 2-1204658-1 |
who is the constructor when the driver is jenson button? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "constructor" FROM "race" WHERE "driver"='jenson button'; | 2-1123402-2 |
what is the grid when the time/retired is +27.112? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "grid" FROM "race" WHERE "time_retired"='+27.112'; | 2-1123402-2 |
I want the fewest Laps for Huub Rothengatter and grid less than 24 | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT MIN("laps") FROM "classification" WHERE "driver"='huub rothengatter' AND "grid"<24; | 2-1122971-1 |
Tell me the time/retired with Laps of 47 and driver of rené arnoux | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "time_retired" FROM "classification" WHERE "laps"=47 AND "driver"='rené arnoux'; | 2-1122971-1 |
Which Oricon has a Romaji title of nakitakunalu? | CREATE TABLE "albums" (
"romaji_title" text,
"japanese_title" text,
"release_date" text,
"reference" text,
"oricon" real
); | SELECT MAX("oricon") FROM "albums" WHERE "romaji_title"='nakitakunalu'; | 2-10979230-4 |
Which Reference has a Release date of 1996/10/10? | CREATE TABLE "albums" (
"romaji_title" text,
"japanese_title" text,
"release_date" text,
"reference" text,
"oricon" real
); | SELECT "reference" FROM "albums" WHERE "release_date"='1996/10/10'; | 2-10979230-4 |
What is the occupation of the candidate that resides in Windsor Junction? | CREATE TABLE "11_seats" (
"riding" text,
"candidate" text,
"gender" text,
"residence" text,
"occupation" text,
"votes" real,
"rank" text
); | SELECT "occupation" FROM "11_seats" WHERE "residence"='windsor junction'; | 2-10953705-3 |
How many votes did 3rd ranking candidate Mary Louise Lorefice receive? | CREATE TABLE "11_seats" (
"riding" text,
"candidate" text,
"gender" text,
"residence" text,
"occupation" text,
"votes" real,
"rank" text
); | SELECT COUNT("votes") FROM "11_seats" WHERE "rank"='3rd' AND "candidate"='mary louise lorefice'; | 2-10953705-3 |
What occupation does Mary Louise Lorefice have? | CREATE TABLE "11_seats" (
"riding" text,
"candidate" text,
"gender" text,
"residence" text,
"occupation" text,
"votes" real,
"rank" text
); | SELECT "occupation" FROM "11_seats" WHERE "candidate"='mary louise lorefice'; | 2-10953705-3 |
Which team has an away score of 7.9 (51)? | CREATE TABLE "round_7" (
"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_7" WHERE "home_team_score"='7.9 (51)'; | 2-10790099-7 |
What is the date of the game at Geelong? | CREATE TABLE "round_7" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_7" WHERE "away_team"='geelong'; | 2-10790099-7 |
Where was the game with a score of 13.13 (91) played? | CREATE TABLE "round_7" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_7" WHERE "away_team_score"='13.13 (91)'; | 2-10790099-7 |
When was the game at Essendon? | CREATE TABLE "round_7" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_7" WHERE "away_team"='essendon'; | 2-10790099-7 |
Where did the away team score 14.12 (96)? | CREATE TABLE "round_7" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_7" WHERE "away_team_score"='14.12 (96)'; | 2-10790099-7 |
What is the series name where cram competition is the team champion? | CREATE TABLE "champions" (
"season" real,
"series_name" text,
"champion" text,
"team_champion" text,
"secondary_class_champion" text
); | SELECT "series_name" FROM "champions" WHERE "team_champion"='cram competition'; | 2-11292165-3 |
What is the highest season with International Formula Master as the series name and Marcello Puglisi (formula master italia) as the secondary class champion? | CREATE TABLE "champions" (
"season" real,
"series_name" text,
"champion" text,
"team_champion" text,
"secondary_class_champion" text
); | SELECT MAX("season") FROM "champions" WHERE "series_name"='international formula master' AND "secondary_class_champion"='marcello puglisi (formula master italia)'; | 2-11292165-3 |
Who is the secondary class champion in the season after 2008? | CREATE TABLE "champions" (
"season" real,
"series_name" text,
"champion" text,
"team_champion" text,
"secondary_class_champion" text
); | SELECT "secondary_class_champion" FROM "champions" WHERE "season">2008; | 2-11292165-3 |
What are the seasons where Marcello Puglisi (formula master italia) was the secondary class champion? | CREATE TABLE "champions" (
"season" real,
"series_name" text,
"champion" text,
"team_champion" text,
"secondary_class_champion" text
); | SELECT SUM("season") FROM "champions" WHERE "secondary_class_champion"='marcello puglisi (formula master italia)'; | 2-11292165-3 |
Who was the champion of JD Motorsport after 2005? | CREATE TABLE "champions" (
"season" real,
"series_name" text,
"champion" text,
"team_champion" text,
"secondary_class_champion" text
); | SELECT "champion" FROM "champions" WHERE "season">2005 AND "team_champion"='jd motorsport'; | 2-11292165-3 |
Who is the constructor with the grid of 8? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "constructor" FROM "classification" WHERE "grid"=8; | 2-1122386-1 |
what is the time/retired when the grid is less than 3 and 45 laps? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "time_retired" FROM "classification" WHERE "grid"<3 AND "laps"=45; | 2-1122386-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.