instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_43050 (
"Volume" text,
"Series" text,
"Title" text,
"Cover" text,
"Published" text,
"ISBN" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What cover has Throne of Aquilonia as the title?
### Response:
| SELECT "Cover" FROM table_43050 WHERE "Title" = 'throne of aquilonia' |
### Instruction:
CREATE TABLE volume (
Song VARCHAR,
Artist_ID VARCHAR
)
CREATE TABLE artist (
Artist_ID VARCHAR,
age VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the songs in volumes associated with the artist aged 32 or older?
### Res... | SELECT T2.Song FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID = T2.Artist_ID WHERE T1.age >= 32 |
### Instruction:
CREATE TABLE table_204_144 (
id number,
"represent" number,
"contestant" text,
"age" number,
"height" text,
"hometown" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many contestants are at least 21 years old ?
### Respons... | SELECT COUNT("contestant") FROM table_204_144 WHERE "age" >= 21 |
### Instruction:
CREATE TABLE table_name_43 (
school VARCHAR,
mascot VARCHAR,
size VARCHAR,
county VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school has a size less than 674, has a county of 19 dubois, and has the rangers as their mascot?
... | SELECT school FROM table_name_43 WHERE size < 674 AND county = "19 dubois" AND mascot = "rangers" |
### Instruction:
CREATE TABLE table_204_49 (
id number,
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text,
"commenced" number,
"ended" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many cities does tigerair curre... | SELECT COUNT("city") FROM table_204_49 |
### Instruction:
CREATE TABLE table_74953 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What score has detroit as the home, and December 9 as the date?
### Response:
| SELECT "Score" FROM table_74953 WHERE "Home" = 'detroit' AND "Date" = 'december 9' |
### Instruction:
CREATE TABLE table_46876 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Finish, when Total is '306'?
### Response:
| SELECT "Finish" FROM table_46876 WHERE "Total" = '306' |
### Instruction:
CREATE TABLE table_25039 (
"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.
-- Why was a seat left open fo Connecticut at-large?
### R... | SELECT "Reason for change" FROM table_25039 WHERE "District" = 'Connecticut At-large' |
### Instruction:
CREATE TABLE table_41162 (
"Week of" text,
"Tier" text,
"Winner" text,
"Runner-up" text,
"Semi finalists" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What week was the Runner-up Lori McNeil?
### Response:
| SELECT "Week of" FROM table_41162 WHERE "Runner-up" = 'lori mcneil' |
### Instruction:
CREATE TABLE table_69229 (
"Race Title" text,
"Circuit" text,
"City / State" text,
"Date" text,
"Winner" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won at the Barbagallo Raceway circuit?
### Response:
| SELECT "Winner" FROM table_69229 WHERE "Circuit" = 'barbagallo raceway' |
### Instruction:
CREATE TABLE table_44805 (
"Year" real,
"Network" text,
"Play-by-play" text,
"Color commentator(s)" text,
"Pregame host" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the pregame host when Bold was the network?
... | SELECT "Pregame host" FROM table_44805 WHERE "Network" = 'bold' |
### Instruction:
CREATE TABLE table_15508 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance when the series was at 0-1?
### Response:
| SELECT "Attendance" FROM table_15508 WHERE "Series" = '0-1' |
### Instruction:
CREATE TABLE table_28781 (
"Year (Ceremony)" text,
"English title" text,
"Arabic title" text,
"Director" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When salt of this sea is the english title who is the director?
... | SELECT "Director" FROM table_28781 WHERE "English title" = 'Salt of this Sea' |
### Instruction:
CREATE TABLE table_19948664_2 (
ranking_la__2_ VARCHAR,
world_ranking__1_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many items were under ranking l.a.(2) when the world ranking was 21st?
### Response:
| SELECT COUNT(ranking_la__2_) FROM table_19948664_2 WHERE world_ranking__1_ = "21st" |
### Instruction:
CREATE TABLE table_name_12 (
cover VARCHAR,
published VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What cover has a published date of May 27, 2009 (hc) May 20, 2009 (tpb)?
### Response:
| SELECT cover FROM table_name_12 WHERE published = "may 27, 2009 (hc) may 20, 2009 (tpb)" |
### Instruction:
CREATE TABLE table_70149 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which engine has more than 1 point after 1981?
### Response:
| SELECT "Engine" FROM table_70149 WHERE "Points" > '1' AND "Year" > '1981' |
### Instruction:
CREATE TABLE table_6152 (
"Medal" text,
"Name" text,
"Games" text,
"Sport" text,
"Event" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did Pakistan win a Silver Medal in a Men's Competition?
### Response:
| SELECT "Games" FROM table_6152 WHERE "Event" = 'men''s competition' AND "Medal" = 'silver' |
### Instruction:
CREATE TABLE table_69414 (
"Format" text,
"Filename extension" text,
"Image support" text,
"Interactivity support" text,
"Word wrap support" text,
"Open standard" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Interactivit... | SELECT "Interactivity support" FROM table_69414 WHERE "Format" = 'fictionbook' |
### Instruction:
CREATE TABLE table_14706 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What nation had 135 Bronze medals?
### Response:
| SELECT COUNT("Bronze") FROM table_14706 WHERE "Total" = '135' |
### Instruction:
CREATE TABLE table_37933 (
"Programme" text,
"Date(s) of original removal" text,
"Original channel" text,
"Date(s) of return" text,
"New channel(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which channel did Going for Gold air... | SELECT "Original channel" FROM table_37933 WHERE "Programme" = 'going for gold' |
### Instruction:
CREATE TABLE table_56562 (
"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.
-- Tell me the 2nd leg for alemannia aachen
### Response:
| SELECT "2nd leg" FROM table_56562 WHERE "Team #1" = 'alemannia aachen' |
### Instruction:
CREATE TABLE table_14599 (
"Perfect stem" text,
"Future stem" text,
"Imperfect stem" text,
"Short stem" text,
"Meaning" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the perfect stem for the word that has a future stem of e... | SELECT "Perfect stem" FROM table_14599 WHERE "Future stem" = 'emango' |
### Instruction:
CREATE TABLE table_61866 (
"Name" text,
"Date" text,
"Year" real,
"Country" text,
"Killed" text,
"Injured" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which rampage killed 8 in Israel?
### Response:
| SELECT "Name" FROM table_61866 WHERE "Killed" = '8' AND "Country" = 'israel' |
### Instruction:
CREATE TABLE table_9799 (
"Date" text,
"Home captain" text,
"Away captain" text,
"Venue" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the away captain when the game was at Adelaide Oval?
### Re... | SELECT "Away captain" FROM table_9799 WHERE "Venue" = 'adelaide oval' |
### Instruction:
CREATE TABLE table_47813 (
"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 place of the player witha 69-69=138 score?
### Response:
| SELECT "Place" FROM table_47813 WHERE "Score" = '69-69=138' |
### Instruction:
CREATE TABLE table_38539 (
"Station Code" text,
"Station" text,
"Arrival" text,
"Departure" text,
"Kilometers" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the Kilometers listed that also has the Station Code of Kuda?
###... | SELECT "Kilometers" FROM table_38539 WHERE "Station Code" = 'kuda' |
### 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 name of customers who have more than one loan.
### Response:
| SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id GROUP BY T1.cust_name HAVING COUNT(*) > 1 |
### Instruction:
CREATE TABLE table_12928 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Total has a Year(s) won of 1991?
### Response:
| SELECT MIN("Total") FROM table_12928 WHERE "Year(s) won" = '1991' |
### Instruction:
CREATE TABLE table_72791 (
"Player" text,
"No." real,
"Nationality" text,
"Position" text,
"Years for Grizzlies" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which position did kevin edwards play for
... | SELECT "Position" FROM table_72791 WHERE "Player" = 'Kevin Edwards' |
### Instruction:
CREATE TABLE table_name_74 (
year INTEGER,
location VARCHAR,
anthem VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the earliest year it was located in gelredome, arnhem, and a Anthem of technoboy - next dimensional world?
### R... | SELECT MIN(year) FROM table_name_74 WHERE location = "gelredome, arnhem" AND anthem = "technoboy - next dimensional world" |
### Instruction:
CREATE TABLE table_32064 (
"Title" text,
"Japan" text,
"North America" text,
"Europe" text,
"Australia" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the Australia march 17, 2005
### Response:
| SELECT "Australia" FROM table_32064 WHERE "Japan" = 'march 17, 2005' |
### Instruction:
CREATE TABLE table_204_552 (
id number,
"rank" number,
"cyclist" text,
"team" text,
"laps\ndown" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what two cyclists come from teams with no laps down ?
### Response... | SELECT "cyclist" FROM table_204_552 WHERE "laps\ndown" IS NULL |
### Instruction:
CREATE TABLE table_70217 (
"Currency" text,
"Code" text,
"Entry ERM II" text,
"Central rate" text,
"Official target date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the entry ERM II for the Hungarian Forint?
### Respon... | SELECT "Entry ERM II" FROM table_70217 WHERE "Currency" = 'hungarian forint' |
### Instruction:
CREATE TABLE table_name_95 (
bronze INTEGER,
nation VARCHAR,
silver VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest number of bronze medals with less than 2 silver medals and more than 1 medal in tota... | SELECT MIN(bronze) FROM table_name_95 WHERE silver < 2 AND total > 1 AND nation = "uzbekistan" |
### Instruction:
CREATE TABLE table_12864 (
"Elimination" text,
"Wrestler" text,
"Team" text,
"Eliminated by" text,
"Elimination Move" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Natalya's Time?
### Response:
| SELECT "Time" FROM table_12864 WHERE "Wrestler" = 'natalya' |
### Instruction:
CREATE TABLE table_name_47 (
total INTEGER,
name VARCHAR,
scottish_cup VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Total has a Name of eoin jess category:articles with hcards, and a Scottish Cup larger than 23?
### Response:
| SELECT MIN(total) FROM table_name_47 WHERE name = "eoin jess category:articles with hcards" AND scottish_cup > 23 |
### Instruction:
CREATE TABLE table_14715 (
"Year" real,
"Category" text,
"Film" text,
"Winner/Nominee(s)" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which year did The Adventures of Tintin come out?
### Response:
| SELECT SUM("Year") FROM table_14715 WHERE "Film" = 'the adventures of tintin' |
### Instruction:
CREATE TABLE table_63784 (
"Name" text,
"GP-GS" 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 long figure when gain is less than 0?
### Response:
| SELECT AVG("Long") FROM table_63784 WHERE "Gain" < '0' |
### Instruction:
CREATE TABLE table_79896 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent at the game when the record was 22-13?
### Response:
| SELECT "Opponent" FROM table_79896 WHERE "Record" = '22-13' |
### Instruction:
CREATE TABLE table_61481 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the game on 16 december 1987?
### Response:
| SELECT "Score" FROM table_61481 WHERE "Date" = '16 december 1987' |
### Instruction:
CREATE TABLE table_name_11 (
venue VARCHAR,
competition VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which venue hosted the 2004 AFC Asian Cup qualification on November 18, 2003?
### Response:
| SELECT venue FROM table_name_11 WHERE competition = "2004 afc asian cup qualification" AND date = "november 18, 2003" |
### Instruction:
CREATE TABLE table_68684 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent on July 27?
### Response:
| SELECT "Opponent" FROM table_68684 WHERE "Date" = 'july 27' |
### Instruction:
CREATE TABLE table_56395 (
"Product" text,
"2004" text,
"2003" text,
"2002" text,
"2001" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2003 statistic for general cargo?
### Response:
| SELECT "2003" FROM table_56395 WHERE "Product" = 'general cargo' |
### Instruction:
CREATE TABLE table_9877 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what Week was the Result W 27-24?
### Response:
| SELECT MAX("Week") FROM table_9877 WHERE "Result" = 'w 27-24' |
### Instruction:
CREATE TABLE table_38565 (
"Season" text,
"Winner" text,
"Result" text,
"Runner-up" text,
"Final venue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Final Venue having Sheffield Reserves as the Winner?
### Response:... | SELECT "Final venue" FROM table_38565 WHERE "Winner" = 'sheffield reserves' |
### Instruction:
CREATE TABLE table_2905 (
"Episode" text,
"First broadcast" text,
"Davids team" text,
"Lees team" text,
"Scores" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the davids team for 8 august 2008
### Response:
| SELECT "Davids team" FROM table_2905 WHERE "First broadcast" = '8 August 2008' |
### Instruction:
CREATE TABLE table_25548505_1 (
original_air_date VARCHAR,
us_viewers__millions_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the original air date of the episode that had 5.30 million U.S. viewers?
### Response:
| SELECT original_air_date FROM table_25548505_1 WHERE us_viewers__millions_ = "5.30" |
### Instruction:
CREATE TABLE table_name_44 (
iwork_version VARCHAR,
release_date VARCHAR,
pages_version VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What version of iWork was released on October 22, 2013 with a pages version greater than 2?
### Resp... | SELECT iwork_version FROM table_name_44 WHERE release_date = "october 22, 2013" AND pages_version > 2 |
### Instruction:
CREATE TABLE table_name_78 (
year_named INTEGER,
latitude VARCHAR,
diameter__km_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the geological feature with a latitude of 76.0n and a diameter larger than 548 km was named?
... | SELECT MAX(year_named) FROM table_name_78 WHERE latitude = "76.0n" AND diameter__km_ > 548 |
### Instruction:
CREATE TABLE table_51428 (
"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.
-- What is the NBA draft for ohio state?
### Response:
| SELECT "NBA Draft" FROM table_51428 WHERE "College" = 'ohio state' |
### Instruction:
CREATE TABLE table_46267 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which rider has a time of +2:11.524?
### Response:
| SELECT "Rider" FROM table_46267 WHERE "Time" = '+2:11.524' |
### Instruction:
CREATE TABLE table_50123 (
"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 attendance for the match where cambridge united was the home team?
... | SELECT "Attendance" FROM table_50123 WHERE "Home team" = 'cambridge united' |
### Instruction:
CREATE TABLE table_203_314 (
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 country is listed last on this list ?
###... | SELECT "nation" FROM table_203_314 ORDER BY id DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_35155 (
"Medal" text,
"Name" text,
"Games" text,
"Sport" text,
"Event" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What medal was awarded in the men's freestyle 52 kg?
### Response:
| SELECT "Medal" FROM table_35155 WHERE "Event" = 'men''s freestyle 52 kg' |
### Instruction:
CREATE TABLE table_64165 (
"Rank" real,
"Athlete" text,
"Country" text,
"Time" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the athlete from egypt with q in the notes?
### Response:
| SELECT "Athlete" FROM table_64165 WHERE "Notes" = 'q' AND "Country" = 'egypt' |
### Instruction:
CREATE TABLE table_36877 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team was the visitor with a record of 5-2-0?
### Response:
| SELECT "Visitor" FROM table_36877 WHERE "Record" = '5-2-0' |
### Instruction:
CREATE TABLE table_25263 (
"Week #" text,
"Theme" text,
"Song choice" text,
"Original artist" text,
"Order #" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If Coba is the song choice, what is the order number?
... | SELECT "Order #" FROM table_25263 WHERE "Song choice" = 'Coba' |
### Instruction:
CREATE TABLE table_64774 (
"Year" real,
"Category" text,
"Recipients and nominees" text,
"Role/Episode" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who are the recipients in 1994?
### Response:
| SELECT "Recipients and nominees" FROM table_64774 WHERE "Year" = '1994' |
### Instruction:
CREATE TABLE table_56095 (
"Round" text,
"Pick" text,
"Player" text,
"Position" text,
"Nationality" text,
"Team" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player went to the College of Wyoming?
#... | SELECT "Player" FROM table_56095 WHERE "College" = 'wyoming' |
### Instruction:
CREATE TABLE table_4432 (
"Pick" text,
"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 is the pick number for Ray Giroux?
### ... | SELECT "Pick" FROM table_4432 WHERE "Player" = 'ray giroux' |
### Instruction:
CREATE TABLE table_name_24 (
first_elected INTEGER,
results VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest First Elected, when Results is 'Re-elected', and when Incumbent is 'Lincoln Davis'?
### R... | SELECT MAX(first_elected) FROM table_name_24 WHERE results = "re-elected" AND incumbent = "lincoln davis" |
### Instruction:
CREATE TABLE table_71337 (
"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 is the total attendance for the August 8 game?
### Response:
| SELECT SUM("Attendance") FROM table_71337 WHERE "Date" = 'august 8' |
### Instruction:
CREATE TABLE table_204_889 (
id number,
"date" text,
"week (stage)" text,
"song choice" text,
"original artist" text,
"theme" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what song was in the first week ?
... | SELECT "song choice" FROM table_204_889 WHERE "week (stage)" = 1 |
### Instruction:
CREATE TABLE table_182 (
"Information" text,
"Dysart" text,
"Shadow Ridge" text,
"Valley Vista" text,
"Willow Canyon" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the willow canyon of Stallion?
### Response:
| SELECT "Willow Canyon" FROM table_182 WHERE "Shadow Ridge" = 'Stallion' |
### Instruction:
CREATE TABLE table_74609 (
"Rank" real,
"Rider" text,
"Team" text,
"Speed" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the time for Peter Berwick of Team Suzuki?
### Response:
| SELECT "Time" FROM table_74609 WHERE "Team" = 'suzuki' AND "Rider" = 'peter berwick' |
### Instruction:
CREATE TABLE table_name_49 (
voted_yes VARCHAR,
jurisdiction VARCHAR,
voted_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of yes votes in Newfoundland, which had less than 77,881 vote no?
### Response:
| SELECT COUNT(voted_yes) FROM table_name_49 WHERE jurisdiction = "newfoundland" AND voted_no < 77 OFFSET 881 |
### Instruction:
CREATE TABLE table_name_77 (
championship VARCHAR,
drivers VARCHAR,
year VARCHAR,
race_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Was the Grand Prix Watkins GLen that Miles Collier raced in before 1952 a championship?
###... | SELECT championship FROM table_name_77 WHERE year < 1952 AND race_title = "grand prix watkins glen" AND drivers = "miles collier" |
### Instruction:
CREATE TABLE table_name_88 (
works_number VARCHAR,
type VARCHAR,
builder VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Builder H. K. Porter, inc who had a type of 0-4-4 Forney locomotive, has what works number?
### Response:
| SELECT works_number FROM table_name_88 WHERE type = "0-4-4 forney locomotive" AND builder = "h. k. porter, inc" |
### Instruction:
CREATE TABLE table_72598 (
"Tournament" text,
"Country" text,
"Location" text,
"Current Venue" text,
"Began" real,
"Court surface" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which current venues location is Mason, Ohio?
##... | SELECT "Current Venue" FROM table_72598 WHERE "Location" = 'Mason, Ohio' |
### Instruction:
CREATE TABLE table_35349 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score from the 21-27 Record?
### Response:
| SELECT "Score" FROM table_35349 WHERE "Record" = '21-27' |
### Instruction:
CREATE TABLE table_19276 (
"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.
-- What positions does Hal Weeks pla... | SELECT "Position" FROM table_19276 WHERE "Player" = 'Hal Weeks' |
### Instruction:
CREATE TABLE table_6248 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score for the game against the Golden State Warriors?
###... | SELECT "Score" FROM table_6248 WHERE "Opponent" = 'golden state warriors' |
### Instruction:
CREATE TABLE table_59879 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Results" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What district re-elected a Republican?
### Response:
| SELECT "District" FROM table_59879 WHERE "Party" = 'republican' AND "Results" = 're-elected' |
### Instruction:
CREATE TABLE table_68273 (
"Unit" text,
"Type" text,
"Gross MW" text,
"Construction start" text,
"Operation start" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Construction start of 1 december 1984 is what unit?
### Response:
| SELECT "Unit" FROM table_68273 WHERE "Construction start" = '1 december 1984' |
### Instruction:
CREATE TABLE table_72351 (
"#" text,
"Player" text,
"Country" text,
"Score" text,
"To par" real,
"Points" real,
"Winnings ($)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of points for south korea
### Re... | SELECT COUNT("Points") FROM table_72351 WHERE "Country" = 'South Korea' |
### Instruction:
CREATE TABLE table_57125 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the home with visitor of kings
### R... | SELECT "Home" FROM table_57125 WHERE "Visitor" = 'kings' |
### Instruction:
CREATE TABLE table_73147 (
"Tournament" text,
"Also currently known as" text,
"City" text,
"Country" text,
"Court surface" text,
"Defending champion" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many defending champs from ... | SELECT COUNT("Defending champion") FROM table_73147 WHERE "Country" = 'Thailand' |
### Instruction:
CREATE TABLE table_name_50 (
name VARCHAR,
term_start VARCHAR,
date_of_birth VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which leader born on December 17, 1874 started their term before 1984?
### Response:
| SELECT name FROM table_name_50 WHERE term_start < 1984 AND date_of_birth = "december 17, 1874" |
### Instruction:
CREATE TABLE table_17971449_2 (
deployable_military__2011 VARCHAR,
_thousands_ VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the deployable military 2011 for denmark
### Response:
| SELECT deployable_military__2011, _thousands_ FROM table_17971449_2 WHERE country = "Denmark" |
### Instruction:
CREATE TABLE table_51244 (
"Round" real,
"Nominees" text,
"Team" text,
"Match" text,
"Ground" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the earliest round for nominee david mundy?
### Response:
| SELECT MIN("Round") FROM table_51244 WHERE "Nominees" = 'david mundy' |
### Instruction:
CREATE TABLE table_15251 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which United States player has a To par of 14?
### Response:
| SELECT "Player" FROM table_15251 WHERE "Country" = 'united states' AND "To par" = '14' |
### Instruction:
CREATE TABLE table_60540 (
"Country" text,
"Date" text,
"Label" text,
"Format" text,
"Catalogue number(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Country has a Catalogue number(s) of eredv711?
### Response:
| SELECT "Country" FROM table_60540 WHERE "Catalogue number(s)" = 'eredv711' |
### Instruction:
CREATE TABLE table_49744 (
"Model number" text,
"Frequency" text,
"L1 Cache" text,
"Mult." real,
"Voltage" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Frequency, when the Voltage is 3.3 V?
### Response:
| SELECT "Frequency" FROM table_49744 WHERE "Voltage" = '3.3 v' |
### Instruction:
CREATE TABLE table_72682 (
"Player" text,
"No." real,
"Nationality" text,
"Position" text,
"Years in Orlando" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What jersey number did Al Harrington wear
##... | SELECT MAX("No.") FROM table_72682 WHERE "Player" = 'Al Harrington' |
### Instruction:
CREATE TABLE table_204_4 (
id number,
"date" text,
"race" text,
"competition" text,
"rider" text,
"country" text,
"location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times was tom boonen listed as the rider ?
... | SELECT COUNT(*) FROM table_204_4 WHERE "rider" = 'tom boonen' |
### Instruction:
CREATE TABLE table_name_15 (
track INTEGER,
time VARCHAR,
writer_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest track with a length of 1:54 written by Gene Autry and Oakley Haldeman?
### Response:
| SELECT MAX(track) FROM table_name_15 WHERE time = "1:54" AND writer_s_ = "gene autry and oakley haldeman" |
### Instruction:
CREATE TABLE table_28484 (
"Week #" text,
"Theme" text,
"Song choice" text,
"Original artist" text,
"Order #" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times is the original artist Alicia keys?
###... | SELECT COUNT("Result") FROM table_28484 WHERE "Original artist" = 'Alicia Keys' |
### Instruction:
CREATE TABLE table_5093 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score for the game against the New Jersey Nets?
### Respo... | SELECT "Score" FROM table_5093 WHERE "Opponent" = 'new jersey nets' |
### Instruction:
CREATE TABLE table_48626 (
"Team" text,
"Head coach" text,
"Team captain" text,
"Kitmaker" text,
"Shirt sponsor" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the kitmaker for the team that Uwe Rapolder is the head coach of.... | SELECT "Kitmaker" FROM table_48626 WHERE "Head coach" = 'uwe rapolder' |
### Instruction:
CREATE TABLE table_41045 (
"Place" real,
"Rider" text,
"Country" text,
"Machine" text,
"Speed" text,
"Time" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Country, when Points are more than 12?
### R... | SELECT "Country" FROM table_41045 WHERE "Points" > '12' |
### Instruction:
CREATE TABLE table_62865 (
"Model" text,
"Years" text,
"Engine" text,
"Displacement" text,
"Power" text,
"Fuel system" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What displacement has a model of 2000?
### Response:
| SELECT "Displacement" FROM table_62865 WHERE "Model" = '2000' |
### Instruction:
CREATE TABLE table_10071 (
"City" text,
"Province" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Province has a City of hiroshima?
### Response:
| SELECT "Province" FROM table_10071 WHERE "City" = 'hiroshima' |
### Instruction:
CREATE TABLE table_name_73 (
homeport__as_of_july_2013_ VARCHAR,
laid_down VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Homeport that has a Laid down on 14 december 1985?
### Response:
| SELECT homeport__as_of_july_2013_ FROM table_name_73 WHERE laid_down = "14 december 1985" |
### Instruction:
CREATE TABLE table_58531 (
"Pick" real,
"Round" real,
"Player" text,
"Position" text,
"School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What player is picked 302 in round 11?
### Response:
| SELECT "Player" FROM table_58531 WHERE "Round" = '11' AND "Pick" = '302' |
### Instruction:
CREATE TABLE table_name_3 (
name VARCHAR,
team VARCHAR,
wsu_year_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Name, when Team is Detroit Pistons, and when WSU Year(s) is 1979-82?
### Response:
| SELECT name FROM table_name_3 WHERE team = "detroit pistons" AND wsu_year_s_ = "1979-82" |
### Instruction:
CREATE TABLE table_57041 (
"Year" real,
"Tournament" text,
"Venue" text,
"Result" text,
"Extra" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which extra resulted in 2nd before 2005?
### Response:
| SELECT "Extra" FROM table_57041 WHERE "Result" = '2nd' AND "Year" < '2005' |
### Instruction:
CREATE TABLE table_56180 (
"Name" text,
"Location" text,
"Elevation + Height" text,
"Delivery" text,
"Purpose" text,
"Yield" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the purpose of the Quay test blast?
### Respo... | SELECT "Purpose" FROM table_56180 WHERE "Name" = 'quay' |
### Instruction:
CREATE TABLE table_11012 (
"Episode #" text,
"Title" text,
"Directed by" text,
"Written by" text,
"Original airdate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title of the episode written by David J. Burke?
### Re... | SELECT "Title" FROM table_11012 WHERE "Written by" = 'david j. burke' |
### Instruction:
CREATE TABLE table_23960 (
"Round" real,
"Choice" real,
"Player" text,
"Position" text,
"Height" text,
"Weight" real,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the weight of Eben Britton?
### Respons... | SELECT MAX("Weight") FROM table_23960 WHERE "Player" = 'Eben Britton' |
### Instruction:
CREATE TABLE table_204_944 (
id number,
"mine" text,
"province" text,
"coordinates" text,
"town" text,
"dates" text,
"comments" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what town is listed the most ?
### Response:
| SELECT "town" FROM table_204_944 GROUP BY "town" ORDER BY COUNT(*) DESC LIMIT 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.