instruction
stringlengths 231
6.3k
| output
stringlengths 2
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_49117 (
"Name" text,
"Years" text,
"Seasons" real,
"Lost" real,
"Pct." real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many losses did the coach who served under 1 season and in 1975 have?
### Response:
|
SELECT COUNT("Lost") FROM table_49117 WHERE "Years" = '1975' AND "Seasons" < '1'
|
### Instruction:
CREATE TABLE table_10656 (
"Concession" text,
"Date" real,
"Grantee" text,
"Size" text,
"County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the grantee for las pulgas in 1795
### Response:
|
SELECT "Grantee" FROM table_10656 WHERE "Date" = '1795' AND "Concession" = 'las pulgas'
|
### Instruction:
CREATE TABLE table_14603057_2 (
class_aA VARCHAR,
class_a VARCHAR,
class_aAAAA VARCHAR,
Lubbock VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Class AA winner when Plains was Class A winner and Lubbock was Class AAAAA winner?
### Response:
|
SELECT class_aA FROM table_14603057_2 WHERE class_a = "Plains" AND class_aAAAA = Lubbock
|
### Instruction:
CREATE TABLE table_56512 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On which date did Geelong play at home?
### Response:
|
SELECT "Date" FROM table_56512 WHERE "Home team" = 'geelong'
|
### Instruction:
CREATE TABLE table_name_34 (
driver VARCHAR,
time_retired VARCHAR,
grid VARCHAR,
constructor VARCHAR,
laps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who drove the maserati under 18 laps with an oil leak that had a grid of under 14?
### Response:
|
SELECT driver FROM table_name_34 WHERE constructor = "maserati" AND laps < 18 AND grid < 14 AND time_retired = "oil leak"
|
### Instruction:
CREATE TABLE table_47223 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Total laps for Shinya Nakano at smaller than 10 grids.
### Response:
|
SELECT COUNT("Laps") FROM table_47223 WHERE "Rider" = 'shinya nakano' AND "Grid" < '10'
|
### Instruction:
CREATE TABLE table_204_346 (
id number,
"#" number,
"date" text,
"venue" text,
"opponent" text,
"result" text,
"competition" text,
"scored" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times does friendly appear in the competition column ?
### Response:
|
SELECT COUNT(*) FROM table_204_346 WHERE "competition" = 'friendly'
|
### Instruction:
CREATE TABLE table_65884 (
"Source" text,
"Chrome" text,
"Internet Explorer" text,
"Firefox" text,
"Safari" text,
"Opera" text,
"Other" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which source reported 32.60% of browsers used Chrome?
### Response:
|
SELECT "Source" FROM table_65884 WHERE "Chrome" = '32.60%'
|
### Instruction:
CREATE TABLE table_33766 (
"Chapter" text,
"Chartered" text,
"School" text,
"State" text,
"Status" text,
"Charter Range" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which chapter was active from 1906-1991?
### Response:
|
SELECT "Chapter" FROM table_33766 WHERE "Charter Range" = '1906-1991'
|
### Instruction:
CREATE TABLE table_17878 (
"No" real,
"Player" text,
"Height" text,
"Position" text,
"Year born" real,
"Current Club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's current club with position being center and no being bigger than 12.0
### Response:
|
SELECT "Current Club" FROM table_17878 WHERE "Position" = 'Center' AND "No" > '12.0'
|
### Instruction:
CREATE TABLE table_203_506 (
id number,
"opponent" text,
"played" number,
"won" number,
"lost" number,
"drawn" number,
"% won overall" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the most number of games played by a team with at least one draw ?
### Response:
|
SELECT MAX("played") FROM table_203_506 WHERE "drawn" >= 1
|
### Instruction:
CREATE TABLE table_77054 (
"City of license" text,
"Identifier" text,
"Frequency" text,
"Power" text,
"Class" text,
"RECNet" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the City of license that has a 1,400 watts Power
### Response:
|
SELECT "City of license" FROM table_77054 WHERE "Power" = '1,400 watts'
|
### Instruction:
CREATE TABLE table_25130 (
"Year" real,
"Network" text,
"Race caller" text,
"s Host" text,
"s Analyst" text,
"Reporters" text,
"Trophy presentation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who called the race in 1978?
### Response:
|
SELECT "Race caller" FROM table_25130 WHERE "Year" = '1978'
|
### Instruction:
CREATE TABLE table_39560 (
"Paul McCartney" text,
"Stuart" text,
"McIntosh" text,
"Whitten" text,
"Linda McCartney" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Paul McCartney has a Linda McCartney of keyboards or drum?
### Response:
|
SELECT "Paul McCartney" FROM table_39560 WHERE "Linda McCartney" = 'keyboards or drum'
|
### Instruction:
CREATE TABLE table_20748 (
"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.
-- Name the away team score for carlton
### Response:
|
SELECT "Away team score" FROM table_20748 WHERE "Home team" = 'Carlton'
|
### Instruction:
CREATE TABLE table_78924 (
"Opposing Teams" text,
"Against" real,
"Date" text,
"Venue" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the venue for the game played on 13/02/1954?
### Response:
|
SELECT "Venue" FROM table_78924 WHERE "Date" = '13/02/1954'
|
### Instruction:
CREATE TABLE table_204_100 (
id number,
"date" text,
"name of ship" text,
"nationality" text,
"tonnage" number,
"fate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many ships had more then 7,000 in tonnage ?
### Response:
|
SELECT COUNT("name of ship") FROM table_204_100 WHERE "tonnage" > 7000
|
### Instruction:
CREATE TABLE table_22864 (
"#" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real,
"U.S. viewers (in millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title of episode number 14?
### Response:
|
SELECT "Title" FROM table_22864 WHERE "#" = '14'
|
### Instruction:
CREATE TABLE table_27474 (
"Team" text,
"Home city" text,
"Home ground" text,
"In Toppserien since" real,
"First appearance" real,
"Seasons" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the home city for the team whose home ground is dnb nor arena?
### Response:
|
SELECT "Home city" FROM table_27474 WHERE "Home ground" = 'DnB Nor Arena'
|
### Instruction:
CREATE TABLE table_25479607_3 (
max_demand_charge___rs__kva_ VARCHAR,
tariff___rs__kwh_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the max demand charge for the user with a tariff of 8.85?
### Response:
|
SELECT max_demand_charge___rs__kva_ FROM table_25479607_3 WHERE tariff___rs__kwh_ = "8.85"
|
### Instruction:
CREATE TABLE table_1802522_3 (
state__class_ VARCHAR,
date_of_successors_formal_installation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What state had November 30, 1962 as the date of the successors formal installation?
### Response:
|
SELECT state__class_ FROM table_1802522_3 WHERE date_of_successors_formal_installation = "November 30, 1962"
|
### Instruction:
CREATE TABLE table_62188 (
"Name" text,
"Championship" real,
"League Cup" real,
"FA Cup" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What i the total number of championships less than 2, and a league cup larger than 1?
### Response:
|
SELECT COUNT("Total") FROM table_62188 WHERE "Championship" < '2' AND "League Cup" > '1'
|
### Instruction:
CREATE TABLE table_65633 (
"Year" real,
"Game" text,
"Genre" text,
"Platform(s)" text,
"Developer(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What game was before 2010 and was a role-playing game?
### Response:
|
SELECT "Game" FROM table_65633 WHERE "Year" < '2010' AND "Genre" = 'role-playing game'
|
### Instruction:
CREATE TABLE table_66654 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The swimmer from the United States in a lane less than 5, had what as the average time?
### Response:
|
SELECT AVG("Time") FROM table_66654 WHERE "Nationality" = 'united states' AND "Lane" < '5'
|
### Instruction:
CREATE TABLE table_44946 (
"The Year" real,
"Division" real,
"League" text,
"Regular Season" text,
"Playoffs" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Year did not qualify for Playoffs, and had a Division smaller than 3?
### Response:
|
SELECT SUM("The Year") FROM table_44946 WHERE "Playoffs" = 'did not qualify' AND "Division" < '3'
|
### Instruction:
CREATE TABLE table_25862 (
"Outcome" text,
"Year" real,
"Championship" text,
"Surface" text,
"Opponent in the final" text,
"Score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the year for guillermo ca as
### Response:
|
SELECT "Year" FROM table_25862 WHERE "Opponent in the final" = 'Guillermo Cañas'
|
### Instruction:
CREATE TABLE table_29785324_5 (
constituency_no INTEGER,
vidhan_sabha_constituency VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many were in the Kargahar (vidhan sabha constituency)?
### Response:
|
SELECT MIN(constituency_no) FROM table_29785324_5 WHERE vidhan_sabha_constituency = "Kargahar (Vidhan Sabha constituency)"
|
### Instruction:
CREATE TABLE table_63075 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the highest time when the rank is less than 5 and the name is eamon sullivan?
### Response:
|
SELECT MAX("Time") FROM table_63075 WHERE "Rank" < '5' AND "Name" = 'eamon sullivan'
|
### Instruction:
CREATE TABLE table_73595 (
"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.
-- How many values for attendance on the date of August 26?
### Response:
|
SELECT COUNT("Attendance") FROM table_73595 WHERE "Date" = 'August 26'
|
### Instruction:
CREATE TABLE table_204_590 (
id number,
"year" number,
"division" number,
"league" text,
"regular season" text,
"playoffs" text,
"open cup" text,
"avg. attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the first result listed under playoffs ?
### Response:
|
SELECT "playoffs" FROM table_204_590 WHERE id = 1
|
### Instruction:
CREATE TABLE table_27648 (
"Letters" text,
"Organization" text,
"Nickname" text,
"Founding Date" text,
"Founding University" text,
"Type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the founding university is in Charlotte, NC, what is the nickname?
### Response:
|
SELECT "Nickname" FROM table_27648 WHERE "Founding University" = 'Charlotte, NC'
|
### Instruction:
CREATE TABLE table_27410 (
"Name" text,
"#" real,
"Position" text,
"Height" text,
"Weight" real,
"Year" text,
"Former School" text,
"Hometown" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most number for notre dame prep
### Response:
|
SELECT MAX("#") FROM table_27410 WHERE "Former School" = 'Notre Dame Prep'
|
### Instruction:
CREATE TABLE table_76303 (
"noun root (meaning)" text,
"case suffix (case)" text,
"postposition" text,
"full word" text,
"English meaning" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is English Meaning, when Case Suffix (Case) is '-sa (dative)'?
### Response:
|
SELECT "English meaning" FROM table_76303 WHERE "case suffix (case)" = '-sa (dative)'
|
### Instruction:
CREATE TABLE table_18246 (
"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.
-- How many candidates are listed all together for the incumbent named bob clement?
### Response:
|
SELECT COUNT("Candidates") FROM table_18246 WHERE "Incumbent" = 'Bob Clement'
|
### Instruction:
CREATE TABLE table_23707 (
"Rank by average" real,
"Place" real,
"Couple" text,
"Total points" real,
"Number of dances" real,
"Average" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different numbers of total dances are there for the couple ranked at number 6?
### Response:
|
SELECT COUNT("Number of dances") FROM table_23707 WHERE "Place" = '6'
|
### Instruction:
CREATE TABLE table_18103 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Results" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the results in the election where Albert Wynn was the incumbent?
### Response:
|
SELECT "Results" FROM table_18103 WHERE "Incumbent" = 'Albert Wynn'
|
### Instruction:
CREATE TABLE table_200_3 (
id number,
"year" number,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"breeder" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who rode secretariat in 1973 ?
### Response:
|
SELECT "jockey" FROM table_200_3 WHERE "winner" = 'secretariat' AND "year" = 1973
|
### Instruction:
CREATE TABLE table_44555 (
"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.
-- Which game site hosted a match on April 10, 2004?
### Response:
|
SELECT "Game site" FROM table_44555 WHERE "Date" = 'april 10, 2004'
|
### Instruction:
CREATE TABLE table_22385461_8 (
spacewalkers VARCHAR,
end__utc_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the names of the spacewalkers for end (UTC) October 30, 2007 15:53?
### Response:
|
SELECT spacewalkers FROM table_22385461_8 WHERE end__utc_ = "October 30, 2007 15:53"
|
### Instruction:
CREATE TABLE table_53075 (
"Building" text,
"Height" text,
"Floors" real,
"Year" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the Year 2013 what building(s) had less than 20 Floors?
### Response:
|
SELECT "Building" FROM table_53075 WHERE "Year" = '2013' AND "Floors" < '20'
|
### Instruction:
CREATE TABLE table_72160 (
"Character" text,
"Fate" text,
"Actor" text,
"First Episode" text,
"Final Episode" text,
"Duration" text,
"Final Episode Count" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what are all the actor where first episode is 'ambush
### Response:
|
SELECT "Actor" FROM table_72160 WHERE "First Episode" = 'Ambush'
|
### Instruction:
CREATE TABLE table_60934 (
"Name" text,
"Public" text,
"Intranet" text,
"Extranet" text,
"Personal Sites" text,
"Team Sites" text,
"Developer" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the team sites entry for Microsoft Sharepoint?
### Response:
|
SELECT "Team Sites" FROM table_60934 WHERE "Name" = 'microsoft sharepoint'
|
### Instruction:
CREATE TABLE table_200_7 (
id number,
"afrikaans" text,
"ipa" text,
"dutch" text,
"english" text,
"german" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how do you say do you speak afrikaans ? in afrikaans ?
### Response:
|
SELECT "afrikaans" FROM table_200_7 WHERE "english" = 'do you speak afrikaans?'
|
### Instruction:
CREATE TABLE table_203_28 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how long , in km , was the event in helsinki , finland ?
### Response:
|
SELECT "event" FROM table_203_28 WHERE "venue" = 'helsinki, finland'
|
### Instruction:
CREATE TABLE table_8910 (
"Round" real,
"Pick" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Name has a Round smaller than 11, and a Pick of 13?
### Response:
|
SELECT "Name" FROM table_8910 WHERE "Round" < '11' AND "Pick" = '13'
|
### Instruction:
CREATE TABLE table_12255 (
"Round" real,
"Date" text,
"Event" text,
"Circuit" text,
"Winning Driver" text,
"Winning Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Winning Driver has an Event of 200 miles of norisring?
### Response:
|
SELECT "Winning Driver" FROM table_12255 WHERE "Event" = '200 miles of norisring'
|
### Instruction:
CREATE TABLE table_204_625 (
id number,
"model" text,
"availability" text,
"introduced" text,
"length of use" text,
"last of whiteness" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the number of products that were introduced in 2010 ?
### Response:
|
SELECT COUNT("model") FROM table_204_625 WHERE "introduced" = 2010
|
### Instruction:
CREATE TABLE table_name_29 (
gdp__billion_us$_ VARCHAR,
gdp_per_capita__us$_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the GDP (billion US$) of the country that has a GDP per capita (US$) of 8,861?
### Response:
|
SELECT gdp__billion_us$_ FROM table_name_29 WHERE gdp_per_capita__us$_ = "8,861"
|
### Instruction:
CREATE TABLE table_204_98 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which other year than 1998 was 3rd position ?
### Response:
|
SELECT "year" FROM table_204_98 WHERE "year" <> 1998 AND "position" = 3
|
### Instruction:
CREATE TABLE table_59318 (
"Date" text,
"Time" text,
"Opponent#" text,
"Rank #" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result on 10/08/1988?
### Response:
|
SELECT "Result" FROM table_59318 WHERE "Date" = '10/08/1988'
|
### Instruction:
CREATE TABLE table_1312 (
"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 the team is lake superior state how many times did they place fourth?
### Response:
|
SELECT MIN("Fourth place") FROM table_1312 WHERE "Team" = 'Lake Superior State'
|
### Instruction:
CREATE TABLE table_75130 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score when the attendance was 18,545?
### Response:
|
SELECT "Score" FROM table_75130 WHERE "Attendance" = '18,545'
|
### Instruction:
CREATE TABLE table_80345 (
"Year" text,
"Start" text,
"Qual" text,
"Rank" text,
"Finish" text,
"Laps" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the year for laps of 200 and rank of 24
### Response:
|
SELECT "Year" FROM table_80345 WHERE "Laps" = '200' AND "Rank" = '24'
|
### Instruction:
CREATE TABLE table_59600 (
"Outcome" text,
"Date" real,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Tournament has a Partner of tom gorman?
### Response:
|
SELECT "Tournament" FROM table_59600 WHERE "Partner" = 'tom gorman'
|
### Instruction:
CREATE TABLE table_30944 (
"Episode" real,
"Broadcast date" text,
"Guest(s)" text,
"Singer(s)" text,
"Comedian" text,
"Ratings" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the singer for 1.45m
### Response:
|
SELECT "Singer(s)" FROM table_30944 WHERE "Ratings" = '1.45m'
|
### Instruction:
CREATE TABLE table_50993 (
"Heat" real,
"Lane" real,
"Name" text,
"Country" text,
"Mark" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was in lane 6 with a mark of 2:05.58 SB?
### Response:
|
SELECT "Name" FROM table_50993 WHERE "Lane" = '6' AND "Mark" = '2:05.58 sb'
|
### Instruction:
CREATE TABLE table_59998 (
"Election" text,
"First member" text,
"First party" text,
"Second member" text,
"Second party" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the second party that has a conservative first party and second member John Cotes?
### Response:
|
SELECT "Second party" FROM table_59998 WHERE "First party" = 'conservative' AND "Second member" = 'john cotes'
|
### Instruction:
CREATE TABLE table_204_613 (
id number,
"title" text,
"year" number,
"peak chart positions\nus" number,
"peak chart positions\nus\nr&b" number,
"peak chart positions\nus\nrap" number,
"album" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many titles are listed ?
### Response:
|
SELECT COUNT("title") FROM table_204_613
|
### Instruction:
CREATE TABLE table_65175 (
"Eliminated" text,
"Tag Team" text,
"Entered" real,
"Eliminated by" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the highest Entered of Eliminated by of rosey and the hurricane?
### Response:
|
SELECT MAX("Entered") FROM table_65175 WHERE "Eliminated by" = 'rosey and the hurricane'
|
### Instruction:
CREATE TABLE table_24476 (
"No. in series" text,
"No. in season" text,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who directed the episode titled 'Jack and the Zombies'?
### Response:
|
SELECT "Directed by" FROM table_24476 WHERE "Title" = 'Jack and the Zombies'
|
### Instruction:
CREATE TABLE table_name_50 (
entrant VARCHAR,
chassis VARCHAR,
points VARCHAR,
year VARCHAR,
engine VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who used Ford v8 and Jordan 191 after 1990 and got 8 points?
### Response:
|
SELECT entrant FROM table_name_50 WHERE year > 1990 AND engine = "ford v8" AND points = 8 AND chassis = "jordan 191"
|
### Instruction:
CREATE TABLE table_name_71 (
hanzi VARCHAR,
name VARCHAR,
launch VARCHAR,
language VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which hanzi's launch is before 2009, when the language was tibetan, and the name was qinghai tibetian general channel?
### Response:
|
SELECT hanzi FROM table_name_71 WHERE launch < 2009 AND language = "tibetan" AND name = "qinghai tibetian general channel"
|
### Instruction:
CREATE TABLE table_47646 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Record, when Date is November 23?
### Response:
|
SELECT "Record" FROM table_47646 WHERE "Date" = 'november 23'
|
### Instruction:
CREATE TABLE table_203_491 (
id number,
"year" number,
"title" text,
"us hot 100" number,
"us modern rock" number,
"us mainstream rock" number,
"album" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many singles reached the us mainstream rock chart ?
### Response:
|
SELECT COUNT("title") FROM table_203_491 WHERE NOT "us mainstream rock" IS NULL
|
### Instruction:
CREATE TABLE table_24829 (
"Institution" text,
"Location" text,
"Enrollment" text,
"Athletic nickname" text,
"School Colors" text,
"Founded" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the ateneo de manila university founded?
### Response:
|
SELECT "Founded" FROM table_24829 WHERE "Institution" = 'Ateneo de Manila University'
|
### Instruction:
CREATE TABLE table_55373 (
"Player" text,
"Rec." real,
"Yards" real,
"Avg." real,
"Long" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average long that Ramon Richardson played and an average greater than 5.5?
### Response:
|
SELECT AVG("Long") FROM table_55373 WHERE "Player" = 'ramon richardson' AND "Avg." > '5.5'
|
### Instruction:
CREATE TABLE table_38311 (
"Start month" text,
"End month" text,
"Cover" text,
"Spine" text,
"Indicia" text,
"Masthead" text,
"Number of issues" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many issues end on jan 72?
### Response:
|
SELECT SUM("Number of issues") FROM table_38311 WHERE "End month" = 'jan–72'
|
### Instruction:
CREATE TABLE table_1341586_39 (
district VARCHAR,
candidates VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's district with candidates being curt weldon (r) 61.3% bill spingler (d) 38.7%
### Response:
|
SELECT district FROM table_1341586_39 WHERE candidates = "Curt Weldon (R) 61.3% Bill Spingler (D) 38.7%"
|
### Instruction:
CREATE TABLE table_71680 (
"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 the date of the tournament where Kyoko Nagatsuka was the opponent in the final?
### Response:
|
SELECT "Date" FROM table_71680 WHERE "Opponent in the final" = 'kyoko nagatsuka'
|
### Instruction:
CREATE TABLE table_10693 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the highest Grid for Maurice Trintignant and laps less than 87
### Response:
|
SELECT MAX("Grid") FROM table_10693 WHERE "Driver" = 'maurice trintignant' AND "Laps" < '87'
|
### Instruction:
CREATE TABLE table_75655 (
"Outcome" text,
"Event" text,
"Year" text,
"Venue" text,
"Partner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what Year did the German Open have Yoo Sang-Hee as Partner?
### Response:
|
SELECT "Year" FROM table_75655 WHERE "Partner" = 'yoo sang-hee' AND "Venue" = 'german open'
|
### Instruction:
CREATE TABLE table_204_974 (
id number,
"season" number,
"level" text,
"division" text,
"section" text,
"administration" text,
"position" text,
"movements" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which was the only kolmonen whose movements were promoted ?
### Response:
|
SELECT "season" FROM table_204_974 WHERE "movements" = 'promoted'
|
### Instruction:
CREATE TABLE table_1608 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Replaced by" text,
"Date of appointment" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the outgoing manager replaced by Marian Bucurescu?
### Response:
|
SELECT "Outgoing manager" FROM table_1608 WHERE "Replaced by" = 'Marian Bucurescu'
|
### Instruction:
CREATE TABLE table_33611 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did Essendon play as the home team?
### Response:
|
SELECT "Date" FROM table_33611 WHERE "Home team" = 'essendon'
|
### Instruction:
CREATE TABLE table_9988 (
"Year" real,
"Film" text,
"Song" text,
"Composer" text,
"Language" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What song was composed by V. Selvaganesh later than 2010?
### Response:
|
SELECT "Song" FROM table_9988 WHERE "Composer" = 'v. selvaganesh' AND "Year" > '2010'
|
### Instruction:
CREATE TABLE table_61930 (
"Athlete" text,
"Country" text,
"Run 1" real,
"Run 2" real,
"Run 3" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest run 3 of the athlete with a 55.44 run 2?
### Response:
|
SELECT MAX("Run 3") FROM table_61930 WHERE "Run 2" = '55.44'
|
### Instruction:
CREATE TABLE table_202_173 (
id number,
"track" number,
"title" text,
"translation" text,
"composer" text,
"recorded" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which track was composed by jacques brel and gaby wagenheim ?
### Response:
|
SELECT "title" FROM table_202_173 WHERE "composer" = 'jacques brel, gaby wagenheim'
|
### Instruction:
CREATE TABLE table_33241 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who went to Geelong to play?
### Response:
|
SELECT "Away team" FROM table_33241 WHERE "Home team" = 'geelong'
|
### Instruction:
CREATE TABLE table_64307 (
"Result" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Round has an Opponent of aleksandr pitchkounov?
### Response:
|
SELECT MIN("Round") FROM table_64307 WHERE "Opponent" = 'aleksandr pitchkounov'
|
### Instruction:
CREATE TABLE table_8842 (
"Year" real,
"Ship" text,
"Departed From" text,
"Departed On" text,
"Returned On" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Year has a Returned On of march 10, 2013?
### Response:
|
SELECT AVG("Year") FROM table_8842 WHERE "Returned On" = 'march 10, 2013'
|
### Instruction:
CREATE TABLE table_40467 (
"Pos." text,
"Player" text,
"Team" text,
"Height" text,
"Weight" real,
"First round" text,
"Final round" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the final round score for the player from the Milwaukee Bucks?
### Response:
|
SELECT "Final round" FROM table_40467 WHERE "Team" = 'milwaukee bucks'
|
### Instruction:
CREATE TABLE table_train_49 (
"id" int,
"consent" bool,
"palliative_treatment" bool,
"acute_mesenteric_ischemia" bool,
"receiving_vasopressor" bool,
"septic_shock" bool,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- refusal to give consent
### Response:
|
SELECT * FROM table_train_49 WHERE consent = 0
|
### Instruction:
CREATE TABLE table_203_216 (
id number,
"rank" number,
"hospital" text,
"city" text,
"county" text,
"# beds" number,
"type of hospital" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many hospital 's have at least 600 beds ?
### Response:
|
SELECT COUNT("hospital") FROM table_203_216 WHERE "# beds" >= 600
|
### Instruction:
CREATE TABLE table_55630 (
"Year" real,
"Network" text,
"Play-by-play" text,
"Colour commentator(s)" text,
"Studio host" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the colour commentator when the play-by-play announcer was Bob Cole?
### Response:
|
SELECT "Colour commentator(s)" FROM table_55630 WHERE "Play-by-play" = 'bob cole'
|
### Instruction:
CREATE TABLE table_26358 (
"Team" text,
"Location" text,
"Home Ground" text,
"First year in Qld Cup" real,
"Last year in Qld Cup" real,
"Qld Cup Premierships" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every team in the location of Port Moresby?
### Response:
|
SELECT "Team" FROM table_26358 WHERE "Location" = 'Port Moresby'
|
### Instruction:
CREATE TABLE table_474 (
"Stage" real,
"Winner" text,
"General classification" text,
"Points classification" text,
"Mountains classification" text,
"Intergiro classification" text,
"Trofeo Fast Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the intergiro classification of stage 21?
### Response:
|
SELECT "Intergiro classification" FROM table_474 WHERE "Stage" = '21'
|
### Instruction:
CREATE TABLE table_23485 (
"Year" text,
"Horsepower" text,
"Torque" text,
"Fuel System" text,
"Compression Ratio" text,
"RPO" text,
"Applications" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the torque for 1986
### Response:
|
SELECT "Torque" FROM table_23485 WHERE "Year" = '1986'
|
### Instruction:
CREATE TABLE table_9772 (
"Episode #" text,
"Original airdate (UK)" text,
"Episode title" text,
"Doctor Who episode" text,
"Webcast link" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Episode title has a Doctor Who episode of episodes 1 12?
### Response:
|
SELECT "Episode title" FROM table_9772 WHERE "Doctor Who episode" = 'episodes 1–12'
|
### Instruction:
CREATE TABLE table_40616 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Date with an Opponent that is flavia pennetta?
### Response:
|
SELECT "Date" FROM table_40616 WHERE "Opponent" = 'flavia pennetta'
|
### Instruction:
CREATE TABLE table_204_968 (
id number,
"squad #" number,
"position" text,
"player" text,
"transferred to" text,
"fee" text,
"date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- wong chin hung was transferred to his new team on what date ?
### Response:
|
SELECT "date" FROM table_204_968 WHERE "player" = 'wong chin hung'
|
### Instruction:
CREATE TABLE table_203_775 (
id number,
"week" number,
"date" text,
"opponent" text,
"result" text,
"game site" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- the total number of games played at war memorial stadium was how many ?
### Response:
|
SELECT COUNT(*) FROM table_203_775 WHERE "game site" = 'war memorial stadium'
|
### Instruction:
CREATE TABLE table_18788 (
"City of license/Market" text,
"Station" text,
"Channel TV ( DT )" text,
"Years owned" text,
"Current Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many entries are listed under 'current status' for the WJW-TV ++ Station?
### Response:
|
SELECT COUNT("Current Status") FROM table_18788 WHERE "Station" = 'WJW-TV ++'
|
### Instruction:
CREATE TABLE table_1570 (
"Series #" real,
"Season #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original airdate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many episodes were named 'Dogcatcher in the Rye'?
### Response:
|
SELECT COUNT("Directed by") FROM table_1570 WHERE "Title" = 'Dogcatcher in the Rye'
|
### Instruction:
CREATE TABLE table_204_365 (
id number,
"year" number,
"single" text,
"chart positions\nusa billboard hot dance club play" number,
"chart positions\npolish charts" number,
"album" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the name of natalia lesz 's first single ?
### Response:
|
SELECT "single" FROM table_204_365 ORDER BY "year" LIMIT 1
|
### Instruction:
CREATE TABLE table_20243 (
"Date" text,
"Cover model" text,
"Centerfold model" text,
"Interview subject" text,
"20 Questions" text,
"Pictorials" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the date of 20 questions for jimmy fallon
### Response:
|
SELECT "Date" FROM table_20243 WHERE "20 Questions" = 'Jimmy Fallon'
|
### Instruction:
CREATE TABLE table_name_11 (
player VARCHAR,
money___$__ VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Player has a Money ($) of 137, and a Score of 73-70-73-74=290?
### Response:
|
SELECT player FROM table_name_11 WHERE money___$__ = 137 AND score = 73 - 70 - 73 - 74 = 290
|
### Instruction:
CREATE TABLE table_30161 (
"Proceed to Quarter-final" text,
"Match points" text,
"Aggregate score" text,
"Points margin" real,
"Eliminated from competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who proceeded to the quarter finals with a points margin of 21?
### Response:
|
SELECT "Proceed to Quarter-final" FROM table_30161 WHERE "Points margin" = '21'
|
### Instruction:
CREATE TABLE table_50216 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" text,
"Competition" text,
"Man of the Match" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Result of the game dated 21st?
### Response:
|
SELECT "Result" FROM table_50216 WHERE "Date" = '21st'
|
### Instruction:
CREATE TABLE table_204_880 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the first competition where this runner placed 1st ?
### Response:
|
SELECT "competition" FROM table_204_880 WHERE "position" = 1 ORDER BY "year" LIMIT 1
|
### Instruction:
CREATE TABLE table_553 (
"English Title/Translation" text,
"Japanese Title" text,
"Developer" text,
"Publisher" text,
"Genre" text,
"Console(s)" text,
"Initial Release Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the game developed by Microvision released?
### Response:
|
SELECT "Initial Release Date" FROM table_553 WHERE "Developer" = 'Microvision'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.