instruction
stringlengths 212
6.3k
| output
stringlengths 6
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_23685890_2 (
pop_2006 VARCHAR,
major_town VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the 2006 population count of the local government area where Coober Pedy is located?
### Response:
|
SELECT pop_2006 FROM table_23685890_2 WHERE major_town = "Coober Pedy"
|
### Instruction:
CREATE TABLE table_name_78 (
works_number INTEGER,
type VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total works number of the locomotive with 0-6-4t type after 1875?
### Response:
|
SELECT SUM(works_number) FROM table_name_78 WHERE type = "0-6-4t" AND date > 1875
|
### Instruction:
CREATE TABLE table_31353 (
"Country" text,
"Alternante title" text,
"TV Network(s)" text,
"Series premiere" text,
"Series finale" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of the series finale for Peru?
### Response:
|
SELECT "Series finale" FROM table_31353 WHERE "Country" = 'Peru'
|
### Instruction:
CREATE TABLE table_50266 (
"Match" real,
"Date" text,
"Round" text,
"Home/Away" text,
"Opponent team" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was match 5?
### Response:
|
SELECT "Date" FROM table_50266 WHERE "Match" = '5'
|
### Instruction:
CREATE TABLE table_77902 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the top lap that had a tyre time?
### Response:
|
SELECT MAX("Laps") FROM table_77902 WHERE "Time/Retired" = 'tyre'
|
### Instruction:
CREATE TABLE table_28211103_1 (
winner VARCHAR,
st_kilda_score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many winners have st kilda score at 14.11.95?
### Response:
|
SELECT COUNT(winner) FROM table_28211103_1 WHERE st_kilda_score = "14.11.95"
|
### Instruction:
CREATE TABLE table_74497 (
"Pick #" real,
"MLS team" text,
"Player" text,
"Position" text,
"Affiliation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the position of the Colorado Rapids team?
### Response:
|
SELECT "Position" FROM table_74497 WHERE "MLS team" = 'colorado rapids'
|
### Instruction:
CREATE TABLE table_63000 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What lane was Emily Seebohm in?
### Response:
|
SELECT COUNT("Lane") FROM table_63000 WHERE "Name" = 'emily seebohm'
|
### Instruction:
CREATE TABLE table_name_27 (
score VARCHAR,
set_2 VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Score when Set 2 shows 25-20, and a Total of 75 - 49?
### Response:
|
SELECT score FROM table_name_27 WHERE set_2 = "25-20" AND total = "75 - 49"
|
### Instruction:
CREATE TABLE table_52792 (
"Analog Channel" text,
"Digital Channel" text,
"Call sign" text,
"Name" text,
"Network" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which analog channel has a digital channel of 4.1?
### Response:
|
SELECT "Analog Channel" FROM table_52792 WHERE "Digital Channel" = '4.1'
|
### Instruction:
CREATE TABLE table_14098_1 (
area__km²___per_sqmi_ VARCHAR,
country_or_territory_with_flag VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What unit of measurement for uruguay?
### Response:
|
SELECT area__km²___per_sqmi_ FROM table_14098_1 WHERE country_or_territory_with_flag = "Uruguay"
|
### Instruction:
CREATE TABLE table_34728 (
"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 lead is Gordon McDougall?
### Response:
|
SELECT "Skip" FROM table_34728 WHERE "Lead" = 'gordon mcdougall'
|
### Instruction:
CREATE TABLE table_60240 (
"Opposing Teams" text,
"Against" real,
"Date" text,
"Venue" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of the 42 Against?
### Response:
|
SELECT "Date" FROM table_60240 WHERE "Against" = '42'
|
### Instruction:
CREATE TABLE table_204_532 (
id number,
"season" text,
"tier" number,
"division" text,
"place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which division has this team played the most games in ?
### Response:
|
SELECT "division" FROM table_204_532 GROUP BY "division" ORDER BY COUNT(*) DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_27367 (
"Pick #" real,
"NFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of players for georgia tech
### Response:
|
SELECT COUNT("Player") FROM table_27367 WHERE "College" = 'Georgia Tech'
|
### Instruction:
CREATE TABLE table_39999 (
"Round" real,
"Overall" real,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Round when there is an overall of 246?
### Response:
|
SELECT "Round" FROM table_39999 WHERE "Overall" = '246'
|
### Instruction:
CREATE TABLE table_1773908_3 (
down__up_to_kbit_s_ INTEGER,
provider VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is download bandwith where the provider is deutsche telekom ag?
### Response:
|
SELECT MAX(down__up_to_kbit_s_) FROM table_1773908_3 WHERE provider = "Deutsche Telekom AG"
|
### Instruction:
CREATE TABLE table_name_76 (
fastest_lap VARCHAR,
winning_team VARCHAR,
circuit VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the fastest lap of the Oschersleben circuit with Audi Sport Team ABT as the winning team?
### Response:
|
SELECT fastest_lap FROM table_name_76 WHERE winning_team = "audi sport team abt" AND circuit = "oschersleben"
|
### Instruction:
CREATE TABLE table_5358 (
"English" text,
"Italian" text,
"French" text,
"German" text,
"Russian" text,
"Spanish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the english word for cavallo
### Response:
|
SELECT "English" FROM table_5358 WHERE "Italian" = 'cavallo'
|
### Instruction:
CREATE TABLE table_name_26 (
date VARCHAR,
decision VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of the game with a decision of Niittymaki and when the Flyers had a record of 30 21 5?
### Response:
|
SELECT date FROM table_name_26 WHERE decision = "niittymaki" AND record = "30–21–5"
|
### Instruction:
CREATE TABLE table_49875 (
"Game" real,
"December" real,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the Score that has the December of 10?
### Response:
|
SELECT "Score" FROM table_49875 WHERE "December" = '10'
|
### Instruction:
CREATE TABLE table_25923164_1 (
original_air_date VARCHAR,
directed_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the original air date of the episode directed by frederick e. o. toye?
### Response:
|
SELECT original_air_date FROM table_25923164_1 WHERE directed_by = "Frederick E. O. Toye"
|
### Instruction:
CREATE TABLE table_name_88 (
time_retired VARCHAR,
manufacturer VARCHAR,
rider VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Time/Retired has a Manufacturer of yamaha, and a Rider of garry mccoy?
### Response:
|
SELECT time_retired FROM table_name_88 WHERE manufacturer = "yamaha" AND rider = "garry mccoy"
|
### Instruction:
CREATE TABLE table_8824 (
"City" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is IATA, when ICAO is 'Hesh'?
### Response:
|
SELECT "IATA" FROM table_8824 WHERE "ICAO" = 'hesh'
|
### Instruction:
CREATE TABLE table_name_58 (
year VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year had a score of 6 2, 2 6, 5 7, 7 6, 8 6?
### Response:
|
SELECT year FROM table_name_58 WHERE score = "6–2, 2–6, 5–7, 7–6, 8–6"
|
### Instruction:
CREATE TABLE table_54247 (
"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 new musical nominee?
### Response:
|
SELECT "Result" FROM table_54247 WHERE "Nominee" = 'best new musical'
|
### Instruction:
CREATE TABLE table_204_750 (
id number,
"team" text,
"stadium" text,
"capacity" number,
"seated" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number of seating for the yate town ?
### Response:
|
SELECT "capacity" FROM table_204_750 WHERE "team" = 'yate town'
|
### Instruction:
CREATE TABLE table_66716 (
"Year" text,
"Finish" text,
"Team" text,
"Tournament" text,
"Role" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Tournament in the Year of 1986?
### Response:
|
SELECT "Tournament" FROM table_66716 WHERE "Year" = '1986'
|
### Instruction:
CREATE TABLE table_20106 (
"No" real,
"Driver" text,
"Entrant" text,
"Constructor" text,
"Chassis" text,
"Engine" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many cars used number 48?
### Response:
|
SELECT COUNT("Engine") FROM table_20106 WHERE "No" = '48'
|
### Instruction:
CREATE TABLE table_7941 (
"Heat" real,
"Lane" real,
"Name" text,
"Country" text,
"Mark" text,
"React" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country does Glory Alozie play for?
### Response:
|
SELECT "Country" FROM table_7941 WHERE "Name" = 'glory alozie'
|
### Instruction:
CREATE TABLE table_17265535_7 (
equation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the equation is 6 9 + 6 9 + 6, what is the 2nd throw?
### Response:
|
SELECT MAX(2 AS nd_throw) FROM table_17265535_7 WHERE equation = "6 × 9² + 6 × 9 + 6"
|
### Instruction:
CREATE TABLE table_5082 (
"Rank" real,
"Player" text,
"Country" text,
"Earnings ( $ )" real,
"Events" real,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which events have a Rank of 1?
### Response:
|
SELECT "Events" FROM table_5082 WHERE "Rank" = '1'
|
### Instruction:
CREATE TABLE table_name_7 (
rounds VARCHAR,
sponsor_s_ VARCHAR,
chassis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which rounds do Arciero Wines sponsor a March 85c chassis?
### Response:
|
SELECT rounds FROM table_name_7 WHERE sponsor_s_ = "arciero wines" AND chassis = "march 85c"
|
### Instruction:
CREATE TABLE table_49150 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times is the player scott deibert?
### Response:
|
SELECT COUNT("Pick #") FROM table_49150 WHERE "Player" = 'scott deibert'
|
### Instruction:
CREATE TABLE table_name_9 (
bronze VARCHAR,
total VARCHAR,
gold VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How man values for bronze occur when gold is less than 1, rank is greater than 15, and total is greater than 1?
### Response:
|
SELECT COUNT(bronze) FROM table_name_9 WHERE gold < 1 AND rank > 15 AND total > 1
|
### Instruction:
CREATE TABLE table_name_87 (
longitude INTEGER,
county VARCHAR,
latitude VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much Longitude has a County of nelson, and a Latitude larger than 47.980183?
### Response:
|
SELECT SUM(longitude) FROM table_name_87 WHERE county = "nelson" AND latitude > 47.980183
|
### Instruction:
CREATE TABLE table_name_49 (
communist_ticket VARCHAR,
american_labor_ticket VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who's the Communist ticket with an American Labor ticket of joseph v. o'leary?
### Response:
|
SELECT communist_ticket FROM table_name_49 WHERE american_labor_ticket = "joseph v. o'leary"
|
### Instruction:
CREATE TABLE table_1157867_2 (
name VARCHAR,
notes VARCHAR,
builder VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which locomotives 12' x 17' are both ex-industrial and built by Manning Wardle?
### Response:
|
SELECT name FROM table_1157867_2 WHERE notes = "Ex-industrial" AND builder = "Manning Wardle"
|
### Instruction:
CREATE TABLE table_26986076_1 (
sat_21_aug VARCHAR,
wed_25_aug VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If Wed Aug 25 is no time, what is Sat aug 21?
### Response:
|
SELECT sat_21_aug FROM table_26986076_1 WHERE wed_25_aug = "—— No Time"
|
### Instruction:
CREATE TABLE table_name_70 (
money___$__ VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Money of the Player with a Score of 69-71-69-72=281?
### Response:
|
SELECT money___$__ FROM table_name_70 WHERE score = 69 - 71 - 69 - 72 = 281
|
### Instruction:
CREATE TABLE table_name_81 (
cores VARCHAR,
socket VARCHAR,
release_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What the cores with a release date of February 2011 and a BGA-1023 socket?
### Response:
|
SELECT cores FROM table_name_81 WHERE socket = "bga-1023" AND release_date = "february 2011"
|
### Instruction:
CREATE TABLE table_55385 (
"Year" real,
"Date" text,
"Driver" text,
"Team" text,
"Distance/Duration" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many years does Team wal-mart / tide participate?
### Response:
|
SELECT COUNT("Year") FROM table_55385 WHERE "Team" = 'wal-mart / tide'
|
### Instruction:
CREATE TABLE table_78008 (
"Race Name" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the report on 20 may
### Response:
|
SELECT "Report" FROM table_78008 WHERE "Date" = '20 may'
|
### Instruction:
CREATE TABLE table_19965 (
"Year (Ceremony)" real,
"Original title" text,
"English title" text,
"Director" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result for director Fernando Meirelles
### Response:
|
SELECT "Result" FROM table_19965 WHERE "Director" = 'Fernando Meirelles'
|
### Instruction:
CREATE TABLE table_24706337_1 (
name_of_the_war VARCHAR,
ottoman_sultan VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the war where the Ottoman sultan was Selim I?
### Response:
|
SELECT name_of_the_war FROM table_24706337_1 WHERE ottoman_sultan = "Selim I"
|
### Instruction:
CREATE TABLE table_name_24 (
reimboldsh VARCHAR,
willingshain VARCHAR,
gersdorf VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Reimboldsh has Willingshain of 268 and Gersdorf 194?
### Response:
|
SELECT reimboldsh FROM table_name_24 WHERE willingshain = "268" AND gersdorf = "194"
|
### Instruction:
CREATE TABLE table_name_57 (
event_type VARCHAR,
sport VARCHAR,
body VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What event type had BODY CMAS in 1980 and underwater hockey?
### Response:
|
SELECT event_type FROM table_name_57 WHERE body = "cmas" AND year = "1980" AND sport = "underwater hockey"
|
### Instruction:
CREATE TABLE table_51527 (
"Round" real,
"Overall" real,
"Player" text,
"Nationality" text,
"Club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the nationality of the player with an overall of 74
### Response:
|
SELECT "Nationality" FROM table_51527 WHERE "Overall" = '74'
|
### Instruction:
CREATE TABLE table_41180 (
"Team" text,
"Match" text,
"Points" text,
"Draw" text,
"Lost" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Draw for the team of tramwajarz d ?
### Response:
|
SELECT "Draw" FROM table_41180 WHERE "Team" = 'tramwajarz łódź'
|
### Instruction:
CREATE TABLE table_name_6 (
swim__15km_ VARCHAR,
event VARCHAR,
athlete VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Daniela Ryf who competes in the women's even had what swim (1.5km)?
### Response:
|
SELECT swim__15km_ FROM table_name_6 WHERE event = "women's" AND athlete = "daniela ryf"
|
### Instruction:
CREATE TABLE table_10026563_1 (
ended_time_as_senior_g8_leader VARCHAR,
person VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did Jacques Chirac stop being a G8 leader?
### Response:
|
SELECT ended_time_as_senior_g8_leader FROM table_10026563_1 WHERE person = "Jacques Chirac"
|
### Instruction:
CREATE TABLE table_61955 (
"Year" real,
"Award" text,
"Category" text,
"Nominee" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year had Best Actor in a Musical as a category?
### Response:
|
SELECT SUM("Year") FROM table_61955 WHERE "Category" = 'best actor in a musical'
|
### Instruction:
CREATE TABLE table_78433 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many laps did Ricardo Zonta have?
### Response:
|
SELECT SUM("Laps") FROM table_78433 WHERE "Driver" = 'ricardo zonta'
|
### Instruction:
CREATE TABLE table_name_2 (
opponents VARCHAR,
kick_off VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT OPPONENT HAD A KICKOFF OF 2007-03-06, 20:45?
### Response:
|
SELECT opponents FROM table_name_2 WHERE kick_off = "2007-03-06, 20:45"
|
### Instruction:
CREATE TABLE table_178398_1 (
sub_parish__sogn_ VARCHAR,
location_of_the_church VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sub-parish of the church located in Fortun?
### Response:
|
SELECT sub_parish__sogn_ FROM table_178398_1 WHERE location_of_the_church = "Fortun"
|
### Instruction:
CREATE TABLE table_76134 (
"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 home team has coventry city as the away team?
### Response:
|
SELECT "Home team" FROM table_76134 WHERE "Away team" = 'coventry city'
|
### Instruction:
CREATE TABLE table_68026 (
"Year" real,
"Result" text,
"Award" text,
"Category" text,
"Nominated work" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the category that has the people's choice awards?
### Response:
|
SELECT "Category" FROM table_68026 WHERE "Award" = 'people''s choice awards'
|
### Instruction:
CREATE TABLE table_17120964_6 (
attendance VARCHAR,
opponent VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the total attendance during the home game against the Swindon Wildcats?
### Response:
|
SELECT attendance FROM table_17120964_6 WHERE opponent = "Swindon Wildcats" AND venue = "Home"
|
### Instruction:
CREATE TABLE table_23292220_8 (
jasons_team VARCHAR,
first_broadcast VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was on Jason's team for the 12 June 2009 episode?
### Response:
|
SELECT jasons_team FROM table_23292220_8 WHERE first_broadcast = "12 June 2009"
|
### Instruction:
CREATE TABLE table_34312 (
"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 School has no no no Unanimously?
### Response:
|
SELECT "School" FROM table_34312 WHERE "Unanimous" = 'no no no'
|
### Instruction:
CREATE TABLE table_204_321 (
id number,
"community" text,
"currency" text,
"region" text,
"target date" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the number of communities with no target date listed ?
### Response:
|
SELECT COUNT("community") FROM table_204_321 WHERE "target date" IS NULL
|
### Instruction:
CREATE TABLE table_204_784 (
id number,
"player" text,
"league" number,
"cup" number,
"europa league" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many players had a total of 4 ?
### Response:
|
SELECT COUNT("player") FROM table_204_784 WHERE "total" = 4
|
### Instruction:
CREATE TABLE table_54737 (
"Date" real,
"Country" text,
"Place" text,
"Building" text,
"Size" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the least date for the place which has a building of victoria hall
### Response:
|
SELECT MIN("Date") FROM table_54737 WHERE "Building" = 'victoria hall'
|
### Instruction:
CREATE TABLE table_name_2 (
downstream_rate VARCHAR,
version VARCHAR,
standard_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the downstream rate for the Itu g.992.2 having a version of ADSL?
### Response:
|
SELECT downstream_rate FROM table_name_2 WHERE version = "adsl" AND standard_name = "itu g.992.2"
|
### Instruction:
CREATE TABLE table_76484 (
"Model" text,
"Sensor Size" text,
"Resolution" text,
"Active Pixels" text,
"Display" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the active pixels of the cantare model?
### Response:
|
SELECT "Active Pixels" FROM table_76484 WHERE "Model" = 'cantare'
|
### Instruction:
CREATE TABLE table_78203 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What day did they play before week 2?
### Response:
|
SELECT "Date" FROM table_78203 WHERE "Week" < '2'
|
### Instruction:
CREATE TABLE table_8951 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the Position that has the CFL Team of toronto?
### Response:
|
SELECT "Position" FROM table_8951 WHERE "CFL Team" = 'toronto'
|
### Instruction:
CREATE TABLE table_23117208_3 (
viewers__millions_ VARCHAR,
prod_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many millions of spectator did has the episode whose prod.code was rp#213?
### Response:
|
SELECT viewers__millions_ FROM table_23117208_3 WHERE prod_code = "RP#213"
|
### Instruction:
CREATE TABLE table_54377 (
"Year" real,
"Category" text,
"Nominee(s)" text,
"Episode" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the episode for year more than 1999
### Response:
|
SELECT "Episode" FROM table_54377 WHERE "Year" > '1999'
|
### Instruction:
CREATE TABLE table_2066296_5 (
green__sw_ INTEGER,
interior_roof VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the green (SW) of the model with charcoal/white interior/roof?
### Response:
|
SELECT MIN(green__sw_) FROM table_2066296_5 WHERE interior_roof = "Charcoal/white"
|
### Instruction:
CREATE TABLE table_24399615_3 (
cable_rank VARCHAR,
bbc_three_weekly_ranking VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the cable rank for bbc three weekly ranking of n/a?
### Response:
|
SELECT cable_rank FROM table_24399615_3 WHERE bbc_three_weekly_ranking = "N/A"
|
### Instruction:
CREATE TABLE table_18012738_1 (
directed_by VARCHAR,
uk_viewers__million_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number directed by for uk viewers being 6.86
### Response:
|
SELECT COUNT(directed_by) FROM table_18012738_1 WHERE uk_viewers__million_ = "6.86"
|
### Instruction:
CREATE TABLE table_1458412_1 (
team_s_ VARCHAR,
winnings VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total amount o teams where winnings is $1,752,299?
### Response:
|
SELECT COUNT(team_s_) FROM table_1458412_1 WHERE winnings = "$1,752,299"
|
### Instruction:
CREATE TABLE table_name_15 (
laps VARCHAR,
time_retired VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where the grid is under 19, the time finished was logged as received outside assistance, what's the total number of laps?
### Response:
|
SELECT COUNT(laps) FROM table_name_15 WHERE time_retired = "received outside assistance" AND grid < 19
|
### Instruction:
CREATE TABLE table_13897690_1 (
area__sqmi_ VARCHAR,
area__km_2__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How big (in sq mi) is the island that's 4065 km2?
### Response:
|
SELECT area__sqmi_ FROM table_13897690_1 WHERE area__km_2__ = 4065
|
### Instruction:
CREATE TABLE table_38191 (
"Year (Ceremony)" text,
"Film title" text,
"Language(s)" text,
"Director" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result for the fil Paljas?
### Response:
|
SELECT "Result" FROM table_38191 WHERE "Film title" = 'paljas'
|
### Instruction:
CREATE TABLE table_66105 (
"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.
-- Who was the away team when 6 was the tie no?
### Response:
|
SELECT "Away team" FROM table_66105 WHERE "Tie no" = '6'
|
### Instruction:
CREATE TABLE table_name_15 (
mintage VARCHAR,
year VARCHAR,
butterfly VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What mintage earlier than the year 2006 has the butterfly great spangled fritillary.
### Response:
|
SELECT mintage FROM table_name_15 WHERE year < 2006 AND butterfly = "great spangled fritillary"
|
### Instruction:
CREATE TABLE table_name_17 (
episodes INTEGER,
tv_station VARCHAR,
japanese_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Episodes have a TV Station of ntv, and a Japanese Title of ?
### Response:
|
SELECT AVG(episodes) FROM table_name_17 WHERE tv_station = "ntv" AND japanese_title = "あいのうた"
|
### Instruction:
CREATE TABLE table_11949 (
"Date" text,
"Opponent" text,
"Winner" text,
"Score" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the opponent for winner of bc 2
### Response:
|
SELECT "Opponent" FROM table_11949 WHERE "Winner" = 'bc 2'
|
### Instruction:
CREATE TABLE table_name_86 (
to_par VARCHAR,
place VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the to par of the player with a t9 place and a score of 72-67=139?
### Response:
|
SELECT to_par FROM table_name_86 WHERE place = "t9" AND score = 72 - 67 = 139
|
### Instruction:
CREATE TABLE table_28144 (
"Camera" text,
"Filter" text,
"Wavelength" text,
"Total exposure time" text,
"Exposures" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times was the exposures 53?
### Response:
|
SELECT COUNT("Camera") FROM table_28144 WHERE "Exposures" = '53'
|
### Instruction:
CREATE TABLE table_name_58 (
earnings___ INTEGER,
player VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average earnings ($) that has meg mallon as the player, with a rank less than 9?
### Response:
|
SELECT AVG(earnings___) AS $__ FROM table_name_58 WHERE player = "meg mallon" AND rank < 9
|
### Instruction:
CREATE TABLE table_4948 (
"Race Title" text,
"Circuit" text,
"City / State" text,
"Date" text,
"Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what Date is the Circuit at Sandown Raceway?
### Response:
|
SELECT "Date" FROM table_4948 WHERE "Circuit" = 'sandown raceway'
|
### Instruction:
CREATE TABLE table_name_81 (
int_yards INTEGER,
assts VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum for the int yards that has an assts more than 3, and player Jay Alford?
### Response:
|
SELECT SUM(int_yards) FROM table_name_81 WHERE assts > 3 AND player = "jay alford"
|
### Instruction:
CREATE TABLE table_32116 (
"Year" real,
"Conference" text,
"City" text,
"Country" text,
"Local Host(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of year with the local host Sai?
### Response:
|
SELECT SUM("Year") FROM table_32116 WHERE "Local Host(s)" = 'sai'
|
### Instruction:
CREATE TABLE table_name_64 (
played INTEGER,
goals_against VARCHAR,
goals_for VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much Played has Goals Against of 45, and Goals For smaller than 65?
### Response:
|
SELECT SUM(played) FROM table_name_64 WHERE goals_against = 45 AND goals_for < 65
|
### Instruction:
CREATE TABLE table_name_66 (
pos VARCHAR,
from_club VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Pos., when From Club is 'Chelsea', and when Date is '30 July 2008'?
### Response:
|
SELECT pos FROM table_name_66 WHERE from_club = "chelsea" AND date = "30 july 2008"
|
### Instruction:
CREATE TABLE table_name_53 (
attempts INTEGER,
net_yards VARCHAR,
touchdowns VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the highest attempts that have net yards less than 631, and 2 for the touchdowns?
### Response:
|
SELECT MAX(attempts) FROM table_name_53 WHERE net_yards < 631 AND touchdowns = 2
|
### Instruction:
CREATE TABLE table_name_32 (
bp_comp_2__˚c_ VARCHAR,
_percentage_wt_comp_1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the bp comp 2 for % wt comp 1 of 76
### Response:
|
SELECT bp_comp_2__˚c_ FROM table_name_32 WHERE _percentage_wt_comp_1 = 76
|
### Instruction:
CREATE TABLE table_name_18 (
best_fit__all_data_ VARCHAR,
parameter VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the best fit (all data) when the parameter shows fluctuation amplitude at 8h 1 mpc?
### Response:
|
SELECT best_fit__all_data_ FROM table_name_18 WHERE parameter = "fluctuation amplitude at 8h −1 mpc"
|
### Instruction:
CREATE TABLE table_46226 (
"Club" text,
"Head Coach" text,
"City" text,
"Stadium" text,
"2007 season" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which stadium has FC Seoul?
### Response:
|
SELECT "Stadium" FROM table_46226 WHERE "Club" = 'fc seoul'
|
### Instruction:
CREATE TABLE table_21501565_1 (
original_artist VARCHAR,
order__number VARCHAR,
theme VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- With order number 7 and the theme is Motown, who were the original artists?
### Response:
|
SELECT original_artist FROM table_21501565_1 WHERE order__number = "7" AND theme = "Motown"
|
### Instruction:
CREATE TABLE table_10655 (
"Concession" text,
"Date" real,
"Grantee" text,
"Size" text,
"County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the county for mariano castro
### Response:
|
SELECT "County" FROM table_10655 WHERE "Grantee" = 'mariano castro'
|
### Instruction:
CREATE TABLE table_1553485_1 (
current_affiliation VARCHAR,
city_of_license__market VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who currently affiliates in San Francisco - Oakland - San Jose?
### Response:
|
SELECT current_affiliation FROM table_1553485_1 WHERE city_of_license__market = "San Francisco - Oakland - San Jose"
|
### Instruction:
CREATE TABLE table_name_67 (
spike INTEGER,
name VARCHAR,
block VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Spike, when Name is Gustavo Porporatto, and when Block is greater than 323?
### Response:
|
SELECT AVG(spike) FROM table_name_67 WHERE name = "gustavo porporatto" AND block > 323
|
### Instruction:
CREATE TABLE table_76665 (
"Round #" real,
"Pick" real,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which pick came from Texas El-Paso?
### Response:
|
SELECT SUM("Pick") FROM table_76665 WHERE "College" = 'texas el-paso'
|
### Instruction:
CREATE TABLE table_6072 (
"Medal" text,
"Name" text,
"Games" text,
"Sport" text,
"Event" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the medal for the Men's Giant Slalom event?
### Response:
|
SELECT "Medal" FROM table_6072 WHERE "Event" = 'men''s giant slalom'
|
### Instruction:
CREATE TABLE exhibition (
artist_id VARCHAR
)
CREATE TABLE artist (
name VARCHAR,
artist_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show all artist names and the number of exhibitions for each artist.
### Response:
|
SELECT T2.name, COUNT(*) FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id = T2.artist_id GROUP BY T1.artist_id
|
### Instruction:
CREATE TABLE table_13898 (
"Heat" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the heat for the time 57.97?
### Response:
|
SELECT "Heat" FROM table_13898 WHERE "Time" = '57.97'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.