question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Name the series with game of game 6 | CREATE TABLE "nba_finals" (
"game" text,
"date" text,
"result" text,
"site" text,
"series" text
); | SELECT "series" FROM "nba_finals" WHERE "game"='game 6'; | 2-15148390-10 |
What is the location attendance from Dwyane Wade (27) high points? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "location_attendance" FROM "game_log" WHERE "high_points"='dwyane wade (27)'; | 2-13762472-8 |
What was the high assists from a high points of dorell wright (20)? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_assists" FROM "game_log" WHERE "high_points"='dorell wright (20)'; | 2-13762472-8 |
What was the high rebounds from the date of April 14? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_rebounds" FROM "game_log" WHERE "date"='april 14'; | 2-13762472-8 |
For the year 1975, what is Propulsion, with a Number (quantity ordered) of 4756-4788 (33 buses)? | CREATE TABLE "retired" (
"make_model" text,
"length" text,
"year" real,
"numbers_quantity_ordered" text,
"fuel_propulsion" text,
"year_retired" text
); | SELECT "fuel_propulsion" FROM "retired" WHERE "year"=1975 AND "numbers_quantity_ordered"='4756-4788 (33 buses)'; | 2-15142622-3 |
What is the make and model that retires in 2004, and has a numbers (quantity ordered) of 961-967 (7 buses)? | CREATE TABLE "retired" (
"make_model" text,
"length" text,
"year" real,
"numbers_quantity_ordered" text,
"fuel_propulsion" text,
"year_retired" text
); | SELECT "make_model" FROM "retired" WHERE "year_retired"='2004' AND "numbers_quantity_ordered"='961-967 (7 buses)'; | 2-15142622-3 |
What year was the diesel fuel propulsion, with a length of 40', and numbers (quanity ordered) of 3701-3729 (29 buses), retired? | CREATE TABLE "retired" (
"make_model" text,
"length" text,
"year" real,
"numbers_quantity_ordered" text,
"fuel_propulsion" text,
"year_retired" text
); | SELECT "year_retired" FROM "retired" WHERE "fuel_propulsion"='diesel' AND "length"='40''' AND "numbers_quantity_ordered"='3701-3729 (29 buses)'; | 2-15142622-3 |
What is the location attendance of the game with a 27-22 record? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "location_attendance" FROM "game_log" WHERE "record"='27-22'; | 2-13619135-6 |
What is the location attendance of the game on February 25? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "location_attendance" FROM "game_log" WHERE "date"='february 25'; | 2-13619135-6 |
What's the largest Fall 08 number when fall 09 is less than 82, fall 06 is 5, and fall 05 is less than 3? | CREATE TABLE "geography_of_students" (
"states" text,
"fall_05" real,
"fall_06" real,
"fall_07" real,
"fall_08" real,
"fall_09" real
); | SELECT MAX("fall_08") FROM "geography_of_students" WHERE "fall_09"<82 AND "fall_06"=5 AND "fall_05"<3; | 2-15055594-7 |
What is the mean Fall 09 number where fall 05 is less than 3? | CREATE TABLE "geography_of_students" (
"states" text,
"fall_05" real,
"fall_06" real,
"fall_07" real,
"fall_08" real,
"fall_09" real
); | SELECT AVG("fall_09") FROM "geography_of_students" WHERE "fall_05"<3; | 2-15055594-7 |
What is the sum amount of fall 05 when fall 08 is more than 5, fall 06 is more than 7, the state is Maryland, and fall 09 is more than 471? | CREATE TABLE "geography_of_students" (
"states" text,
"fall_05" real,
"fall_06" real,
"fall_07" real,
"fall_08" real,
"fall_09" real
); | SELECT COUNT("fall_05") FROM "geography_of_students" WHERE "fall_08">5 AND "fall_06">7 AND "states"='maryland' AND "fall_09">471; | 2-15055594-7 |
What's the smallest fall 05 number when fall 09 is less than 14 and fall 08 is more than 5? | CREATE TABLE "geography_of_students" (
"states" text,
"fall_05" real,
"fall_06" real,
"fall_07" real,
"fall_08" real,
"fall_09" real
); | SELECT MIN("fall_05") FROM "geography_of_students" WHERE "fall_09"<14 AND "fall_08">5; | 2-15055594-7 |
What is in the notes for men's speed skating? | CREATE TABLE "personal_records" (
"distance" text,
"time" text,
"date" text,
"location" text,
"notes" text
); | SELECT "notes" FROM "personal_records" WHERE "time"='men''s speed skating'; | 2-15289726-1 |
What's the date when the location is Berlin? | CREATE TABLE "personal_records" (
"distance" text,
"time" text,
"date" text,
"location" text,
"notes" text
); | SELECT "date" FROM "personal_records" WHERE "location"='berlin'; | 2-15289726-1 |
What's the location for men's speed skating? | CREATE TABLE "personal_records" (
"distance" text,
"time" text,
"date" text,
"location" text,
"notes" text
); | SELECT "location" FROM "personal_records" WHERE "distance"='men''s speed skating'; | 2-15289726-1 |
What's the location when the notes area is notes? | CREATE TABLE "personal_records" (
"distance" text,
"time" text,
"date" text,
"location" text,
"notes" text
); | SELECT "location" FROM "personal_records" WHERE "notes"='notes'; | 2-15289726-1 |
What is the notes left for Berlin? | CREATE TABLE "personal_records" (
"distance" text,
"time" text,
"date" text,
"location" text,
"notes" text
); | SELECT "notes" FROM "personal_records" WHERE "location"='berlin'; | 2-15289726-1 |
Which is located in Angola and entered service in 1988? | CREATE TABLE "deepwater" (
"name" text,
"type" text,
"entered_service" text,
"water_depth" text,
"location" text
); | SELECT "name" FROM "deepwater" WHERE "location"='angola' AND "entered_service"='1988'; | 2-1499203-2 |
What type entered service in 2000? | CREATE TABLE "deepwater" (
"name" text,
"type" text,
"entered_service" text,
"water_depth" text,
"location" text
); | SELECT "type" FROM "deepwater" WHERE "entered_service"='2000'; | 2-1499203-2 |
What is the water depth of Sedco 702, located in Nigeria? | CREATE TABLE "deepwater" (
"name" text,
"type" text,
"entered_service" text,
"water_depth" text,
"location" text
); | SELECT "water_depth" FROM "deepwater" WHERE "location"='nigeria' AND "name"='sedco 702'; | 2-1499203-2 |
Which is located in Nigeria? | CREATE TABLE "deepwater" (
"name" text,
"type" text,
"entered_service" text,
"water_depth" text,
"location" text
); | SELECT "name" FROM "deepwater" WHERE "location"='nigeria'; | 2-1499203-2 |
Which type entered service in 1976/1997 and is located in Brazil? | CREATE TABLE "deepwater" (
"name" text,
"type" text,
"entered_service" text,
"water_depth" text,
"location" text
); | SELECT "type" FROM "deepwater" WHERE "location"='brazil' AND "entered_service"='1976/1997'; | 2-1499203-2 |
Where is Transocean Richardson, a semi entered into service in 1988? | CREATE TABLE "deepwater" (
"name" text,
"type" text,
"entered_service" text,
"water_depth" text,
"location" text
); | SELECT "location" FROM "deepwater" WHERE "type"='semi' AND "entered_service"='1988' AND "name"='transocean richardson'; | 2-1499203-2 |
What is the total number of Yds/Att where Net Yds was 1818, and Rank was larger than 1? | CREATE TABLE "college_career" (
"rank" real,
"name" text,
"attempts" real,
"net_yds" real,
"yds_att" real,
"year" real
); | SELECT COUNT("yds_att") FROM "college_career" WHERE "net_yds"=1818 AND "rank">1; | 2-14013061-2 |
What is the lowest Rank when Attempts was 319, and the Year was larger than 2000? | CREATE TABLE "college_career" (
"rank" real,
"name" text,
"attempts" real,
"net_yds" real,
"yds_att" real,
"year" real
); | SELECT MIN("rank") FROM "college_career" WHERE "attempts"=319 AND "year">2000; | 2-14013061-2 |
What is the total number of Attempts when Rank was larger than 4, and Net Yds was smaller than 1674? | CREATE TABLE "college_career" (
"rank" real,
"name" text,
"attempts" real,
"net_yds" real,
"yds_att" real,
"year" real
); | SELECT COUNT("attempts") FROM "college_career" WHERE "rank">4 AND "net_yds"<1674; | 2-14013061-2 |
What is the new conference for the Gauchos team? | CREATE TABLE "former_members" (
"institution" text,
"location" text,
"team_nickname" text,
"tenure" text,
"new_conference" text,
"new_classification" text
); | SELECT "new_conference" FROM "former_members" WHERE "team_nickname"='gauchos'; | 2-14976504-2 |
What is the new classification for La Mirada, California? | CREATE TABLE "former_members" (
"institution" text,
"location" text,
"team_nickname" text,
"tenure" text,
"new_conference" text,
"new_classification" text
); | SELECT "new_classification" FROM "former_members" WHERE "location"='la mirada, california'; | 2-14976504-2 |
What is the tenure for the Tritons team? | CREATE TABLE "former_members" (
"institution" text,
"location" text,
"team_nickname" text,
"tenure" text,
"new_conference" text,
"new_classification" text
); | SELECT "tenure" FROM "former_members" WHERE "team_nickname"='tritons'; | 2-14976504-2 |
Which opponent was present on March 28? | CREATE TABLE "regular_season" (
"game" real,
"march" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT "opponent" FROM "regular_season" WHERE "march"=28; | 2-14305802-7 |
What is the mean game number when the points scored were more than 99? | CREATE TABLE "regular_season" (
"game" real,
"march" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT AVG("game") FROM "regular_season" WHERE "points">99; | 2-14305802-7 |
Who is the opponent in game 7? | CREATE TABLE "schedule_and_results" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text
); | SELECT "opponent" FROM "schedule_and_results" WHERE "game"=7; | 2-14922774-3 |
What day in December was the game before game 11 with a record of 7-2-2? | CREATE TABLE "schedule_and_results" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text
); | SELECT SUM("december") FROM "schedule_and_results" WHERE "record"='7-2-2' AND "game"<11; | 2-14922774-3 |
What is the day in December of the game against the Boston Bruins? | CREATE TABLE "schedule_and_results" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text
); | SELECT COUNT("december") FROM "schedule_and_results" WHERE "opponent"='boston bruins'; | 2-14922774-3 |
What is the average day in December of the game with a 8-2-3 record? | CREATE TABLE "schedule_and_results" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text
); | SELECT AVG("december") FROM "schedule_and_results" WHERE "record"='8-2-3'; | 2-14922774-3 |
How many seats have a quantity over 45? | CREATE TABLE "production" (
"system" text,
"owner" text,
"quantity" real,
"delivery" text,
"length" text,
"gauge" text,
"operation" text,
"seats" real,
"standing" real
); | SELECT SUM("seats") FROM "production" WHERE "quantity">45; | 2-14316789-1 |
Which owner has 84 seats? | CREATE TABLE "production" (
"system" text,
"owner" text,
"quantity" real,
"delivery" text,
"length" text,
"gauge" text,
"operation" text,
"seats" real,
"standing" real
); | SELECT "owner" FROM "production" WHERE "seats"=84; | 2-14316789-1 |
Which deliver has 16 and a standing more than 128? | CREATE TABLE "production" (
"system" text,
"owner" text,
"quantity" real,
"delivery" text,
"length" text,
"gauge" text,
"operation" text,
"seats" real,
"standing" real
); | SELECT "delivery" FROM "production" WHERE "quantity"=16 AND "standing">128; | 2-14316789-1 |
What is the host city that has Alicia Keys listed as a host? | CREATE TABLE "host_cities" (
"year" text,
"theme" text,
"host_city" text,
"venue" text,
"hosts" text
); | SELECT "host_city" FROM "host_cities" WHERE "hosts"='alicia keys'; | 2-1506948-1 |
What is the host city of the Singapore Indoor Stadium venue and a Valentine's Day theme? | CREATE TABLE "host_cities" (
"year" text,
"theme" text,
"host_city" text,
"venue" text,
"hosts" text
); | SELECT "host_city" FROM "host_cities" WHERE "venue"='singapore indoor stadium' AND "theme"='valentine''s day'; | 2-1506948-1 |
What year will Bangkok be the host city and Alicia Keys host? | CREATE TABLE "host_cities" (
"year" text,
"theme" text,
"host_city" text,
"venue" text,
"hosts" text
); | SELECT "year" FROM "host_cities" WHERE "host_city"='bangkok' AND "hosts"='alicia keys'; | 2-1506948-1 |
Who are the hosts from the event with a theme of codehunters and the host city of Bangkok? | CREATE TABLE "host_cities" (
"year" text,
"theme" text,
"host_city" text,
"venue" text,
"hosts" text
); | SELECT "hosts" FROM "host_cities" WHERE "host_city"='bangkok' AND "theme"='codehunters'; | 2-1506948-1 |
Who are the hosts for the 2004 event? | CREATE TABLE "host_cities" (
"year" text,
"theme" text,
"host_city" text,
"venue" text,
"hosts" text
); | SELECT "hosts" FROM "host_cities" WHERE "year"='2004'; | 2-1506948-1 |
What date has a margin of victory of 1 stroke over Greg Kraft? | CREATE TABLE "pga_tour_wins_10" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "date" FROM "pga_tour_wins_10" WHERE "margin_of_victory"='1 stroke' AND "runner_s_up"='greg kraft'; | 2-1507220-1 |
What was the margin of victory over Steve Rintoul? | CREATE TABLE "pga_tour_wins_10" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "margin_of_victory" FROM "pga_tour_wins_10" WHERE "runner_s_up"='steve rintoul'; | 2-1507220-1 |
What was the margin of victory over Brad Faxon? | CREATE TABLE "pga_tour_wins_10" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "margin_of_victory" FROM "pga_tour_wins_10" WHERE "runner_s_up"='brad faxon'; | 2-1507220-1 |
What years show Model of 2.0 tdi (cr) dpf? | CREATE TABLE "engines" (
"model" text,
"years" text,
"engine" text,
"displ" text,
"power" text,
"torque" text
); | SELECT "years" FROM "engines" WHERE "model"='2.0 tdi (cr) dpf'; | 2-14410430-1 |
What is the power for model 2.0 tdi (cr) dpf, and a Years of 2010–2011? | CREATE TABLE "engines" (
"model" text,
"years" text,
"engine" text,
"displ" text,
"power" text,
"torque" text
); | SELECT "power" FROM "engines" WHERE "model"='2.0 tdi (cr) dpf' AND "years"='2010–2011'; | 2-14410430-1 |
What is the torque for Model of 2.0 bitdi (cr) dpf, in 2010–? | CREATE TABLE "engines" (
"model" text,
"years" text,
"engine" text,
"displ" text,
"power" text,
"torque" text
); | SELECT "torque" FROM "engines" WHERE "model"='2.0 bitdi (cr) dpf' AND "years"='2010–'; | 2-14410430-1 |
What is the engine for model 2.0 bitdi (cr) dpf, with a Torque of n·m (lb·ft) @ 1500–2000 rpm? | CREATE TABLE "engines" (
"model" text,
"years" text,
"engine" text,
"displ" text,
"power" text,
"torque" text
); | SELECT "engine" FROM "engines" WHERE "model"='2.0 bitdi (cr) dpf' AND "torque"='n·m (lb·ft) @ 1500–2000 rpm'; | 2-14410430-1 |
What is the Court Rank of Son of Norihiro's Lineage? | CREATE TABLE "list_of_daimy" (
"name" text,
"tenure" text,
"courtesy_title" text,
"court_rank" text,
"revenues" text,
"lineage" text
); | SELECT "court_rank" FROM "list_of_daimy" WHERE "lineage"='son of norihiro'; | 2-13972352-9 |
Name the 1811 for 1801 of 1801 | CREATE TABLE "demography" (
"year" text,
"1801" text,
"1811" text,
"1821" text,
"1841" text,
"1851" text,
"1861" text,
"1871" text,
"1881" text,
"1891" text,
"1901" text
); | SELECT "1811" FROM "demography" WHERE "1801"='1801'; | 2-151238-2 |
Name the 1861 with 1851 of 5291 | CREATE TABLE "demography" (
"year" text,
"1801" text,
"1811" text,
"1821" text,
"1841" text,
"1851" text,
"1861" text,
"1871" text,
"1881" text,
"1891" text,
"1901" text
); | SELECT "1861" FROM "demography" WHERE "1851"='5291'; | 2-151238-2 |
Name the 1901 with 1851 of 1961 | CREATE TABLE "demography" (
"year" text,
"1801" text,
"1811" text,
"1821" text,
"1841" text,
"1851" text,
"1861" text,
"1871" text,
"1881" text,
"1891" text,
"1901" text
); | SELECT "1901" FROM "demography" WHERE "1851"='1961'; | 2-151238-2 |
Name the 1821 with 1811 of 1921 | CREATE TABLE "demography" (
"year" text,
"1801" text,
"1811" text,
"1821" text,
"1841" text,
"1851" text,
"1861" text,
"1871" text,
"1881" text,
"1891" text,
"1901" text
); | SELECT "1821" FROM "demography" WHERE "1811"='1921'; | 2-151238-2 |
Name the 1821 with 1861 of 3733 | CREATE TABLE "demography" (
"year" text,
"1801" text,
"1811" text,
"1821" text,
"1841" text,
"1851" text,
"1861" text,
"1871" text,
"1881" text,
"1891" text,
"1901" text
); | SELECT "1821" FROM "demography" WHERE "1861"='3733'; | 2-151238-2 |
What's the sum of Code with a Population that's larger than 1,752, a Most Spoken Language of Xhosa, a Place of Bontrug, and an Area (KM 2) that's larger than 2.33? | CREATE TABLE "main_places" (
"place" text,
"code" real,
"area_km_2" real,
"population" real,
"most_spoken_language" text
); | SELECT COUNT("code") FROM "main_places" WHERE "population">'1,752' AND "most_spoken_language"='xhosa' AND "place"='bontrug' AND "area_km_2">2.33; | 2-14523321-1 |
What's the sum of the Area (KM 2) that's got a Population that's smaller than 90? | CREATE TABLE "main_places" (
"place" text,
"code" real,
"area_km_2" real,
"population" real,
"most_spoken_language" text
); | SELECT COUNT("area_km_2") FROM "main_places" WHERE "population"<90; | 2-14523321-1 |
What's the lowest Code that's got a Most Spoke Language of Xhosa, a Place of Addo Elephant National Park, and an Area (KM 2) that's smaller than 1.08? | CREATE TABLE "main_places" (
"place" text,
"code" real,
"area_km_2" real,
"population" real,
"most_spoken_language" text
); | SELECT MIN("code") FROM "main_places" WHERE "most_spoken_language"='xhosa' AND "place"='addo elephant national park' AND "area_km_2"<1.08; | 2-14523321-1 |
What is the score at game 31? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "game"=31; | 2-13821848-6 |
What is the Grid for Rider Ruben Xaus? | CREATE TABLE "superbike_race_1_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
); | SELECT MIN("grid") FROM "superbike_race_1_classification" WHERE "rider"='ruben xaus'; | 2-13628822-1 |
What was the number of Laps with a Grid of more than 3 and Time of 39:24.967? | CREATE TABLE "superbike_race_1_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
); | SELECT MIN("laps") FROM "superbike_race_1_classification" WHERE "grid">3 AND "time"='39:24.967'; | 2-13628822-1 |
What Rider had a Time of +1:08.291? | CREATE TABLE "superbike_race_1_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
); | SELECT "rider" FROM "superbike_race_1_classification" WHERE "time"='+1:08.291'; | 2-13628822-1 |
Using a Ducati 999 F06 Bike, how many Laps with a Grid greater than 11 and Time of +53.488? | CREATE TABLE "superbike_race_1_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
); | SELECT COUNT("laps") FROM "superbike_race_1_classification" WHERE "bike"='ducati 999 f06' AND "time"='+53.488' AND "grid">11; | 2-13628822-1 |
When was there a record of 13–17–3? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "record"='13–17–3'; | 2-13928610-4 |
What record was made in vancouver on December 8? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "home"='vancouver' AND "date"='december 8'; | 2-13928610-4 |
What was the home who had California visiting? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "home" FROM "game_log" WHERE "visitor"='california'; | 2-13928610-4 |
What's the score on December 1 when Philadelphia visited? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "visitor"='philadelphia' AND "date"='december 1'; | 2-13928610-4 |
What was the type of game with a 1:6 result? | CREATE TABLE "1966" (
"date" text,
"city" text,
"opponent" text,
"results" text,
"type_of_game" text
); | SELECT "type_of_game" FROM "1966" WHERE "results"='1:6'; | 2-14305653-44 |
Who was the opponent at the game in Belgrade with a 0:2 result? | CREATE TABLE "1966" (
"date" text,
"city" text,
"opponent" text,
"results" text,
"type_of_game" text
); | SELECT "opponent" FROM "1966" WHERE "city"='belgrade' AND "results"='0:2'; | 2-14305653-44 |
What city held the game with a result of 1:0? | CREATE TABLE "1966" (
"date" text,
"city" text,
"opponent" text,
"results" text,
"type_of_game" text
); | SELECT "city" FROM "1966" WHERE "results"='1:0'; | 2-14305653-44 |
What type of game had a result of 1:2? | CREATE TABLE "1966" (
"date" text,
"city" text,
"opponent" text,
"results" text,
"type_of_game" text
); | SELECT "type_of_game" FROM "1966" WHERE "results"='1:2'; | 2-14305653-44 |
What was the result of the game against Hungary? | CREATE TABLE "1966" (
"date" text,
"city" text,
"opponent" text,
"results" text,
"type_of_game" text
); | SELECT "results" FROM "1966" WHERE "opponent"='hungary'; | 2-14305653-44 |
Who was the Radio Edit Version remixed by? | CREATE TABLE "official_versions" (
"version" text,
"length" text,
"album" text,
"remixed_by" text,
"year" real
); | SELECT "remixed_by" FROM "official_versions" WHERE "version"='radio edit'; | 2-14987819-2 |
What was the Version prior to 1996? | CREATE TABLE "official_versions" (
"version" text,
"length" text,
"album" text,
"remixed_by" text,
"year" real
); | SELECT "version" FROM "official_versions" WHERE "year"<1996; | 2-14987819-2 |
What is the Date of Catalog 573 194-2? | CREATE TABLE "release_history" (
"date" text,
"label" text,
"region" text,
"format" text,
"catalog" text
); | SELECT "date" FROM "release_history" WHERE "catalog"='573 194-2'; | 2-14987819-1 |
What is the Label of the release in CD Maxi Format? | CREATE TABLE "release_history" (
"date" text,
"label" text,
"region" text,
"format" text,
"catalog" text
); | SELECT "label" FROM "release_history" WHERE "format"='cd maxi'; | 2-14987819-1 |
What is the Catalog number of the CD Single? | CREATE TABLE "release_history" (
"date" text,
"label" text,
"region" text,
"format" text,
"catalog" text
); | SELECT "catalog" FROM "release_history" WHERE "format"='cd single'; | 2-14987819-1 |
Which Make has a Pos larger than 9? | CREATE TABLE "mountain_dew_250" (
"pos" real,
"car_num" real,
"driver" text,
"make" text,
"team" text
); | SELECT "make" FROM "mountain_dew_250" WHERE "pos">9; | 2-14292964-23 |
Which Pos has a Driver of brian scott (r)? | CREATE TABLE "mountain_dew_250" (
"pos" real,
"car_num" real,
"driver" text,
"make" text,
"team" text
); | SELECT SUM("pos") FROM "mountain_dew_250" WHERE "driver"='brian scott (r)'; | 2-14292964-23 |
How many Pos have a Driver of todd bodine, and a Car # larger than 30? | CREATE TABLE "mountain_dew_250" (
"pos" real,
"car_num" real,
"driver" text,
"make" text,
"team" text
); | SELECT COUNT("pos") FROM "mountain_dew_250" WHERE "driver"='todd bodine' AND "car_num">30; | 2-14292964-23 |
Which Car # has a Make of toyota, and a Pos of 7? | CREATE TABLE "mountain_dew_250" (
"pos" real,
"car_num" real,
"driver" text,
"make" text,
"team" text
); | SELECT MAX("car_num") FROM "mountain_dew_250" WHERE "make"='toyota' AND "pos"=7; | 2-14292964-23 |
How many track numbers were recorded on November 16, 1959 for the title of I Couldn't Hear Nobody Pray? | CREATE TABLE "track_listing" (
"track_number" real,
"title" text,
"songwriter_s" text,
"recording_date" text,
"time" text
); | SELECT COUNT("track_number") FROM "track_listing" WHERE "recording_date"='november 16, 1959' AND "title"='i couldn''t hear nobody pray'; | 2-13536392-2 |
On what date was My Lord What a Mornin' recorded? | CREATE TABLE "track_listing" (
"track_number" real,
"title" text,
"songwriter_s" text,
"recording_date" text,
"time" text
); | SELECT "recording_date" FROM "track_listing" WHERE "title"='my lord what a mornin'''; | 2-13536392-2 |
What is the average track number 3:25 long and a title of Great Getting up Mornin'? | CREATE TABLE "track_listing" (
"track_number" real,
"title" text,
"songwriter_s" text,
"recording_date" text,
"time" text
); | SELECT AVG("track_number") FROM "track_listing" WHERE "time"='3:25' AND "title"='great getting up mornin'''; | 2-13536392-2 |
WHich Date has a Record of 2–7–0–1? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "record"='2–7–0–1'; | 2-14217110-2 |
Who is the Visitor on march 16? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "visitor" FROM "game_log" WHERE "date"='march 16'; | 2-14217110-2 |
Which Record is on november 16? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "date"='november 16'; | 2-14217110-2 |
What is the Home on december 10? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "home" FROM "game_log" WHERE "date"='december 10'; | 2-14217110-2 |
WHich Score has a Date on november 11? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "date"='november 11'; | 2-14217110-2 |
Which Record has a Date on december 18? | CREATE TABLE "game_log" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "date"='december 18'; | 2-14217110-2 |
What visitor has march 26 as the date? | CREATE TABLE "chicago_black_hawks_4_detroit_red_wings_" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "visitor" FROM "chicago_black_hawks_4_detroit_red_wings_" WHERE "date"='march 26'; | 2-13599969-3 |
What visitor has detroit red wings as the home, and march 30 as the date? | CREATE TABLE "chicago_black_hawks_4_detroit_red_wings_" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "visitor" FROM "chicago_black_hawks_4_detroit_red_wings_" WHERE "home"='detroit red wings' AND "date"='march 30'; | 2-13599969-3 |
What record has chicago black hawks as the visitor and march 23 as the date? | CREATE TABLE "chicago_black_hawks_4_detroit_red_wings_" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "record" FROM "chicago_black_hawks_4_detroit_red_wings_" WHERE "visitor"='chicago black hawks' AND "date"='march 23'; | 2-13599969-3 |
What record has march 30 as the date? | CREATE TABLE "chicago_black_hawks_4_detroit_red_wings_" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "record" FROM "chicago_black_hawks_4_detroit_red_wings_" WHERE "date"='march 30'; | 2-13599969-3 |
What is the unanimous result of the player from Michigan Dartmouth? | CREATE TABLE "ncaa_consensus_all_american_team" (
"position" text,
"name" text,
"school" text,
"unanimous" text,
"college_hall_of_fame" text
); | SELECT "unanimous" FROM "ncaa_consensus_all_american_team" WHERE "school"='michigan dartmouth'; | 2-15191894-1 |
What is the position of the player with a unanimous no result without a college hall of fame? | CREATE TABLE "ncaa_consensus_all_american_team" (
"position" text,
"name" text,
"school" text,
"unanimous" text,
"college_hall_of_fame" text
); | SELECT "position" FROM "ncaa_consensus_all_american_team" WHERE "unanimous"='no' AND "college_hall_of_fame"='no'; | 2-15191894-1 |
What is the school of the player with a college hall of fame nevers hof profile? | CREATE TABLE "ncaa_consensus_all_american_team" (
"position" text,
"name" text,
"school" text,
"unanimous" text,
"college_hall_of_fame" text
); | SELECT "school" FROM "ncaa_consensus_all_american_team" WHERE "college_hall_of_fame"='nevers hof profile'; | 2-15191894-1 |
What is the school of the player who plays ends? | CREATE TABLE "ncaa_consensus_all_american_team" (
"position" text,
"name" text,
"school" text,
"unanimous" text,
"college_hall_of_fame" text
); | SELECT "school" FROM "ncaa_consensus_all_american_team" WHERE "position"='ends'; | 2-15191894-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.