instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_203_41 (
id number,
"name" text,
"variant name(s)" text,
"source" text,
"source coordinates" text,
"length" text,
"mouth" text,
"mouth coordinates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which ... | SELECT "name" FROM table_203_41 WHERE "variant name(s)" >= 3 |
### Instruction:
CREATE TABLE table_1011 (
"Player" text,
"Touchdowns (5 points)" real,
"Extra points 1 point" real,
"Field goals (5 points)" real,
"Total Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many field goals were made by the p... | SELECT MAX("Field goals (5 points)") FROM table_1011 WHERE "Total Points" = '100' |
### Instruction:
CREATE TABLE table_203_838 (
id number,
"year" number,
"world car of the year" text,
"world performance car" text,
"world green car" text,
"world car design of the year" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many wo... | SELECT "world performance car" FROM table_203_838 WHERE "year" = 2009 |
### Instruction:
CREATE TABLE table_14591 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Opponent has a Method of sub... | SELECT "Opponent" FROM table_14591 WHERE "Method" = 'submission' |
### Instruction:
CREATE TABLE table_36895 (
"Country" text,
"Date" text,
"Label" text,
"Format" text,
"Catalogue #" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Label of Catalogue # HVNLP26CD from United Kingdom?
### Response:
| SELECT "Label" FROM table_36895 WHERE "Country" = 'united kingdom' AND "Catalogue #" = 'hvnlp26cd' |
### Instruction:
CREATE TABLE table_name_78 (
total VARCHAR,
set_1 VARCHAR,
score VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Total with a Score of 3 0, and a Date of 14 oct, and has a Set 1 of 15 12?
### Response:
| SELECT total FROM table_name_78 WHERE score = "3–0" AND date = "14 oct" AND set_1 = "15–12" |
### Instruction:
CREATE TABLE table_13650 (
"Round" real,
"Dates" text,
"Rally Name" text,
"Rally HQ" text,
"Support Category" text,
"Surface" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Rally Name has a Surface of asphalt and gravel?
... | SELECT "Rally Name" FROM table_13650 WHERE "Surface" = 'asphalt and gravel' |
### Instruction:
CREATE TABLE table_44037 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What format has France as the region, with Universal Licensing Music (ulm) as the label?
... | SELECT "Format" FROM table_44037 WHERE "Region" = 'france' AND "Label" = 'universal licensing music (ulm)' |
### 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 Wyn... | SELECT "Results" FROM table_18103 WHERE "Incumbent" = 'Albert Wynn' |
### Instruction:
CREATE TABLE table_30895 (
"Month Sequence" real,
"Numbered Month" text,
"Month Name" text,
"Regular Year" text,
"Defective Year" real,
"Excessive Year" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the defective year f... | SELECT "Defective Year" FROM table_30895 WHERE "Numbered Month" = 'Eighth' |
### Instruction:
CREATE TABLE table_203_764 (
id number,
"name" text,
"date" number,
"nation" text,
"displacement" text,
"speed" text,
"number" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many tons of displacement ... | SELECT "displacement" FROM table_203_764 WHERE "name" = 'type b' |
### Instruction:
CREATE TABLE table_52020 (
"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 did Melbourne play as the... | SELECT "Venue" FROM table_52020 WHERE "Away team" = 'melbourne' |
### Instruction:
CREATE TABLE table_53975 (
"Player" text,
"Height" text,
"School" text,
"Hometown" text,
"College" text,
"NBA Draft" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the Player from Brampton, ON what is their NBA Draft status?... | SELECT "NBA Draft" FROM table_53975 WHERE "Hometown" = 'brampton, on' |
### Instruction:
CREATE TABLE table_68610 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the chassis when the points were greater than 0 and the entrant was March Engine... | SELECT "Chassis" FROM table_68610 WHERE "Points" > '0' AND "Entrant" = 'march engineering' |
### Instruction:
CREATE TABLE table_60565 (
"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 score of the game played 26 July 2010?
### Response... | SELECT "Score" FROM table_60565 WHERE "Date" = '26 july 2010' |
### Instruction:
CREATE TABLE table_56208 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In grid 15, how many laps were there before ending with a time of exhaust?
### R... | SELECT SUM("Laps") FROM table_56208 WHERE "Time/Retired" = 'exhaust' AND "Grid" < '15' |
### Instruction:
CREATE TABLE Customers (
customer_first_name VARCHAR,
customer_last_name VARCHAR,
customer_id VARCHAR
)
CREATE TABLE Accounts (
customer_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show distinct first and last names for all cu... | SELECT DISTINCT T1.customer_first_name, T1.customer_last_name FROM Customers AS T1 JOIN Accounts AS T2 ON T1.customer_id = T2.customer_id |
### Instruction:
CREATE TABLE table_name_15 (
play_offs INTEGER,
total VARCHAR,
league VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the mean number of play-offs when the league number was bigger than 18, where the player was... | SELECT AVG(play_offs) FROM table_name_15 WHERE league > 18 AND player = "john grant" AND total > 25 |
### Instruction:
CREATE TABLE table_73150 (
"#" real,
"Episode" text,
"UK air date" text,
"Timeslot" text,
"Viewers (millions)" text,
"Audience share in timeslot" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most number for viewers be... | SELECT MAX("#") FROM table_73150 WHERE "Viewers (millions)" = '6.95' |
### Instruction:
CREATE TABLE table_24574 (
"Train No." text,
"Train Name" text,
"Destination" text,
"Category" text,
"Frequency" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the frequency of trains numbered 12671/12672?
### Response:
| SELECT "Frequency" FROM table_24574 WHERE "Train No." = '12671/12672' |
### Instruction:
CREATE TABLE table_34825 (
"Year" real,
"Class" text,
"Team" text,
"Points" real,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many wins have a year after 1976, and 350cc as the class?
### Response:
| SELECT SUM("Wins") FROM table_34825 WHERE "Year" > '1976' AND "Class" = '350cc' |
### Instruction:
CREATE TABLE table_10493 (
"Date" text,
"Champion" text,
"2nd Place" text,
"Score" text,
"Stadium" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score when the Vikings won the championship at Namyangju Stadium?
### R... | SELECT "Score" FROM table_10493 WHERE "Champion" = 'vikings' AND "Stadium" = 'namyangju stadium' |
### Instruction:
CREATE TABLE table_61944 (
"Summoned" text,
"Elected" text,
"Assembled" text,
"1st member" text,
"2nd member" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Summoned, when Elected is 'March 1298'?
### Response:
| SELECT "Summoned" FROM table_61944 WHERE "Elected" = 'march 1298' |
### Instruction:
CREATE TABLE table_55752 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For Jo Siffert, what was the highest grid with the number of laps above 12?
### ... | SELECT MAX("Grid") FROM table_55752 WHERE "Driver" = 'jo siffert' AND "Laps" > '12' |
### Instruction:
CREATE TABLE table_30470 (
"Date" text,
"Time" text,
"Visiting team" text,
"Home team" text,
"Site" text,
"Broadcast" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Connecticut ... | SELECT COUNT("Broadcast") FROM table_30470 WHERE "Home team" = 'Connecticut' |
### Instruction:
CREATE TABLE table_38194 (
"Rank" real,
"Name" text,
"Height m (ft)" text,
"Floors" real,
"Year" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the earliest year with rank 20 and less than 60 floors?
### Response:
| SELECT MIN("Year") FROM table_38194 WHERE "Rank" = '20' AND "Floors" < '60' |
### Instruction:
CREATE TABLE table_30570 (
"Pick #" real,
"Player" text,
"Position" text,
"Nationality" text,
"NHL team" text,
"College/junior/club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- where did glenn greenough come from
### R... | SELECT "College/junior/club team" FROM table_30570 WHERE "Player" = 'Glenn Greenough' |
### Instruction:
CREATE TABLE mountain (
mountain_id number,
name text,
height number,
prominence number,
range text,
country text
)
CREATE TABLE climber (
climber_id number,
name text,
country text,
time text,
points number,
mountain_id number
)
-- Using valid SQLite,... | SELECT name FROM climber WHERE country <> "Switzerland" |
### Instruction:
CREATE TABLE table_33015 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance on 1997-12-14?
### Response:
| SELECT "Attendance" FROM table_33015 WHERE "Date" = '1997-12-14' |
### Instruction:
CREATE TABLE table_29678 (
"Tournament" text,
"Games played" real,
"Points per game" text,
"Rebounds per game" text,
"Assists per game" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points per game did he have when he had ... | SELECT "Points per game" FROM table_29678 WHERE "Assists per game" = '1.5' |
### Instruction:
CREATE TABLE table_23257 (
"School" text,
"Baseball stadium" text,
"Softball stadium" text,
"Basketball arena" text,
"Capacity" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the baseball stadium for the school w... | SELECT "Baseball stadium" FROM table_23257 WHERE "Basketball arena" = 'The Murray Center' |
### Instruction:
CREATE TABLE table_3602 (
"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.
-- What was the first elected year that featured incumbent ... | SELECT "First elected" FROM table_3602 WHERE "Incumbent" = 'Andrew R. Govan' |
### Instruction:
CREATE TABLE table_48872 (
"Model" text,
"Length Over All" text,
"Beam" text,
"Sail Area" text,
"Crew" text,
"Comments" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Crew has Comments of daggerboards. design: roy seaman?
... | SELECT "Crew" FROM table_48872 WHERE "Comments" = 'daggerboards. design: roy seaman' |
### Instruction:
CREATE TABLE table_60675 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the To par of the Player with a Score of 73-67-68=208?
### Response:
| SELECT "To par" FROM table_60675 WHERE "Score" = '73-67-68=208' |
### 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_204_913 (
id number,
"#" number,
"date" text,
"venue" text,
"opponent" text,
"score" text,
"result" text,
"competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in how many games did sri lanka sc... | SELECT COUNT(*) FROM table_204_913 WHERE "score" >= 2 |
### Instruction:
CREATE TABLE table_55458 (
"Tournament" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the value for the Wimbledon tournament in 1996?
### Response:
| SELECT "1996" FROM table_55458 WHERE "Tournament" = 'wimbledon' |
### Instruction:
CREATE TABLE table_name_70 (
bush_number INTEGER,
others_number VARCHAR,
bush_percentage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average value of Bush# when the value for Others# is greater than 57, and the value for B... | SELECT AVG(bush_number) FROM table_name_70 WHERE others_number > 57 AND bush_percentage = "49.2%" |
### Instruction:
CREATE TABLE table_72455 (
"District" text,
"Incumbent" text,
"Party" text,
"Elected" real,
"Status" text,
"2007 Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the last year someone was elected to the 14th distr... | SELECT MAX("Elected") FROM table_72455 WHERE "District" = '14th' |
### Instruction:
CREATE TABLE table_1234 (
"Element" text,
"Nuclide" text,
"Z ( p )" real,
"N ( n )" real,
"isotopic mass ( u )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of N for the element with nuclide of 141 pr?
#... | SELECT COUNT("N ( n )") FROM table_1234 WHERE "Nuclide" = '141 Pr' |
### Instruction:
CREATE TABLE table_202_117 (
id number,
"date" text,
"ship" text,
"nationality" text,
"tonnage" number,
"fate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was sunk the most ?
### Response:
| SELECT "nationality" FROM table_202_117 WHERE "fate" = 'sunk' GROUP BY "nationality" ORDER BY COUNT(*) DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_name_98 (
rank INTEGER,
name VARCHAR,
source VARCHAR,
out_of VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest rank that has fao as a source and an out greater than 50, with dietary calorie intake ... | SELECT MAX(rank) FROM table_name_98 WHERE source = "fao" AND out_of > 50 AND name = "dietary calorie intake" |
### Instruction:
CREATE TABLE table_56520 (
"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 Richmond play... | SELECT "Date" FROM table_56520 WHERE "Away team" = 'richmond' |
### Instruction:
CREATE TABLE table_77498 (
"Date" text,
"Tournament" text,
"Winning score" text,
"To par" text,
"Margin of victory" text,
"Runner-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the to par of the tournament that had ... | SELECT "To par" FROM table_77498 WHERE "Runner-up" = 'ken duke' |
### Instruction:
CREATE TABLE table_77079 (
"Player" text,
"Nationality" text,
"Jersey Number(s)" real,
"Position" text,
"Years" text,
"From" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the highest jersey number for the player from o... | SELECT MAX("Jersey Number(s)") FROM table_77079 WHERE "From" = 'oklahoma baptist' |
### Instruction:
CREATE TABLE table_28873 (
"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.
-- Who were the running candidates when Joshua Sands was t... | SELECT "Candidates" FROM table_28873 WHERE "Incumbent" = 'Joshua Sands' |
### Instruction:
CREATE TABLE table_37662 (
"Name" text,
"Period" text,
"Starts" real,
"Wins" real,
"Losses" real,
"Ties" real,
"Win %" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Losses have a Name of blair kiel?
### Response:... | SELECT COUNT("Losses") FROM table_37662 WHERE "Name" = 'blair kiel' |
### Instruction:
CREATE TABLE table_52795 (
"Area name" text,
"Area headquarters" text,
"Area president (Quorum)" text,
"First counselor (Quorum)" text,
"Second counselor (Quorum)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the area preside... | SELECT "Area president (Quorum)" FROM table_52795 WHERE "Area name" = 'south america south' |
### Instruction:
CREATE TABLE table_26757_4 (
proto_slavic VARCHAR,
serbo_croatian VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When ( ) / gn(ij)ezdo is the serbo-croatian how many proto-slavics are there?
### Response:
| SELECT COUNT(proto_slavic) FROM table_26757_4 WHERE serbo_croatian = "гн(иј)ездо / gn(ij)ezdo" |
### Instruction:
CREATE TABLE table_204_927 (
id number,
"title" text,
"year" number,
"artist(s)" text,
"album" text,
"writer(s)" text,
"producer(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what year is next to the title cheat on you ... | SELECT "year" FROM table_204_927 WHERE "title" = '"cheat on you"' |
### 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 h... | SELECT "Date" FROM table_33611 WHERE "Home team" = 'essendon' |
### Instruction:
CREATE TABLE table_203_486 (
id number,
"place" number,
"team" text,
"matches" number,
"won" number,
"drawn" number,
"lost" number,
"difference" text,
"points" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which c... | SELECT "team" FROM table_203_486 ORDER BY "points" LIMIT 1 |
### Instruction:
CREATE TABLE table_name_72 (
serial_format VARCHAR,
design VARCHAR,
serials_issued VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the serial format for white on blue with a serial issued of ss-00-00 to zz-99-99?
### Response:
| SELECT serial_format FROM table_name_72 WHERE design = "white on blue" AND serials_issued = "ss-00-00 to zz-99-99" |
### Instruction:
CREATE TABLE table_46509 (
"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 Overall has a Position of te, and a Round larger than 5?
### Re... | SELECT AVG("Overall") FROM table_46509 WHERE "Position" = 'te' AND "Round" > '5' |
### Instruction:
CREATE TABLE table_44284 (
"College code" text,
"Faculty name" text,
"Designation" text,
"Qualification" text,
"Department" text,
"Experience" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What department has an m.phil (physics... | SELECT "Department" FROM table_44284 WHERE "Qualification" = 'm.phil (physics)' |
### Instruction:
CREATE TABLE table_33888 (
"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 was the score on October 16, 1983?
### Response:
| SELECT "Score" FROM table_33888 WHERE "Date" = 'october 16, 1983' |
### Instruction:
CREATE TABLE table_75476 (
"Game" real,
"February" real,
"Opponent" text,
"Score" text,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many february games had a record of 29 24 9?
### Response:
| SELECT AVG("February") FROM table_75476 WHERE "Record" = '29–24–9' |
### Instruction:
CREATE TABLE table_78077 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much time is required for less than 35 laps and less than 10 grids?
### Resp... | SELECT "Time/Retired" FROM table_78077 WHERE "Laps" < '35' AND "Grid" < '10' |
### Instruction:
CREATE TABLE table_204_871 (
id number,
"ano" text,
"title" text,
"role" text,
"channel" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the name of the show that natalia oriero hosted in 2008 ?
### Respo... | SELECT "title" FROM table_204_871 WHERE "ano" = 2008 AND "notes" = 'host' |
### Instruction:
CREATE TABLE table_5147 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest number of laps with a time/retired of +38.426?
### Response:
| SELECT MIN("Laps") FROM table_5147 WHERE "Time/Retired" = '+38.426' |
### Instruction:
CREATE TABLE table_57562 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What location is Jimmy Smith fight... | SELECT "Location" FROM table_57562 WHERE "Opponent" = 'jimmy smith' |
### Instruction:
CREATE TABLE table_75972 (
"Date" text,
"Time" text,
"Home" text,
"Away" text,
"Score" text,
"Ground" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Score with a Date that is 2008-06-28?
### Response:
| SELECT "Score" FROM table_75972 WHERE "Date" = '2008-06-28' |
### Instruction:
CREATE TABLE table_23116 (
"Year (Ceremony)" text,
"Film title used in nomination" text,
"Persian title" text,
"Director" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the Persian title , What was the film title ... | SELECT "Film title used in nomination" FROM table_23116 WHERE "Persian title" = 'گبه' |
### Instruction:
CREATE TABLE table_203_686 (
id number,
"release date" text,
"album" text,
"record label" text,
"uk albums chart" number,
"u.s. billboard 200 chart" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what record label appears the ... | SELECT "record label" FROM table_203_686 GROUP BY "record label" ORDER BY COUNT(*) DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_62836 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the date in the United Kingdom having a catalog of reveal50cd/lp?
### Response:
| SELECT "Date" FROM table_62836 WHERE "Catalog" = 'reveal50cd/lp' AND "Region" = 'united kingdom' |
### Instruction:
CREATE TABLE table_73180 (
"Date" text,
"Team #1" text,
"Res." text,
"Team #2" text,
"Competition" text,
"Attendance" real,
"Remarks" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was the attendance 22000?
### R... | SELECT "Date" FROM table_73180 WHERE "Attendance" = '22000' |
### Instruction:
CREATE TABLE table_name_42 (
entrant VARCHAR,
year VARCHAR,
chassis VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the entrant of a chassis maserati 250f, also has 6 points and older than year 1957?
### Resp... | SELECT entrant FROM table_name_42 WHERE chassis = "maserati 250f" AND points = "6" AND year < 1957 |
### Instruction:
CREATE TABLE table_name_99 (
Double VARCHAR,
non_suited_match VARCHAR,
house_edge VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- With a house edge of 3.53% and a Non-Suited Matched of 3:1, name the Double Non-Suited Match.
### Response... | SELECT Double AS non_suited_match FROM table_name_99 WHERE non_suited_match = "3:1" AND house_edge = "3.53%" |
### Instruction:
CREATE TABLE table_203_784 (
id number,
"no. in\nseries" number,
"no. in\nseason" number,
"performer" text,
"appearance" text,
"air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which month had the most air dates ?
### ... | SELECT "air date" FROM table_203_784 GROUP BY "air date" ORDER BY COUNT("air date") DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_204_726 (
id number,
"rank" number,
"athlete" text,
"country" text,
"time" text,
"behind" number,
"points" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the number of 1500 meter runners that cam... | SELECT COUNT("athlete") FROM table_204_726 WHERE "country" = 'italy' |
### Instruction:
CREATE TABLE table_62700 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date is the venue Sam Nujoma Stadium, Windhoek, Namibia?
### Response:
| SELECT "Date" FROM table_62700 WHERE "Venue" = 'sam nujoma stadium, windhoek, namibia' |
### Instruction:
CREATE TABLE table_71033 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team was the opponent when there was a score of 5 4 (11)?
### ... | SELECT "Opponent" FROM table_71033 WHERE "Score" = '5–4 (11)' |
### 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 election (
election_id number,
representative_id number,
date text,
votes number,
vote_percent number,
seats number,
place number
)
CREATE TABLE representative (
representative_id number,
name text,
state text,
party text,
lifespan text
)
... | SELECT party FROM representative GROUP BY party HAVING COUNT(*) >= 3 |
### 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 w... | SELECT "Colour commentator(s)" FROM table_55630 WHERE "Play-by-play" = 'bob cole' |
### Instruction:
CREATE TABLE table_name_7 (
opponent VARCHAR,
competition VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- At the VFL Reserves, who was the opponent when the score was 18.6 (114) - 21.14 (140)?
### Response:
| SELECT opponent FROM table_name_7 WHERE competition = "vfl reserves" AND score = "18.6 (114) - 21.14 (140)" |
### Instruction:
CREATE TABLE table_70078 (
"Goal" text,
"Location" text,
"Lineup" text,
"Assist/pass" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which lineup has a Location of usa virgini... | SELECT "Lineup" FROM table_70078 WHERE "Location" = 'usa virginia beach' |
### 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 be... | SELECT COUNT("hospital") FROM table_203_216 WHERE "# beds" >= 600 |
### Instruction:
CREATE TABLE table_54465 (
"Player" text,
"Rec." real,
"Yards" real,
"Avg." real,
"TD's" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average that has more than 0 touchdowns and more than 135 yards?
### Response:
| SELECT "Avg." FROM table_54465 WHERE "TD's" > '0' AND "Yards" > '135' |
### Instruction:
CREATE TABLE table_70772 (
"Year" real,
"Points" text,
"Rebounds" text,
"Assists" text,
"Steals" text,
"Blocks" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the 1st Year Al Harrington (9) the leader in Rebounds?
###... | SELECT MIN("Year") FROM table_70772 WHERE "Rebounds" = 'al harrington (9)' |
### Instruction:
CREATE TABLE table_74163 (
"Warrior" text,
"Close ranged weapons" text,
"Mid ranged weapons" text,
"Long ranged weapons" text,
"Armor" text,
"Special weapon" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the special weapon i... | SELECT "Armor" FROM table_74163 WHERE "Special weapon" = 'Grenado' |
### Instruction:
CREATE TABLE table_9338 (
"Date" text,
"Home team" text,
"Score" text,
"Away team" text,
"Venue" text,
"Box Score" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score for the Perth Wildcats as aw... | SELECT "Score" FROM table_9338 WHERE "Away team" = 'perth wildcats' |
### Instruction:
CREATE TABLE table_204_223 (
id number,
"party" text,
"previous council" number,
"staying councillors" number,
"seats up for election" number,
"election result" number,
"new council" number
)
-- Using valid SQLite, answer the following questions for the tables provided abo... | SELECT COUNT("party") FROM table_204_223 WHERE "new council" = 0 |
### Instruction:
CREATE TABLE table_11678 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Time/Retired has less than 77 laps, and a Grid of 16?
### Response:
| SELECT "Time/Retired" FROM table_11678 WHERE "Laps" < '77' AND "Grid" = '16' |
### Instruction:
CREATE TABLE table_18852984_2 (
all_bills_cosponsored VARCHAR,
bills_originally_cosponsored VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many bill cosponsored during those years where bills originally cosponsored is 113?
### Response... | SELECT all_bills_cosponsored FROM table_18852984_2 WHERE bills_originally_cosponsored = 113 |
### 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?... | SELECT SUM("The Year") FROM table_44946 WHERE "Playoffs" = 'did not qualify' AND "Division" < '3' |
### Instruction:
CREATE TABLE table_name_53 (
bronze INTEGER,
gold VARCHAR,
nation VARCHAR,
silver VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Bronze has a Silver larger than 1, a Total larger than 3, a Nation of turkey, a... | SELECT SUM(bronze) FROM table_name_53 WHERE silver > 1 AND total > 3 AND nation = "turkey" AND gold < 2 |
### 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_42987 (
"Outcome" text,
"Date" real,
"Tournament" text,
"Partner" text,
"Opponents in the final" text,
"Score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the outcome for Jan Pisecky a... | SELECT "Outcome" FROM table_42987 WHERE "Partner" = 'jan pisecky' |
### Instruction:
CREATE TABLE table_793 (
"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.
-- What was the winning party when the incumbent was richard... | SELECT "Party" FROM table_793 WHERE "Incumbent" = 'Richard S. Whaley' |
### Instruction:
CREATE TABLE table_56846 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team was the home team when the record was 1... | SELECT "Home" FROM table_56846 WHERE "Record" = '11–8–2' |
### Instruction:
CREATE TABLE table_31935 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Event resulted in a Win for Opponent, Shane Ott?
### Response:
| SELECT "Event" FROM table_31935 WHERE "Res." = 'win' AND "Opponent" = 'shane ott' |
### Instruction:
CREATE TABLE table_23319 (
"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.
-- What kind of vehicle is the agra 1050?
### Response:
| SELECT "Vehicle Category" FROM table_23319 WHERE "Till Agra" = '1050' |
### Instruction:
CREATE TABLE table_24162 (
"University" text,
"Nick" text,
"University status" real,
"Founded" real,
"Location" text,
"Division" text,
"Specialization" text,
"Website" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where... | SELECT "Location" FROM table_24162 WHERE "Nick" = 'BRU' |
### Instruction:
CREATE TABLE table_39116 (
"Games" real,
"Drawn" real,
"Lost" real,
"Points difference" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest number of drawn games when there are fewer than 4 points and ... | SELECT MIN("Drawn") FROM table_39116 WHERE "Points" < '4' AND "Lost" > '4' |
### Instruction:
CREATE TABLE table_62110 (
"Mission" text,
"Resident Country" text,
"Local Location" text,
"Local Mission" text,
"Non-Resident Head of Mission" text,
"Local Position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Reside... | SELECT "Resident Country" FROM table_62110 WHERE "Local Location" = 'copenhagen' |
### Instruction:
CREATE TABLE table_name_26 (
winning_party_2003 VARCHAR,
swing_to_gain VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which party won in 2003, that had a swing to gain of less than 2.92 and which resulted in a ld hold?
... | SELECT winning_party_2003 FROM table_name_26 WHERE swing_to_gain < 2.92 AND result = "ld hold" |
### Instruction:
CREATE TABLE table_27646 (
"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.
-- What is the type if the organization name i... | SELECT "Type" FROM table_27646 WHERE "Organization" = 'Gamma Rho Lambda 1' |
### Instruction:
CREATE TABLE table_204_994 (
id number,
"date" text,
"time" text,
"opponent#" text,
"rank#" text,
"site" text,
"tv" text,
"result" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the top r... | SELECT "result" FROM table_204_994 WHERE id = 1 |
### Instruction:
CREATE TABLE table_745 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the election of the incumbent harr... | SELECT "Result" FROM table_745 WHERE "Incumbent" = 'Harry R. Sheppard' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.