instruction
stringlengths 212
6.3k
| output
stringlengths 6
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_9401 (
"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 is the score when Darlington is the home team?
### Response:
|
SELECT "Score" FROM table_9401 WHERE "Home team" = 'darlington'
|
### Instruction:
CREATE TABLE table_1242447_1 (
strongs_transliteration VARCHAR,
hebrew_word VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the strongs transliteration of the hebrew word ?
### Response:
|
SELECT strongs_transliteration FROM table_1242447_1 WHERE hebrew_word = "יוֹחָנָן"
|
### Instruction:
CREATE TABLE table_43131 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which pick number was there for Jason French?
### Response:
|
SELECT "Pick #" FROM table_43131 WHERE "Player" = 'jason french'
|
### Instruction:
CREATE TABLE table_36135 (
"Games" real,
"Drawn" real,
"Lost" real,
"Points difference" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Lost has Points larger than 13?
### Response:
|
SELECT AVG("Lost") FROM table_36135 WHERE "Points" > '13'
|
### Instruction:
CREATE TABLE table_47353 (
"Date" text,
"Time" text,
"Opponent" text,
"Location" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score in the September 20 game?
### Response:
|
SELECT "Score" FROM table_47353 WHERE "Date" = 'september 20'
|
### Instruction:
CREATE TABLE table_54848 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the time recorded for grid 18?
### Response:
|
SELECT "Time/Retired" FROM table_54848 WHERE "Grid" = '18'
|
### Instruction:
CREATE TABLE table_24856090_1 (
premiere INTEGER,
english_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the premiere number for the episode titled 'The Mysteries of Love' in English?
### Response:
|
SELECT MAX(premiere) FROM table_24856090_1 WHERE english_title = "The Mysteries of Love"
|
### Instruction:
CREATE TABLE table_name_78 (
no_6 VARCHAR,
no_2 VARCHAR,
no_3 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the No. 6 name when Emma was No. 2 and Sophia was No. 3?
### Response:
|
SELECT no_6 FROM table_name_78 WHERE no_2 = "emma" AND no_3 = "sophia"
|
### Instruction:
CREATE TABLE table_1217448_1 (
cover_date VARCHAR,
character_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the cover date where character(s) is sandman (wesley dodds)
### Response:
|
SELECT cover_date FROM table_1217448_1 WHERE character_s_ = "Sandman (Wesley Dodds)"
|
### Instruction:
CREATE TABLE table_77611 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score of the game on January 12?
### Response:
|
SELECT "Score" FROM table_77611 WHERE "Date" = 'january 12'
|
### Instruction:
CREATE TABLE table_14903491_1 (
year VARCHAR,
womens_doubles VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the year for victoria hristova neli nedialkova
### Response:
|
SELECT year FROM table_14903491_1 WHERE womens_doubles = "Victoria Hristova Neli Nedialkova"
|
### Instruction:
CREATE TABLE table_name_87 (
place INTEGER,
average VARCHAR,
downhill VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the place that the downhill was 71.6 and the average was less than 90.06?
### Response:
|
SELECT SUM(place) FROM table_name_87 WHERE average < 90.06 AND downhill = 71.6
|
### Instruction:
CREATE TABLE table_55254 (
"Games" real,
"Drawn" real,
"Lost" real,
"Points difference" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the total number of points for lost less than 4
### Response:
|
SELECT COUNT("Points") FROM table_55254 WHERE "Lost" < '4'
|
### Instruction:
CREATE TABLE table_17323042_11 (
location_attendance VARCHAR,
high_assists VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the location and attendance of the game when High Assists were Andre Miller (7)?
### Response:
|
SELECT location_attendance FROM table_17323042_11 WHERE high_assists = "Andre Miller (7)"
|
### Instruction:
CREATE TABLE table_43938 (
"Rank" text,
"Event" text,
"Place" text,
"Name" text,
"Prize" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Prize, when Rank is '2nd'?
### Response:
|
SELECT "Prize" FROM table_43938 WHERE "Rank" = '2nd'
|
### Instruction:
CREATE TABLE table_65448 (
"Rank" real,
"Athletes" text,
"Country" text,
"Time" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Rank of the Guam Player?
### Response:
|
SELECT AVG("Rank") FROM table_65448 WHERE "Country" = 'guam'
|
### Instruction:
CREATE TABLE table_42291 (
"Rank" real,
"Player" text,
"Country" text,
"Earnings( $ )" real,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the country is ranked more than 4?
### Response:
|
SELECT "Country" FROM table_42291 WHERE "Rank" > '4'
|
### Instruction:
CREATE TABLE table_69881 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many lanes have a Nationality of iceland?
### Response:
|
SELECT SUM("Lane") FROM table_69881 WHERE "Nationality" = 'iceland'
|
### Instruction:
CREATE TABLE table_3963 (
"Operator" text,
"Number purchased" real,
"Variant" text,
"Bodybuilder" text,
"Year(s) purchased" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the variant when Alexander was the bodybuilder?
### Response:
|
SELECT "Variant" FROM table_3963 WHERE "Bodybuilder" = 'Alexander'
|
### Instruction:
CREATE TABLE table_486 (
"Season #" real,
"Series #" real,
"Title" text,
"Canadian airdate" text,
"U.S. airdate" text,
"Production code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the minimum production code
### Response:
|
SELECT MIN("Production code") FROM table_486
|
### Instruction:
CREATE TABLE table_45641 (
"Ceremony" text,
"Award" text,
"Category" text,
"Name" text,
"Outcome" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which award has film lyricist in the category?
### Response:
|
SELECT "Award" FROM table_45641 WHERE "Category" = 'film lyricist'
|
### Instruction:
CREATE TABLE table_name_62 (
nation VARCHAR,
bronze VARCHAR,
total VARCHAR,
gold VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Nation when there is a total less than 27, gold is less than 1, and bronze is more than 1?
### Response:
|
SELECT nation FROM table_name_62 WHERE total < 27 AND gold < 1 AND bronze > 1
|
### Instruction:
CREATE TABLE table_38919 (
"Position" text,
"Name" text,
"School" text,
"Unanimous" text,
"College Hall of Fame" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the school of the player who plays ends?
### Response:
|
SELECT "School" FROM table_38919 WHERE "Position" = 'ends'
|
### Instruction:
CREATE TABLE temperature (
city_id VARCHAR,
Feb VARCHAR
)
CREATE TABLE city (
city VARCHAR,
city_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which city has the highest temperature in February?
### Response:
|
SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id ORDER BY T2.Feb DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_6357 (
"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 lowest drawn that has games less than 7?
### Response:
|
SELECT MIN("Drawn") FROM table_6357 WHERE "Games" < '7'
|
### Instruction:
CREATE TABLE table_70224 (
"Date" text,
"City" text,
"Event" text,
"Winner" text,
"Prize" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Jo o Barbosa was the winner of which event?
### Response:
|
SELECT "Event" FROM table_70224 WHERE "Winner" = 'joão barbosa'
|
### Instruction:
CREATE TABLE table_64338 (
"play" text,
"author" text,
"company" text,
"base" text,
"country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which play was done by the Radu Stanca National Theatre company?
### Response:
|
SELECT "play" FROM table_64338 WHERE "company" = 'radu stanca national theatre'
|
### Instruction:
CREATE TABLE table_42243 (
"City" text,
"Province" text,
"Country" text,
"IATA" text,
"Airport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which province's IATA is kix?
### Response:
|
SELECT "Province" FROM table_42243 WHERE "IATA" = 'kix'
|
### Instruction:
CREATE TABLE table_35302 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which venue is the friendly match in?
### Response:
|
SELECT "Venue" FROM table_35302 WHERE "Competition" = 'friendly match'
|
### Instruction:
CREATE TABLE table_name_2 (
record VARCHAR,
high_points VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Record, when High Points is 'Thaddeus Young (19)', and when Team is '@ Orlando'?
### Response:
|
SELECT record FROM table_name_2 WHERE high_points = "thaddeus young (19)" AND team = "@ orlando"
|
### Instruction:
CREATE TABLE table_38437 (
"Round" real,
"Pick" real,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is average round of Auburn College?
### Response:
|
SELECT AVG("Round") FROM table_38437 WHERE "College" = 'auburn'
|
### Instruction:
CREATE TABLE table_name_17 (
overall INTEGER,
college VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Overall, when College is Hardin-Simmons, and when Round is greater than 26?
### Response:
|
SELECT MIN(overall) FROM table_name_17 WHERE college = "hardin-simmons" AND round > 26
|
### Instruction:
CREATE TABLE table_11240 (
"Year" real,
"Award" text,
"Category" text,
"Nominee" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result for the best orchestrations category?
### Response:
|
SELECT "Result" FROM table_11240 WHERE "Category" = 'best orchestrations'
|
### Instruction:
CREATE TABLE table_30176 (
"Winners" text,
"Match points" text,
"Aggregate score" text,
"Points margin" real,
"Losers" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many match points rotherham lose
### Response:
|
SELECT "Match points" FROM table_30176 WHERE "Losers" = 'Rotherham'
|
### Instruction:
CREATE TABLE table_name_40 (
adam INTEGER,
jade VARCHAR,
peter VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's Adam's score when Jade's score is greater than 5 and Peter's score is less than 0?
### Response:
|
SELECT AVG(adam) FROM table_name_40 WHERE jade > 5 AND peter < 0
|
### Instruction:
CREATE TABLE table_23292220_6 (
episode VARCHAR,
seans_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In how many episodes were Vanessa Feltz and Lee Mack the team for Sean?
### Response:
|
SELECT COUNT(episode) FROM table_23292220_6 WHERE seans_team = "Vanessa Feltz and Lee Mack"
|
### Instruction:
CREATE TABLE table_12142298_2 (
second_baseman VARCHAR,
first_baseman VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who played 2nd base when nomar garciaparra was at 1st base?
### Response:
|
SELECT second_baseman FROM table_12142298_2 WHERE first_baseman = "Nomar Garciaparra"
|
### Instruction:
CREATE TABLE table_203_749 (
id number,
"call sign" text,
"frequency" text,
"city of license" text,
"licensee" text,
"format" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which frequency is listed first ?
### Response:
|
SELECT "call sign" FROM table_203_749 WHERE id = 1
|
### Instruction:
CREATE TABLE table_1520559_1 (
purse___$__ VARCHAR,
winners_share__$_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What purses had a winners share equal to $428650?
### Response:
|
SELECT purse___$__ FROM table_1520559_1 WHERE winners_share__$_ = 428650
|
### Instruction:
CREATE TABLE table_22450 (
"Week #" real,
"Dance/Song" text,
"Inaba" real,
"Goodman" real,
"Tonioli" real,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Inaba's maximum score?
### Response:
|
SELECT MAX("Inaba") FROM table_22450
|
### Instruction:
CREATE TABLE table_9280 (
"Date" text,
"Opponent" text,
"Score" text,
"Result" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Result has a Score of 69-81?
### Response:
|
SELECT "Result" FROM table_9280 WHERE "Score" = '69-81'
|
### Instruction:
CREATE TABLE table_name_20 (
position VARCHAR,
played VARCHAR,
points VARCHAR,
lost VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of positions having points over 2, more than 4 losses, and under 10 matches played?
### Response:
|
SELECT COUNT(position) FROM table_name_20 WHERE points > 2 AND lost > 4 AND played < 10
|
### Instruction:
CREATE TABLE table_name_31 (
weight VARCHAR,
club VARCHAR,
height VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Weight of the Player from DSHNK Almaty Club with a Height of m (ft 6in)?
### Response:
|
SELECT weight FROM table_name_31 WHERE club = "dshnk almaty" AND height = "m (ft 6in)"
|
### Instruction:
CREATE TABLE table_8849 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the opponent Bye?
### Response:
|
SELECT "Date" FROM table_8849 WHERE "Opponent" = 'bye'
|
### Instruction:
CREATE TABLE table_4628 (
"Location" text,
"Year" real,
"Champion" text,
"Runner-up" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what year has the highest marcel granollers champions?
### Response:
|
SELECT MAX("Year") FROM table_4628 WHERE "Champion" = 'marcel granollers'
|
### Instruction:
CREATE TABLE table_2814720_1 (
goal_accuracy__percentage VARCHAR,
total_disposals VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the goal accuracy % when the total disposals are 481?
### Response:
|
SELECT goal_accuracy__percentage FROM table_2814720_1 WHERE total_disposals = 481
|
### Instruction:
CREATE TABLE table_name_62 (
parishes INTEGER,
pastoral_region VARCHAR,
cemeteries VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Parishes in Merrimack which has 4 Cemeteries?
### Response:
|
SELECT MIN(parishes) FROM table_name_62 WHERE pastoral_region = "merrimack" AND cemeteries < 4
|
### Instruction:
CREATE TABLE table_64953 (
"Player" text,
"Current Club" text,
"Born" text,
"Debut" text,
"Manager" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the player whose Current Club Elfsborg born?
### Response:
|
SELECT "Born" FROM table_64953 WHERE "Current Club" = 'elfsborg'
|
### Instruction:
CREATE TABLE table_name_18 (
record VARCHAR,
opponent VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the record after the game with the Manchester Wolves on July 30, 2004?
### Response:
|
SELECT record FROM table_name_18 WHERE opponent = "manchester wolves" AND date = "july 30, 2004"
|
### Instruction:
CREATE TABLE table_name_61 (
surface VARCHAR,
opponent VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Surface of the court against Ivo Klec with a Score of 6 3, 6 3?
### Response:
|
SELECT surface FROM table_name_61 WHERE opponent = "ivo klec" AND score = "6–3, 6–3"
|
### Instruction:
CREATE TABLE table_204_413 (
id number,
"medal" text,
"name" text,
"sport" text,
"event" text,
"date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the last event held ?
### Response:
|
SELECT "event" FROM table_204_413 ORDER BY "date" DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_68682 (
"Title" text,
"Year" text,
"Developer" text,
"Publisher" text,
"Platform" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which title was developed by Battlecry Studios?
### Response:
|
SELECT "Title" FROM table_68682 WHERE "Developer" = 'battlecry studios'
|
### Instruction:
CREATE TABLE table_name_77 (
pages INTEGER,
isbn VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the average pages for ISBN of 978-0-9766580-5-4
### Response:
|
SELECT AVG(pages) FROM table_name_77 WHERE isbn = "978-0-9766580-5-4"
|
### Instruction:
CREATE TABLE table_74888 (
"Year" real,
"Location" text,
"Gold" text,
"Silver" text,
"Bronze" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Silver has the Location of Guangzhou?
### Response:
|
SELECT "Silver" FROM table_74888 WHERE "Location" = 'guangzhou'
|
### Instruction:
CREATE TABLE table_187239_1 (
kit_manufacturer VARCHAR,
minor_sponsors VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When tim brasil brokers are the minor sponsors who is the kit manufacturer?
### Response:
|
SELECT kit_manufacturer FROM table_187239_1 WHERE minor_sponsors = "Tim Brasil Brokers"
|
### Instruction:
CREATE TABLE table_203_239 (
id number,
"year" number,
"title" text,
"chinese title" text,
"role" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number of films athena chu has acted in ?
### Response:
|
SELECT COUNT("title") FROM table_203_239
|
### Instruction:
CREATE TABLE table_19149550_9 (
london_borough VARCHAR,
pakistani_population VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the London borough with 7797 Pakistani citizens?
### Response:
|
SELECT london_borough FROM table_19149550_9 WHERE pakistani_population = 7797
|
### Instruction:
CREATE TABLE table_51067 (
"Round" real,
"Pick" real,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Round has a Player of damon jones?
### Response:
|
SELECT SUM("Round") FROM table_51067 WHERE "Player" = 'damon jones'
|
### Instruction:
CREATE TABLE table_204_735 (
id number,
"rank" number,
"team" text,
"names" text,
"time" text,
"qualification" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which country 's team ranked last ?
### Response:
|
SELECT "team" FROM table_204_735 ORDER BY "rank" DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_319 (
"Player" text,
"Position" text,
"School" text,
"Hometown" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is friendship collegiate charter school located
### Response:
|
SELECT "Hometown" FROM table_319 WHERE "School" = 'Friendship Collegiate Charter School'
|
### Instruction:
CREATE TABLE table_2127933_3 (
year VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many years had scores of 10 12, 6 1, 6 3?
### Response:
|
SELECT COUNT(year) FROM table_2127933_3 WHERE score = "10–12, 6–1, 6–3"
|
### Instruction:
CREATE TABLE table_80318 (
"Year" real,
"Tournament" text,
"Venue" text,
"Result" text,
"Extra" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which venue had an extra of Junior Race?
### Response:
|
SELECT "Venue" FROM table_80318 WHERE "Extra" = 'junior race'
|
### Instruction:
CREATE TABLE table_57936 (
"Year" text,
"Driver" text,
"Constructor" text,
"Category" text,
"Location" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was E. Meyer the driver?
### Response:
|
SELECT "Year" FROM table_57936 WHERE "Driver" = 'e. meyer'
|
### Instruction:
CREATE TABLE table_name_83 (
opponent VARCHAR,
method VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the opponent when the method is submission (rear naked choke) at 4:02 of round 2?
### Response:
|
SELECT opponent FROM table_name_83 WHERE method = "submission (rear naked choke) at 4:02 of round 2"
|
### Instruction:
CREATE TABLE table_40191 (
"Club" text,
"City" text,
"Stadium" text,
"2009 season" text,
"Group" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHich Club has a City of col n?
### Response:
|
SELECT "Club" FROM table_40191 WHERE "City" = 'colón'
|
### Instruction:
CREATE TABLE table_name_36 (
champion VARCHAR,
year VARCHAR,
semi_finalist__number1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was champion in 2005 where the semi-finalist was #1 in western Carolina?
### Response:
|
SELECT champion FROM table_name_36 WHERE year = 2005 AND semi_finalist__number1 = "western carolina"
|
### Instruction:
CREATE TABLE table_name_95 (
tie_no VARCHAR,
score VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Tie no has a Score of 0 1, and a Date of 9 march 1953?
### Response:
|
SELECT tie_no FROM table_name_95 WHERE score = "0–1" AND date = "9 march 1953"
|
### Instruction:
CREATE TABLE table_13537 (
"Event" text,
"Record" text,
"Nationality" text,
"Date" text,
"Games" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Record of the 3000 M?
### Response:
|
SELECT "Record" FROM table_13537 WHERE "Event" = '3000 m'
|
### Instruction:
CREATE TABLE table_name_99 (
entre_ríos_municipality INTEGER,
pojo_municipality INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Entre R os Municipality with less than 9 Pojo Municipalities?
### Response:
|
SELECT AVG(entre_ríos_municipality) FROM table_name_99 WHERE pojo_municipality < 9
|
### Instruction:
CREATE TABLE table_16278894_1 (
former_province VARCHAR,
area__km_2__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what former province was the area 694.9 kilometers squared?
### Response:
|
SELECT former_province FROM table_16278894_1 WHERE area__km_2__ = "694.9"
|
### Instruction:
CREATE TABLE table_name_88 (
club VARCHAR,
goals_for VARCHAR,
draws VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What club has less than 8 draws, 37 points, and less than 71 goals?
### Response:
|
SELECT club FROM table_name_88 WHERE draws < 8 AND points = 37 AND goals_for < 71
|
### Instruction:
CREATE TABLE table_20478 (
"Office" text,
"Type" text,
"Location" text,
"Elected" real,
"Term began" text,
"Term ended" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What type are State Assemblyman
### Response:
|
SELECT "Type" FROM table_20478 WHERE "Office" = 'State Assemblyman'
|
### Instruction:
CREATE TABLE table_148386_2 (
role VARCHAR,
casino_theatre_1888 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many roles include George Broderick in the casino 1888 theater?
### Response:
|
SELECT role FROM table_148386_2 WHERE casino_theatre_1888 = "George Broderick"
|
### Instruction:
CREATE TABLE table_6403 (
"Year" real,
"Country" text,
"Song" text,
"Artist" text,
"Written by" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what year was the artist Afro-dite?
### Response:
|
SELECT "Year" FROM table_6403 WHERE "Artist" = 'afro-dite'
|
### Instruction:
CREATE TABLE table_20963074_1 (
film_title_used_in_nomination VARCHAR,
original_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the film title for la boca del lobo
### Response:
|
SELECT film_title_used_in_nomination FROM table_20963074_1 WHERE original_title = "La boca del lobo"
|
### Instruction:
CREATE TABLE table_name_51 (
away_team VARCHAR,
date VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the away team score for 27 april 1974 and veue of mcg
### Response:
|
SELECT away_team AS score FROM table_name_51 WHERE date = "27 april 1974" AND venue = "mcg"
|
### Instruction:
CREATE TABLE table_name_90 (
winners VARCHAR,
runners_up VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Winners when the United States is the runner-up at st. germain golf club?
### Response:
|
SELECT winners FROM table_name_90 WHERE runners_up = "united states" AND venue = "st. germain golf club"
|
### Instruction:
CREATE TABLE table_18047346_4 (
iata_code VARCHAR,
passengers VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the passengers are 15,505,566, what is the iata code?
### Response:
|
SELECT iata_code FROM table_18047346_4 WHERE passengers = "15,505,566"
|
### Instruction:
CREATE TABLE table_11764007_2 (
member VARCHAR,
week_arrived_on_main_island VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many members arrived on the main island in week 4?
### Response:
|
SELECT COUNT(member) FROM table_11764007_2 WHERE week_arrived_on_main_island = "4"
|
### Instruction:
CREATE TABLE table_name_58 (
city VARCHAR,
country VARCHAR,
airport VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the city in India with an airport named Sardar Vallabhbhai Patel International Airport?
### Response:
|
SELECT city FROM table_name_58 WHERE country = "india" AND airport = "sardar vallabhbhai patel international airport"
|
### Instruction:
CREATE TABLE table_34727 (
"Country" text,
"Skip" text,
"Third" text,
"Second" text,
"Lead" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which skip's second is Martin Hejhal?
### Response:
|
SELECT "Skip" FROM table_34727 WHERE "Second" = 'martin hejhal'
|
### Instruction:
CREATE TABLE table_49019 (
"Date" text,
"Time ( GMT )" text,
"Serial" text,
"Apogee" text,
"Outcome" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which date has serial of 11c?
### Response:
|
SELECT "Date" FROM table_49019 WHERE "Serial" = '11c'
|
### Instruction:
CREATE TABLE table_71388 (
"Goal" real,
"Date" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of the game that had a goal of 3?
### Response:
|
SELECT "Date" FROM table_71388 WHERE "Goal" = '3'
|
### Instruction:
CREATE TABLE table_name_62 (
player VARCHAR,
to_par VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what player has To par of 3, and a Score of 73-68=141?
### Response:
|
SELECT player FROM table_name_62 WHERE to_par = "–3" AND score = 73 - 68 = 141
|
### Instruction:
CREATE TABLE table_35204 (
"Date" text,
"Event" text,
"Location" text,
"Attendance" text,
"PPV Buyrate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the event on June 10?
### Response:
|
SELECT "Location" FROM table_35204 WHERE "Date" = 'june 10'
|
### Instruction:
CREATE TABLE table_57789 (
"Phoneme" text,
"Realization" text,
"Environment" text,
"Example" text,
"Gloss" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the phoneme when the example is /ums /
### Response:
|
SELECT "Phoneme" FROM table_57789 WHERE "Example" = '/umsʁ/'
|
### Instruction:
CREATE TABLE table_13834298_1 (
original_title VARCHAR,
film_title_used_in_nomination VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Whatis the original title for lion's den?
### Response:
|
SELECT original_title FROM table_13834298_1 WHERE film_title_used_in_nomination = "Lion's Den"
|
### Instruction:
CREATE TABLE table_17416 (
"Train No." text,
"Train Name" text,
"Origin" text,
"Destination" text,
"Frequency" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where does the bg express train end?
### Response:
|
SELECT "Destination" FROM table_17416 WHERE "Train Name" = 'BG Express'
|
### Instruction:
CREATE TABLE table_name_77 (
silver INTEGER,
gold VARCHAR,
bronze VARCHAR,
sport VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Silver in the Total Sport has less than 1 Gold and more than 1 Bronze?
### Response:
|
SELECT MIN(silver) FROM table_name_77 WHERE bronze > 1 AND sport = "total" AND gold < 1
|
### Instruction:
CREATE TABLE table_68837 (
"City" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which city has an ICAO of Kiah?
### Response:
|
SELECT "City" FROM table_68837 WHERE "ICAO" = 'kiah'
|
### Instruction:
CREATE TABLE table_name_74 (
total VARCHAR,
year_won VARCHAR,
to_par VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total of the player who won before 1991 and has a to par less than 14?
### Response:
|
SELECT COUNT(total) FROM table_name_74 WHERE year_won < 1991 AND to_par < 14
|
### Instruction:
CREATE TABLE table_1013129_10 (
player VARCHAR,
nhl_team VARCHAR,
nationality VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- NHL team player San Jose Sharks is United States nationally.
### Response:
|
SELECT player FROM table_1013129_10 WHERE nhl_team = "San Jose Sharks" AND nationality = "United States"
|
### Instruction:
CREATE TABLE table_name_60 (
week INTEGER,
record VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most week for record of 1-2 and attendance more than 61,602
### Response:
|
SELECT MAX(week) FROM table_name_60 WHERE record = "1-2" AND attendance > 61 OFFSET 602
|
### Instruction:
CREATE TABLE table_66604 (
"Frequency" text,
"Call sign" text,
"Branding" text,
"Format" text,
"Owner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What format is Premi re Cha ne?
### Response:
|
SELECT "Format" FROM table_66604 WHERE "Branding" = 'première chaîne'
|
### Instruction:
CREATE TABLE table_203_756 (
id number,
"year" number,
"title" text,
"role" text,
"network" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- role played at least twice
### Response:
|
SELECT "role" FROM table_203_756 GROUP BY "role" HAVING COUNT(*) >= 2
|
### Instruction:
CREATE TABLE table_67693 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the visiting team when the score was 1 3?
### Response:
|
SELECT "Visitor" FROM table_67693 WHERE "Score" = '1–3'
|
### Instruction:
CREATE TABLE table_204_148 (
id number,
"name" text,
"elected" text,
"term began" text,
"term ended" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who began their term in 1890 ?
### Response:
|
SELECT "name" FROM table_204_148 WHERE "term began" = 1890
|
### Instruction:
CREATE TABLE table_80082 (
"Chapter" real,
"Chinese" text,
"Pinyin" text,
"Translation" text,
"Subject" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the highest chapter with chinese of
### Response:
|
SELECT MAX("Chapter") FROM table_80082 WHERE "Chinese" = '釋言'
|
### Instruction:
CREATE TABLE table_76788 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is buffalo's pick #?
### Response:
|
SELECT MAX("Pick #") FROM table_76788 WHERE "College" = 'buffalo'
|
### Instruction:
CREATE TABLE table_name_97 (
draws INTEGER,
wimmera_fl VARCHAR,
byes VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the total draws for Ararat when the byes are less than 2?
### Response:
|
SELECT SUM(draws) FROM table_name_97 WHERE wimmera_fl = "ararat" AND byes < 2
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.