question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Who was the Home team in Tie #23? | CREATE TABLE "ties" (
"tie_no" real,
"home_team" text,
"score" text,
"away_team" text,
"attendance" real
); | SELECT "home_team" FROM "ties" WHERE "tie_no"=23; | 2-18054397-8 |
What was the final score in Tie #28? | CREATE TABLE "ties" (
"tie_no" real,
"home_team" text,
"score" text,
"away_team" text,
"attendance" real
); | SELECT "score" FROM "ties" WHERE "tie_no"=28; | 2-18054397-8 |
What score has a to par greater than 15, money ($) greater than 116, with billy burke as the player? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"money" real
); | SELECT "score" FROM "final_leaderboard" WHERE "to_par">15 AND "money">116 AND "player"='billy burke'; | 2-18007167-2 |
What player has t3 as the place, with england united states as the country? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"money" real
); | SELECT "player" FROM "final_leaderboard" WHERE "place"='t3' AND "country"='england united states'; | 2-18007167-2 |
What is the lowest money ($) that has t8 as the place, with a to par greater than 19? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"money" real
); | SELECT MIN("money") FROM "final_leaderboard" WHERE "place"='t8' AND "to_par">19; | 2-18007167-2 |
What score has money ($) greater than 400, with gene sarazen as the player? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"money" real
); | SELECT "score" FROM "final_leaderboard" WHERE "money">400 AND "player"='gene sarazen'; | 2-18007167-2 |
Which Country has a To par smaller than 7, and a Total of 148? | CREATE TABLE "missed_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" real
); | SELECT "country" FROM "missed_the_cut" WHERE "to_par"<7 AND "total"=148; | 2-18017216-3 |
Which player is from south africa? | CREATE TABLE "missed_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" real
); | SELECT "player" FROM "missed_the_cut" WHERE "country"='south africa'; | 2-18017216-3 |
Which Year(s) won has a Total larger than 148, and a To par smaller than 17, and a Country of new zealand? | CREATE TABLE "missed_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" real
); | SELECT "year_s_won" FROM "missed_the_cut" WHERE "total">148 AND "to_par"<17 AND "country"='new zealand'; | 2-18017216-3 |
In what Event did Dorcus Inzikuru compete? | CREATE TABLE "list_of_medallists" (
"medal" text,
"name" text,
"games" text,
"sport" text,
"event" text
); | SELECT "event" FROM "list_of_medallists" WHERE "name"='dorcus inzikuru'; | 2-17822510-1 |
In what Games did Patrick Etolu compete? | CREATE TABLE "list_of_medallists" (
"medal" text,
"name" text,
"games" text,
"sport" text,
"event" text
); | SELECT "games" FROM "list_of_medallists" WHERE "name"='patrick etolu'; | 2-17822510-1 |
What Medal did James Odwori receive for Boxing in the 1970 Edinburgh Games? | CREATE TABLE "list_of_medallists" (
"medal" text,
"name" text,
"games" text,
"sport" text,
"event" text
); | SELECT "medal" FROM "list_of_medallists" WHERE "sport"='boxing' AND "games"='1970 edinburgh' AND "name"='james odwori'; | 2-17822510-1 |
What is the Medal for the Player in the Light Heavyweight event? | CREATE TABLE "list_of_medallists" (
"medal" text,
"name" text,
"games" text,
"sport" text,
"event" text
); | SELECT "medal" FROM "list_of_medallists" WHERE "event"='light heavyweight'; | 2-17822510-1 |
At what Games did the competitor win a Silver medal in the light heavyweight event? | CREATE TABLE "list_of_medallists" (
"medal" text,
"name" text,
"games" text,
"sport" text,
"event" text
); | SELECT "games" FROM "list_of_medallists" WHERE "medal"='silver' AND "event"='light heavyweight'; | 2-17822510-1 |
What is the Tie no for Away Team Ipswich Town? | CREATE TABLE "sixth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "tie_no" FROM "sixth_round_proper" WHERE "away_team"='ipswich town'; | 2-17751859-6 |
What is the Date of the Middlesbrough Home game? | CREATE TABLE "sixth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "date" FROM "sixth_round_proper" WHERE "home_team"='middlesbrough'; | 2-17751859-6 |
What is the Home team in the Game with a Score of 1–0? | CREATE TABLE "sixth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "home_team" FROM "sixth_round_proper" WHERE "score"='1–0'; | 2-17751859-6 |
What is the Date of the Everton Away game? | CREATE TABLE "sixth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "date" FROM "sixth_round_proper" WHERE "away_team"='everton'; | 2-17751859-6 |
When the finish was t31 what was the To par? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "to_par" FROM "made_the_cut" WHERE "finish"='t31'; | 2-18103106-2 |
Who had a finish of t15? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "player" FROM "made_the_cut" WHERE "finish"='t15'; | 2-18103106-2 |
When the total was 290 what was the To par? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "to_par" FROM "made_the_cut" WHERE "total"=290; | 2-18103106-2 |
What is the Total for Seve Ballesteros? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT SUM("total") FROM "made_the_cut" WHERE "player"='seve ballesteros'; | 2-18103106-2 |
What was the result of Declan Donnellan's nomination? | CREATE TABLE "1993_london_revival" (
"year" real,
"award_ceremony" text,
"category" text,
"nominee" text,
"result" text
); | SELECT "result" FROM "1993_london_revival" WHERE "nominee"='declan donnellan'; | 2-1794747-5 |
What was the result of the Best Actor in a Musical category? | CREATE TABLE "1993_london_revival" (
"year" real,
"award_ceremony" text,
"category" text,
"nominee" text,
"result" text
); | SELECT "result" FROM "1993_london_revival" WHERE "category"='best actor in a musical'; | 2-1794747-5 |
WHAT IS THE PLAYER WITH 287? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "player" FROM "made_the_cut" WHERE "total"=287; | 2-18060467-2 |
WHAT COUNTRY HAS A PLAYER NAMED JACK NICKLAUS? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "country" FROM "made_the_cut" WHERE "player"='jack nicklaus'; | 2-18060467-2 |
What is Player, when Country is "United States", and when Place is "6"? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "player" FROM "final_leaderboard" WHERE "country"='united states' AND "place"='6'; | 2-18121795-3 |
What is the average Money ( $ ), when Score is "69-69-76-69=283"? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT AVG("money") FROM "final_leaderboard" WHERE "score"='69-69-76-69=283'; | 2-18121795-3 |
What is Country, when To par is "+1", and when Score is "72-71-70-72=285"? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "country" FROM "final_leaderboard" WHERE "to_par"='+1' AND "score"='72-71-70-72=285'; | 2-18121795-3 |
What is Place, when Score is "70-70-68-70=278"? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "place" FROM "final_leaderboard" WHERE "score"='70-70-68-70=278'; | 2-18121795-3 |
For which network was Chris Walby the color commentator after 1990? | CREATE TABLE "1990s" (
"year" real,
"network" text,
"play_by_play" text,
"colour_commentator_s" text,
"pregame_host" text
); | SELECT "network" FROM "1990s" WHERE "year">1990 AND "colour_commentator_s"='chris walby'; | 2-17628022-3 |
Who was the pregame host before 1992 when there was a play by play of Bob Irving? | CREATE TABLE "1990s" (
"year" real,
"network" text,
"play_by_play" text,
"colour_commentator_s" text,
"pregame_host" text
); | SELECT "pregame_host" FROM "1990s" WHERE "year"<1992 AND "play_by_play"='bob irving'; | 2-17628022-3 |
What is the total of the player who won before 1991 and has a to par less than 14? | CREATE TABLE "missed_the_cut" (
"player" text,
"country" text,
"year_won" real,
"total" real,
"to_par" real
); | SELECT COUNT("total") FROM "missed_the_cut" WHERE "year_won"<1991 AND "to_par"<14; | 2-17991356-3 |
What is the total to par of player jeff sluman, who won before 1993 and has a total greater than 154? | CREATE TABLE "missed_the_cut" (
"player" text,
"country" text,
"year_won" real,
"total" real,
"to_par" real
); | SELECT COUNT("to_par") FROM "missed_the_cut" WHERE "year_won"<1993 AND "player"='jeff sluman' AND "total">154; | 2-17991356-3 |
What is the sum of the total of player rich beem, who has a to par greater than 17? | CREATE TABLE "missed_the_cut" (
"player" text,
"country" text,
"year_won" real,
"total" real,
"to_par" real
); | SELECT SUM("total") FROM "missed_the_cut" WHERE "player"='rich beem' AND "to_par">17; | 2-17991356-3 |
Who was the away team in the semifinals? | CREATE TABLE "european_cup_history" (
"season" text,
"competition" text,
"round" text,
"club" text,
"home" text,
"away" text,
"aggregate" text
); | SELECT "away" FROM "european_cup_history" WHERE "round"='semifinals'; | 2-1769413-4 |
What is the home record for the Auxerre club? | CREATE TABLE "european_cup_history" (
"season" text,
"competition" text,
"round" text,
"club" text,
"home" text,
"away" text,
"aggregate" text
); | SELECT "home" FROM "european_cup_history" WHERE "club"='auxerre'; | 2-1769413-4 |
What is the home record for the Maccabi Tel-Aviv club? | CREATE TABLE "european_cup_history" (
"season" text,
"competition" text,
"round" text,
"club" text,
"home" text,
"away" text,
"aggregate" text
); | SELECT "home" FROM "european_cup_history" WHERE "club"='maccabi tel-aviv'; | 2-1769413-4 |
What is the total number of Against, when Date is "16/03/1996"? | CREATE TABLE "1996" (
"opposing_teams" text,
"against" real,
"date" text,
"venue" text,
"status" text
); | SELECT COUNT("against") FROM "1996" WHERE "date"='16/03/1996'; | 2-18178534-7 |
What is Venue, when Against is greater than 9, and when Date is "03/02/1996"? | CREATE TABLE "1996" (
"opposing_teams" text,
"against" real,
"date" text,
"venue" text,
"status" text
); | SELECT "venue" FROM "1996" WHERE "against">9 AND "date"='03/02/1996'; | 2-18178534-7 |
What is Status, when Opposing Teams is "Scotland"? | CREATE TABLE "1996" (
"opposing_teams" text,
"against" real,
"date" text,
"venue" text,
"status" text
); | SELECT "status" FROM "1996" WHERE "opposing_teams"='scotland'; | 2-18178534-7 |
What is Venue, when Date is "14/12/1996"? | CREATE TABLE "1996" (
"opposing_teams" text,
"against" real,
"date" text,
"venue" text,
"status" text
); | SELECT "venue" FROM "1996" WHERE "date"='14/12/1996'; | 2-18178534-7 |
What is the average Against, when Status is "Five Nations", and when Date is "16/03/1996"? | CREATE TABLE "1996" (
"opposing_teams" text,
"against" real,
"date" text,
"venue" text,
"status" text
); | SELECT AVG("against") FROM "1996" WHERE "status"='five nations' AND "date"='16/03/1996'; | 2-18178534-7 |
In what year did the team of aston martin racing have a position of 6th? | CREATE TABLE "24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"laps" real,
"pos" text,
"class_pos" text
); | SELECT COUNT("year") FROM "24_hours_of_le_mans_results" WHERE "team"='aston martin racing' AND "pos"='6th'; | 2-18053999-1 |
Which year did the team of pescarolo sport have a Class Position of 7th? | CREATE TABLE "24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"laps" real,
"pos" text,
"class_pos" text
); | SELECT MAX("year") FROM "24_hours_of_le_mans_results" WHERE "team"='pescarolo sport' AND "class_pos"='7th'; | 2-18053999-1 |
Who were the co-drivers of the vehicle that had both a Class position and position of 7th? | CREATE TABLE "24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"laps" real,
"pos" text,
"class_pos" text
); | SELECT "co_drivers" FROM "24_hours_of_le_mans_results" WHERE "class_pos"='7th' AND "pos"='7th'; | 2-18053999-1 |
Which Rank is Highest for Yoshiazuma? | CREATE TABLE "slowest_progress_to_top_division" (
"name" text,
"tournaments" real,
"pro_debut" text,
"top_division_debut" text,
"highest_rank" text
); | SELECT "highest_rank" FROM "slowest_progress_to_top_division" WHERE "name"='yoshiazuma'; | 2-17634218-21 |
Which Top Division debut for Kitazakura has Tournaments less than 88? | CREATE TABLE "slowest_progress_to_top_division" (
"name" text,
"tournaments" real,
"pro_debut" text,
"top_division_debut" text,
"highest_rank" text
); | SELECT "top_division_debut" FROM "slowest_progress_to_top_division" WHERE "tournaments"<88 AND "name"='kitazakura'; | 2-17634218-21 |
What is the lowest Tournaments with Highest Rank of Maegashira 13? | CREATE TABLE "slowest_progress_to_top_division" (
"name" text,
"tournaments" real,
"pro_debut" text,
"top_division_debut" text,
"highest_rank" text
); | SELECT MIN("tournaments") FROM "slowest_progress_to_top_division" WHERE "highest_rank"='maegashira 13'; | 2-17634218-21 |
What was the city where Hallescher FC won in 2008? | CREATE TABLE "finals" (
"year" real,
"winner" text,
"finalist" text,
"result" text,
"city" text,
"stadium" text
); | SELECT "city" FROM "finals" WHERE "winner"='hallescher fc' AND "year"=2008; | 2-17702406-1 |
Who was the winner of fc grün-weiß wolfen? | CREATE TABLE "finals" (
"year" real,
"winner" text,
"finalist" text,
"result" text,
"city" text,
"stadium" text
); | SELECT "winner" FROM "finals" WHERE "finalist"='fc grün-weiß wolfen'; | 2-17702406-1 |
What was the stadium past 2012? | CREATE TABLE "finals" (
"year" real,
"winner" text,
"finalist" text,
"result" text,
"city" text,
"stadium" text
); | SELECT "stadium" FROM "finals" WHERE "year">2012; | 2-17702406-1 |
What is the average Year, when Country is "U.S.", and when Location is "Edmond , OK"? | CREATE TABLE "workplace_killings" (
"perpetrator" text,
"date" text,
"year" real,
"location" text,
"country" text,
"killed" real,
"injured" text
); | SELECT AVG("year") FROM "workplace_killings" WHERE "country"='u.s.' AND "location"='edmond , ok'; | 2-17794738-7 |
What is the lowest Killed, when Perpetrator is "Sherrill, Patrick Henry , 44"? | CREATE TABLE "workplace_killings" (
"perpetrator" text,
"date" text,
"year" real,
"location" text,
"country" text,
"killed" real,
"injured" text
); | SELECT MIN("killed") FROM "workplace_killings" WHERE "perpetrator"='sherrill, patrick henry , 44'; | 2-17794738-7 |
What was the highest goals with fewer than 16 losses, fewer than 11 wins, and a goal difference greater than -9? | CREATE TABLE "group_i" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
); | SELECT MAX("goals_for") FROM "group_i" WHERE "losses"<16 AND "wins"<11 AND "goal_difference">-9; | 2-17724929-2 |
What is the highest wins entry with fewer than 51 goals, more than 39 points, and a goal difference smaller than 13? | CREATE TABLE "group_i" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
); | SELECT MAX("wins") FROM "group_i" WHERE "goals_against"<51 AND "points">39 AND "goal_difference"<13; | 2-17724929-2 |
What is the lowest wins entry that has a goal difference less than 33, position higher than 13, and 42 goals? | CREATE TABLE "group_i" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
); | SELECT MIN("wins") FROM "group_i" WHERE "goal_difference"<33 AND "position"<13 AND "goals_for"=42; | 2-17724929-2 |
What is the total number of goals for entries that have more than 7 draws, 8 wins, and more than 5 losses? | CREATE TABLE "group_i" (
"position" real,
"club" text,
"played" real,
"points" real,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
); | SELECT COUNT("goals_for") FROM "group_i" WHERE "draws">7 AND "wins">8 AND "losses">5; | 2-17724929-2 |
What city is the Stadium estádio dr. magalhães pessoa in? | CREATE TABLE "team_summaries" (
"club" text,
"head_coach" text,
"city" text,
"stadium" text,
"2002_2003_season" text
); | SELECT "city" FROM "team_summaries" WHERE "stadium"='estádio dr. magalhães pessoa'; | 2-17933600-1 |
What city is the Stadium estádio cidade de barcelos in? | CREATE TABLE "team_summaries" (
"club" text,
"head_coach" text,
"city" text,
"stadium" text,
"2002_2003_season" text
); | SELECT "city" FROM "team_summaries" WHERE "stadium"='estádio cidade de barcelos'; | 2-17933600-1 |
Head Coach casemiro mior is at which Club? | CREATE TABLE "team_summaries" (
"club" text,
"head_coach" text,
"city" text,
"stadium" text,
"2002_2003_season" text
); | SELECT "club" FROM "team_summaries" WHERE "head_coach"='casemiro mior'; | 2-17933600-1 |
What City is the Club braga in? | CREATE TABLE "team_summaries" (
"club" text,
"head_coach" text,
"city" text,
"stadium" text,
"2002_2003_season" text
); | SELECT "city" FROM "team_summaries" WHERE "club"='braga'; | 2-17933600-1 |
What place is listed in the 2002-2003 season for the City of Aveiro? | CREATE TABLE "team_summaries" (
"club" text,
"head_coach" text,
"city" text,
"stadium" text,
"2002_2003_season" text
); | SELECT "2002_2003_season" FROM "team_summaries" WHERE "city"='aveiro'; | 2-17933600-1 |
What is the 1st round with fc nantes (d1) as team 1? | CREATE TABLE "round_of_16" (
"team_1" text,
"score" text,
"team_2" text,
"1st_round" text,
"2nd_round" text
); | SELECT "1st_round" FROM "round_of_16" WHERE "team_1"='fc nantes (d1)'; | 2-17786122-1 |
What is the team 1 with nîmes olympique (d2) as team 2? | CREATE TABLE "round_of_16" (
"team_1" text,
"score" text,
"team_2" text,
"1st_round" text,
"2nd_round" text
); | SELECT "team_1" FROM "round_of_16" WHERE "team_2"='nîmes olympique (d2)'; | 2-17786122-1 |
In what language is the Lyrics of the release on August 10, 2005 with Catalog number of TOCP-66427? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog_number" text,
"lyrics" text
); | SELECT "lyrics" FROM "release_history" WHERE "date"='august 10, 2005' AND "catalog_number"='tocp-66427'; | 2-1768696-2 |
What is the Label of the CD released in Germany on June 6, 2005? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog_number" text,
"lyrics" text
); | SELECT "label" FROM "release_history" WHERE "date"='june 6, 2005' AND "region"='germany' AND "format"='cd'; | 2-1768696-2 |
What is the Region of the EMI 4 x vinyl release bearing Catalog number 560 6111? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog_number" text,
"lyrics" text
); | SELECT "region" FROM "release_history" WHERE "label"='emi' AND "format"='4 x vinyl' AND "catalog_number"='560 6111'; | 2-1768696-2 |
What language is the Lyrics of the release with Catalog number 560 6111? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog_number" text,
"lyrics" text
); | SELECT "lyrics" FROM "release_history" WHERE "catalog_number"='560 6111'; | 2-1768696-2 |
What is the Region of the release with Catalog number 3 12046 2? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog_number" text,
"lyrics" text
); | SELECT "region" FROM "release_history" WHERE "catalog_number"='3 12046 2'; | 2-1768696-2 |
What is the Label of the September 19, 2008 release in Germany? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"format_s" text,
"edition_s" text,
"label" text
); | SELECT "label" FROM "release_history" WHERE "date"='september 19, 2008' AND "region"='germany'; | 2-17901388-5 |
What is the Edition of the release in Germany? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"format_s" text,
"edition_s" text,
"label" text
); | SELECT "edition_s" FROM "release_history" WHERE "region"='germany'; | 2-17901388-5 |
What is the Format(s) of the release on September 23, 2008? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"format_s" text,
"edition_s" text,
"label" text
); | SELECT "format_s" FROM "release_history" WHERE "date"='september 23, 2008'; | 2-17901388-5 |
What is the Label of the release on April 24, 2009 in Germany? | CREATE TABLE "release_history" (
"region" text,
"date" text,
"format_s" text,
"edition_s" text,
"label" text
); | SELECT "label" FROM "release_history" WHERE "region"='germany' AND "date"='april 24, 2009'; | 2-17901388-5 |
What is the L2 Cache for Model Number nano u3400 with an Idle Power of 100mw? | CREATE TABLE "ultra_low_voltage_processors" (
"model_number" text,
"clock_speed" text,
"l1_cache" text,
"l2_cache" text,
"fsb_speed" text,
"clock_multiplier" text,
"idle_power" text,
"socket" text,
"cores" real,
"release_date" text
); | SELECT "l2_cache" FROM "ultra_low_voltage_processors" WHERE "idle_power"='100mw' AND "model_number"='nano u3400'; | 2-17689921-4 |
What is the total Cores with a Clock Speed of 1.3ghz? | CREATE TABLE "ultra_low_voltage_processors" (
"model_number" text,
"clock_speed" text,
"l1_cache" text,
"l2_cache" text,
"fsb_speed" text,
"clock_multiplier" text,
"idle_power" text,
"socket" text,
"cores" real,
"release_date" text
); | SELECT COUNT("cores") FROM "ultra_low_voltage_processors" WHERE "clock_speed"='1.3ghz'; | 2-17689921-4 |
What's the to par for the score of 68-74-71-77=290? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
); | SELECT "to_par" FROM "final_leaderboard" WHERE "score"='68-74-71-77=290'; | 2-18148559-3 |
What's the money ($) for the t3 place and the score of 74-74-71-69=288? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
); | SELECT "money" FROM "final_leaderboard" WHERE "place"='t3' AND "score"='74-74-71-69=288'; | 2-18148559-3 |
What's the score for $22,500? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
); | SELECT "score" FROM "final_leaderboard" WHERE "money"='22,500'; | 2-18148559-3 |
What's the to par for the t1 place with a score of 70-72-73-72=287? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
); | SELECT "to_par" FROM "final_leaderboard" WHERE "place"='t1' AND "score"='70-72-73-72=287'; | 2-18148559-3 |
What's the average annual interchange for a rank over 26 in liverpool with an annual entry/exit less than 14.209 and more than 10 platforms? | CREATE TABLE "references" (
"rank" real,
"railway_station" text,
"annual_entry_exit_millions_2011_12" real,
"annual_interchanges_millions_2011_12" real,
"total_passengers_millions_2011_12" real,
"location" text,
"number_of_platforms" real
); | SELECT AVG("annual_interchanges_millions_2011_12") FROM "references" WHERE "rank">26 AND "location"='liverpool' AND "annual_entry_exit_millions_2011_12"<14.209 AND "number_of_platforms">10; | 2-18118221-1 |
What's the highest annual interchange for wimbledon railway station? | CREATE TABLE "references" (
"rank" real,
"railway_station" text,
"annual_entry_exit_millions_2011_12" real,
"annual_interchanges_millions_2011_12" real,
"total_passengers_millions_2011_12" real,
"location" text,
"number_of_platforms" real
); | SELECT MAX("annual_interchanges_millions_2011_12") FROM "references" WHERE "railway_station"='wimbledon'; | 2-18118221-1 |
What's the lowest number of total passengers (millions) for an annual entry/exit of 36.609? | CREATE TABLE "references" (
"rank" real,
"railway_station" text,
"annual_entry_exit_millions_2011_12" real,
"annual_interchanges_millions_2011_12" real,
"total_passengers_millions_2011_12" real,
"location" text,
"number_of_platforms" real
); | SELECT MIN("total_passengers_millions_2011_12") FROM "references" WHERE "annual_entry_exit_millions_2011_12"=36.609; | 2-18118221-1 |
What rank has an annual interchange less than 1.99 million, an annual entry/exit less than 13.835 million, and more than 13.772 million total passengers? | CREATE TABLE "references" (
"rank" real,
"railway_station" text,
"annual_entry_exit_millions_2011_12" real,
"annual_interchanges_millions_2011_12" real,
"total_passengers_millions_2011_12" real,
"location" text,
"number_of_platforms" real
); | SELECT "rank" FROM "references" WHERE "annual_interchanges_millions_2011_12"<1.99 AND "annual_entry_exit_millions_2011_12"<13.835 AND "total_passengers_millions_2011_12">13.772; | 2-18118221-1 |
How many ranks are in liverpool with more than 3 platforms and an annual interchange less than 0.778 million? | CREATE TABLE "references" (
"rank" real,
"railway_station" text,
"annual_entry_exit_millions_2011_12" real,
"annual_interchanges_millions_2011_12" real,
"total_passengers_millions_2011_12" real,
"location" text,
"number_of_platforms" real
); | SELECT COUNT("rank") FROM "references" WHERE "location"='liverpool' AND "number_of_platforms">3 AND "annual_interchanges_millions_2011_12"<0.778; | 2-18118221-1 |
Which Number of households has Per capita income of $21,571, and a Population smaller than 9,783? | CREATE TABLE "minnesota_counties_ranked_by_per_capita_" (
"county" text,
"per_capita_income" text,
"median_household_income" text,
"median_family_income" text,
"population" real,
"number_of_households" real
); | SELECT AVG("number_of_households") FROM "minnesota_counties_ranked_by_per_capita_" WHERE "per_capita_income"='$21,571' AND "population"<'9,783'; | 2-1827960-1 |
Which Number of households has a County of cook, and Population smaller than 5,176? | CREATE TABLE "minnesota_counties_ranked_by_per_capita_" (
"county" text,
"per_capita_income" text,
"median_household_income" text,
"median_family_income" text,
"population" real,
"number_of_households" real
); | SELECT AVG("number_of_households") FROM "minnesota_counties_ranked_by_per_capita_" WHERE "county"='cook' AND "population"<'5,176'; | 2-1827960-1 |
What Per capita income has a Median family income of $50,755? | CREATE TABLE "minnesota_counties_ranked_by_per_capita_" (
"county" text,
"per_capita_income" text,
"median_household_income" text,
"median_family_income" text,
"population" real,
"number_of_households" real
); | SELECT "per_capita_income" FROM "minnesota_counties_ranked_by_per_capita_" WHERE "median_family_income"='$50,755'; | 2-1827960-1 |
What Number of households have a Median family income of $58,491? | CREATE TABLE "minnesota_counties_ranked_by_per_capita_" (
"county" text,
"per_capita_income" text,
"median_household_income" text,
"median_family_income" text,
"population" real,
"number_of_households" real
); | SELECT "number_of_households" FROM "minnesota_counties_ranked_by_per_capita_" WHERE "median_family_income"='$58,491'; | 2-1827960-1 |
What was the score of the golfer representing Scotland? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "second_round" WHERE "country"='scotland'; | 2-18171018-5 |
What was the to par score of the golfer that had a score of 68-70=138? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "second_round" WHERE "score"='68-70=138'; | 2-18171018-5 |
Which golfer had a score of 69-71=140? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "player" FROM "second_round" WHERE "score"='69-71=140'; | 2-18171018-5 |
Which country is t3 finisher billy mayfair from? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "country" FROM "final_round" WHERE "place"='t3' AND "player"='billy mayfair'; | 2-18017216-7 |
Which Country has a Player of jodie mudd? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "country" FROM "final_round" WHERE "player"='jodie mudd'; | 2-18133211-7 |
Which Money (£) has a Player of jodie mudd? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT COUNT("money") FROM "final_round" WHERE "player"='jodie mudd'; | 2-18133211-7 |
What is the total Money (£) of Player of nick faldo? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT SUM("money") FROM "final_round" WHERE "player"='nick faldo'; | 2-18133211-7 |
What is the total Money (£) with a Place of t6, and a Player of ian baker-finch? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT COUNT("money") FROM "final_round" WHERE "place"='t6' AND "player"='ian baker-finch'; | 2-18133211-7 |
What position was the team who had less then 63 goals against and less than 6 losses? | CREATE TABLE "first_division_final_table" (
"position" real,
"team" text,
"played" real,
"drawn" real,
"lost" real,
"goals_for" real,
"goals_against" real,
"goal_difference" text,
"points_1" text
); | SELECT AVG("position") FROM "first_division_final_table" WHERE "goals_against"<63 AND "lost"<6; | 2-17776244-1 |
How many times did the team lose who had 1 of 37 points and less than 60 goals against? | CREATE TABLE "first_division_final_table" (
"position" real,
"team" text,
"played" real,
"drawn" real,
"lost" real,
"goals_for" real,
"goals_against" real,
"goal_difference" text,
"points_1" text
); | SELECT MIN("lost") FROM "first_division_final_table" WHERE "points_1"='37' AND "goals_against"<60; | 2-17776244-1 |
How many times did the team lose who had a goal difference of +2, 52 goals for, and less than 9 draws? | CREATE TABLE "first_division_final_table" (
"position" real,
"team" text,
"played" real,
"drawn" real,
"lost" real,
"goals_for" real,
"goals_against" real,
"goal_difference" text,
"points_1" text
); | SELECT MIN("lost") FROM "first_division_final_table" WHERE "goal_difference"='+2' AND "goals_for"=52 AND "drawn"<9; | 2-17776244-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.