instruction
stringlengths
231
6.3k
output
stringlengths
2
2.03k
### Instruction: CREATE TABLE table_name_10 ( sodium VARCHAR, lithium VARCHAR, rubidium VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the properties of sodium when lithium is h a l o g e n s and rubidium is nacl (2.1)? ### Response:
SELECT sodium FROM table_name_10 WHERE lithium = "h a l o g e n s" AND rubidium = "nacl (2.1)"
### Instruction: CREATE TABLE table_10518 ( "Order" real, "Name" text, "Seasons" text, "Games" real, "Goals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What seasons had 288 games and more than 100 goals? ### Response:
SELECT "Seasons" FROM table_10518 WHERE "Goals" > '100' AND "Games" = '288'
### Instruction: CREATE TABLE table_204_846 ( id number, "tie no" number, "home team" text, "score" text, "away team" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- is ludvika ffl a d3 or a d2 ? ### Response:
SELECT "away team" FROM table_204_846 WHERE "away team" = 'ludvika ffi'
### Instruction: CREATE TABLE table_64581 ( "Wager" text, "Winner" text, "Loser" text, "Location" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the match where vampiro was the winner in Mexico City? ### Response:
SELECT "Date" FROM table_64581 WHERE "Location" = 'mexico city' AND "Winner" = 'vampiro'
### Instruction: CREATE TABLE table_203_36 ( id number, "parish" text, "locality" text, "parish priest" text, "founded" number, "closed" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many parishes had fr frank thorpe as their parish priest ? ### Response:
SELECT COUNT("parish") FROM table_203_36 WHERE "parish priest" = 'fr frank thorpe'
### Instruction: CREATE TABLE table_name_11 ( losses INTEGER, goals_for VARCHAR, wins VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many losses altogether were had by teams that won 12 times, had 40-4 points, and more than 57 goals? ### Response:
SELECT SUM(losses) FROM table_name_11 WHERE wins = 12 AND points = "40-4" AND goals_for > 57
### Instruction: CREATE TABLE table_203_355 ( id number, "year" number, "total" number, "romanians" text, "hungarians" text, "roma" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what were the total number of times the romanians had a population percentage above 70 % ? ### Response:
SELECT COUNT(*) FROM table_203_355 WHERE "romanians" > 70
### Instruction: CREATE TABLE table_58487 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance when the Hawks played? ### Response:
SELECT COUNT("Attendance") FROM table_58487 WHERE "Home" = 'hawks'
### Instruction: CREATE TABLE table_1311 ( "Team" text, "Titles" real, "Runner-up" real, "Third place" real, "Fourth place" real, "Years participated" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When colgate is the team how many times did they place fourth? ### Response:
SELECT COUNT("Fourth place") FROM table_1311 WHERE "Team" = 'Colgate'
### Instruction: CREATE TABLE table_11854 ( "Client" text, "Windows" text, "GNU/Linux" text, "Mac OS X" text, "Haiku" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Mac OSX's GNU/Linux was yes when Windows was no? ### Response:
SELECT "Mac OS X" FROM table_11854 WHERE "GNU/Linux" = 'yes' AND "Windows" = 'no'
### Instruction: CREATE TABLE table_1944 ( "Property" text, "K-band" text, "Ka-band" text, "Q-band" text, "V-band" text, "W-band" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 2 is the k-band what is the v-band? ### Response:
SELECT "V-band" FROM table_1944 WHERE "K-band" = '2'
### Instruction: CREATE TABLE table_34230 ( "Player" text, "Rec." real, "Yards" real, "Avg." real, "Long" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many yards did Davin Meggett have with more than 9 Rec.? ### Response:
SELECT SUM("Yards") FROM table_34230 WHERE "Player" = 'davin meggett' AND "Rec." > '9'
### Instruction: CREATE TABLE table_11797 ( "Team" text, "Seasons" text, "Regular season" real, "Tournament" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the highest total for the tournament more than 0 and regular season after 8 ### Response:
SELECT MAX("Total") FROM table_11797 WHERE "Tournament" > '0' AND "Regular season" > '8'
### Instruction: CREATE TABLE table_40079 ( "Date" text, "Cover model" text, "Centerfold model" text, "Interview subject" text, "Pictorials" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the Centerfold model in the issue in which the Interview subject was Paul Simon? ### Response:
SELECT "Centerfold model" FROM table_40079 WHERE "Interview subject" = 'paul simon'
### Instruction: CREATE TABLE table_name_14 ( the_tradition VARCHAR, year VARCHAR, senior_players_championship VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When Mark O'meara was the senior player champion in a year greater than 1998, who was the tradition? ### Response:
SELECT the_tradition FROM table_name_14 WHERE year > 1998 AND senior_players_championship = "mark o'meara"
### Instruction: CREATE TABLE table_65524 ( "Country" text, "Builder" text, "Location" text, "Ship" text, "Class / type" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country was the Pegasus, build by Royal Dockyard, from? ### Response:
SELECT "Country" FROM table_65524 WHERE "Builder" = 'royal dockyard' AND "Ship" = 'pegasus'
### Instruction: CREATE TABLE table_15493 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Points" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many matches played are associated with 20 losses? ### Response:
SELECT "Played" FROM table_15493 WHERE "Lost" = '20'
### Instruction: CREATE TABLE table_21702 ( "Class" text, "Part 1" text, "Part 2" text, "Part 3" text, "Part 4" text, "Verb meaning" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what class does the verb with part 4 gelopen belong to? ### Response:
SELECT "Class" FROM table_21702 WHERE "Part 4" = 'gelopen'
### Instruction: CREATE TABLE table_2509113_2 ( quillacollo_municipality INTEGER, vinto_municipality VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the Vinto Municipality is 18630, what is the Quillacollo Municipality? ### Response:
SELECT MAX(quillacollo_municipality) FROM table_2509113_2 WHERE vinto_municipality = 18630
### Instruction: CREATE TABLE table_29773 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest game number? ### Response:
SELECT MAX("Game") FROM table_29773
### Instruction: CREATE TABLE table_77550 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score when the NY Islanders was the visiting team? ### Response:
SELECT "Score" FROM table_77550 WHERE "Visitor" = 'ny islanders'
### Instruction: CREATE TABLE table_name_33 ( format VARCHAR, country VARCHAR, label VARCHAR, catalogue_number_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Format has a Label of eagle eye media, a Catalogue number(s) of , and a Country of united states? ### Response:
SELECT format FROM table_name_33 WHERE label = "eagle eye media" AND catalogue_number_s_ = "—" AND country = "united states"
### Instruction: CREATE TABLE table_2142 ( "Institution" text, "Location" text, "Nickname" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- where is the private/presbyterian institute ### Response:
SELECT "Location" FROM table_2142 WHERE "Type" = 'Private/Presbyterian'
### Instruction: CREATE TABLE table_58667 ( "Date" text, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Tournament, when Date is '6 October 2008'? ### Response:
SELECT "Tournament" FROM table_58667 WHERE "Date" = '6 october 2008'
### Instruction: CREATE TABLE table_204_669 ( id number, "rank" number, "athlete" text, "nationality" text, "time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was the only contestant from switzerland to place in the top 50 ? ### Response:
SELECT "athlete" FROM table_204_669 WHERE "nationality" = 'switzerland' AND "rank" <= 50
### Instruction: CREATE TABLE table_37730 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the game that led to a 79-77 record? ### Response:
SELECT "Score" FROM table_37730 WHERE "Record" = '79-77'
### Instruction: CREATE TABLE table_name_25 ( score VARCHAR, opponent VARCHAR, game VARCHAR, february VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Score, when Game is less than 61, when February is less than 11, and when Opponent is '@ Buffalo Sabres'? ### Response:
SELECT score FROM table_name_25 WHERE game < 61 AND february < 11 AND opponent = "@ buffalo sabres"
### Instruction: CREATE TABLE table_name_37 ( power_rpm VARCHAR, torque__nm__rpm VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the power when the torque is n m (lb ft)/*n m (lb ft) @1750 ### Response:
SELECT power_rpm FROM table_name_37 WHERE torque__nm__rpm = "n·m (lb·ft)/*n·m (lb·ft) @1750"
### Instruction: CREATE TABLE table_17263 ( "No." text, "Player" text, "Date of Birth" text, "Batting Style" text, "Bowling Style" text, "First Class Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the bowling style of chris harris? ### Response:
SELECT "Bowling Style" FROM table_17263 WHERE "Player" = 'Chris Harris'
### Instruction: CREATE TABLE table_16571 ( "Character" text, "Portrayed by" text, "First appearance" text, "Last appearance" text, "Duration" text, "Episodes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many episodes did actress Vanessa Ferlito appear in? ### Response:
SELECT "Episodes" FROM table_16571 WHERE "Portrayed by" = 'Vanessa Ferlito'
### Instruction: CREATE TABLE table_27158 ( "Tie no" real, "Home team" text, "Score 1" text, "Away team" text, "Attendance" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the home team who played plymouth argyle? ### Response:
SELECT "Home team" FROM table_27158 WHERE "Away team" = 'Plymouth Argyle'
### Instruction: CREATE TABLE table_45770 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the home team with the ny rangers as the visitor team? ### Response:
SELECT "Home" FROM table_45770 WHERE "Visitor" = 'ny rangers'
### Instruction: CREATE TABLE table_59131 ( "Name" text, "Pos." text, "Height" text, "Weight" text, "Date of Birth" text, "Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name when weight shows head coach: Aleksandr Kabanov? ### Response:
SELECT "Name" FROM table_59131 WHERE "Weight" = 'head coach: aleksandr kabanov'
### Instruction: CREATE TABLE table_18373863_2 ( player VARCHAR, fcsl_team VARCHAR, years_played VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 2006 is the year played and winter park is the fcsl team who is the player? ### Response:
SELECT player FROM table_18373863_2 WHERE fcsl_team = "Winter Park" AND years_played = "2006"
### Instruction: CREATE TABLE table_204_232 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- total number of medals earned by the 8th place finishers ### Response:
SELECT SUM("total") FROM table_204_232 WHERE "rank" = 8
### Instruction: CREATE TABLE table_23123 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the nhl times for jeff jacques ### Response:
SELECT "NHL team" FROM table_23123 WHERE "Player" = 'Jeff Jacques'
### Instruction: CREATE TABLE table_38327 ( "Event" text, "Round" text, "Result" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Result of win, and a Score of 33-22 involved what event? ### Response:
SELECT "Event" FROM table_38327 WHERE "Result" = 'win' AND "Score" = '33-22'
### Instruction: CREATE TABLE table_51763 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is the location of a team with a 3-2 record? ### Response:
SELECT "Location" FROM table_51763 WHERE "Record" = '3-2'
### Instruction: CREATE TABLE table_8169 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Ground" text, "Date" text, "Crowd" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date was the Colonial Stadium? ### Response:
SELECT "Date" FROM table_8169 WHERE "Ground" = 'colonial stadium'
### Instruction: CREATE TABLE table_name_31 ( weight VARCHAR, club VARCHAR, date_of_birth VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Weight of the person born 1981-02-24 from the Uralochka Zlatoust club ? ### Response:
SELECT weight FROM table_name_31 WHERE club = "uralochka zlatoust" AND date_of_birth = "1981-02-24"
### Instruction: CREATE TABLE table_18274 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- where is the district where the incumbent is del latta? ### Response:
SELECT "District" FROM table_18274 WHERE "Incumbent" = 'Del Latta'
### Instruction: CREATE TABLE table_34249 ( "Kanji" text, "Name" text, "Builder" text, "Laid down" text, "Launched" text, "Completed" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Kanji for the Ayanami dd-45? ### Response:
SELECT "Kanji" FROM table_34249 WHERE "Name" = 'ayanami dd-45'
### Instruction: CREATE TABLE table_12186 ( "Week 1" text, "Week 2" text, "Week 3" text, "Week 4" text, "Week 5" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which week 1 had a week 2 of Claudia Nathalia? ### Response:
SELECT "Week 1" FROM table_12186 WHERE "Week 2" = 'claudia nathalia'
### Instruction: CREATE TABLE table_74075 ( "Salary range" text, "Indians" text, "Pakistanis" text, "Nepalese" text, "Working force of HK" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the Indians are 8.2%, what is the salary range? ### Response:
SELECT "Salary range" FROM table_74075 WHERE "Indians" = '8.2%'
### Instruction: CREATE TABLE table_72435 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the candidate in district south carolina 2? ### Response:
SELECT "Candidates" FROM table_72435 WHERE "District" = 'South Carolina 2'
### Instruction: CREATE TABLE table_1474 ( "Player" text, "VFL Games" real, "VFL Club(s)" text, "Rank held at time of death" text, "Date of death" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What locations did sid o'neill play football? ### Response:
SELECT "Location" FROM table_1474 WHERE "Player" = 'Sid O''Neill'
### Instruction: CREATE TABLE table_18471 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the latest year listed with the Alabama 4 voting district? ### Response:
SELECT MAX("First elected") FROM table_18471 WHERE "District" = 'Alabama 4'
### Instruction: CREATE TABLE table_71410 ( "Week" real, "Date" text, "Opponent" text, "Score" text, "Result" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the record of the opponent that has a bye? ### Response:
SELECT "Record" FROM table_71410 WHERE "Opponent" = 'bye'
### Instruction: CREATE TABLE table_33797 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who did the Browns play on October 13, 1968? ### Response:
SELECT "Opponent" FROM table_33797 WHERE "Date" = 'october 13, 1968'
### Instruction: CREATE TABLE table_204_275 ( id number, "date" text, "city" text, "opponent" text, "results" text, "scorers" text, "type of game" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the total number of friendly 's played ? ### Response:
SELECT COUNT(*) FROM table_204_275 WHERE "type of game" = 'friendly'
### Instruction: CREATE TABLE table_73788 ( "Series #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Viewers (in millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many episodes are written by Lew Schneider? ### Response:
SELECT COUNT("Series #") FROM table_73788 WHERE "Written by" = 'Lew Schneider'
### Instruction: CREATE TABLE table_52791 ( "Tournament" text, "Winner" text, "Runner-up" text, "Score" text, "Third Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the winner when Goran Ivani evi was in third place? ### Response:
SELECT "Winner" FROM table_52791 WHERE "Third Place" = 'goran ivanišević'
### Instruction: CREATE TABLE table_204_922 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- name all the nations that did not win any gold medals . ### Response:
SELECT "nation" FROM table_204_922 WHERE "gold" = 0
### Instruction: CREATE TABLE table_4343 ( "Country/Region" text, "Name" text, "Host" text, "Network" text, "Premiere" text, "Prize" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the 13 january 2009 host ### Response:
SELECT "Host" FROM table_4343 WHERE "Premiere" = '13 january 2009'
### Instruction: CREATE TABLE table_60263 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was their record when they played at Riverfront Stadium? ### Response:
SELECT "Record" FROM table_60263 WHERE "Game site" = 'riverfront stadium'
### Instruction: CREATE TABLE table_1319 ( "Episode" real, "Title" text, "Story" text, "Adapted by" text, "Director" text, "Airdate" text, "Exists?" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of episodes for alan nourse ### Response:
SELECT COUNT("Episode") FROM table_1319 WHERE "Story" = 'Alan Nourse'
### Instruction: CREATE TABLE table_40340 ( "Venue" text, "Location" text, "Capacity" text, "Owner" text, "Environment" text, "Year Built" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What type of environment is the venue that was built in 2003? ### Response:
SELECT "Environment" FROM table_40340 WHERE "Year Built" = '2003'
### Instruction: CREATE TABLE table_67283 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the loss of the game when the record was 16 15? ### Response:
SELECT "Loss" FROM table_67283 WHERE "Record" = '16–15'
### Instruction: CREATE TABLE table_name_71 ( attendance INTEGER, visitor VARCHAR, leading_scorer VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people were in attendance when the visiting team was the Nuggets and the leading scorer was J.R. Smith (28)? ### Response:
SELECT SUM(attendance) FROM table_name_71 WHERE visitor = "nuggets" AND leading_scorer = "j.r. smith (28)"
### Instruction: CREATE TABLE table_1462 ( "Season" text, "Winner" text, "Winning Song" text, "Winning Song (English Title)" text, "Debut Album" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many winning songs were there with an english title of all for love? ### Response:
SELECT COUNT("Winning Song") FROM table_1462 WHERE "Winning Song (English Title)" = 'All For Love'
### Instruction: CREATE TABLE table_42526 ( "Game" real, "Date" text, "Team" text, "Score" text, "Location Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Team has a Score of 108-105 (ot)? ### Response:
SELECT "Team" FROM table_42526 WHERE "Score" = '108-105 (ot)'
### Instruction: CREATE TABLE table_name_2 ( yards INTEGER, long VARCHAR, avg VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Yards have an avg of 11.8, and a Player of brent celek, and a Long larger than 44? ### Response:
SELECT AVG(yards) FROM table_name_2 WHERE avg = 11.8 AND player = "brent celek" AND long > 44
### Instruction: CREATE TABLE table_203_268 ( id number, "date" text, "name" text, "nationality" text, "tonnage\n(grt)" number, "fate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what where the only two submarines that where only damaged ? ### Response:
SELECT "name" FROM table_203_268 WHERE "fate" = 'damaged'
### Instruction: CREATE TABLE table_46711 ( "Name of System" text, "Location" text, "Traction Type" text, "Date (From)" text, "Date (To)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which date has date started from 30 Sep 1913? ### Response:
SELECT "Date (To)" FROM table_46711 WHERE "Date (From)" = '30 sep 1913'
### Instruction: CREATE TABLE table_204_250 ( id number, "date" text, "opponent#" text, "rank#" text, "site" text, "result" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which month is listed the least on this chart ? ### Response:
SELECT "date" FROM table_204_250 GROUP BY "date" ORDER BY COUNT(*) LIMIT 1
### Instruction: CREATE TABLE table_name_15 ( format VARCHAR, label VARCHAR, catalog VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the format for the album under the label, luaka bop, that had a catalog number of 3645 and dated after 1981? ### Response:
SELECT format FROM table_name_15 WHERE catalog = "3645" AND date > 1981 AND label = "luaka bop"
### Instruction: CREATE TABLE weather ( date VARCHAR, mean_temperature_f VARCHAR, mean_humidity VARCHAR, max_gust_speed_mph VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the date, mean temperature and mean humidity for the top 3 days with the largest max gust speeds? ### Response:
SELECT date, mean_temperature_f, mean_humidity FROM weather ORDER BY max_gust_speed_mph DESC LIMIT 3
### Instruction: CREATE TABLE table_61258 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of bronze medals for teams with less than 0 silver? ### Response:
SELECT COUNT("Bronze") FROM table_61258 WHERE "Silver" < '0'
### Instruction: CREATE TABLE table_name_31 ( top_10 INTEGER, top_25 VARCHAR, cuts_made VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of top-10s for the major with 2 top-25s and fewer than 10 cuts made? ### Response:
SELECT AVG(top_10) FROM table_name_31 WHERE top_25 = 2 AND cuts_made < 10
### Instruction: CREATE TABLE table_26600 ( "Week" real, "Date" text, "Opponent" text, "Location" text, "Final Score" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of dates for alouettes ### Response:
SELECT COUNT("Date") FROM table_26600 WHERE "Opponent" = 'Alouettes'
### Instruction: CREATE TABLE table_18942 ( "Asset Acquired" text, "Acquired From" text, "Date Announced" text, "Date Completed" text, "Reported Cost" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date was it announced that an asset was acquired for US$9 Million? ### Response:
SELECT "Date Announced" FROM table_18942 WHERE "Reported Cost" = 'US$9 million'
### Instruction: CREATE TABLE table_6986 ( "Year" text, "Film title used in nomination" text, "Original title" text, "Main Language(s)" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nomination title used for the original film, Zwartboek? ### Response:
SELECT "Film title used in nomination" FROM table_6986 WHERE "Original title" = 'zwartboek'
### Instruction: CREATE TABLE table_19819 ( "Ido" text, "English" text, "Italian" text, "French" text, "German" text, "Russian" text, "Spanish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the French word for the Italian word nazione? ### Response:
SELECT "French" FROM table_19819 WHERE "Italian" = 'nazione'
### Instruction: CREATE TABLE table_47116 ( "Game" real, "3PM-A" text, "Percent Made" real, "Total Made" real, "Total Attempted" real, "Series Percent" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total attempted with a total made 16 ### Response:
SELECT COUNT("Total Attempted") FROM table_47116 WHERE "Total Made" = '16'
### Instruction: CREATE TABLE table_name_75 ( country VARCHAR, category VARCHAR, result VARCHAR, award VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Country has a Result of nominated, an Award of 17th bangkok critics assembly awards, and a Category of best screenplay? ### Response:
SELECT country FROM table_name_75 WHERE result = "nominated" AND award = "17th bangkok critics assembly awards" AND category = "best screenplay"
### Instruction: CREATE TABLE table_69659 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest attendance of a game that had a score of 3-5? ### Response:
SELECT MAX("Attendance") FROM table_69659 WHERE "Score" = '3-5'
### Instruction: CREATE TABLE table_29282 ( "Position" real, "Building" text, "City" text, "Height" text, "Number of floors" real, "Completion" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the building is Costanera Center Torre 1, what is the height? ### Response:
SELECT "Height" FROM table_29282 WHERE "Building" = 'Costanera Center Torre 1'
### Instruction: CREATE TABLE table_name_86 ( name VARCHAR, age_as_of_1_february_2014 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is 111years, 358days Age as of 1 February 2014? ### Response:
SELECT name FROM table_name_86 WHERE age_as_of_1_february_2014 = "111years, 358days"
### Instruction: CREATE TABLE table_50249 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest amount of money player jim colbert has? ### Response:
SELECT MIN("Money ( $ )") FROM table_50249 WHERE "Player" = 'jim colbert'
### Instruction: CREATE TABLE table_11964154_7 ( score VARCHAR, high_assists VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times was the high assists earl watson (5) and the date of the game was december 2? ### Response:
SELECT COUNT(score) FROM table_11964154_7 WHERE high_assists = "Earl Watson (5)" AND date = "December 2"
### Instruction: CREATE TABLE table_47614 ( "Date" text, "Competition" text, "Winners" text, "Score" text, "Runners-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score in the game that was won by Sligo Rovers F.C.? ### Response:
SELECT "Score" FROM table_47614 WHERE "Winners" = 'sligo rovers f.c.'
### Instruction: CREATE TABLE table_40061 ( "Track" real, "Recorded" text, "Catalogue" text, "Release date" text, "Song title" text, "Writer(s)" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How long is the song titled burning love? ### Response:
SELECT "Time" FROM table_40061 WHERE "Song title" = 'burning love'
### Instruction: CREATE TABLE table_3409 ( "No." real, "#" real, "Episode" text, "Writer" text, "Director" text, "Original air date" text, "Viewing figure" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What episode number of the season did Tony Basgallop write? ### Response:
SELECT MIN("#") FROM table_3409 WHERE "Writer" = 'Tony Basgallop'
### Instruction: CREATE TABLE table_5322 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Attendance" real, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average attendance of the game where the home team was the Blues? ### Response:
SELECT AVG("Attendance") FROM table_5322 WHERE "Home" = 'blues'
### Instruction: CREATE TABLE table_19273 ( "Player" text, "Position" text, "Starter" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Na,e the number of field goals for right tackle ### Response:
SELECT COUNT("Field goals") FROM table_19273 WHERE "Position" = 'Right tackle'
### Instruction: CREATE TABLE table_23924 ( "Name" text, "#" real, "Height" text, "Weight" real, "Position" text, "Year" text, "Home Town" text, "High School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the home town of David Noel? ### Response:
SELECT "Home Town" FROM table_23924 WHERE "Name" = 'David Noel'
### Instruction: CREATE TABLE table_204_420 ( id number, "month" text, "song" text, "artist" text, "aggregate points" number, "total downloads" number, "year-end chart" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which song has the most downloads ? ### Response:
SELECT "song" FROM table_204_420 ORDER BY "total downloads" DESC LIMIT 1
### Instruction: CREATE TABLE table_11820086_1 ( no_in_season INTEGER, us_viewers__millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which episode number in season 5 was viewed by 3.00 million U.S. viziers? ### Response:
SELECT MIN(no_in_season) FROM table_11820086_1 WHERE us_viewers__millions_ = "3.00"
### Instruction: CREATE TABLE table_name_60 ( yards INTEGER, sack VARCHAR, asst VARCHAR, totaltk VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total of yards when asst. is 19, totaltk is 60 and sack is more than 0? ### Response:
SELECT SUM(yards) FROM table_name_60 WHERE asst = 19 AND totaltk = 60 AND sack > 0
### Instruction: CREATE TABLE table_47774 ( "Name" text, "Built" text, "Listed" text, "Location" text, "Borough" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the building listed on 1977-11-23? ### Response:
SELECT "Name" FROM table_47774 WHERE "Listed" = '1977-11-23'
### Instruction: CREATE TABLE table_17690 ( "Quattroporte IV" text, "Units Produced" real, "Production Period" text, "Engine Capacity" text, "Power" text, "Max Speed" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When were 668 units produced? ### Response:
SELECT "Production Period" FROM table_17690 WHERE "Units Produced" = '668'
### Instruction: CREATE TABLE table_7850 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the runner-up with the margin of victory of 8 strokes? ### Response:
SELECT "Runner(s)-up" FROM table_7850 WHERE "Margin of victory" = '8 strokes'
### Instruction: CREATE TABLE table_name_41 ( gp_gs VARCHAR, effic VARCHAR, avg_g VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many gp-gs have 121.70 as an effic and an avg/g less than 218.7? ### Response:
SELECT COUNT(gp_gs) FROM table_name_41 WHERE effic = "121.70" AND avg_g < 218.7
### Instruction: CREATE TABLE table_8664 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Game site" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the week that was a bye before week 6? ### Response:
SELECT "Result" FROM table_8664 WHERE "Week" < '6' AND "Game site" = 'bye'
### Instruction: CREATE TABLE table_name_41 ( discoverer_s_ VARCHAR, aphelion__au_ VARCHAR, year_discovered VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the discoverer of the object with an Aphelion above 97 in 2004? ### Response:
SELECT discoverer_s_ FROM table_name_41 WHERE aphelion__au_ > 97 AND year_discovered = 2004
### Instruction: CREATE TABLE table_41051 ( "Date" text, "Opponent" text, "Location" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Location of the game on 11/08/1975*? ### Response:
SELECT "Location" FROM table_41051 WHERE "Date" = '11/08/1975*'
### Instruction: CREATE TABLE table_2113 ( "Institution" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real, "Nickname" text, "Joined" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is the Eastern Nazarene College located? ### Response:
SELECT "Location" FROM table_2113 WHERE "Institution" = 'Eastern Nazarene College'
### Instruction: CREATE TABLE table_33639 ( "Player" text, "Nationality" text, "Position" text, "From" text, "School/Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What school did the guard who began playing in 1991 come from? ### Response:
SELECT "School/Country" FROM table_33639 WHERE "Position" = 'guard' AND "From" = '1991'
### Instruction: CREATE TABLE table_203_653 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who won the largest amount of bronze medals ? ### Response:
SELECT "nation" FROM table_203_653 ORDER BY "bronze" DESC LIMIT 1
### Instruction: CREATE TABLE table_name_69 ( overall INTEGER, name VARCHAR, pick VARCHAR, round VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Overall, when Pick is greater than 5, when Round is less than 11, and when Name is 'Tom Barrington'? ### Response:
SELECT SUM(overall) FROM table_name_69 WHERE pick > 5 AND round < 11 AND name = "tom barrington"