instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_11545282_5 (
player VARCHAR,
years_for_jazz VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player played the years for Jazz in 1995-2000, 2004-05
### Response:
| SELECT player FROM table_11545282_5 WHERE years_for_jazz = "1995-2000, 2004-05" |
### Instruction:
CREATE TABLE table_name_61 (
constellation VARCHAR,
right_ascension___j2000__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the constellation when the right ascension (j2000) is 09h51m54.0s?
### Response:
| SELECT constellation FROM table_name_61 WHERE right_ascension___j2000__ = "09h51m54.0s" |
### Instruction:
CREATE TABLE table_19517 (
"No." real,
"Station Code" text,
"Station" text,
"Arrival" text,
"Departure" text,
"Kilometers" real,
"Day" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what amount of stations have station code ... | SELECT COUNT("Station") FROM table_19517 WHERE "Station Code" = 'AWY' |
### Instruction:
CREATE TABLE table_50021 (
"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 country of player lee trevino, who has a to par of +2?
### Response:
| SELECT "Country" FROM table_50021 WHERE "To par" = '+2' AND "Player" = 'lee trevino' |
### Instruction:
CREATE TABLE table_name_28 (
games INTEGER,
debut_year VARCHAR,
goals VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games for keith j. miller, who debuted after 1974 with less than 1 goal?
### Response:
| SELECT AVG(games) FROM table_name_28 WHERE goals < 1 AND player = "keith j. miller" AND debut_year > 1974 |
### Instruction:
CREATE TABLE table_204_783 (
id number,
"position" text,
"player" text,
"free agency\ntag" text,
"date signed" text,
"2013 team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total of 2013 teams on the chart ?
###... | SELECT COUNT(DISTINCT "2013 team") FROM table_204_783 |
### Instruction:
CREATE TABLE table_29262 (
"No. in series" text,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the episode number for 'Old... | SELECT "No. in series" FROM table_29262 WHERE "Title" = 'Old Monster' |
### Instruction:
CREATE TABLE table_66904 (
"Territory" text,
"Broadcaster" text,
"Channel" real,
"Launched" text,
"Closed" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did channel 83 in singapore launch?
### Response:
| SELECT "Launched" FROM table_66904 WHERE "Territory" = 'singapore' AND "Channel" = '83' |
### Instruction:
CREATE TABLE table_203_4 (
id number,
"medal" text,
"name" text,
"sport" text,
"event" text,
"date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which french competitor won the largest amount of medals in the 2000 summer olymp... | SELECT "name" FROM table_203_4 GROUP BY "name" ORDER BY COUNT(*) DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_56537 (
"Club" text,
"Wins" text,
"Last win" text,
"Runners-up" text,
"Last final lost" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the last win for the club that had a final loss in 2011?
### Respon... | SELECT "Last win" FROM table_56537 WHERE "Last final lost" = '2011' |
### Instruction:
CREATE TABLE table_name_26 (
team VARCHAR,
points VARCHAR,
drawn VARCHAR,
lost VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Team has a Lost larger than 2, and a Position smaller than 7, and a Drawn small... | SELECT team FROM table_name_26 WHERE lost > 2 AND position < 7 AND drawn < 2 AND points = 22 |
### Instruction:
CREATE TABLE table_1686 (
"Episode" text,
"First broadcast" text,
"Graemes guest" text,
"Jeremys guest" text,
"Votes (%)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the number of the episode where maria mcerlane where gr... | SELECT "Episode" FROM table_1686 WHERE "Graemes guest" = 'Maria McErlane' |
### Instruction:
CREATE TABLE table_203_497 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which nation has earned the least amount of gold... | SELECT "nation" FROM table_203_497 ORDER BY "gold" LIMIT 1 |
### Instruction:
CREATE TABLE table_name_6 (
probate_activities VARCHAR,
reserved_instruments VARCHAR,
regulator VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Probate Activities, when Reserved Instruments is No, and when Regulator is Chartered I... | SELECT probate_activities FROM table_name_6 WHERE reserved_instruments = "no" AND regulator = "chartered institute of legal executives" |
### Instruction:
CREATE TABLE table_16169 (
"County" text,
"Location" text,
"Street Names" text,
"Milepost" text,
"Roads Intersected" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which street is 12.2 miles long?
### Response:
| SELECT "Street Names" FROM table_16169 WHERE "Milepost" = '12.2' |
### Instruction:
CREATE TABLE table_52110 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the venue when the home team was Fitzroy... | SELECT "Venue" FROM table_52110 WHERE "Home team" = 'fitzroy' |
### Instruction:
CREATE TABLE table_1396 (
"Television Station" text,
"Frequency" text,
"Site" text,
"Transmitted" text,
"Network" text,
"Status" text,
"Country of Region" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What site(s) for tv st... | SELECT "Site" FROM table_1396 WHERE "Television Station" = 'TV3' |
### Instruction:
CREATE TABLE table_11496 (
"Date" text,
"Opponent" text,
"Home/Away" text,
"Field" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result of the home game on August 14?
### Response:
| SELECT "Result" FROM table_11496 WHERE "Home/Away" = 'home' AND "Date" = 'august 14' |
### Instruction:
CREATE TABLE table_16522 (
"Team" text,
"Stadium" text,
"Capacity" real,
"Highest" real,
"Lowest" real,
"Average" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest attendance at a game played by St. Johnstone?
... | SELECT MAX("Highest") FROM table_16522 WHERE "Team" = 'St. Johnstone' |
### Instruction:
CREATE TABLE people (
people_id number,
name text,
height number,
weight number,
date_of_birth text
)
CREATE TABLE entrepreneur (
entrepreneur_id number,
people_id number,
company text,
money_requested number,
investor text
)
-- Using valid SQLite, answer the ... | SELECT weight FROM people ORDER BY height LIMIT 1 |
### Instruction:
CREATE TABLE table_name_33 (
laps INTEGER,
bike VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of laps of the honda cbr1000rr bike, which has a time of +16.569?
### Response:
| SELECT SUM(laps) FROM table_name_33 WHERE bike = "honda cbr1000rr" AND time = "+16.569" |
### Instruction:
CREATE TABLE table_79963 (
"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 of the game attended by 25,034?
### Response:
| SELECT "Score" FROM table_79963 WHERE "Attendance" = '25,034' |
### Instruction:
CREATE TABLE table_204_625 (
id number,
"model" text,
"availability" text,
"introduced" text,
"length of use" text,
"last of whiteness" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many products have been discontinued ?
... | SELECT COUNT("model") FROM table_204_625 WHERE "availability" = 'discontinued' |
### Instruction:
CREATE TABLE table_63074 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times is the name matt targett and the lane higher than 7?
### Response:
| SELECT COUNT("Time") FROM table_63074 WHERE "Name" = 'matt targett' AND "Lane" > '7' |
### Instruction:
CREATE TABLE table_17480471_3 (
eagle_riders VARCHAR,
ova__harmony_gold_dub_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What eagle riders where ova (harmony gold dub) is lord zortek?
### Response:
| SELECT eagle_riders FROM table_17480471_3 WHERE ova__harmony_gold_dub_ = "Lord Zortek" |
### Instruction:
CREATE TABLE table_39668 (
"Date" text,
"Time" text,
"Visitor" text,
"Score" text,
"Home" text,
"Location/Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the visitor at 5:00 pm?
### Respon... | SELECT "Visitor" FROM table_39668 WHERE "Time" = '5:00 pm' |
### Instruction:
CREATE TABLE table_name_10 (
constellation VARCHAR,
right_ascension___j2000__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the constellation when the Right ascension ( J2000 ) is 10h18m58.4s?
### Response:
| SELECT constellation FROM table_name_10 WHERE right_ascension___j2000__ = "10h18m58.4s" |
### Instruction:
CREATE TABLE table_name_58 (
nba_years_ VARCHAR,
a_ VARCHAR,
nationality VARCHAR,
previous_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many NBA years did the player from the United States who was previously on the los ang... | SELECT nba_years_ AS "a_" FROM table_name_58 WHERE nationality = "united states" AND previous_team = "los angeles lakers" |
### Instruction:
CREATE TABLE table_63522 (
"Club" text,
"League" text,
"Sport" text,
"Venue" text,
"Established" real,
"Capacity" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the venue established after 1948?
### Response:
| SELECT "Venue" FROM table_63522 WHERE "Established" > '1948' |
### Instruction:
CREATE TABLE table_18137 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Results" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the incumbent for texas 22 district
### Respons... | SELECT "Incumbent" FROM table_18137 WHERE "District" = 'Texas 22' |
### Instruction:
CREATE TABLE table_80259 (
"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 team did they lose to when they had a 28-22 record?
### Respon... | SELECT "Loss" FROM table_80259 WHERE "Record" = '28-22' |
### Instruction:
CREATE TABLE table_15877 (
"Player" text,
"No." text,
"Nationality" text,
"Position" text,
"Years in Toronto" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What nationality is the player Muggsy Bogues?
... | SELECT "Nationality" FROM table_15877 WHERE "Player" = 'Muggsy Bogues' |
### Instruction:
CREATE TABLE table_203_791 (
id number,
"represented" text,
"contestant" text,
"age" number,
"height" text,
"hometown" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was the youngest delegate for miss dominican republic in 2... | SELECT "contestant" FROM table_203_791 ORDER BY "age" LIMIT 1 |
### Instruction:
CREATE TABLE table_46866 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Score, when Competition is 'Euro 2004 Qualifier'?
### Response:
| SELECT "Score" FROM table_46866 WHERE "Competition" = 'euro 2004 qualifier' |
### Instruction:
CREATE TABLE table_78392 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the tournament against Isha Lakhani?
### ... | SELECT "Score" FROM table_78392 WHERE "Opponent" = 'isha lakhani' |
### Instruction:
CREATE TABLE table_203_245 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what are the number of times a competition took p... | SELECT COUNT(*) FROM table_203_245 WHERE "venue" = 'united states' |
### Instruction:
CREATE TABLE table_1607 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Replaced by" text,
"Date of appointment" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who replaced the manage... | SELECT "Replaced by" FROM table_1607 WHERE "Team" = 'CFR Cluj' |
### Instruction:
CREATE TABLE table_46948 (
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the tournament on july 23, 2006?
### Response:
| SELECT "Tournament" FROM table_46948 WHERE "Date" = 'july 23, 2006' |
### Instruction:
CREATE TABLE table_58754 (
"\"Long\" vowels" text,
"17th c." text,
"American" text,
"British" text,
"Australian" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 17th c. pronunciation when the british is ?
### Response:
| SELECT "17th c." FROM table_58754 WHERE "British" = 'əʊ' |
### Instruction:
CREATE TABLE table_56689 (
"Route Name" text,
"Direction" text,
"Termini" text,
"Junctions" text,
"Length" text,
"Population Area" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What termini does the route with a population Area... | SELECT "Termini" FROM table_56689 WHERE "Population Area" = 'aguilares' |
### Instruction:
CREATE TABLE table_76906 (
"Class" text,
"Wheel arrangement" text,
"Fleet number(s)" text,
"Year made" text,
"Quantity made" text,
"Quantity preserved" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the quantity preserve... | SELECT "Quantity preserved" FROM table_76906 WHERE "Class" = 'e-1' |
### Instruction:
CREATE TABLE table_name_71 (
attendance INTEGER,
visitor VARCHAR,
leading_scorer VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people were in attendance when the visiting team was the Nuggets and the leading scorer was J.R. Smi... | SELECT SUM(attendance) FROM table_name_71 WHERE visitor = "nuggets" AND leading_scorer = "j.r. smith (28)" |
### Instruction:
CREATE TABLE table_204_36 (
id number,
"date" text,
"opponent" text,
"site" text,
"result" text,
"attendance" number,
"record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times was there a loss by more than 5 poi... | SELECT COUNT(*) FROM table_204_36 WHERE ABS("result" - "result") > 5 |
### Instruction:
CREATE TABLE table_22815568_13 (
unemployment_rate VARCHAR,
market_income_per_capita VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the unemployment rate where the market income per capita is $16,406?
### Response:
| SELECT unemployment_rate FROM table_22815568_13 WHERE market_income_per_capita = "$16,406" |
### Instruction:
CREATE TABLE table_3255 (
"Information" text,
"James E. Holmes" text,
"Reidsville" text,
"Rockingham County" text,
"Western Rockingham Middle School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the james e. holmes for ersell... | SELECT "James E. Holmes" FROM table_3255 WHERE "Reidsville" = 'Erselle Young' |
### Instruction:
CREATE TABLE table_31495 (
"Townland" text,
"Area( acres )" real,
"Barony" text,
"Civil parish" text,
"Poor law union" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the fewest area in Derrynanool townland?
### Response:
| SELECT MIN("Area( acres )") FROM table_31495 WHERE "Townland" = 'Derrynanool' |
### Instruction:
CREATE TABLE table_43729 (
"Stage" real,
"Start" text,
"Arrival" text,
"Duration" text,
"Difficulty" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest stage number that starts with els alocs and has a middle difficul... | SELECT MIN("Stage") FROM table_43729 WHERE "Difficulty" = 'middle' AND "Start" = 'els alocs' |
### Instruction:
CREATE TABLE table_204_294 (
id number,
"date" text,
"time" text,
"opponent#" text,
"rank#" text,
"site" text,
"tv" text,
"result" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total... | SELECT COUNT("date") FROM table_204_294 |
### Instruction:
CREATE TABLE table_name_31 (
out_of VARCHAR,
year VARCHAR,
source VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the Out of that has the Source of united nations, and the Rank larger than 47, and the Yea... | SELECT out_of FROM table_name_31 WHERE source = "united nations" AND rank > 47 AND year < 2003 |
### Instruction:
CREATE TABLE table_204_959 (
id number,
"club" text,
"founded" number,
"nickname" text,
"location" text,
"home ground" text,
"entered competition" number,
"most recent promotion" number
)
-- Using valid SQLite, answer the following questions for the tables provided abo... | SELECT COUNT("club") FROM table_204_959 |
### Instruction:
CREATE TABLE table_73583 (
"Tournament" text,
"Games played" real,
"Points per game" text,
"Rebounds per game" text,
"Assists per game" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How may assists per game have 7.7 points per game... | SELECT "Assists per game" FROM table_73583 WHERE "Points per game" = '7.7' |
### Instruction:
CREATE TABLE table_28035 (
"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.
-- How many touchdowns did the fullb... | SELECT MIN("Touchdowns") FROM table_28035 WHERE "Position" = 'Fullback' |
### Instruction:
CREATE TABLE table_12631 (
"Date" text,
"Opponent" text,
"Score" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date was the attendance more than 17,652?
### Response:... | SELECT "Date" FROM table_12631 WHERE "Attendance" > '17,652' |
### Instruction:
CREATE TABLE table_204_3 (
id number,
"rank" number,
"name" text,
"nationality" text,
"time" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- did diego cuenca or eduardo piccinini perform better ?
### Response:
| SELECT "name" FROM table_204_3 WHERE "name" IN ('diego cuenca', 'eduardo piccinini') ORDER BY "time" LIMIT 1 |
### Instruction:
CREATE TABLE table_77891 (
"Vehicle Numbers" text,
"Vehicle Types" text,
"Livery" text,
"Location" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what status is the vehicle numbers of adb977554?
### Response:
| SELECT "Status" FROM table_77891 WHERE "Vehicle Numbers" = 'adb977554' |
### Instruction:
CREATE TABLE table_22697 (
"Album#" text,
"English Title" text,
"Chinese (Traditional)" text,
"Chinese (Simplified)" text,
"Release date" text,
"Label" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the release date for alb... | SELECT "Release date" FROM table_22697 WHERE "Album#" = '2nd' |
### Instruction:
CREATE TABLE table_10046 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Score has a Competition of uefa euro 2012 qualifying?
### Response:
| SELECT "Score" FROM table_10046 WHERE "Competition" = 'uefa euro 2012 qualifying' |
### Instruction:
CREATE TABLE table_203_721 (
id number,
"school" text,
"location" text,
"control" text,
"type" text,
"enrollment" number,
"founded" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many of the universities were located i... | SELECT COUNT("school") FROM table_203_721 WHERE "location" = 'california' |
### Instruction:
CREATE TABLE table_20728138_1 (
_percentage_in_seats_contested VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2003 seat number, when seats contested was at 38.23%
### Response:
| SELECT MIN(2003 AS _seats) FROM table_20728138_1 WHERE _percentage_in_seats_contested = "38.23%" |
### Instruction:
CREATE TABLE table_34109 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Record has a Home of Montreal Canadiens and a Date of April 22?
### Response:
| SELECT "Record" FROM table_34109 WHERE "Home" = 'montreal canadiens' AND "Date" = 'april 22' |
### Instruction:
CREATE TABLE table_203_165 (
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.
-- how many nations received more than 5 gold medal... | SELECT COUNT("nation") FROM table_203_165 WHERE "gold" > 5 |
### Instruction:
CREATE TABLE table_name_30 (
apps INTEGER,
goals VARCHAR,
club VARCHAR,
season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the club is flamengo in the 2009 season, and they scored more than 0 goals, what's the sum of the Apps... | SELECT SUM(apps) FROM table_name_30 WHERE club = "flamengo" AND season = "2009" AND goals > 0 |
### Instruction:
CREATE TABLE table_77219 (
"Rank" text,
"Name" text,
"Location" text,
"Length ( m )" text,
"Length ( ft )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank of the arch with a length in meters of 75/55?
### Response:... | SELECT "Rank" FROM table_77219 WHERE "Length ( m )" = '75/55' |
### Instruction:
CREATE TABLE table_70108 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which year did Ray Crawford the Kurtis Kraft 500g chassis?
### Response:
| SELECT "Year" FROM table_70108 WHERE "Chassis" = 'kurtis kraft 500g' |
### Instruction:
CREATE TABLE table_name_69 (
chassis VARCHAR,
driver VARCHAR,
rounds VARCHAR,
entrant VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the chassis for all rounds on the entrant Benson and Hedges Jordan driven by Damon Hill?
#... | SELECT chassis FROM table_name_69 WHERE rounds = "all" AND entrant = "benson and hedges jordan" AND driver = "damon hill" |
### Instruction:
CREATE TABLE table_name_60 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average for 2009 when 2001 is more than 0, 1996 is less than 1 and 2004 is more than 2
### Response:
| SELECT AVG(2009) FROM table_name_60 WHERE 2001 > 0 AND 1996 < 1 AND 2004 > 2 |
### Instruction:
CREATE TABLE table_18551 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who are the candidates in the election in the Ohio 9 di... | SELECT "Candidates" FROM table_18551 WHERE "District" = 'Ohio 9' |
### Instruction:
CREATE TABLE table_6020 (
"Rank" real,
"Rider" text,
"Manufacturer" text,
"Points" real,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Manufacturer of honda, and a Rank of 8 had what highest wins?
### Response:
| SELECT MAX("Wins") FROM table_6020 WHERE "Manufacturer" = 'honda' AND "Rank" = '8' |
### Instruction:
CREATE TABLE table_51554 (
"Race" text,
"Candidate" text,
"Party" text,
"Notes" text,
"Votes" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many votes were cast when the notes reported lost to incumbent vic gilliam?
### Respo... | SELECT "Votes" FROM table_51554 WHERE "Notes" = 'lost to incumbent vic gilliam' |
### Instruction:
CREATE TABLE table_34700 (
"Date" text,
"Tournament" text,
"Location" text,
"Winner" text,
"Score" text,
"1st prize ( $ )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 1st prize of the tournament in Scotland?
###... | SELECT "1st prize ( $ )" FROM table_34700 WHERE "Location" = 'scotland' |
### Instruction:
CREATE TABLE table_67491 (
"Film" text,
"Director(s)" text,
"Writer(s)" text,
"Recipient" text,
"Date" text,
"Award" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the film for award of 3,386
### Response:
| SELECT "Film" FROM table_67491 WHERE "Award" = '£3,386' |
### Instruction:
CREATE TABLE table_7647 (
"Week" real,
"Date" text,
"Opponent" text,
"Game Site" text,
"Final Score" text,
"Record" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Attendance with a Week that is... | SELECT "Attendance" FROM table_7647 WHERE "Week" = '18' |
### Instruction:
CREATE TABLE table_70504 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the Chassis that has the Entrant of trivellato racing team?
### Respons... | SELECT "Chassis" FROM table_70504 WHERE "Entrant" = 'trivellato racing team' |
### Instruction:
CREATE TABLE table_26758262_1 (
judges_residence VARCHAR,
municipalities_served VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where does the judge who serves Beacon Falls , Naugatuck , Middlebury , Prospect reside?
### Response:
| SELECT judges_residence FROM table_26758262_1 WHERE municipalities_served = "Beacon Falls , Naugatuck , Middlebury , Prospect" |
### Instruction:
CREATE TABLE table_28985631_1 (
defective_year INTEGER,
regular_year VARCHAR,
month_sequence VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the defective year for the regular year of 29 days and month sequence of 2?
### Respons... | SELECT MAX(defective_year) FROM table_28985631_1 WHERE regular_year = "29 days" AND month_sequence = 2 |
### Instruction:
CREATE TABLE table_2113 (
"Institution" text,
"Location" text,
"Founded" real,
"Type" text,
"Enrollment" real,
"Nickname" text,
"Joined" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is the Eastern Nazarene College lo... | SELECT "Location" FROM table_2113 WHERE "Institution" = 'Eastern Nazarene College' |
### Instruction:
CREATE TABLE table_51253 (
"Years" text,
"Displacement" text,
"Engine" text,
"Power" text,
"Torque" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the years for the displacement 4.0l (242cid)?
### Response:
| SELECT "Years" FROM table_51253 WHERE "Displacement" = '4.0l (242cid)' |
### Instruction:
CREATE TABLE table_66986 (
"Ship" text,
"Pennant number" text,
"Laid down" text,
"Launched" text,
"Completed" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the laid down for launched being 16 february 1934
### Response:
| SELECT "Laid down" FROM table_66986 WHERE "Launched" = '16 february 1934' |
### Instruction:
CREATE TABLE table_41357 (
"Round" real,
"Pick" text,
"Player" text,
"Position" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What round was Andre Fluellen drafted as a Defensive Tackle?
### Response:
| SELECT COUNT("Round") FROM table_41357 WHERE "Position" = 'defensive tackle' AND "Player" = 'andre fluellen' |
### Instruction:
CREATE TABLE table_name_93 (
to_par VARCHAR,
country VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times is the country united states and the score 72-71-73-73=289?
### Response:
| SELECT COUNT(to_par) FROM table_name_93 WHERE country = "united states" AND score = 72 - 71 - 73 - 73 = 289 |
### Instruction:
CREATE TABLE table_9220 (
"Tournament" text,
"Surface" text,
"Week" text,
"Winner and score" text,
"Finalist" text,
"Semifinalists" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the week when the finalist is marcelo r o... | SELECT "Week" FROM table_9220 WHERE "Finalist" = 'marcelo ríos' |
### Instruction:
CREATE TABLE table_name_60 (
yards INTEGER,
sack VARCHAR,
asst VARCHAR,
totaltk VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total of yards when asst. is 19, totaltk is 60 and sack is more than 0?
### Response:
| SELECT SUM(yards) FROM table_name_60 WHERE asst = 19 AND totaltk = 60 AND sack > 0 |
### Instruction:
CREATE TABLE table_203_268 (
id number,
"date" text,
"name" text,
"nationality" text,
"tonnage\n(grt)" number,
"fate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what where the only two submarines that where only damaged ?
... | SELECT "name" FROM table_203_268 WHERE "fate" = 'damaged' |
### Instruction:
CREATE TABLE table_29282 (
"Position" real,
"Building" text,
"City" text,
"Height" text,
"Number of floors" real,
"Completion" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the building is Costanera Center Torre 1, what is t... | SELECT "Height" FROM table_29282 WHERE "Building" = 'Costanera Center Torre 1' |
### Instruction:
CREATE TABLE table_name_61 (
poles INTEGER,
position VARCHAR,
wins VARCHAR,
top_5 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest poles that have 0 as a win, 0 as the top 5, with 66th as the postion?
### Response:... | SELECT MIN(poles) FROM table_name_61 WHERE wins = 0 AND top_5 = 0 AND position = "66th" |
### Instruction:
CREATE TABLE table_28711 (
"Rank" real,
"Athlete" text,
"Country" text,
"Distance (metres)" text,
"Points" text,
"Adjusted Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the country that has ken doherty
### Respon... | SELECT "Country" FROM table_28711 WHERE "Athlete" = 'Ken Doherty' |
### Instruction:
CREATE TABLE table_59250 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player from England finished in T41?
### Response:
| SELECT "Player" FROM table_59250 WHERE "Finish" = 't41' AND "Country" = 'england' |
### Instruction:
CREATE TABLE table_name_81 (
population_density__per_km²_ VARCHAR,
name VARCHAR,
capital VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Population density (per km ), when Name is Antigua and Barbuda, and when Capital is St. John'... | SELECT population_density__per_km²_ FROM table_name_81 WHERE name = "antigua and barbuda" AND capital = "st. john's" |
### Instruction:
CREATE TABLE table_204_98 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many many competitions were held in 2006 ?
#... | SELECT COUNT("competition") FROM table_204_98 WHERE "year" = 2006 |
### Instruction:
CREATE TABLE table_6062 (
"Venue" text,
"Home" text,
"Guest" text,
"Score" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Attendance in a match which scores 0:0 - 4:1 (pen)
### Response:
| SELECT AVG("Attendance") FROM table_6062 WHERE "Score" = '0:0 - 4:1 (pen)' |
### Instruction:
CREATE TABLE table_62867 (
"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 is the power for the years 1975-84?
### Response:
| SELECT "Power" FROM table_62867 WHERE "Years" = '1975-84' |
### Instruction:
CREATE TABLE table_63405 (
"Callsign" text,
"Network" text,
"City of License" text,
"D ERP" text,
"Owner / Operator" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the city of license having a D ERP of 100kw?
### Response:
| SELECT "City of License" FROM table_63405 WHERE "D ERP" = '100kw' |
### Instruction:
CREATE TABLE table_18164 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Results" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the incumbent in the Tennessee 4 district fir... | SELECT "First elected" FROM table_18164 WHERE "District" = 'Tennessee 4' |
### Instruction:
CREATE TABLE table_18283 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- To which party does Robert W. Edgar belong?
### Respo... | SELECT "Party" FROM table_18283 WHERE "Incumbent" = 'Robert W. Edgar' |
### Instruction:
CREATE TABLE table_5380 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Attendance is the highest one that has a Record of 15-28?
### ... | SELECT MAX("Attendance") FROM table_5380 WHERE "Record" = '15-28' |
### Instruction:
CREATE TABLE table_51284 (
"Pick #" real,
"Player" text,
"Nationality" text,
"Position" text,
"League from" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What pick was Scott Glennie from the Western hockey league
### Response:
| SELECT "Pick #" FROM table_51284 WHERE "League from" = 'western hockey league' AND "Player" = 'scott glennie' |
### Instruction:
CREATE TABLE table_9759 (
"Coach" text,
"Years" text,
"Seasons" real,
"Record" text,
"Winning %" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times is the seasons 2 and the coach guy lowman?
### Response:
| SELECT COUNT("Winning %") FROM table_9759 WHERE "Seasons" = '2' AND "Coach" = 'guy lowman' |
### Instruction:
CREATE TABLE table_48635 (
"Title" text,
"Writer" text,
"Format" text,
"Company" text,
"release date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the release date of the album written by Ford, Phil Phil Ford under BBC Aud... | SELECT "release date" FROM table_48635 WHERE "Company" = 'bbc audio' AND "Writer" = 'ford, phil phil ford' |
### Instruction:
CREATE TABLE table_14360 (
"Country" text,
"Film title used in nomination" text,
"Language" text,
"Original name" text,
"Director" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the film title used in nomination for Panny Z... | SELECT "Film title used in nomination" FROM table_14360 WHERE "Original name" = 'panny z wilka' |
### Instruction:
CREATE TABLE table_14118521_1 (
edo_flight VARCHAR,
duration VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the edo flight with duration being 17 days, 15 hours, 53 minutes, 18 seconds
### Response:
| SELECT edo_flight FROM table_14118521_1 WHERE duration = "17 days, 15 hours, 53 minutes, 18 seconds" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.