instruction
stringlengths 231
6.3k
| output
stringlengths 2
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_34199 (
"Round" real,
"Pick" real,
"Player" text,
"Nationality" text,
"College/Junior/Club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which College/Junior/Club team has a Round of 6?
### Response:
|
SELECT "College/Junior/Club team" FROM table_34199 WHERE "Round" = '6'
|
### Instruction:
CREATE TABLE table_54533 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Round" text,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the opponent with a time of 1:16?
### Response:
|
SELECT "Opponent" FROM table_54533 WHERE "Time" = '1:16'
|
### Instruction:
CREATE TABLE table_name_65 (
kerry__number INTEGER,
others__percentage VARCHAR,
kerry__percentage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Kerry's lowest number of votes where Other received 0.8% and Kerry 70.4%?
### Response:
|
SELECT MIN(kerry__number) FROM table_name_65 WHERE others__percentage = "0.8%" AND kerry__percentage = "70.4%"
|
### Instruction:
CREATE TABLE table_73552 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Attendance" real,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What scores happened to be on February 9?
### Response:
|
SELECT "Score" FROM table_73552 WHERE "Date" = 'February 9'
|
### Instruction:
CREATE TABLE table_75097 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Save" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the loss for the game against @ expos, with a save of parrett (2)?
### Response:
|
SELECT "Loss" FROM table_75097 WHERE "Opponent" = '@ expos' AND "Save" = 'parrett (2)'
|
### Instruction:
CREATE TABLE table_26529 (
"Name" text,
"Number" real,
"Pos." text,
"Height" text,
"Weight" real,
"Year" text,
"Hometown" text,
"High School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the height when the player is from Los Angeles?
### Response:
|
SELECT "Height" FROM table_26529 WHERE "Hometown" = 'Los Angeles'
|
### Instruction:
CREATE TABLE table_name_12 (
opponent VARCHAR,
date VARCHAR,
venue VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Opponent has a Venue of h, and a Result of 0 1, and a Date of 29 august 1998?
### Response:
|
SELECT opponent FROM table_name_12 WHERE venue = "h" AND result = "0–1" AND date = "29 august 1998"
|
### 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 games did the home team score at least 3 goals ?
### Response:
|
SELECT COUNT(*) FROM table_204_346 WHERE "result" >= 3
|
### Instruction:
CREATE TABLE table_25945 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Attendance" real,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score on October 29?
### Response:
|
SELECT "Score" FROM table_25945 WHERE "Date" = 'October 29'
|
### Instruction:
CREATE TABLE table_24099 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Bruins points" real,
"Opponents" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Santa Clara was played how many times?
### Response:
|
SELECT "Opponents" FROM table_24099 WHERE "Opponent" = 'Santa Clara'
|
### Instruction:
CREATE TABLE table_name_96 (
name VARCHAR,
laid_down VARCHAR,
built_by_hm_dockyard VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name that has July 1823 as the Laid down, and portsmouth as the built by hm dockyard?
### Response:
|
SELECT name FROM table_name_96 WHERE laid_down = "july 1823" AND built_by_hm_dockyard = "portsmouth"
|
### Instruction:
CREATE TABLE table_57764 (
"Name" text,
"Pennant" text,
"Builder" text,
"Laid Down" text,
"Launched" text,
"Commissioned" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the laid down date of the destroyer with a r29 pennant?
### Response:
|
SELECT "Laid Down" FROM table_57764 WHERE "Pennant" = 'r29'
|
### Instruction:
CREATE TABLE table_24528 (
"Year (Ceremony)" text,
"Film title used in nomination" text,
"Original title" text,
"Director" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which film title used in nomination has vinterkyss as the original title?
### Response:
|
SELECT "Film title used in nomination" FROM table_24528 WHERE "Original title" = 'Vinterkyss'
|
### Instruction:
CREATE TABLE table_name_34 (
declination___j2000__ VARCHAR,
right_ascension___j2000__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the declination with a right ascension of 11h53m41.9s?
### Response:
|
SELECT declination___j2000__ FROM table_name_34 WHERE right_ascension___j2000__ = "11h53m41.9s"
|
### Instruction:
CREATE TABLE table_56672 (
"Outcome" text,
"Tournament" text,
"Surface" text,
"Partnering" text,
"Score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what surface was the score in the final 0 6, 4 6?
### Response:
|
SELECT "Surface" FROM table_56672 WHERE "Score in the final" = '0–6, 4–6'
|
### Instruction:
CREATE TABLE table_name_23 (
term_end VARCHAR,
political_party VARCHAR,
born_died VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Term end has a Political Party of balli komb tar, and a Born-Died of 1905 1972?
### Response:
|
SELECT term_end FROM table_name_23 WHERE political_party = "balli kombëtar" AND born_died = "1905–1972"
|
### Instruction:
CREATE TABLE table_49149 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What round did the fight against travis fulton last?
### Response:
|
SELECT "Round" FROM table_49149 WHERE "Opponent" = 'travis fulton'
|
### Instruction:
CREATE TABLE table_2668329_18 (
result VARCHAR,
candidates VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the result for thomas h. hall (dr) 53.0% william clarke (f) 47.0%
### Response:
|
SELECT COUNT(result) FROM table_2668329_18 WHERE candidates = "Thomas H. Hall (DR) 53.0% William Clarke (F) 47.0%"
|
### Instruction:
CREATE TABLE captain (
captain_id number,
name text,
ship_id number,
age text,
class text,
rank text
)
CREATE TABLE ship (
ship_id number,
name text,
type text,
built_year number,
class text,
flag text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which flag is most widely used among all ships?
### Response:
|
SELECT flag FROM ship GROUP BY flag ORDER BY COUNT(*) DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_74594 (
"Year" real,
"Race name" text,
"Rider status" text,
"Winner" text,
"Team/Country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the winner in 1973 with an amateur rider status?
### Response:
|
SELECT "Winner" FROM table_74594 WHERE "Rider status" = 'amateur' AND "Year" = '1973'
|
### Instruction:
CREATE TABLE table_25422 (
"District" text,
"Vacator" text,
"Reason for change" text,
"Successor" text,
"Date successor seated" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What district is Samuel A. Bridges ( D ) assigned to as a successor?
### Response:
|
SELECT "District" FROM table_25422 WHERE "Successor" = 'Samuel A. Bridges ( D )'
|
### Instruction:
CREATE TABLE table_61680 (
"Year" real,
"Manufacturer" text,
"Start" real,
"Finish" real,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Year, when Finish is '51', and when Start is less than 64?
### Response:
|
SELECT MAX("Year") FROM table_61680 WHERE "Finish" = '51' AND "Start" < '64'
|
### Instruction:
CREATE TABLE table_38274 (
"Team" text,
"Driver" text,
"Laps" real,
"Time" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest grid number that had 10 laps listed with Jonathan Summerton as the driver?
### Response:
|
SELECT MIN("Grid") FROM table_38274 WHERE "Laps" = '10' AND "Driver" = 'jonathan summerton'
|
### Instruction:
CREATE TABLE table_23318 (
"Vehicle Category" text,
"Till Aligarh" real,
"Till Mathura" real,
"Till Agra" real,
"For Round Trip" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many have the Till Agra of 500?
### Response:
|
SELECT COUNT("Till Mathura") FROM table_23318 WHERE "Till Agra" = '500'
|
### Instruction:
CREATE TABLE table_name_11 (
round INTEGER,
pick VARCHAR,
college VARCHAR,
overall VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of the rounds where the draft pick came from the college of tennessee and had an overall pick number bigger than 153 and a pick less than 14?
### Response:
|
SELECT SUM(round) FROM table_name_11 WHERE college = "tennessee" AND overall > 153 AND pick < 14
|
### Instruction:
CREATE TABLE table_name_50 (
goals_l_c_e_ VARCHAR,
app_l_c_e_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the gaols(L/C/E) with an App(L/C/E) of 55 (47/5/3)?
### Response:
|
SELECT goals_l_c_e_ FROM table_name_50 WHERE app_l_c_e_ = "55 (47/5/3)"
|
### Instruction:
CREATE TABLE table_74907 (
"Year" real,
"Organisation" text,
"Award" text,
"Representative Work" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the award for 1998 with Representative Work of city beat?
### Response:
|
SELECT "Award" FROM table_74907 WHERE "Year" = '1998' AND "Representative Work" = 'city beat'
|
### Instruction:
CREATE TABLE table_203_168 (
id number,
"team name" text,
"leagues" text,
"base" text,
"year started" text,
"year ended" text,
"notable riders" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many teams started before 1940 ?
### Response:
|
SELECT COUNT("team name") FROM table_203_168 WHERE "year started" < 1940
|
### Instruction:
CREATE TABLE table_43984 (
"Nat." text,
"Name" text,
"Moving to" text,
"Type" text,
"Transfer window" text,
"Transfer fee" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the type of loan and the transfer fee loan?
### Response:
|
SELECT "Nat." FROM table_43984 WHERE "Type" = 'loan' AND "Transfer fee" = 'loan'
|
### Instruction:
CREATE TABLE table_36350 (
"Outcome" text,
"Date" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Surface has a Partner of galina voskoboeva?
### Response:
|
SELECT "Surface" FROM table_36350 WHERE "Partner" = 'galina voskoboeva'
|
### Instruction:
CREATE TABLE table_15155 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which opponent has a loss of erickson (8-19)?
### Response:
|
SELECT "Opponent" FROM table_15155 WHERE "Loss" = 'erickson (8-19)'
|
### Instruction:
CREATE TABLE table_20741 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What to Footscray score at home?
### Response:
|
SELECT "Home team score" FROM table_20741 WHERE "Home team" = 'Footscray'
|
### Instruction:
CREATE TABLE table_14677 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people were in attendance on the day there was a 30-22 victory?
### Response:
|
SELECT COUNT("Attendance") FROM table_14677 WHERE "Record" = '30-22'
|
### Instruction:
CREATE TABLE table_69402 (
"Film" text,
"Director(s)" text,
"Producer(s)" text,
"Writer(s)" text,
"Recipient" text,
"Award" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the writer for Red Rose Chain LTD?
### Response:
|
SELECT "Writer(s)" FROM table_69402 WHERE "Recipient" = 'red rose chain ltd'
|
### Instruction:
CREATE TABLE table_55677 (
"Romaji title" text,
"Japanese title" text,
"Release date" text,
"Reference" text,
"Oricon" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Reference has a Release date of 1996/10/10?
### Response:
|
SELECT "Reference" FROM table_55677 WHERE "Release date" = '1996/10/10'
|
### Instruction:
CREATE TABLE table_54266 (
"Club" text,
"League" text,
"Sport" text,
"Venue" text,
"Established" real,
"Disbanded" text,
"Championships" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which disbanded is in the ahl league?
### Response:
|
SELECT "Disbanded" FROM table_54266 WHERE "League" = 'ahl'
|
### Instruction:
CREATE TABLE table_203_718 (
id number,
"pos" text,
"rider" text,
"manufacturer" text,
"time/retired" text,
"points" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was the last person to complete the 250cc valencian community motorcycle grand prix ?
### Response:
|
SELECT "rider" FROM table_203_718 ORDER BY "pos" DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_70680 (
"Application" text,
"Expected Speed Up\u2020" text,
"GPU\u2021" text,
"Multi-GPU Support" text,
"Release Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which GPU has the cushaw application?
### Response:
|
SELECT "GPU\u2021" FROM table_70680 WHERE "Application" = 'cushaw'
|
### Instruction:
CREATE TABLE table_13153 (
"Elected" text,
"Assembled" text,
"Dissolved" text,
"1st member" text,
"2nd member" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the 1st member elected in 1620/21?
### Response:
|
SELECT "1st member" FROM table_13153 WHERE "Elected" = '1620/21'
|
### Instruction:
CREATE TABLE table_39657 (
"Date" text,
"Opponent" text,
"Result" text,
"Score" text,
"Record" text,
"Streak" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent with a score of 109 108?
### Response:
|
SELECT "Opponent" FROM table_39657 WHERE "Score" = '109–108'
|
### Instruction:
CREATE TABLE table_57976 (
"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.
-- What team played Hawthorn?
### Response:
|
SELECT "Away team" FROM table_57976 WHERE "Home team" = 'hawthorn'
|
### Instruction:
CREATE TABLE table_203_703 (
id number,
"year" number,
"site" text,
"winning team" text,
"losing team" text,
"series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times did kansas and kansas state play in lawrence from 1902-1968 ?
### Response:
|
SELECT COUNT(*) FROM table_203_703 WHERE "site" = 'lawrence'
|
### Instruction:
CREATE TABLE table_42026 (
"Rank" real,
"Name" text,
"Team" text,
"Games" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest value for Points, when Games is 21, and when Rank is greater than 2?
### Response:
|
SELECT MAX("Points") FROM table_42026 WHERE "Games" = '21' AND "Rank" > '2'
|
### Instruction:
CREATE TABLE table_80172 (
"Election" text,
"1st Member" text,
"1st Party" text,
"2nd Member" text,
"2nd Party" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the 1st Party when the 1st Member was William Congreve Russell?
### Response:
|
SELECT "1st Party" FROM table_80172 WHERE "1st Member" = 'william congreve russell'
|
### Instruction:
CREATE TABLE table_39986 (
"Television service" text,
"Language" text,
"Content" text,
"HDTV" text,
"Package/Option" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What television service has italian as the language, and sky famiglia as the package option?
### Response:
|
SELECT "Television service" FROM table_39986 WHERE "Language" = 'italian' AND "Package/Option" = 'sky famiglia'
|
### Instruction:
CREATE TABLE table_19955 (
"Episode No." text,
"Episode Title" text,
"UK Broadcast Date" text,
"Presenter" text,
"Details of Journey" text,
"Countries Visited" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the UK broadcast date for the episode which visited USA?
### Response:
|
SELECT "UK Broadcast Date" FROM table_19955 WHERE "Countries Visited" = 'USA'
|
### Instruction:
CREATE TABLE table_4188 (
"No. in series" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who directed the episode with production code ip01003?
### Response:
|
SELECT "Directed by" FROM table_4188 WHERE "Production code" = 'IP01003'
|
### Instruction:
CREATE TABLE table_28594 (
"Location" text,
"Date" real,
"Denomination" text,
"Coinage metal" text,
"Mintage" real,
"KM number" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the coinage metal for a KM number of S75?
### Response:
|
SELECT "Coinage metal" FROM table_28594 WHERE "KM number" = 'S75'
|
### Instruction:
CREATE TABLE table_name_53 (
name VARCHAR,
average VARCHAR,
overs VARCHAR,
wickets VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has fewer than 2047.3 overs, more than 200 wickets and an average of 29.02?
### Response:
|
SELECT name FROM table_name_53 WHERE overs < 2047.3 AND wickets > 200 AND average > 29.02
|
### Instruction:
CREATE TABLE table_35481 (
"Call sign" text,
"Frequency MHz" text,
"City of license" text,
"ERP W" real,
"FCC info" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which City of license has a Frequency MHz of 91.5 fm?
### Response:
|
SELECT "City of license" FROM table_35481 WHERE "Frequency MHz" = '91.5 fm'
|
### Instruction:
CREATE TABLE table_204_862 (
id number,
"rank" number,
"bib" number,
"athlete" text,
"country" text,
"run 1" text,
"run 2" text,
"total" text,
"behind" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the total number of competitors ?
### Response:
|
SELECT COUNT("athlete") FROM table_204_862
|
### Instruction:
CREATE TABLE table_5796 (
"Call sign" text,
"Frequency MHz" real,
"City of license" text,
"ERP W" real,
"Class" text,
"FCC info" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What ERP W has a 95.1 MHZ frequency?
### Response:
|
SELECT "ERP W" FROM table_5796 WHERE "Frequency MHz" = '95.1'
|
### Instruction:
CREATE TABLE table_67129 (
"Year" real,
"Event" text,
"Venue" text,
"Driver" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the outcome for Emerson Fittipaldi in the race held at Jarama?
### Response:
|
SELECT "Result" FROM table_67129 WHERE "Venue" = 'jarama' AND "Driver" = 'emerson fittipaldi'
|
### Instruction:
CREATE TABLE table_14443 (
"Player" text,
"Position" text,
"Round" text,
"Overall" real,
"MLB Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What round was less than 545 overall for San Francisco Giants?
### Response:
|
SELECT "Round" FROM table_14443 WHERE "Overall" < '545' AND "MLB Team" = 'san francisco giants'
|
### Instruction:
CREATE TABLE table_28868 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people were first elected when john roane was the incumbent?
### Response:
|
SELECT COUNT("First elected") FROM table_28868 WHERE "Incumbent" = 'John Roane'
|
### Instruction:
CREATE TABLE table_11871 (
"Name" text,
"Premiere" text,
"Finale" text,
"Original teams" text,
"The Biggest Loser" text,
"At-Home Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the season won by John Rhode?
### Response:
|
SELECT "Name" FROM table_11871 WHERE "The Biggest Loser" = 'john rhode'
|
### Instruction:
CREATE TABLE table_78313 (
"Team" text,
"Outgoing manager" text,
"Date of departure" text,
"Replaced by" text,
"Date of Appointment" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the departure date when a manager was replaced by Bojan Pra nikar?
### Response:
|
SELECT "Date of departure" FROM table_78313 WHERE "Replaced by" = 'bojan prašnikar'
|
### Instruction:
CREATE TABLE table_73143 (
"Draw" real,
"Artist" text,
"Song" text,
"Jury votes" real,
"Televotes" real,
"Total votes" real,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of song for julia bermejo
### Response:
|
SELECT COUNT("Song") FROM table_73143 WHERE "Artist" = 'Julia Bermejo'
|
### Instruction:
CREATE TABLE table_14522 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On the game that put the team at 34-44, what was the attendance?
### Response:
|
SELECT SUM("Attendance") FROM table_14522 WHERE "Record" = '34-44'
|
### Instruction:
CREATE TABLE table_59219 (
"Physical property" text,
"Helium" text,
"Neon" text,
"Argon" text,
"Krypton" text,
"Xenon" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the Argon which has a Neon of 0.484?
### Response:
|
SELECT "Argon" FROM table_59219 WHERE "Neon" = '0.484'
|
### Instruction:
CREATE TABLE table_26550 (
"No. in series" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 21 is the number in series what is the air date?
### Response:
|
SELECT "Original air date" FROM table_26550 WHERE "No. in series" = '21'
|
### Instruction:
CREATE TABLE table_28950 (
"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.
-- If the district is Virginia 8, who is the Incumbent?
### Response:
|
SELECT "Incumbent" FROM table_28950 WHERE "District" = 'Virginia 8'
|
### Instruction:
CREATE TABLE table_61017 (
"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 Tournament has a Date of 20 december 2010?
### Response:
|
SELECT "Tournament" FROM table_61017 WHERE "Date" = '20 december 2010'
|
### Instruction:
CREATE TABLE table_35383 (
"Date" text,
"Tournament" text,
"Surface" text,
"Partnering" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Date of november 3, 2008 had what score?
### Response:
|
SELECT "Score" FROM table_35383 WHERE "Date" = 'november 3, 2008'
|
### Instruction:
CREATE TABLE table_3469 (
"District" real,
"Senator" text,
"Party" text,
"Residence" text,
"First elected" text,
"Term Limited" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the earliest term limit for the senator who resides in Coshocton?
### Response:
|
SELECT MIN("Term Limited") FROM table_3469 WHERE "Residence" = 'Coshocton'
|
### Instruction:
CREATE TABLE table_65698 (
"Name" text,
"Height" text,
"Weight" text,
"Spike" text,
"2008 club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the spike for the 2008 club Despar Sirio Perugia?
### Response:
|
SELECT "Spike" FROM table_65698 WHERE "2008 club" = 'despar sirio perugia'
|
### Instruction:
CREATE TABLE table_23658 (
"Season" real,
"Division" text,
"Coach" text,
"Overall Record" text,
"Conference Record" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How did the season with 7-2 conference record ed?
### Response:
|
SELECT "Result" FROM table_23658 WHERE "Conference Record" = '7-2'
|
### Instruction:
CREATE TABLE table_204_729 (
id number,
"year" text,
"show" text,
"role" text,
"channel" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- the two video jockey shows were fantastic 5 and which other show ?
### Response:
|
SELECT "show" FROM table_204_729 WHERE "role" = 'video jockey' AND "show" <> 'fantastic 5'
|
### Instruction:
CREATE TABLE table_26252 (
"Year" text,
"District-wide" real,
"High schools" real,
"Middle schools" real,
"Elementary schools" real,
"Other programs & adjustments" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most high schools for 31851
### Response:
|
SELECT MAX("High schools") FROM table_26252 WHERE "District-wide" = '31851'
|
### Instruction:
CREATE TABLE table_name_89 (
killeen_rate INTEGER,
texas_rate VARCHAR,
us_rate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Texas Rate smaller than 32.9, and a U.S. Rate larger than 5.6 is what highest killeen rate?
### Response:
|
SELECT MAX(killeen_rate) FROM table_name_89 WHERE texas_rate < 32.9 AND us_rate > 5.6
|
### Instruction:
CREATE TABLE table_39587 (
"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's the record for the game with an attendance of 49,222?
### Response:
|
SELECT "Record" FROM table_39587 WHERE "Attendance" = '49,222'
|
### Instruction:
CREATE TABLE table_25443 (
"Outcome" text,
"Year" real,
"Championship" text,
"Surface" text,
"Opponent in final" text,
"Score in final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the year where the runner-up outcome was at its basic minimum?
### Response:
|
SELECT MIN("Year") FROM table_25443 WHERE "Outcome" = 'Runner-up'
|
### Instruction:
CREATE TABLE table_name_41 (
significand VARCHAR,
number_of_decimal_digits VARCHAR,
total_bits VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the total number of signicand with ~34.0 decimal digits and more than 128 total bits?
### Response:
|
SELECT COUNT(significand) FROM table_name_41 WHERE number_of_decimal_digits = "~34.0" AND total_bits > 128
|
### Instruction:
CREATE TABLE table_71776 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent at the game that had a loss of Caldwell (10-11)?
### Response:
|
SELECT "Opponent" FROM table_71776 WHERE "Loss" = 'caldwell (10-11)'
|
### Instruction:
CREATE TABLE table_203_378 (
id number,
"against" text,
"played" number,
"won" number,
"drawn" number,
"lost" number,
"win %" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- at most , what is spain 's win percentage against another country .
### Response:
|
SELECT "win %" FROM table_203_378 ORDER BY "win %" DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_52683 (
"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 plays at Victoria Park?
### Response:
|
SELECT "Away team" FROM table_52683 WHERE "Venue" = 'victoria park'
|
### Instruction:
CREATE TABLE table_21978 (
"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.
-- What are the total points for the team that averages 17.8?
### Response:
|
SELECT "Total points" FROM table_21978 WHERE "Average" = '17.8'
|
### Instruction:
CREATE TABLE table_73078 (
"Round" text,
"Clubs remaining" real,
"Clubs involved" real,
"Winners from previous round" text,
"New entries this round" text,
"Leagues entering this round" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the leagues entering this round for 4
### Response:
|
SELECT "Leagues entering this round" FROM table_73078 WHERE "Clubs involved" = '4'
|
### Instruction:
CREATE TABLE table_78805 (
"Geelong DFL" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest number of wins where the byes are less than 0?
### Response:
|
SELECT MIN("Wins") FROM table_78805 WHERE "Byes" < '0'
|
### Instruction:
CREATE TABLE table_202_29 (
id number,
"year" number,
"nominated work" text,
"award" text,
"category" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which year was joan rivers nominated for a tony award and what was the nominated work ?
### Response:
|
SELECT "year", "nominated work" FROM table_202_29 WHERE "award" = 'tony award'
|
### Instruction:
CREATE TABLE table_8204 (
"Date" text,
"Round" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" text,
"Scorers" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Venue when the result was 2-1?
### Response:
|
SELECT "Venue" FROM table_8204 WHERE "Result" = '2-1'
|
### Instruction:
CREATE TABLE table_77016 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In which venue did he place 3rd in the World Race Walking Cup?
### Response:
|
SELECT "Venue" FROM table_77016 WHERE "Competition" = 'world race walking cup' AND "Position" = '3rd'
|
### Instruction:
CREATE TABLE table_47940 (
"Tournament" text,
"Country" text,
"Location" text,
"Current Venue" text,
"Began" real,
"Court surface" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which location was in China, and played on a hard court?
### Response:
|
SELECT "Location" FROM table_47940 WHERE "Court surface" = 'hard' AND "Country" = 'china'
|
### Instruction:
CREATE TABLE table_68310 (
"Name" text,
"Birth" text,
"Marriage" text,
"Became Consort" text,
"Ceased to be Consort" text,
"Spouse" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the name of the person married to frederick ix
### Response:
|
SELECT "Name" FROM table_68310 WHERE "Spouse" = 'frederick ix'
|
### Instruction:
CREATE TABLE table_34948 (
"Phase" text,
"Round" text,
"Draw date" text,
"First leg" text,
"Second leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the draw date from the qualifying phase and a round of first qualifying round?
### Response:
|
SELECT "Draw date" FROM table_34948 WHERE "Phase" = 'qualifying' AND "Round" = 'first qualifying round'
|
### Instruction:
CREATE TABLE table_train_221 (
"id" int,
"gender" string,
"body_mass_index_bmi" float,
"age" float,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- male and female subjects 7 _ 14 years of age
### Response:
|
SELECT * FROM table_train_221 WHERE (gender = 'male' OR gender = 'female') AND (age >= 7 AND age <= 14)
|
### Instruction:
CREATE TABLE table_203_739 (
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.
-- croatia and thailand each won how many medals ?
### Response:
|
SELECT "total" FROM table_203_739 WHERE "nation" IN ('croatia', 'thailand')
|
### Instruction:
CREATE TABLE table_203_688 (
id number,
"category" text,
"speed\n(km/h)" number,
"speed\n(mph)" number,
"vehicle" text,
"pilot" text,
"date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the top speed in miles per hour ?
### Response:
|
SELECT MAX("speed\n(mph)") FROM table_203_688
|
### Instruction:
CREATE TABLE table_13009 (
"Country" text,
"Builder" text,
"Location" text,
"Ship" text,
"Class / type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What ship was built by Palmers Shipbuilding and Iron Company for the Royal Navy?
### Response:
|
SELECT "Ship" FROM table_13009 WHERE "Country" = 'royal navy' AND "Builder" = 'palmers shipbuilding and iron company'
|
### Instruction:
CREATE TABLE table_62959 (
"Hampden FL" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many wins did South Warrambool have?
### Response:
|
SELECT AVG("Wins") FROM table_62959 WHERE "Hampden FL" = 'south warrambool'
|
### Instruction:
CREATE TABLE table_21742 (
"Number" text,
"Builder" text,
"Type" text,
"Date built" text,
"Heritage" text,
"Disposition" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the disposition for date built is march 1909
### Response:
|
SELECT "Disposition" FROM table_21742 WHERE "Date built" = 'March 1909'
|
### Instruction:
CREATE TABLE table_33057 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Of the games before week 3 which had attendance great than 65,904?
### Response:
|
SELECT "Date" FROM table_33057 WHERE "Week" < '3' AND "Attendance" > '65,904'
|
### Instruction:
CREATE TABLE table_45099 (
"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.
-- What is the Margin of Victory, when Tournament is Mercedes Championships (3)?
### Response:
|
SELECT "Margin of victory" FROM table_45099 WHERE "Tournament" = 'mercedes championships (3)'
|
### Instruction:
CREATE TABLE table_32684 (
"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.
-- What day was geelong the home team?
### Response:
|
SELECT "Date" FROM table_32684 WHERE "Home team" = 'geelong'
|
### Instruction:
CREATE TABLE table_name_63 (
play_by_play VARCHAR,
studio_host VARCHAR,
studio_analysts VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHich Play-by-play has a Studio host of gary tanguay, and a Studio analysts of donny marshall?
### Response:
|
SELECT play_by_play FROM table_name_63 WHERE studio_host = "gary tanguay" AND studio_analysts = "donny marshall"
|
### Instruction:
CREATE TABLE table_12113818_1 (
academic_ VARCHAR,
_university_affairs VARCHAR,
human_resources_ VARCHAR,
_operations VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the academic & University affairs when the Human resources & operations is N. Charles Hamilton?
### Response:
|
SELECT academic_ & _university_affairs FROM table_12113818_1 WHERE human_resources_ & _operations = "N. Charles Hamilton"
|
### Instruction:
CREATE TABLE table_20549371_3 (
epa_rated_highway_fuel_economy VARCHAR,
type_of_powertrain VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the epa highway fuel economy for an electric suv?
### Response:
|
SELECT epa_rated_highway_fuel_economy FROM table_20549371_3 WHERE type_of_powertrain = "Electric SUV"
|
### Instruction:
CREATE TABLE table_name_7 (
drawn VARCHAR,
against VARCHAR,
lost VARCHAR,
points VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Drawn has Points smaller than 46, and a Position smaller than 20, and a Lost smaller than 19, and an Against of 56?
### Response:
|
SELECT drawn FROM table_name_7 WHERE points < 46 AND position < 20 AND lost < 19 AND against = 56
|
### Instruction:
CREATE TABLE table_48042 (
"Round" real,
"Pick" text,
"Player" text,
"Position" text,
"Nationality" text,
"Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Player has a Round larger than 5, and a Position of (g)?
### Response:
|
SELECT "Player" FROM table_48042 WHERE "Round" > '5' AND "Position" = '(g)'
|
### Instruction:
CREATE TABLE table_21946 (
"Actor in original production" text,
"Actor required" text,
"GamePlan" text,
"FlatSpin" text,
"RolePlay" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many RolePlay actors played the same role as FlatSpin's Tracy Taylor?
### Response:
|
SELECT COUNT("RolePlay") FROM table_21946 WHERE "FlatSpin" = 'Tracy Taylor'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.