instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_203_568 (
id number,
"town/village" text,
"population" number,
"postal code" text,
"municipality" text,
"island" text,
"location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- f mjin and fro ba are locate... | SELECT "island" FROM table_203_568 WHERE "town/village" = 'famjin' |
### Instruction:
CREATE TABLE table_7372 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest lost stat w... | SELECT MAX("Lost") FROM table_7372 WHERE "Difference" = '- 19' |
### Instruction:
CREATE TABLE team (
team_id_br VARCHAR,
name VARCHAR
)
CREATE TABLE salary (
team_id VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many players were in the team Boston Red Stockings in 2000?
### Response:
| SELECT COUNT(*) FROM salary AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1.year = 2000 |
### Instruction:
CREATE TABLE table_2021 (
"Fiscal year" real,
"2-car sets" real,
"4-car sets" real,
"6-car sets" real,
"8-car sets" real,
"Total vehicles" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest fiscal year if total ve... | SELECT MIN("Fiscal year") FROM table_2021 WHERE "Total vehicles" = '490' |
### Instruction:
CREATE TABLE table_74922 (
"Game" real,
"November" real,
"Opponent" text,
"Score" text,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which opponent has points less than 18, and a november greater than 1... | SELECT "Opponent" FROM table_74922 WHERE "Points" < '18' AND "November" > '11' |
### Instruction:
CREATE TABLE table_7515 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest week for Cleveland Browns with 54,205 in attendance?
### Response:... | SELECT MAX("Week") FROM table_7515 WHERE "Opponent" = 'cleveland browns' AND "Attendance" > '54,205' |
### Instruction:
CREATE TABLE table_name_60 (
total_fat VARCHAR,
polyunsaturated_fat VARCHAR,
monounsaturated_fat VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total fat which has a polyunsaturated fat of 11g and monounsaturated fat of 45g
##... | SELECT total_fat FROM table_name_60 WHERE polyunsaturated_fat = "11g" AND monounsaturated_fat = "45g" |
### Instruction:
CREATE TABLE table_50721 (
"Rank" real,
"Club" text,
"Winners" real,
"Runners-up" real,
"Third" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest number of third place earned for the Es Sahel at a rank less than 3?... | SELECT MIN("Third") FROM table_50721 WHERE "Club" = 'es sahel' AND "Rank" < '3' |
### Instruction:
CREATE TABLE table_44680 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the fight located that l... | SELECT "Location" FROM table_44680 WHERE "Time" = '2:33' |
### Instruction:
CREATE TABLE table_24889 (
"English short name (upper/lower case)" text,
"Alpha-2 code" text,
"Alpha-3 code" text,
"Numeric code" real,
"ISO 3166-2 codes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Alpha 3 code for t... | SELECT "Alpha-3 code" FROM table_24889 WHERE "Alpha-2 code" = 'FO' |
### Instruction:
CREATE TABLE table_25508 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided ... | SELECT COUNT("Date") FROM table_25508 WHERE "Team" = 'Dallas' |
### Instruction:
CREATE TABLE table_name_66 (
off_site_atms INTEGER,
bank_type VARCHAR,
on_site_atms VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- With foreign banks as the bank type, and on-site ATMS less than 218, what is the average off-site ATMs?
... | SELECT AVG(off_site_atms) FROM table_name_66 WHERE bank_type = "foreign banks" AND on_site_atms < 218 |
### Instruction:
CREATE TABLE table_26013618_1 (
nsg_nr VARCHAR,
district___town VARCHAR,
area__ha_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many reserves are in Herzogtum Lauenburg with an area of 123,14?
### Response:
| SELECT COUNT(nsg_nr) FROM table_26013618_1 WHERE district___town = "Herzogtum Lauenburg" AND area__ha_ = "123,14" |
### Instruction:
CREATE TABLE table_3653 (
"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 is the college/junior/club team for pla... | SELECT "College/junior/club team" FROM table_3653 WHERE "Player" = 'Don Barber' |
### Instruction:
CREATE TABLE table_67705 (
"Years" text,
"Coach" text,
"Seasons" real,
"Wins" real,
"Losses" real,
"Ties" text,
"Pct." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many losses did Notre Dame have in 1904?
### Respons... | SELECT AVG("Losses") FROM table_67705 WHERE "Years" = '1904' |
### Instruction:
CREATE TABLE table_11376 (
"Grid" real,
"Constructor" text,
"Qual" real,
"Rank" real,
"Laps" real,
"Time/Retired" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which qual has rank of more than 28 and a grid number that is bigge... | SELECT "Qual" FROM table_11376 WHERE "Rank" > '28' AND "Grid" > '23' |
### Instruction:
CREATE TABLE table_name_7 (
opponent VARCHAR,
date VARCHAR,
method VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Opponent has a Method of tko, and a Location of elgin, illinois, usa on 2001-02-11?
### Respo... | SELECT opponent FROM table_name_7 WHERE method = "tko" AND location = "elgin, illinois, usa" AND date = "2001-02-11" |
### Instruction:
CREATE TABLE table_3853 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided a... | SELECT "Record" FROM table_3853 WHERE "Team" = '@ Minnesota' |
### Instruction:
CREATE TABLE table_76924 (
"Round" real,
"Pick" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What college has an overall less than 243, and tony green as the name?
... | SELECT "College" FROM table_76924 WHERE "Overall" < '243' AND "Name" = 'tony green' |
### Instruction:
CREATE TABLE table_58131 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What did the away team score wh... | SELECT "Away team score" FROM table_58131 WHERE "Home team" = 'fitzroy' |
### Instruction:
CREATE TABLE table_45839 (
"Club" text,
"City" text,
"Stadium" text,
"Capacity" real,
"2007\u201308 season" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest capacity that has stadio marcello torre as the stadium?
... | SELECT MAX("Capacity") FROM table_45839 WHERE "Stadium" = 'stadio marcello torre' |
### Instruction:
CREATE TABLE table_11806 (
"Race" text,
"Circuit" text,
"Date" text,
"Pole position" text,
"Fastest lap" text,
"Winning driver" text,
"Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What circu... | SELECT "Circuit" FROM table_11806 WHERE "Race" = 'german grand prix' |
### Instruction:
CREATE TABLE table_40044 (
"Chapter" real,
"Chinese" text,
"Pinyin" text,
"English Translation" text,
"Articles" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the Chinese that has the Chapter larger than 4, and the ... | SELECT "Chinese" FROM table_40044 WHERE "Chapter" > '4' AND "English Translation" = 'food transformations' |
### Instruction:
CREATE TABLE table_75397 (
"Years tallest" text,
"Name" text,
"Height ft / m" text,
"Floors" real,
"Year completed" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How tall is the florida life building, completed before 1990?
### R... | SELECT "Height ft / m" FROM table_75397 WHERE "Year completed" < '1990' AND "Name" = 'florida life building' |
### Instruction:
CREATE TABLE table_33782 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the venue when Carlton... | SELECT "Venue" FROM table_33782 WHERE "Away team" = 'carlton' |
### Instruction:
CREATE TABLE table_58120 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What day did the VFL play Punt ... | SELECT "Date" FROM table_58120 WHERE "Venue" = 'punt road oval' |
### Instruction:
CREATE TABLE table_56326 (
"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.
-- Who is the player that plays position c on the N... | SELECT "Player" FROM table_56326 WHERE "Team" = 'new york knicks' AND "Position" = 'c' |
### Instruction:
CREATE TABLE table_name_26 (
nickname VARCHAR,
no_of_premierships VARCHAR,
years_in_competition VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Nickname that had a No. 0, and Years in Competition of 1982-2003?
### Response:... | SELECT nickname FROM table_name_26 WHERE no_of_premierships = 0 AND years_in_competition = "1982-2003" |
### Instruction:
CREATE TABLE table_72631 (
"Scientific Linux Release" text,
"Architectures" text,
"RHEL base" text,
"Scientific Linux release date" text,
"RHEL release date" text,
"Delay" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the ... | SELECT "Delay" FROM table_72631 WHERE "Scientific Linux Release" = '5.10' |
### Instruction:
CREATE TABLE table_31055 (
"Episode" real,
"Airdate" text,
"Iron Chef" text,
"Challenger" text,
"Theme Ingredient" text,
"Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the challenger when guillaume brahimi was t... | SELECT "Challenger" FROM table_31055 WHERE "Iron Chef" = 'Guillaume Brahimi' |
### Instruction:
CREATE TABLE table_20725 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most crowd for saturd... | SELECT MAX("Crowd") FROM table_20725 WHERE "Date" = 'Saturday 16 February' |
### Instruction:
CREATE TABLE table_28311 (
"Rank" real,
"Player" text,
"Year" real,
"Opponent" text,
"Passing yards" real,
"Rushing yards" real,
"Total offense" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent when there ... | SELECT "Opponent" FROM table_28311 WHERE "Rushing yards" = '81' |
### Instruction:
CREATE TABLE table_66125 (
"School" text,
"Location" text,
"Mascot" text,
"Enrollment" real,
"IHSAA Class" text,
"County" text,
"Primary Conference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which IHSAA Class is located... | SELECT "IHSAA Class" FROM table_66125 WHERE "Location" = 'charlottesville' |
### Instruction:
CREATE TABLE table_24491 (
"Week of" text,
"Tournament" text,
"Champion" text,
"Runner-up" text,
"Semifinalists" text,
"Quarterfinalists" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who are the quarterfinalists for runner-up ... | SELECT "Quarterfinalists" FROM table_24491 WHERE "Runner-up" = 'Jimmy Connors' |
### Instruction:
CREATE TABLE table_14273 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the highest Bronze which has a Gold larger than 2 and a Rank of total?... | SELECT MAX("Bronze") FROM table_14273 WHERE "Gold" > '2' AND "Rank" = 'total' |
### Instruction:
CREATE TABLE table_45216 (
"Tournament" text,
"2002" text,
"2004" text,
"2005" text,
"2006" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What shows for 2002 when 2006 is Grand Slam Tournaments?
### Response:
| SELECT "2002" FROM table_45216 WHERE "2006" = 'grand slam tournaments' |
### Instruction:
CREATE TABLE table_7573 (
"Date (CE)" text,
"Text" text,
"Simplified characters" text,
"Traditional characters" text,
"Pinyin" text,
"Wade-Giles" text,
"Literal meaning" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which t... | SELECT "Text" FROM table_7573 WHERE "Simplified characters" = '心猿 … 意马' |
### Instruction:
CREATE TABLE table_45590 (
"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 on November 23, 1946 with Washington Capitols Home team?
### Response:
| SELECT "Score" FROM table_45590 WHERE "Home" = 'washington capitols' AND "Date" = 'november 23, 1946' |
### Instruction:
CREATE TABLE table_13379 (
"Draw" real,
"Televotes" text,
"Televote Points" text,
"Jury Points" text,
"Total" text,
"Final Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the final points a 0 total and 22 draws?
... | SELECT "Final Points" FROM table_13379 WHERE "Total" = '0' AND "Draw" = '22' |
### Instruction:
CREATE TABLE table_8318 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Opponent before Week 11 with an Attendance of 63,571?
### Response:
| SELECT "Opponent" FROM table_8318 WHERE "Week" < '11' AND "Attendance" = '63,571' |
### Instruction:
CREATE TABLE table_name_40 (
date VARCHAR,
opponent VARCHAR,
game VARCHAR,
location VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Date for scotiabank place with less than 20 points, game larger than 16, and an op... | SELECT date FROM table_name_40 WHERE location = "scotiabank place" AND points < 20 AND game > 16 AND opponent = "montreal canadiens" |
### Instruction:
CREATE TABLE table_33998 (
"Round" real,
"Pick #" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many overall values have a college of Notre Dame and rounds over ... | SELECT COUNT("Overall") FROM table_33998 WHERE "College" = 'notre dame' AND "Round" > '2' |
### Instruction:
CREATE TABLE table_79875 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest money for a t4 place, for Tiger Woods?
### R... | SELECT MAX("Money ( $ )") FROM table_79875 WHERE "Place" = 't4' AND "Player" = 'tiger woods' |
### Instruction:
CREATE TABLE table_2613 (
"Stage" real,
"Stage winner" text,
"General classification" text,
"Points classification" text,
"Mountains classification" text,
"Malaysian rider classification" text,
"Team classification" text,
"Malaysian team classification" text
)
-- Using... | SELECT "Points classification" FROM table_2613 WHERE "Stage" = '4' |
### Instruction:
CREATE TABLE table_76577 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What laps did Honda do with a time of +1:38.407?
### Response:
| SELECT "Laps" FROM table_76577 WHERE "Manufacturer" = 'honda' AND "Time" = '+1:38.407' |
### Instruction:
CREATE TABLE table_204_47 (
id number,
"outcome" text,
"no." number,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was t... | SELECT "date" FROM table_204_47 ORDER BY "date" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_name_93 (
release_date VARCHAR,
title VARCHAR,
production_number VARCHAR,
director VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the release date of the episode named Mouse-Placed Kitten with an episode nu... | SELECT release_date FROM table_name_93 WHERE production_number < 1495 AND director = "robert mckimson" AND title = "mouse-placed kitten" |
### Instruction:
CREATE TABLE table_28186 (
"Name of Award" text,
"Name of Film" text,
"Language" text,
"Awardee(s)" text,
"Cash Prize" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the name of award when the awardee(s) is elangbam natasha?... | SELECT "Name of Award" FROM table_28186 WHERE "Awardee(s)" = 'Elangbam Natasha' |
### Instruction:
CREATE TABLE table_39859 (
"Date" text,
"Tournament" text,
"Location" text,
"Purse( $ )" real,
"Winner" text,
"Score" text,
"1st Prize( $ )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Purse ($) total for Iow... | SELECT COUNT("Purse( $ )") FROM table_39859 WHERE "Location" = 'iowa' |
### Instruction:
CREATE TABLE table_70154 (
"Surface" text,
"Event" text,
"Time ( h : m : s )" text,
"Date" text,
"Place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Time ( h : m : s ) on 13 october 2010
### Response:
| SELECT "Time ( h : m : s )" FROM table_70154 WHERE "Date" = '13 october 2010' |
### Instruction:
CREATE TABLE table_204_513 (
id number,
"date" text,
"time" text,
"opponent#" text,
"site" text,
"tv" text,
"result" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times is attendance over 3... | SELECT COUNT(*) FROM table_204_513 WHERE "attendance" > 30000 |
### Instruction:
CREATE TABLE table_13770 (
"School" text,
"Location" text,
"Mascot" text,
"County" text,
"Year joined" real,
"Previous Conference" text,
"Year Left" real,
"Conference joined" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... | SELECT "Location" FROM table_13770 WHERE "Mascot" = 'spartans' |
### Instruction:
CREATE TABLE table_name_61 (
set_3 VARCHAR,
total VARCHAR,
time VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which set 3 has a Time of 10:00, and a Score of 3 2, and a Total of 113 102?
### Response:
| SELECT set_3 FROM table_name_61 WHERE time = "10:00" AND score = "3–2" AND total = "113–102" |
### Instruction:
CREATE TABLE purchase (
branch_id VARCHAR,
year VARCHAR
)
CREATE TABLE branch (
branch_id VARCHAR,
city VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of total pounds of purchase in year 2018 for all branches in Lond... | SELECT SUM(total_pounds) FROM purchase AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_id WHERE T2.city = 'London' AND T1.year = 2018 |
### Instruction:
CREATE TABLE table_58992 (
"Driver" text,
"Race 1" real,
"Race 2" text,
"Race 3" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which race 3 has points greater than 36, and 2 as the race 1?
### Response:
| SELECT "Race 3" FROM table_58992 WHERE "Points" > '36' AND "Race 1" = '2' |
### Instruction:
CREATE TABLE table_3109 (
"No. in series" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date did the episode with a pro... | SELECT "Original air date" FROM table_3109 WHERE "Production code" = '447004' |
### Instruction:
CREATE TABLE table_13230 (
"Rank" real,
"Player" text,
"Wickets" real,
"Average" real,
"Career" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total rank for player Delyone Borden with more than 15 wickets?
### Respons... | SELECT SUM("Rank") FROM table_13230 WHERE "Player" = 'delyone borden' AND "Wickets" > '15' |
### Instruction:
CREATE TABLE table_73657 (
"Team" text,
"City" text,
"Stadium" text,
"Capacity" real,
"Founded" real,
"Folded" real,
"History" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the maximum founded year of the Worcester ... | SELECT MAX("Founded") FROM table_73657 WHERE "Team" = 'Worcester Tornadoes' |
### Instruction:
CREATE TABLE table_30052 (
"Round" text,
"Main date" text,
"Number of fixtures" real,
"Clubs" text,
"New entries this round" text,
"Prize money" text,
"Player of the Round" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what... | SELECT "Clubs" FROM table_30052 WHERE "Round" = 'Sixth round proper' |
### Instruction:
CREATE TABLE table_69291 (
"Name" text,
"Years" text,
"Gender" text,
"Area" text,
"Authority" text,
"Decile" real,
"Roll" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school in Dalefield has a roll less than 81?
###... | SELECT "Name" FROM table_69291 WHERE "Roll" < '81' AND "Area" = 'dalefield' |
### Instruction:
CREATE TABLE table_202_285 (
id number,
"city" text,
"country (noc)" text,
"round 1" number,
"run-off" number,
"round 3" number,
"round 4" number,
"round 5" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which cities m... | SELECT "city" FROM table_202_285 WHERE NOT "round 5" IS NULL |
### Instruction:
CREATE TABLE table_67431 (
"Team" text,
"Miles [One Way]" real,
"Home Result" text,
"Fans Brought" text,
"Away Result" text,
"Fans Took" text,
"Points Gained" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team had fan... | SELECT "Team" FROM table_67431 WHERE "Fans Took" = '288' |
### Instruction:
CREATE TABLE table_name_99 (
year INTEGER,
points VARCHAR,
entrant VARCHAR,
chassis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the earliest year with an entry from Rotary Watches Stanley BRM and a BRM P207 with more than ... | SELECT MIN(year) FROM table_name_99 WHERE entrant = "rotary watches stanley brm" AND chassis = "brm p207" AND points > 0 |
### Instruction:
CREATE TABLE table_65900 (
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponent in the final" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What score has February 12, 2006 as the date?
### ... | SELECT "Score" FROM table_65900 WHERE "Date" = 'february 12, 2006' |
### Instruction:
CREATE TABLE table_70739 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the home Dallas game that h... | SELECT "Score" FROM table_70739 WHERE "Decision" = 'legace' AND "Home" = 'dallas' |
### Instruction:
CREATE TABLE table_name_30 (
launch_date VARCHAR,
odds_of_winning VARCHAR,
top_prize VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the launch date odds of winning 1 in 4.23 with a top prize of $15,000?
### Response:
| SELECT launch_date FROM table_name_30 WHERE odds_of_winning = "1 in 4.23" AND top_prize = "$15,000" |
### Instruction:
CREATE TABLE table_49965 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the match held when the result was win, a... | SELECT "Location" FROM table_49965 WHERE "Res." = 'win' AND "Method" = 'tko' |
### Instruction:
CREATE TABLE table_64838 (
"Japanese Title" text,
"English Title" text,
"Year" real,
"First publisher" text,
"ISBN" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Year has an ISBN OF ISBN 4-06-182042-7?
### Response:
| SELECT AVG("Year") FROM table_64838 WHERE "ISBN" = 'isbn 4-06-182042-7' |
### Instruction:
CREATE TABLE table_name_89 (
championship VARCHAR,
opponent_in_the_final VARCHAR,
outcome VARCHAR,
surface VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Against Opponent in the Final Ivan Lendl, on a Surface of clay, with an Outcome... | SELECT championship FROM table_name_89 WHERE outcome = "runner-up" AND surface = "clay" AND opponent_in_the_final = "ivan lendl" |
### Instruction:
CREATE TABLE table_name_83 (
industry VARCHAR,
profits__billion_$_ VARCHAR,
assets__billion_$_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For which industry was the profit smaller than 14.2 billion and the assets larger than 2,467.9 ... | SELECT industry FROM table_name_83 WHERE profits__billion_$_ < 14.2 AND assets__billion_$_ > 2 OFFSET 467.9 |
### Instruction:
CREATE TABLE table_203_348 (
id number,
"number" number,
"name" text,
"team" text,
"position" text,
"years with franchise" text,
"note" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which of the listed teams has the most pl... | SELECT "team" FROM table_203_348 GROUP BY "team" ORDER BY COUNT(*) DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_49446 (
"Round" real,
"Pick" real,
"Player" text,
"Nationality" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many rounds have picked smaller than 220, with Alford Turner as a player?... | SELECT SUM("Round") FROM table_49446 WHERE "Pick" < '220' AND "Player" = 'alford turner' |
### Instruction:
CREATE TABLE table_71258 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is entered earlier than 1975 and has a Lotus 20 chassis?
### Response:
| SELECT "Entrant" FROM table_71258 WHERE "Year" < '1975' AND "Chassis" = 'lotus 20' |
### Instruction:
CREATE TABLE table_204_639 (
id number,
"poll company" text,
"source" text,
"publication date" text,
"psuv" number,
"opposition" number,
"undecided" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number o... | SELECT COUNT(*) FROM table_204_639 WHERE "poll company" = 'gis xxi' |
### Instruction:
CREATE TABLE table_64607 (
"Rank" real,
"Artist" text,
"Album" text,
"Peak position" text,
"Sales" real,
"Certification" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the album Closer: The Best of Sarah Mclachlan certi... | SELECT "Certification" FROM table_64607 WHERE "Album" = 'closer: the best of sarah mclachlan' |
### Instruction:
CREATE TABLE table_67502 (
"Season" real,
"Cars Entered" real,
"Winning Driver" text,
"Second Driver" text,
"Third Driver" text,
"Race Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many average Cars Entered have a T... | SELECT AVG("Cars Entered") FROM table_67502 WHERE "Third Driver" = 'manny ayulo' |
### Instruction:
CREATE TABLE table_67629 (
"Club" text,
"Sport" text,
"League" text,
"Venue" text,
"Championships (Years)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which club has a League of american basketball association, and a Venue of tba... | SELECT "Club" FROM table_67629 WHERE "League" = 'american basketball association' AND "Venue" = 'tba' |
### Instruction:
CREATE TABLE table_4429 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many gold medals on average were earned by Italy when they held the rank... | SELECT AVG("Gold") FROM table_4429 WHERE "Nation" = 'italy' AND "Rank" > '4' |
### Instruction:
CREATE TABLE table_17633 (
"State" text,
"Preliminaries" text,
"Interview" text,
"Swimsuit" text,
"Evening Gown" text,
"Average" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which interview score corresponds with the evening g... | SELECT "Interview" FROM table_17633 WHERE "Evening Gown" = '8.977' |
### Instruction:
CREATE TABLE table_4450 (
"Runs (Balls)" text,
"Wicket" text,
"Partnerships" text,
"Opponent" text,
"Venue" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the opponent for 10-04-2007
### Response:
| SELECT "Opponent" FROM table_4450 WHERE "Date" = '10-04-2007' |
### Instruction:
CREATE TABLE table_12038 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the game at Moorabbin ... | SELECT "Date" FROM table_12038 WHERE "Venue" = 'moorabbin oval' |
### Instruction:
CREATE TABLE table_10271 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the away team score at ... | SELECT "Away team score" FROM table_10271 WHERE "Venue" = 'victoria park' |
### Instruction:
CREATE TABLE table_53908 (
"Record" text,
"Year" text,
"Date" text,
"Driver" text,
"Car Make" text,
"Time" text,
"Average Speed (mph)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What kind of car has the NASCAR Camping Wo... | SELECT "Car Make" FROM table_53908 WHERE "Record" = 'nascar camping world truck series' |
### Instruction:
CREATE TABLE table_64835 (
"Japanese Title" text,
"English Title" text,
"Year" real,
"First publisher" text,
"ISBN" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the ISBN of Japanese Title of (kiri no h monsha)?
### Respo... | SELECT "ISBN" FROM table_64835 WHERE "Japanese Title" = '霧の訪問者 (kiri no hōmonsha)' |
### Instruction:
CREATE TABLE table_54469 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text,
"Streak" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which streak had an attendance of 33,013?
### Re... | SELECT "Streak" FROM table_54469 WHERE "Attendance" = '33,013' |
### Instruction:
CREATE TABLE table_61996 (
"Source" text,
"Date" text,
"Kaine (D)" text,
"Kilgore (R)" text,
"Potts (I)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Kilgore's (R) percentage when Potts (I) polled at 1%?
### Response:
| SELECT "Kilgore (R)" FROM table_61996 WHERE "Potts (I)" = '1%' |
### Instruction:
CREATE TABLE table_80011 (
"Year" text,
"Start" text,
"Qual" text,
"Rank" text,
"Finish" text,
"Laps" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which qual has both 200 total laps and took place in 1957?
### Response:
| SELECT "Qual" FROM table_80011 WHERE "Laps" = '200' AND "Year" = '1957' |
### Instruction:
CREATE TABLE table_19734 (
"Name" text,
"Years" text,
"League" real,
"FA Cup" real,
"League Cup" real,
"Europe" real,
"Other a" real,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many separate values for Ye... | SELECT COUNT("Years") FROM table_19734 WHERE "FA Cup" = '5' |
### Instruction:
CREATE TABLE table_32253 (
"Season" real,
"Series" text,
"Team" text,
"Races" text,
"Wins" text,
"Poles" text,
"Podiums" text,
"Points" text,
"Final Placing" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was th... | SELECT "Points" FROM table_32253 WHERE "Races" = '7' |
### Instruction:
CREATE TABLE table_23390604_1 (
mir_hossein_mousavi INTEGER,
mohsen_rezaee VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Display the lowest score for candidate Mir-Hossein Mousavi when candidate Mohsen Rezaee scored 44809 votes
### Respon... | SELECT MIN(mir_hossein_mousavi) FROM table_23390604_1 WHERE mohsen_rezaee = 44809 |
### Instruction:
CREATE TABLE table_10792 (
"Driver" text,
"Team" text,
"Laps" real,
"Time/Retired" text,
"Grid" real,
"Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points were scored in 1:44:59.557 of time?
### Response:
| SELECT "Points" FROM table_10792 WHERE "Time/Retired" = '1:44:59.557' |
### Instruction:
CREATE TABLE table_47073 (
"Nat." text,
"Name" text,
"Moving from" text,
"Type" text,
"Transfer window" text,
"Ends" real,
"Transfer fee" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Moving From, when Ends is befor... | SELECT "Moving from" FROM table_47073 WHERE "Ends" < '2011' |
### Instruction:
CREATE TABLE table_17026 (
"Ships name" text,
"Date entered service" text,
"Date withdrawn" text,
"Tonnage" real,
"Type of Ship" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the maximum tonnage where date entered service i... | SELECT MAX("Tonnage") FROM table_17026 WHERE "Date entered service" = '25 March 1986' |
### Instruction:
CREATE TABLE table_39970 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the opponent was Brechin City and the attendance was 656, what was the Result?
... | SELECT "Result" FROM table_39970 WHERE "Opponent" = 'brechin city' AND "Attendance" = '656' |
### Instruction:
CREATE TABLE table_54489 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was home team South Melbou... | SELECT "Away team score" FROM table_54489 WHERE "Home team" = 'south melbourne' |
### Instruction:
CREATE TABLE table_57302 (
"Date" text,
"Tournament" text,
"Location" text,
"Purse( $ )" real,
"Winner" text,
"Score" text,
"1st Prize( $ )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the purse ($) in illinois?
... | SELECT MAX("Purse( $ )") FROM table_57302 WHERE "Location" = 'illinois' |
### Instruction:
CREATE TABLE table_51674 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Home team score for... | SELECT "Home team score" FROM table_51674 WHERE "Venue" = 'mcg' |
### Instruction:
CREATE TABLE table_203_667 (
id number,
"year" number,
"driver" text,
"co-driver" text,
"car" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- chipper adams and justin beyendeza have how mnay wins ?
### Response:
| SELECT COUNT(*) FROM table_203_667 WHERE "driver" = 'chipper adams' AND "co-driver" = 'justin beyendeza' |
### Instruction:
CREATE TABLE table_203_699 (
id number,
"name" text,
"parentage" text,
"size" text,
"flower colour" text,
"flower type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- is leonard messel or royalty larger in size ?
### Response:... | SELECT "name" FROM table_203_699 WHERE "name" IN ('leonard messel', 'royalty') ORDER BY "size" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_4999 (
"Date" text,
"City" text,
"Opponent" text,
"Results\u00b9" text,
"Type of game" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the game played against Norway with a result of 1:0?
### Response:
| SELECT "Date" FROM table_4999 WHERE "Opponent" = 'norway' AND "Results\u00b9" = '1:0' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.