instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_5804 (
"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 a... | SELECT "High rebounds" FROM table_5804 WHERE "Record" = '18-14' |
### Instruction:
CREATE TABLE table_204_664 (
id number,
"rank" number,
"bib" number,
"name" text,
"nationality" text,
"start" text,
"penalties (p+p+s+s)" text,
"time" text,
"deficit" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- ho... | SELECT COUNT(*) FROM table_204_664 WHERE "time" >= 35 |
### Instruction:
CREATE TABLE table_36344 (
"Wind Farm" text,
"Scheduled" text,
"Capacity (MW)" real,
"Turbines" real,
"Type" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average capacity for the farm at Gortahile ... | SELECT AVG("Capacity (MW)") FROM table_36344 WHERE "Wind Farm" = 'gortahile' AND "Turbines" > '8' |
### Instruction:
CREATE TABLE table_72338 (
"Phase" text,
"Round" text,
"Clubs remaining" real,
"Clubs involved" real,
"Winners from previous round" text,
"New entries this round" text,
"Leagues entering at this round" text
)
-- Using valid SQLite, answer the following questions for the ta... | SELECT "Winners from previous round" FROM table_72338 WHERE "Clubs involved" = '8' |
### Instruction:
CREATE TABLE table_18854 (
"Distribution" text,
"Compile time buffer checks" text,
"Mandatory access control" text,
"Software executable space protection" text,
"grsecurity" text,
"RSBAC" text
)
-- Using valid SQLite, answer the following questions for the tables provided abov... | SELECT "Distribution" FROM table_18854 WHERE "grsecurity" = 'Optional' AND "Compile time buffer checks" = 'Yes' |
### Instruction:
CREATE TABLE table_57539 (
"Race" text,
"Circuit" text,
"Date" text,
"Pole position" text,
"Fastest lap" text,
"Winning driver" text,
"Constructor" text,
"Tyre" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided abov... | SELECT "Circuit" FROM table_57539 WHERE "Winning driver" = 'jochen rindt' |
### Instruction:
CREATE TABLE table_15810 (
"Name" text,
"Starting Point" text,
"Terminus" text,
"Operates" text,
"Direction" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where does the Bayou Blvd./12th Avenue route that has a terminus at the down... | SELECT "Operates" FROM table_15810 WHERE "Terminus" = 'downtown transit center' AND "Name" = 'bayou blvd./12th avenue' |
### Instruction:
CREATE TABLE table_name_2 (
rank__timeslot_ INTEGER,
rank__night_ VARCHAR,
rating VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the timeslor rank for the episode with larger than 2.9 rating, rating/share of 2.6/8 and rank for th... | SELECT AVG(rank__timeslot_) FROM table_name_2 WHERE rating > 2.9 AND rating / SHARE(18 - 49) = 2.6 / 8 AND rank__night_ > 5 |
### Instruction:
CREATE TABLE table_69663 (
"Round" real,
"Date" text,
"Grand Prix" text,
"Circuit" text,
"125cc winner" text,
"250cc winner" text,
"MotoGP winner" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the 12... | SELECT "125cc winner" FROM table_69663 WHERE "Circuit" = 'estoril' |
### Instruction:
CREATE TABLE table_16184 (
"Institution" text,
"Location" text,
"Mens Nickname" text,
"Womens Nickname" text,
"Founded" real,
"Type" text,
"Enrollment" real,
"Joined" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What i... | SELECT "Mens Nickname" FROM table_16184 WHERE "Location" = 'Jacksonville, Florida' |
### Instruction:
CREATE TABLE table_65515 (
"Shirt No" real,
"Nationality" text,
"Player" text,
"Birth Date" text,
"Height" real,
"Position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What shirt No has a Birth Date of April 12, 1986 (age27)?... | SELECT MIN("Shirt No") FROM table_65515 WHERE "Birth Date" = 'april 12, 1986 (age27)' |
### Instruction:
CREATE TABLE table_7787 (
"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 is the away team score whe... | SELECT "Away team score" FROM table_7787 WHERE "Home team score" = '2.4.6 (48)' |
### Instruction:
CREATE TABLE table_37165 (
"District" text,
"Incumbent" text,
"Party" text,
"Elected" real,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was republican, re-elected incumbent John all barham elected?
### Respon... | SELECT "Elected" FROM table_37165 WHERE "Party" = 'republican' AND "Status" = 're-elected' AND "Incumbent" = 'john all barham' |
### Instruction:
CREATE TABLE table_22992 (
"Pos" real,
"Member Association" text,
"Points (total 500)" real,
"Clubs" real,
"Group stage" real,
"Play-off" real,
"AFC Cup" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the play-off in... | SELECT "Play-off" FROM table_22992 WHERE "Group stage" = '4' AND "Clubs" = '12' |
### Instruction:
CREATE TABLE table_55498 (
"Round" real,
"Overall" real,
"Player" text,
"Nationality" text,
"Club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Club team has an average of 8, plays kaj linna, and has an overall larger th... | SELECT "Club team" FROM table_55498 WHERE "Overall" > '131' AND "Round" = '8' AND "Player" = 'kaj linna' |
### Instruction:
CREATE TABLE table_74402 (
"Date" text,
"Time" text,
"ACC Team" text,
"Big Ten Team" text,
"Location" text,
"Television" text,
"Attendance" real,
"Winner" text,
"Challenge Leader" text
)
-- Using valid SQLite, answer the following questions for the tables provided ... | SELECT "Location" FROM table_74402 WHERE "Big Ten Team" = 'Wisconsin' |
### Instruction:
CREATE TABLE table_203_255 (
id number,
"no" number,
"test no" number,
"1st team" text,
"2nd team" text,
"winner" text,
"margin" text,
"toss" text,
"bat" text,
"date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... | SELECT "winner" FROM table_203_255 ORDER BY "margin" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_17623 (
"Number in series" real,
"Broadcast Order" text,
"Title" text,
"Villain/s" text,
"U.S. Air Date" text,
"Production Code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the original air date of t... | SELECT "U.S. Air Date" FROM table_17623 WHERE "Broadcast Order" = 'S04 E01' |
### Instruction:
CREATE TABLE table_41013 (
"Bowl Game" text,
"Date" text,
"Stadium" text,
"City" text,
"Television" text,
"Conference Matchups" text,
"Payout ( US$ )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the conference ma... | SELECT "Conference Matchups" FROM table_41013 WHERE "Payout ( US$ )" = '$3 million' |
### Instruction:
CREATE TABLE table_27119 (
"Name" text,
"Nationality" text,
"Position" text,
"Sky Blue FC career" text,
"Appearances" real,
"Starts" real,
"Minutes" real,
"Goals" real,
"Assists" real
)
-- Using valid SQLite, answer the following questions for the tables provided a... | SELECT MAX("Appearances") FROM table_27119 WHERE "Starts" = '18' |
### Instruction:
CREATE TABLE table_33652 (
"Rank" real,
"All-time Rank" text,
"Name" text,
"Debut Year" real,
"Current Club" text,
"Apps" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the current club with more than 368 apps and a debu... | SELECT "Current Club" FROM table_33652 WHERE "Apps" > '368' AND "Debut Year" < '1994' |
### Instruction:
CREATE TABLE table_51004 (
"Year" real,
"Nord" text,
"West" text,
"S\u00fcdwest" text,
"Berlin" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Berlin when fk pirmasens was S dwest and westfalia herne was west?
### Respons... | SELECT "Berlin" FROM table_51004 WHERE "S\u00fcdwest" = 'fk pirmasens' AND "West" = 'westfalia herne' |
### Instruction:
CREATE TABLE table_65003 (
"World record" text,
"Snatch" text,
"Yang Lian ( CHN )" text,
"98kg" text,
"Santo Domingo , Dominican" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 98kg for Santo Domingo, Domincan on 1 Octob... | SELECT "98kg" FROM table_65003 WHERE "Santo Domingo , Dominican" = '1 october 2006' |
### Instruction:
CREATE TABLE table_1378 (
"No. in series" real,
"Title" text,
"Directed by" text,
"Written by" text,
"U.S. viewers (million)" text,
"Original air date" text,
"Production code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- H... | SELECT COUNT("Production code") FROM table_1378 WHERE "Written by" = 'Jack Burditt & Robert Carlock' |
### Instruction:
CREATE TABLE table_18711 (
"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 times was the election joseph w. byrns, sr. (d... | SELECT COUNT("Result") FROM table_18711 WHERE "Candidates" = 'Joseph W. Byrns, Sr. (D) Unopposed' |
### Instruction:
CREATE TABLE table_76639 (
"Poll Source" text,
"Dates administered" text,
"Democrat: Jill Long Thompson" text,
"Republican: Mitch Daniels" text,
"Lead Margin" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Lead Ma... | SELECT MIN("Lead Margin") FROM table_76639 WHERE "Republican: Mitch Daniels" = '48%' |
### Instruction:
CREATE TABLE table_29637 (
"Season" text,
"Episodes" real,
"Timeslot ( EST )" text,
"Season premiere" text,
"Season finale" text,
"TV season" text,
"Rank" text,
"Viewers (in millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provided... | SELECT "Season finale" FROM table_29637 WHERE "Rank" = '20th' |
### Instruction:
CREATE TABLE table_70286 (
"Date" text,
"Venue" text,
"Score [A ]" text,
"Competition" text,
"Att." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score [A] of the match at Vanuatu (n) on 5 September 1998?
### Response... | SELECT "Score [A ]" FROM table_70286 WHERE "Venue" = 'vanuatu (n)' AND "Date" = '5 september 1998' |
### Instruction:
CREATE TABLE table_51266 (
"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.
-- Where was the game played where... | SELECT "Venue" FROM table_51266 WHERE "Home team score" = '14.12 (96)' |
### Instruction:
CREATE TABLE table_204_500 (
id number,
"year" number,
"title" text,
"peak chart positions\nus country" number,
"peak chart positions\nus" number,
"album" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- tell me the single release... | SELECT "title" FROM table_204_500 WHERE id = (SELECT id FROM table_204_500 WHERE "title" = '"hey joe"') - 1 |
### Instruction:
CREATE TABLE table_43760 (
"Position" real,
"Name" text,
"Played" real,
"Drawn" real,
"Lost" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Played has a Position larger than 5, a Points larger than 0, and a ... | SELECT MAX("Played") FROM table_43760 WHERE "Position" > '5' AND "Points" > '0' AND "Drawn" < '0' |
### Instruction:
CREATE TABLE table_9945 (
"Place" text,
"Athlete" text,
"Points" text,
"Score" text,
"500 m" text,
"1500 m" text,
"5000 m" text,
"10000 m" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the points when the 5000 ... | SELECT "Points" FROM table_9945 WHERE "5000 m" = '7' |
### Instruction:
CREATE TABLE table_name_68 (
telugu_తెలుగు VARCHAR,
tamil_தமிழ் VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Telugu has a Tamil of p r am ?
### Response:
| SELECT telugu_తెలుగు FROM table_name_68 WHERE tamil_தமிழ் = "pūrāṭam பூராடம்" |
### Instruction:
CREATE TABLE table_48954 (
"Date" text,
"Venue" text,
"Opponents" text,
"Score" text,
"Round" text,
"Djurg\u00e5rden scorers" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Score that has an At... | SELECT "Score" FROM table_48954 WHERE "Attendance" = '4 679' |
### Instruction:
CREATE TABLE table_29417 (
"Pronoun" text,
"Present" text,
"1st" text,
"2nd" text,
"perfect" text,
"aorist" text,
"imperfect" text,
"pluperfect" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is aorist when budete m... | SELECT "aorist" FROM table_29417 WHERE "2nd" = 'budete mogli/le' |
### Instruction:
CREATE TABLE table_16204 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title of the episode writ... | SELECT "Title" FROM table_16204 WHERE "Written by" = 'Denis Leary, Peter Tolan and Evan Reilly' |
### Instruction:
CREATE TABLE tweets (
id number,
uid number,
text text,
createdate time
)
CREATE TABLE user_profiles (
uid number,
name text,
email text,
partitionid number,
followers number
)
CREATE TABLE follows (
f1 number,
f2 number
)
-- Using valid SQLite, answer th... | SELECT name, email FROM user_profiles WHERE followers > 1000 |
### Instruction:
CREATE TABLE table_4073 (
"Category" text,
"Player" text,
"Team" text,
"Games played" real,
"Totals" text,
"Average" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total listed when the average is 0.667 and the categ... | SELECT "Totals" FROM table_4073 WHERE "Average" = '0.667' AND "Category" = '3-pt field goal percentage' |
### Instruction:
CREATE TABLE table_16424 (
"Location" text,
"Monday" text,
"Tuesday" text,
"Wednesday" text,
"Thursday" text,
"Friday" text,
"Saturday" text,
"Sunday" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the thursday ti... | SELECT "Thursday" FROM table_16424 WHERE "Location" = 'Hawthorne' |
### Instruction:
CREATE TABLE table_76183 (
"Club" text,
"Home city" text,
"Stadium" text,
"Founded" real,
"Joined PRSL" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When is the club founded that founed prsl in 2008 and the home city is carolina 1... | SELECT MAX("Founded") FROM table_76183 WHERE "Joined PRSL" = '2008' AND "Home city" = 'carolina 1' |
### Instruction:
CREATE TABLE table_55282 (
"Film title" text,
"Director" text,
"Writer" text,
"Voiced character(s)" text,
"Producer/Executive Producer" text,
"Sound" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which writer had voice characte... | SELECT "Writer" FROM table_55282 WHERE "Voiced character(s)" = 'jdr, bb, tn, lr, ps' |
### Instruction:
CREATE TABLE table_58511 (
"Round" text,
"Date" text,
"Home Team" text,
"Score" text,
"Away Team" text,
"Crowd" real,
"Stadium" text,
"Match Details" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In the match where newc... | SELECT "Crowd" FROM table_58511 WHERE "Away Team" = 'newcastle jets' |
### Instruction:
CREATE TABLE table_201_7 (
id number,
"year" number,
"gross domestic product" number,
"us dollar exchange" text,
"inflation index\n(2000=100)" number,
"per capita income\n(as % of usa)" number
)
-- Using valid SQLite, answer the following questions for the tables provided abov... | SELECT COUNT("year") FROM table_201_7 WHERE "gross domestic product" > 6000 |
### Instruction:
CREATE TABLE table_2829 (
"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 a... | SELECT "High assists" FROM table_2829 WHERE "Record" = '50-26' |
### Instruction:
CREATE TABLE table_76282 (
"Season" real,
"Date" text,
"Winner" text,
"Score [C ]" text,
"Venue" text,
"Competition round" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score of the event that Alianza Lima won in 19... | SELECT "Score [C ]" FROM table_76282 WHERE "Winner" = 'alianza lima' AND "Season" = '1965' |
### Instruction:
CREATE TABLE table_18116 (
"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 is the earliest first elected with the results re... | SELECT MAX("First elected") FROM table_18116 WHERE "Results" = 'Re-elected' AND "District" = 'South Carolina 3' |
### Instruction:
CREATE TABLE table_831 (
"County" text,
"Bush #" real,
"Bush %" text,
"Kerry #" real,
"Kerry %" text,
"Others #" real,
"Others %" text,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the kerry # with count... | SELECT "Kerry #" FROM table_831 WHERE "County" = 'Ness County, Kansas' |
### Instruction:
CREATE TABLE table_74244 (
"No. in series" text,
"No. in season" text,
"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.
-- the episo... | SELECT "No. in season" FROM table_74244 WHERE "Title" = 'Adventures in Babysitting' |
### Instruction:
CREATE TABLE table_41609 (
"Driver" text,
"Team" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who drives for Newman-Haas Racing with a time of 1:51:47.260?
### Response:
| SELECT "Driver" FROM table_41609 WHERE "Team" = 'newman-haas racing' AND "Time/Retired" = '1:51:47.260' |
### Instruction:
CREATE TABLE table_57222 (
"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 the away team scored 7.13 ... | SELECT "Home team" FROM table_57222 WHERE "Away team score" = '7.13 (55)' |
### Instruction:
CREATE TABLE table_204_664 (
id number,
"rank" number,
"bib" number,
"name" text,
"nationality" text,
"start" text,
"penalties (p+p+s+s)" text,
"time" text,
"deficit" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- wh... | SELECT COUNT(*) FROM table_204_664 WHERE "nationality" = 'russia' |
### Instruction:
CREATE TABLE table_3090 (
"Name" text,
"Position" text,
"Period" text,
"Appearances\u00b9" real,
"Goals\u00b9" real,
"Nationality\u00b2" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the nationality if the appearance is... | SELECT "Nationality\u00b2" FROM table_3090 WHERE "Appearances\u00b9" = '29' |
### Instruction:
CREATE TABLE table_204_680 (
id number,
"released" text,
"title" text,
"artist" text,
"format" text,
"language" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- did big bang release more or less albums than 2ne1 ?
### Response:
| SELECT (SELECT COUNT(*) FROM table_204_680 WHERE "artist" = 'big bang') > (SELECT COUNT(*) FROM table_204_680 WHERE "artist" = '2ne1') |
### Instruction:
CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
advisor number,
city_code text
)
CREATE TABLE has_allergy (
stuid number,
allergy text
)
CREATE TABLE allergy_type (
allergy text,
allergytype text
)
-- U... | SELECT COUNT(*) FROM allergy_type WHERE allergytype = "animal" |
### Instruction:
CREATE TABLE table_28789 (
"No." real,
"#" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Patient Portrayer" text,
"Original air date" text,
"Production code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- W... | SELECT "Original air date" FROM table_28789 WHERE "Title" = 'Monica Wilder' |
### Instruction:
CREATE TABLE table_79166 (
"Enzyme" text,
"Location" text,
"Substrate" text,
"Product" text,
"Chromosome" text,
"OMIM" real,
"Porphyria" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the location of the enzyme Uropo... | SELECT "Location" FROM table_79166 WHERE "Enzyme" = 'uroporphyrinogen iii synthase' |
### Instruction:
CREATE TABLE table_15592 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Pts." real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the latest year that has an engine of cosworth v8, with a chassis of hesketh 308e?
... | SELECT MAX("Year") FROM table_15592 WHERE "Engine" = 'cosworth v8' AND "Chassis" = 'hesketh 308e' |
### Instruction:
CREATE TABLE table_72293 (
"Season" text,
"League" text,
"Rank" real,
"Games" real,
"Points" real,
"GF" real,
"GA" real,
"Manager" text,
"Top Scorer" text,
"Goals" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- W... | SELECT "Manager" FROM table_72293 WHERE "Rank" = '16' |
### Instruction:
CREATE TABLE table_17656 (
"Series #" real,
"Season #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Total viewers (in millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who wro... | SELECT "Written by" FROM table_17656 WHERE "Total viewers (in millions)" = '1.211' |
### Instruction:
CREATE TABLE table_65383 (
"Team" text,
"2002 Position" real,
"2003 Position" real,
"Total Position" real,
"Qualification" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Total Positions have a 2002 Position smaller than 3, ... | SELECT COUNT("Total Position") FROM table_65383 WHERE "2002 Position" < '3' AND "Team" = 'shandong luneng' |
### Instruction:
CREATE TABLE table_204_876 (
id number,
"ecclesiastical jurisdictions" text,
"latin name" text,
"type" text,
"rite" text,
"ecclesiastical province" text,
"established" text,
"area (km2)" number
)
-- Using valid SQLite, answer the following questions for the tables prov... | SELECT COUNT("ecclesiastical jurisdictions") FROM table_204_876 |
### Instruction:
CREATE TABLE table_6543 (
"Year" real,
"Men's singles" text,
"Women's singles" text,
"Men's doubles" text,
"Women's doubles" text,
"Mixed doubles" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total numbe rof years for... | SELECT COUNT("Year") FROM table_6543 WHERE "Women's doubles" = 'gaby weissen mireille kosmala' |
### Instruction:
CREATE TABLE table_52059 (
"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 was the home team that had ... | SELECT "Home team" FROM table_52059 WHERE "Home team score" = '13.14 (92)' |
### Instruction:
CREATE TABLE table_21667 (
"Week" real,
"Date" text,
"Opponent" text,
"Stadium" text,
"Result" text,
"Record" text,
"Streak" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the ga... | SELECT "Result" FROM table_21667 WHERE "Date" = 'Nov. 26' |
### Instruction:
CREATE TABLE table_72971 (
"Segment description" text,
"Date opened" text,
"Line(s)" text,
"Endpoints" text,
"# of new stations" text,
"Length (miles)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the length (miles) wh... | SELECT "Length (miles)" FROM table_72971 WHERE "Endpoints" = 'Pico to 7th St/Metro Center' |
### Instruction:
CREATE TABLE table_name_51 (
tyre VARCHAR,
chassis VARCHAR,
rounds VARCHAR,
engine VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the engine Ford Cosworth DFV 3.0 v8 has a chassis of m23 and in rounds 14-15, what is its Tyre?
... | SELECT tyre FROM table_name_51 WHERE rounds = "14-15" AND engine = "ford cosworth dfv 3.0 v8" AND chassis = "m23" |
### Instruction:
CREATE TABLE table_46306 (
"Season" text,
"Timeslot" text,
"Premiere" text,
"Finale" text,
"TV season" text,
"Ranking" text,
"Viewers (in millions)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What time did the season fin... | SELECT "Timeslot" FROM table_46306 WHERE "Finale" = 'may 20, 2003' |
### Instruction:
CREATE TABLE table_60119 (
"Rank" real,
"Club" text,
"Season" text,
"Goals" real,
"Apps" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Season has a Rank smaller than 4, and a Club of barcelona, and less than 115 goals?
### ... | SELECT "Season" FROM table_60119 WHERE "Rank" < '4' AND "Club" = 'barcelona' AND "Goals" < '115' |
### Instruction:
CREATE TABLE table_26395 (
"No." real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text,
"U.S. viewers (million)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many e... | SELECT COUNT("No.") FROM table_26395 WHERE "U.S. viewers (million)" = '1.29' |
### Instruction:
CREATE TABLE table_18760137_2 (
_number_s_dam_and_gnis_query_link INTEGER,
borough_or_census_area VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most numbers dam and gnis query link for borough or census area for fairbanks north sta... | SELECT MAX(_number_s_dam_and_gnis_query_link) FROM table_18760137_2 WHERE borough_or_census_area = "Fairbanks North Star" |
### Instruction:
CREATE TABLE table_21833 (
"Year" real,
"Network" text,
"Play-by-play" text,
"Colour commentator(s)" text,
"Sideline reporters" text,
"Pregame host" text,
"Pregame analysts" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who... | SELECT "Pregame analysts" FROM table_21833 WHERE "Year" = '2002' |
### Instruction:
CREATE TABLE table_204_910 (
id number,
"rank" number,
"name" text,
"nationality" text,
"result" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many points apart were the 1st place competitor and the 12th pla... | SELECT (SELECT "result" FROM table_204_910 WHERE id = 1) - (SELECT "result" FROM table_204_910 WHERE id = 12) |
### Instruction:
CREATE TABLE table_62815 (
"Game" real,
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games have a Result of 4 0, and an Attendance larger than 12... | SELECT COUNT("Game") FROM table_62815 WHERE "Result" = '4–0' AND "Attendance" > '12,256' |
### Instruction:
CREATE TABLE table_51822 (
"Name" text,
"Code" text,
"Capacity" text,
"Type" text,
"Power" text,
"Torque" text,
"Top speed" text,
"Combined consumption" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the combined... | SELECT "Combined consumption" FROM table_51822 WHERE "Code" = 'k9k 796' |
### Instruction:
CREATE TABLE table_204_778 (
id number,
"code" number,
"county" text,
"former province" text,
"area (km2)" number,
"population\ncensus 2009" number,
"capital" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many counties ... | SELECT COUNT("county") FROM table_204_778 WHERE "area (km2)" < 10000 |
### Instruction:
CREATE TABLE table_46833 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Rockets score" real,
"Opponents" real,
"Record" text,
"Streak" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Opponent has a Roc... | SELECT "Opponent" FROM table_46833 WHERE "Rockets score" = '107' |
### Instruction:
CREATE TABLE table_18522916_5 (
team VARCHAR,
date_of_appointment VARCHAR,
date_of_vacancy VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the team for 5 september 2008 for date of vacancy for 30 august 2008
### Response:
| SELECT team FROM table_18522916_5 WHERE date_of_appointment = "5 September 2008" AND date_of_vacancy = "30 August 2008" |
### Instruction:
CREATE TABLE table_23545 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"U.S. viewers (million)" text,
"Original air date" text,
"Production code" real
)
-- Using valid SQLite, answer the following questions for the t... | SELECT "Written by" FROM table_23545 WHERE "No. in series" = '48' |
### Instruction:
CREATE TABLE table_18879 (
"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 ... | SELECT "High points" FROM table_18879 WHERE "Record" = '1-4' |
### Instruction:
CREATE TABLE table_34522 (
"Team 1" text,
"Agg." text,
"Team 2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the 2nd leg fo the match that had a 1st leg of 1-3 and aggregate of 1-6?
### R... | SELECT "2nd leg" FROM table_34522 WHERE "1st leg" = '1-3' AND "Agg." = '1-6' |
### Instruction:
CREATE TABLE table_65670 (
"Name" text,
"Gain" real,
"Loss" real,
"Long" real,
"Avg/G" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest gain that has toben opurum as the name, with an avg/g less than 54.1?
### Res... | SELECT MIN("Gain") FROM table_65670 WHERE "Name" = 'toben opurum' AND "Avg/G" < '54.1' |
### Instruction:
CREATE TABLE table_41014 (
"Bowl Game" text,
"Date" text,
"Stadium" text,
"City" text,
"Television" text,
"Conference Matchups" text,
"Payout ( US$ )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the conference ma... | SELECT "Conference Matchups" FROM table_41014 WHERE "City" = 'glendale, arizona' |
### Instruction:
CREATE TABLE table_53147 (
"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 the away team scored 9.8 (... | SELECT "Crowd" FROM table_53147 WHERE "Away team score" = '9.8 (62)' |
### Instruction:
CREATE TABLE table_204_308 (
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.
-- what nation is ranked after russia ?
### Respo... | SELECT "nation" FROM table_204_308 WHERE "rank" = (SELECT "rank" FROM table_204_308 WHERE "nation" = 'russia') + 1 |
### Instruction:
CREATE TABLE table_34899 (
"Number" real,
"Name of administrative unit" text,
"Telephone (052)" text,
"Area (km 2 )" real,
"Population (people)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which area has a telephone of (052) of 3... | SELECT "Area (km 2 )" FROM table_34899 WHERE "Telephone (052)" = '3862279' |
### Instruction:
CREATE TABLE table_33039 (
"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.
-- Which away team has a team scor... | SELECT "Away team" FROM table_33039 WHERE "Away team score" = '12.11 (83)' |
### Instruction:
CREATE TABLE table_36395 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHo has a Home of philadelphia and a Series of fl... | SELECT "Visitor" FROM table_36395 WHERE "Home" = 'philadelphia' AND "Series" = 'flyers lead 1–0' |
### Instruction:
CREATE TABLE table_35058 (
"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.
-- When was the winning score 12 (69-66-72-65=272)?
### Response... | SELECT "Date" FROM table_35058 WHERE "Winning score" = '–12 (69-66-72-65=272)' |
### Instruction:
CREATE TABLE table_37112 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Lost has a Position of 3... | SELECT SUM("Lost") FROM table_37112 WHERE "Position" = '3' AND "Drawn" > '3' |
### Instruction:
CREATE TABLE table_train_110 (
"id" int,
"cholesterol" float,
"body_weight" float,
"creatinine_clearance_cl" float,
"triglyceride_tg" float,
"age" float,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- creatinine > 1... | SELECT * FROM table_train_110 WHERE creatinine_clearance_cl > 1.99 |
### Instruction:
CREATE TABLE table_55362 (
"Name" text,
"Years" text,
"Gender" text,
"Area" text,
"Authority" text,
"Decile" real,
"Roll" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the authority when the roll is less than 234 for... | SELECT "Authority" FROM table_55362 WHERE "Roll" < '234' AND "Area" = 'massey east' |
### Instruction:
CREATE TABLE table_24241 (
"Outcome" text,
"Year" real,
"Championship" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the scores for matches with irvi... | SELECT "Score" FROM table_24241 WHERE "Opponents" = 'Irving Wright Hazel Hotchkiss Wightman' |
### Instruction:
CREATE TABLE table_21506 (
"Fin. Pos" real,
"Car No." real,
"Driver" text,
"Team" text,
"Laps" real,
"Time/Retired" text,
"Grid" real,
"Laps Led" real,
"Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is ... | SELECT MAX("Laps Led") FROM table_21506 WHERE "Points" = '16' |
### Instruction:
CREATE TABLE table_29904 (
"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 ... | SELECT "High assists" FROM table_29904 WHERE "Game" = '35' |
### Instruction:
CREATE TABLE table_16460 (
"No. in season" real,
"No. in series" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"U.S. viewers (million)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Wh... | SELECT "Original air date" FROM table_16460 WHERE "Title" = 'Winds of War' |
### Instruction:
CREATE TABLE table_33101 (
"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 was the average crowd size... | SELECT AVG("Crowd") FROM table_33101 WHERE "Home team score" = '9.8 (62)' |
### Instruction:
CREATE TABLE table_53671 (
"Name" text,
"Nation" text,
"Points" real,
"Games" real,
"Pts/game" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the name when the nation is France, the pts/game is more than 3 and points is less... | SELECT "Name" FROM table_53671 WHERE "Nation" = 'france' AND "Pts/game" > '3' AND "Points" < '33' |
### Instruction:
CREATE TABLE table_33834 (
"Ship" text,
"Built As" text,
"Reclassified As" text,
"Class" text,
"Commissioned\u2013 Decommissioned" text,
"NVR link" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where the NRV link is CGN38, what... | SELECT "Reclassified As" FROM table_33834 WHERE "NVR link" = 'cgn38' |
### Instruction:
CREATE TABLE table_name_78 (
against INTEGER,
opposing_teams VARCHAR,
venue VARCHAR,
status VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Against, when Venue is 'Twickenham , London', when Status is 'Six Nations',... | SELECT MIN(against) FROM table_name_78 WHERE venue = "twickenham , london" AND status = "six nations" AND opposing_teams = "france" |
### Instruction:
CREATE TABLE table_56272 (
"Driver" text,
"Entrant" text,
"Constructor" text,
"Chassis" text,
"Engine" text,
"Tyre" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the engine when the tyre is d, the constructor is era and... | SELECT "Engine" FROM table_56272 WHERE "Tyre" = 'd' AND "Constructor" = 'era' AND "Driver" = 'bob gerard' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.