instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_name_87 (
lane INTEGER,
rank VARCHAR,
time VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which lane has a time less than 49.67, is from Michael Klim and less than 1 rank?
### Response:
| SELECT MAX(lane) FROM table_name_87 WHERE time < 49.67 AND name = "michael klim" AND rank < 1 |
### Instruction:
CREATE TABLE table_35771 (
"Year" real,
"Champion" text,
"Venue" text,
"Location" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did Kim Thompson win with 278 score?
### Response:
| SELECT SUM("Year") FROM table_35771 WHERE "Score" = '278' AND "Champion" = 'kim thompson' |
### Instruction:
CREATE TABLE table_27749 (
"Team" text,
"Manager" text,
"Captain" text,
"Kit manufacturer" text,
"Shirt sponsor" text,
"Average Squad Age" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the manager of FK Andijan?
### Re... | SELECT "Manager" FROM table_27749 WHERE "Team" = 'FK Andijan' |
### Instruction:
CREATE TABLE people (
people_id number,
name text,
height number,
weight number,
date_of_birth text
)
CREATE TABLE entrepreneur (
entrepreneur_id number,
people_id number,
company text,
money_requested number,
investor text
)
-- Using valid SQLite, answer the ... | SELECT COUNT(*) FROM entrepreneur |
### Instruction:
CREATE TABLE table_name_75 (
team VARCHAR,
laps VARCHAR,
time_retired VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team had 159 laps and a Time/Retired of 6:30:02.3733?
### Response:
| SELECT team FROM table_name_75 WHERE laps = 159 AND time_retired = "6:30:02.3733" |
### Instruction:
CREATE TABLE table_14973 (
"Rank" text,
"Event" text,
"Place" text,
"Name" text,
"Prize" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which event had a prize of $2,434,061?
### Response:
| SELECT "Name" FROM table_14973 WHERE "Prize" = '$2,434,061' |
### Instruction:
CREATE TABLE table_71145 (
"Team" text,
"Manager 1" text,
"Captain" text,
"Kit manufacturer" text,
"Shirt sponsor" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- One2one is the shirt sponsor for the captain of what team?
### Respo... | SELECT "Captain" FROM table_71145 WHERE "Shirt sponsor" = 'one2one' |
### Instruction:
CREATE TABLE table_62032 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Results" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Incumbent, when District is 'Louisiana 4'?
### Response:
| SELECT "Incumbent" FROM table_62032 WHERE "District" = 'louisiana 4' |
### Instruction:
CREATE TABLE table_56543 (
"Round" text,
"Player" text,
"Position" text,
"Team" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who plays g position for the st. louis bombers?
### Response:
| SELECT "Player" FROM table_56543 WHERE "Team" = 'st. louis bombers' AND "Position" = 'g' |
### Instruction:
CREATE TABLE table_70580 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the game when the attendance was 1,644?
### Response:
| SELECT "Score" FROM table_70580 WHERE "Attendance" = '1,644' |
### Instruction:
CREATE TABLE table_63095 (
"Title" text,
"Series" text,
"Director" text,
"Release date" text,
"Characters" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the release date of Feather Finger with an MM Series?
### Response:
| SELECT "Release date" FROM table_63095 WHERE "Series" = 'mm' AND "Title" = 'feather finger' |
### Instruction:
CREATE TABLE table_64140 (
"Year" real,
"Competition Description" text,
"Location" text,
"Apparatus" text,
"Rank-Final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Location of the Competition with a Rank-Final of 10?
... | SELECT "Location" FROM table_64140 WHERE "Rank-Final" = '10' |
### Instruction:
CREATE TABLE table_61581 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which country won in 1988?
### Response:
| SELECT "Country" FROM table_61581 WHERE "Year(s) won" = '1988' |
### Instruction:
CREATE TABLE table_21979779_1 (
original_air_date VARCHAR,
us_viewers__million_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- when was the premiere of the episode where the amount of North American spectators was 1.76 millions?
### Respon... | SELECT original_air_date FROM table_21979779_1 WHERE us_viewers__million_ = "1.76" |
### Instruction:
CREATE TABLE table_name_19 (
yeast_ortholog VARCHAR,
subpathway VARCHAR,
genecards_entry VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the yeast ortholog that has a subpathway of GGR and GeneCards entry CETN2?
### Response:
| SELECT yeast_ortholog FROM table_name_19 WHERE subpathway = "ggr" AND genecards_entry = "cetn2" |
### Instruction:
CREATE TABLE table_name_12 (
laps VARCHAR,
points VARCHAR,
team VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of laps for a team of team player's, and has a grid of 9, and points larger than 10... | SELECT COUNT(laps) FROM table_name_12 WHERE team = "team player's" AND grid = 9 AND points > 10 |
### Instruction:
CREATE TABLE table_203_781 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what number of competitions were held in 2010 ?
### Response:
| SELECT COUNT("competition") FROM table_203_781 WHERE "year" = 2010 |
### Instruction:
CREATE TABLE table_204_325 (
id number,
"class" text,
"name" text,
"company" text,
"residence" text,
"term expires dec 31" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- number of current vacancies
### Resp... | SELECT COUNT(*) FROM table_204_325 WHERE "name" = 'vacancy' |
### Instruction:
CREATE TABLE table_name_28 (
points INTEGER,
goals_for VARCHAR,
draws VARCHAR,
wins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest points of the club with less than 9 draws, 11 wins, and more than 40 goals?
### ... | SELECT MAX(points) FROM table_name_28 WHERE draws < 9 AND wins = 11 AND goals_for > 40 |
### Instruction:
CREATE TABLE table_64821 (
"Name (pinyin)" text,
"Name (Wade Giles)" text,
"Characters" text,
"Type" text,
"Construction" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which Construction is named heng-hai?
### Response:
| SELECT "Construction" FROM table_64821 WHERE "Name (Wade Giles)" = 'heng-hai' |
### Instruction:
CREATE TABLE table_79766 (
"Driver" text,
"Team" text,
"Laps" real,
"Time/Retired" text,
"Grid" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is mario dom nguez's average Grid?
### Response:
| SELECT AVG("Grid") FROM table_79766 WHERE "Driver" = 'mario domínguez' |
### Instruction:
CREATE TABLE table_66860 (
"Year" real,
"Date" text,
"Title" text,
"Format(s)" text,
"Award description(s)" text,
"Result(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the award description with Format album?
###... | SELECT "Award description(s)" FROM table_66860 WHERE "Format(s)" = 'album' |
### Instruction:
CREATE TABLE table_52406 (
"City" text,
"Country" text,
"Region" text,
"IATA" text,
"ICAO" text,
"Airport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the IATA for ICAO of zgkl
### Response:
| SELECT "IATA" FROM table_52406 WHERE "ICAO" = 'zgkl' |
### Instruction:
CREATE TABLE table_63884 (
"Driver" text,
"Navigator" text,
"Vehicle" text,
"Class" text,
"Capacity" real,
"Total Time" text,
"Margin" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the navigator for James?
### Res... | SELECT "Navigator" FROM table_63884 WHERE "Driver" = 'james' |
### Instruction:
CREATE TABLE loan (
cust_id VARCHAR
)
CREATE TABLE customer (
cust_name VARCHAR,
cust_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the the name of the customers who have a loan with amount more than 3000.
### Response:
| SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id WHERE amount > 3000 |
### Instruction:
CREATE TABLE table_57100 (
"Pos." real,
"Driver" text,
"Time" text,
"Best time" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position is associated with a Time of 20:39.171?
### Response:
| SELECT AVG("Pos.") FROM table_57100 WHERE "Time" = '20:39.171' |
### Instruction:
CREATE TABLE table_191105_2 (
performed_by VARCHAR,
music_by VARCHAR,
episode_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When conjunction junction is the episode title and the music is by bob dorough who is the performer?
###... | SELECT performed_by FROM table_191105_2 WHERE music_by = "Bob Dorough" AND episode_title = "Conjunction Junction" |
### Instruction:
CREATE TABLE table_6967 (
"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 Away with a Score that is 46-82?
### Response:
| SELECT "Away" FROM table_6967 WHERE "Score" = '46-82' |
### Instruction:
CREATE TABLE table_55080 (
"Year" real,
"Date" text,
"Location" text,
"Score" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the score for 1992, with the result of a loss?
### Response:
| SELECT "Score" FROM table_55080 WHERE "Year" = '1992' AND "Result" = 'loss' |
### Instruction:
CREATE TABLE table_204_506 (
id number,
"seasons" number,
"team" text,
"ch.wins" number,
"promotions" number,
"relegations" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what team is the only team with 2 wins ?
### Response... | SELECT "team" FROM table_204_506 WHERE "ch.wins" = 2 |
### Instruction:
CREATE TABLE table_204_302 (
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.
-- which ranking is mexico ?
### Response:
| SELECT "rank" FROM table_204_302 WHERE "nation" = 'mexico' |
### Instruction:
CREATE TABLE table_name_49 (
sales VARCHAR,
peak_position VARCHAR,
rank VARCHAR,
certification VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times is the rank less than 6, certification 2x platinum and the peak position 2?
... | SELECT COUNT(sales) FROM table_name_49 WHERE rank < 6 AND certification = "2x platinum" AND peak_position = "2" |
### Instruction:
CREATE TABLE table_name_28 (
draw__pe_ INTEGER,
team__equipo_ VARCHAR,
won__pg_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of the pe draw of team plaza amador, who has less than 6 pg won?
### Response:
| SELECT SUM(draw__pe_) FROM table_name_28 WHERE team__equipo_ = "plaza amador" AND won__pg_ < 6 |
### Instruction:
CREATE TABLE table_28589 (
"Engine Family" text,
"Cylinder Layout" text,
"Displacement(s)" text,
"Injection type" text,
"Years produced" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The cylinder layout v8 is produced in what years... | SELECT "Years produced" FROM table_28589 WHERE "Cylinder Layout" = 'V8' |
### Instruction:
CREATE TABLE table_19061741_1 (
home_or_representative_town_or_province VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When cindy miranda is the name what is the home or representative town or province?
### Response:
| SELECT home_or_representative_town_or_province FROM table_19061741_1 WHERE name = "Cindy Miranda" |
### Instruction:
CREATE TABLE table_name_12 (
nation___athlete_s_ VARCHAR,
sport VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Nation - athlete(s), when the Sport is luge - men's singles, and when the Record is, 'track'?
##... | SELECT nation___athlete_s_ FROM table_name_12 WHERE sport = "luge - men's singles" AND record = "track" |
### Instruction:
CREATE TABLE table_31731 (
"Hangul" text,
"Hanja" text,
"Revised" text,
"McCune-Reischauer" text,
"Estimated distribution (2000)*" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the hanja of eum
### Response:
| SELECT "Hanja" FROM table_31731 WHERE "Revised" = 'eum' |
### Instruction:
CREATE TABLE table_204_507 (
id number,
"bridge name" text,
"location" text,
"year completed" number,
"total length" text,
"carries" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many bridges are longer than 200 feet ?
##... | SELECT COUNT("bridge name") FROM table_204_507 WHERE "total length" > 200 |
### Instruction:
CREATE TABLE table_40508 (
"Date" text,
"Location" text,
"Country" text,
"Event" text,
"Winner" text,
"Runner-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The event rip curl pro mademoiselle is in which location?
### Res... | SELECT "Location" FROM table_40508 WHERE "Event" = 'rip curl pro mademoiselle' |
### Instruction:
CREATE TABLE table_18600760_18 (
geo_id INTEGER,
land___sqmi__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the GEO ID of the township with area of 32.532 square miles?
### Response:
| SELECT MAX(geo_id) FROM table_18600760_18 WHERE land___sqmi__ = "32.532" |
### Instruction:
CREATE TABLE table_65499 (
"Year" real,
"Finals Venue" text,
"Location" text,
"Pageant Date" text,
"Number of Delegates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the final venue for 82 delegates?
### Response:
| SELECT "Finals Venue" FROM table_65499 WHERE "Number of Delegates" = '82' |
### Instruction:
CREATE TABLE table_203_743 (
id number,
"version" text,
"date" text,
"development cycle" text,
"size (in kb)" number,
"download" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- the total number of developmental ... | SELECT COUNT(*) FROM table_203_743 WHERE "development cycle" = 'beta' |
### Instruction:
CREATE TABLE table_65507 (
"Club" text,
"League/Division" text,
"Home Ground" text,
"Location" text,
"Position in 2012-13" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which club is in the First division?
### Response:
| SELECT "Club" FROM table_65507 WHERE "League/Division" = 'first division' |
### Instruction:
CREATE TABLE table_54319 (
"Name" text,
"Service" text,
"Rank" text,
"Place of action" text,
"Unit" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the place of action for the marine corps and corporal rank
### Response:
| SELECT "Place of action" FROM table_54319 WHERE "Service" = 'marine corps' AND "Rank" = 'corporal' |
### Instruction:
CREATE TABLE table_22270 (
"Departure" text,
"Going to" text,
"Calling at" text,
"Arrival" text,
"Operator" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the calling at for the 09.50 departure?
### Response:
| SELECT "Calling at" FROM table_22270 WHERE "Departure" = '09.50' |
### Instruction:
CREATE TABLE table_20876 (
"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.
-- who was the successor for district ohio 15th?
### Respo... | SELECT "Successor" FROM table_20876 WHERE "District" = 'Ohio 15th' |
### Instruction:
CREATE TABLE table_54969 (
"Rider" text,
"Bike" text,
"Laps" real,
"Time" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What rider went under 22 laps with grid number 2?
### Response:
| SELECT "Rider" FROM table_54969 WHERE "Laps" < '22' AND "Grid" = '2' |
### Instruction:
CREATE TABLE table_38928 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Save" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When is the Save of Ayala and a Loss of Olivares
### Response:
| SELECT "Date" FROM table_38928 WHERE "Save" = 'ayala' AND "Loss" = 'olivares' |
### Instruction:
CREATE TABLE table_name_63 (
year_of_recording INTEGER,
orchestra VARCHAR,
record_company VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the oldest year that the Royal Philharmonic Orchestra released a record with Decca Records?
... | SELECT MIN(year_of_recording) FROM table_name_63 WHERE orchestra = "royal philharmonic orchestra" AND record_company = "decca records" |
### Instruction:
CREATE TABLE table_28656 (
"Name / designation" text,
"Year of introduction" text,
"Country of origin" text,
"Primary cartridge" text,
"primary user" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the country of Origin is South A... | SELECT "primary user" FROM table_28656 WHERE "Country of origin" = 'South Africa' |
### Instruction:
CREATE TABLE table_2818 (
"Month" text,
"Week" real,
"Overall" text,
"Offensive" text,
"Defensive" text,
"Transition" text,
"Rookie" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the week for steve toll
### Response:... | SELECT "Week" FROM table_2818 WHERE "Transition" = 'Steve Toll' |
### Instruction:
CREATE TABLE table_35132 (
"Goal" real,
"Date" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Competition has a Date of may 2, 1993?
### Response:
| SELECT "Competition" FROM table_35132 WHERE "Date" = 'may 2, 1993' |
### Instruction:
CREATE TABLE table_72615 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game Site" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When it is week 2 what is the record?
### Re... | SELECT "Record" FROM table_72615 WHERE "Week" = '2' |
### Instruction:
CREATE TABLE table_18684 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won in 1927
### Response:
| SELECT "Incumbent" FROM table_18684 WHERE "First elected" = '1927' |
### Instruction:
CREATE TABLE table_65950 (
"Rank" real,
"Athlete" text,
"Country" text,
"Time" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the rank when then time was 7:52.53?
### Response:
| SELECT MIN("Rank") FROM table_65950 WHERE "Time" = '7:52.53' |
### Instruction:
CREATE TABLE table_23927423_4 (
promoted_from_league VARCHAR,
relegated_to_league VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many were promoted from the league when Esher was relegated to the league?
### Response:
| SELECT COUNT(promoted_from_league) FROM table_23927423_4 WHERE relegated_to_league = "Esher" |
### Instruction:
CREATE TABLE table_2071644_1 (
flange_thickness__mm_ VARCHAR,
weight__kg_m_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the flange thickness (mm) for the weight (kg/m) 10.4?
### Response:
| SELECT flange_thickness__mm_ FROM table_2071644_1 WHERE weight__kg_m_ = "10.4" |
### Instruction:
CREATE TABLE table_name_37 (
fcc_info VARCHAR,
frequency_mhz VARCHAR,
call_sign VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the FCC info for frequency Mhz less than 97.3 and call sign of w237br
### Response:
| SELECT fcc_info FROM table_name_37 WHERE frequency_mhz < 97.3 AND call_sign = "w237br" |
### Instruction:
CREATE TABLE table_32088 (
"Call sign" text,
"Frequency" text,
"City of License" text,
"Owner" text,
"Format" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the call sign for frequency of 0 97.3 fm
### Response:
| SELECT "Call sign" FROM table_32088 WHERE "Frequency" = '0 97.3 fm' |
### Instruction:
CREATE TABLE table_21004 (
"Province" text,
"Population" real,
"Region" text,
"Name of City" text,
"Districts" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the region containing the Constitutional Province of Callao?
###... | SELECT "Region" FROM table_21004 WHERE "Province" = 'Constitutional Province of Callao' |
### Instruction:
CREATE TABLE table_name_49 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is 2005 when 2003 is A, 2007 is 2r and 2012 is 3r?
### Response:
| SELECT 2005 FROM table_name_49 WHERE 2003 = "a" AND 2007 = "2r" AND 2012 = "3r" |
### Instruction:
CREATE TABLE table_2226817_6 (
no_in_series VARCHAR,
original_air_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many series numbers do the episodes originally aired on October 28, 1990?
### Response:
| SELECT COUNT(no_in_series) FROM table_2226817_6 WHERE original_air_date = "October 28, 1990" |
### Instruction:
CREATE TABLE table_72063 (
"Date" text,
"Time" text,
"Competition" text,
"Opponent" text,
"Ground" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On which ground did the team play Aston Villa?
### Response:
| SELECT "Ground" FROM table_72063 WHERE "Opponent" = 'aston villa' |
### Instruction:
CREATE TABLE table_25924 (
"Episode" text,
"First broadcast" text,
"Seans team" text,
"Jasons team" text,
"Scores" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name all of Jason's teams that appeared on episode 6x02?
### Respons... | SELECT "Jasons team" FROM table_25924 WHERE "Episode" = '6x02' |
### Instruction:
CREATE TABLE table_62358 (
"Event" text,
"Time" text,
"Nationality" text,
"Date" text,
"Meet" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What event is on 18 December 2009?
### Response:
| SELECT "Event" FROM table_62358 WHERE "Date" = '18 december 2009' |
### Instruction:
CREATE TABLE table_12661 (
"Club" text,
"League" text,
"Sport" text,
"Established" text,
"Championships" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Established has a League of ontario australian football league?
### Resp... | SELECT "Established" FROM table_12661 WHERE "League" = 'ontario australian football league' |
### Instruction:
CREATE TABLE table_56316 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which constructor has a Time/Retired of +37.311?
### Response:
| SELECT "Constructor" FROM table_56316 WHERE "Time/Retired" = '+37.311' |
### Instruction:
CREATE TABLE table_25344 (
"Series #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Prod. code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who wrote the episode titled 'Christmas'?
#... | SELECT "Written by" FROM table_25344 WHERE "Title" = 'Christmas' |
### Instruction:
CREATE TABLE table_53717 (
"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.
-- Which home has a Date of november 7?
### Respon... | SELECT "Home" FROM table_53717 WHERE "Date" = 'november 7' |
### Instruction:
CREATE TABLE table_64255 (
"Year" real,
"A-side" text,
"B-side" text,
"Catalog number" text,
"Label" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year did the B-Side of Just Squeeze Me come out?
### Response:
| SELECT "Year" FROM table_64255 WHERE "B-side" = 'just squeeze me' |
### Instruction:
CREATE TABLE table_12250 (
"Round" real,
"Date" text,
"Event" text,
"Circuit" text,
"Winning Driver" text,
"Winning Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Circuit has an Event of international procar meeting?... | SELECT "Circuit" FROM table_12250 WHERE "Event" = 'international procar meeting' |
### Instruction:
CREATE TABLE table_6615 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Save" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score on may 19?
### Response:
| SELECT "Score" FROM table_6615 WHERE "Date" = 'may 19' |
### Instruction:
CREATE TABLE table_16653 (
"Season" text,
"Group A Winner" text,
"Group B Winner" text,
"Group C Winner" text,
"Group D Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the group a winner for modena?
### Response:
| SELECT "Group A Winner" FROM table_16653 WHERE "Group B Winner" = 'Modena' |
### Instruction:
CREATE TABLE table_33724 (
"Year" real,
"Kit Supplier" text,
"Sponsor" text,
"Shirt Printing" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average of all the years when the notes are electronics brand?
... | SELECT AVG("Year") FROM table_33724 WHERE "Notes" = 'electronics brand' |
### Instruction:
CREATE TABLE table_204_796 (
id number,
"network name" text,
"flagship" text,
"programming type" text,
"owner" text,
"affiliates" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- name each of tv azteca 's network names .
### R... | SELECT "network name" FROM table_204_796 WHERE "owner" = 'tv azteca' |
### Instruction:
CREATE TABLE table_22099 (
"Player" text,
"Alma Mater" text,
"National Lacrosse League" text,
"Major League Lacrosse" text,
"International Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What university did Steve Hoar at... | SELECT "Alma Mater" FROM table_22099 WHERE "Player" = 'Steve Hoar' |
### Instruction:
CREATE TABLE table_34771 (
"Event" text,
"Gold" text,
"Silver" text,
"Bronze" text,
"4th place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won the gold when Jules van Dyk Belgium won bronze?
### Response:
| SELECT "Gold" FROM table_34771 WHERE "Bronze" = 'jules van dyk belgium' |
### Instruction:
CREATE TABLE table_28038 (
"Player" text,
"Position" text,
"Starter" text,
"Touchdowns" real,
"Extra points" real,
"Field goals" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Was Magoffin a starting player?
... | SELECT "Starter" FROM table_28038 WHERE "Player" = 'Magoffin' |
### Instruction:
CREATE TABLE table_79835 (
"Year" real,
"Stage" real,
"Category" text,
"Start" text,
"Finish" text,
"Leader at the summit" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Give the Finish for a Stage that is larger than 15
### R... | SELECT "Finish" FROM table_79835 WHERE "Stage" > '15' |
### Instruction:
CREATE TABLE table_23743 (
"County" text,
"Obama%" text,
"Obama#" real,
"McCain%" text,
"McCain#" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Obama's percentage in the county of Alleghany?
### Response:
| SELECT "Obama%" FROM table_23743 WHERE "County" = 'Alleghany' |
### Instruction:
CREATE TABLE table_222448_1 (
percent_defective VARCHAR,
sigma__with_15σ_shift_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When sigma (with 1.5 shift) is 2.5, what percent is defective?
### Response:
| SELECT percent_defective FROM table_222448_1 WHERE sigma__with_15σ_shift_ = "2.5" |
### Instruction:
CREATE TABLE table_203_228 (
id number,
"#" number,
"title" text,
"songwriters" text,
"producer(s)" text,
"performer (s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who produced the track no main topic ?
### Response:
| SELECT "producer(s)" FROM table_203_228 WHERE "title" = '"no main topic"' |
### Instruction:
CREATE TABLE table_40577 (
"Team" text,
"City" text,
"Inaugural season" text,
"Final season" text,
"Captain" text,
"Coach" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which City has the Bahawalpur Stags Team?
### Response:
| SELECT "City" FROM table_40577 WHERE "Team" = 'bahawalpur stags' |
### Instruction:
CREATE TABLE table_2411 (
"Episode" text,
"Broadcast date" text,
"Run time" text,
"Viewers (in millions)" text,
"Archive" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When there are 7.5 million viewers what is the archive?
### R... | SELECT "Archive" FROM table_2411 WHERE "Viewers (in millions)" = '7.5' |
### Instruction:
CREATE TABLE table_54480 (
"Track" real,
"Title" text,
"Performer" text,
"Length" text,
"Original Album" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On the title feature brad mehldau as the performer, what is the original album?
... | SELECT "Original Album" FROM table_54480 WHERE "Performer" = 'brad mehldau' |
### Instruction:
CREATE TABLE table_203_180 (
id number,
"#" number,
"weekend end date" text,
"film" text,
"weekend gross (millions)" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what films had their weekend end dates in january ... | SELECT "film" FROM table_203_180 WHERE "weekend end date" = 1 |
### Instruction:
CREATE TABLE table_6045 (
"Month" text,
"Week" real,
"Offensive" text,
"Defensive" text,
"Goalkeeper" text,
"Rookie" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the rookie goalkeeper Mike Gabel?
### Response:
| SELECT "Rookie" FROM table_6045 WHERE "Goalkeeper" = 'mike gabel' |
### Instruction:
CREATE TABLE table_name_58 (
week INTEGER,
opponent VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Week has an Opponent of atlanta falcons, and an Attendance smaller than 63,114?
### Response:
| SELECT MIN(week) FROM table_name_58 WHERE opponent = "atlanta falcons" AND attendance < 63 OFFSET 114 |
### Instruction:
CREATE TABLE table_26860595_2 (
config_core_1 VARCHAR,
processing_power_gflops VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the config core 1 of the model with a processing power GFLOPs of 432?
### Response:
| SELECT config_core_1 FROM table_26860595_2 WHERE processing_power_gflops = "432" |
### Instruction:
CREATE TABLE table_53467 (
"Date" text,
"Opponent" text,
"Home/Away" text,
"Field" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the opponent when the resultwas w 12-11
### Response:
| SELECT "Opponent" FROM table_53467 WHERE "Result" = 'w 12-11' |
### Instruction:
CREATE TABLE table_name_4 (
rebounds INTEGER,
minutes_played VARCHAR,
games_played VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Rebounds, when Minutes Played is '113', and when Games Played is greater than '18'?
#... | SELECT AVG(rebounds) FROM table_name_4 WHERE minutes_played = 113 AND games_played > 18 |
### Instruction:
CREATE TABLE table_name_69 (
date VARCHAR,
edition VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was the 1988 world group i edition with a result of 7 6 (7 5) , 6 3?
### Response:
| SELECT date FROM table_name_69 WHERE edition = "1988 world group i" AND result = "7–6 (7–5) , 6–3" |
### Instruction:
CREATE TABLE table_12904 (
"Date" text,
"Label" text,
"Format" text,
"Country" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date for US catalog CK 9942?
### Response:
| SELECT "Date" FROM table_12904 WHERE "Country" = 'us' AND "Catalog" = 'ck 9942' |
### Instruction:
CREATE TABLE table_29999 (
"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.
-- What NHL team picked Tom White?
### Respons... | SELECT "NHL team" FROM table_29999 WHERE "Player" = 'Tom White' |
### Instruction:
CREATE TABLE table_4892 (
"Season" real,
"Teams" real,
"K League Classic" text,
"K-League Cup" text,
"FA Cup" text,
"Manager" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What K League classic had less than 10 teams?
### Res... | SELECT "K League Classic" FROM table_4892 WHERE "Teams" < '10' |
### Instruction:
CREATE TABLE table_23608 (
"Year" real,
"Author(s) or Editor(s)" text,
"Book Title" text,
"Publisher" text,
"Category" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result of the book title firelands?... | SELECT "Result" FROM table_23608 WHERE "Book Title" = 'Firelands' |
### Instruction:
CREATE TABLE table_46627 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result of the game when the attendance is 62,078?
### Response:
| SELECT "Result" FROM table_46627 WHERE "Attendance" = '62,078' |
### Instruction:
CREATE TABLE table_17673 (
"Year" text,
"Division" real,
"League" text,
"Regular Season" text,
"Playoffs" text,
"Open Cup" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the open cup results in 2004?
### Response:
| SELECT "Open Cup" FROM table_17673 WHERE "Year" = '2004' |
### Instruction:
CREATE TABLE table_63851 (
"Airline" text,
"IATA" text,
"ICAO" text,
"Callsign" text,
"Commenced operations" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Commenced operations have an Airline of valuair?
### Response:
| SELECT MAX("Commenced operations") FROM table_63851 WHERE "Airline" = 'valuair' |
### Instruction:
CREATE TABLE table_name_47 (
race VARCHAR,
category VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Race on July 30, 1950 with a Formula 2 Fia, non-championship?
### Response:
| SELECT race FROM table_name_47 WHERE category = "formula 2 fia, non-championship" AND date = "july 30, 1950" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.