instruction
stringlengths 231
6.3k
| output
stringlengths 2
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_42960 (
"Year" real,
"Result" real,
"World Rank" text,
"Location" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which World Rank has a Year smaller than 1977, and a Location of eugene?
### Response:
|
SELECT "World Rank" FROM table_42960 WHERE "Year" < '1977' AND "Location" = 'eugene'
|
### Instruction:
CREATE TABLE table_8415 (
"School" text,
"Locality" text,
"Ages" text,
"Report" text,
"Website" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Website of the Cheadle School for Ages 8-16?
### Response:
|
SELECT "Website" FROM table_8415 WHERE "Ages" = '8-16' AND "Locality" = 'cheadle'
|
### Instruction:
CREATE TABLE table_name_16 (
att_cmp_int VARCHAR,
gp_gs VARCHAR,
avg_g VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the att-cmp-int that has 12 for the gp-gs and 174.3 as the avg/g?
### Response:
|
SELECT att_cmp_int FROM table_name_16 WHERE gp_gs = "12" AND avg_g = 174.3
|
### Instruction:
CREATE TABLE table_name_17 (
draft VARCHAR,
player VARCHAR,
round VARCHAR,
pick VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Draft, when Round is '9', when Pick is '171', and when Player is 'Dan Wiebe Category:Articles with hCards'?
### Response:
|
SELECT draft FROM table_name_17 WHERE round = "9" AND pick = 171 AND player = "dan wiebe category:articles with hcards"
|
### Instruction:
CREATE TABLE table_22341 (
"City of license /Market" text,
"Station" text,
"Channel ( TV / RF )" text,
"Owned Since" real,
"Affiliation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the minimum stations owned since kero-tv?
### Response:
|
SELECT MIN("Owned Since") FROM table_22341 WHERE "Station" = 'KERO-TV'
|
### Instruction:
CREATE TABLE table_28847 (
"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 were the candidates if the incumbent was Henry Logan?
### Response:
|
SELECT "Candidates" FROM table_28847 WHERE "Incumbent" = 'Henry Logan'
|
### Instruction:
CREATE TABLE table_27966 (
"Series #" real,
"Season #" real,
"Title" text,
"Director" text,
"Writer(s)" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 'the charlotte letter' is the title what is the air date?
### Response:
|
SELECT "Original air date" FROM table_27966 WHERE "Title" = 'The Charlotte Letter'
|
### Instruction:
CREATE TABLE table_name_62 (
enrollment INTEGER,
founded VARCHAR,
location VARCHAR,
affiliation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the total enrollment of public schools located in Buffalo, New York that were founded after 1846?
### Response:
|
SELECT SUM(enrollment) FROM table_name_62 WHERE location = "buffalo, new york" AND affiliation = "public" AND founded > 1846
|
### Instruction:
CREATE TABLE table_203_502 (
id number,
"team" text,
"titles" number,
"runner-up" number,
"third place" number,
"fourth place" number,
"years participated" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which school has participated the longest number of years ?
### Response:
|
SELECT "team" FROM table_203_502 ORDER BY "years participated" DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_36132 (
"Year" real,
"Electors" real,
"Votes" text,
"Share of votes" text,
"Candidate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total of electors when the share of votes was 11,0%?
### Response:
|
SELECT SUM("Electors") FROM table_36132 WHERE "Share of votes" = '11,0%'
|
### Instruction:
CREATE TABLE table_name_49 (
goals_for INTEGER,
goals_against VARCHAR,
position VARCHAR,
draw VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average goals for with a position under 12, draws over 1, and goals against under 28?
### Response:
|
SELECT AVG(goals_for) FROM table_name_49 WHERE position < 12 AND draw > 1 AND goals_against < 28
|
### Instruction:
CREATE TABLE table_57493 (
"Actor" text,
"Character" text,
"Duration" text,
"No. of series" text,
"Episodes" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What character is played by dani harmer for under 23 episodes?
### Response:
|
SELECT "Character" FROM table_57493 WHERE "Episodes" < '23' AND "Actor" = 'dani harmer'
|
### Instruction:
CREATE TABLE table_name_87 (
pick__number INTEGER,
round VARCHAR,
position VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average value for Pick #, when Position is Linebacker, when Player is Bob Bruenig, and when Round is less than 3?
### Response:
|
SELECT AVG(pick__number) FROM table_name_87 WHERE position = "linebacker" AND player = "bob bruenig" AND round < 3
|
### Instruction:
CREATE TABLE table_name_7 (
winning_driver VARCHAR,
fastest_lap VARCHAR,
most_laps_led VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Winning Driver, when Fastest Lap is Ryan Hunter-Reay, and when Most Laps Led is Ryan Briscoe?
### Response:
|
SELECT winning_driver FROM table_name_7 WHERE fastest_lap = "ryan hunter-reay" AND most_laps_led = "ryan briscoe"
|
### Instruction:
CREATE TABLE table_204_223 (
id number,
"party" text,
"previous council" number,
"staying councillors" number,
"seats up for election" number,
"election result" number,
"new council" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the first party listed on this chart ?
### Response:
|
SELECT "party" FROM table_204_223 WHERE id = 1
|
### Instruction:
CREATE TABLE table_20359 (
"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 above.
-- How many games were played in the season?
### Response:
|
SELECT MAX("Game") FROM table_20359
|
### Instruction:
CREATE TABLE table_name_53 (
website VARCHAR,
frequency VARCHAR,
city_of_license VARCHAR,
webcast VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which website includes a webcast of listen live, a frequency under 680, and was licensed in the city of San Antonio.
### Response:
|
SELECT website FROM table_name_53 WHERE city_of_license = "san antonio" AND webcast = "listen live" AND frequency = 680
|
### Instruction:
CREATE TABLE table_12634 (
"Golden Rivers" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the lowest against when the draw was at least 0?
### Response:
|
SELECT MIN("Against") FROM table_12634 WHERE "Draws" > '0'
|
### Instruction:
CREATE TABLE table_16850 (
"Player" text,
"No." real,
"Nationality" text,
"Position" text,
"Years for Jazz" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the nationality of the player named Kelly Tripucka?
### Response:
|
SELECT "Nationality" FROM table_16850 WHERE "Player" = 'Kelly Tripucka'
|
### Instruction:
CREATE TABLE table_204_599 (
id number,
"party" text,
"first duma" text,
"second duma" text,
"third duma" text,
"fourth duma" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many parties had more than 50 seats in the third duma ?
### Response:
|
SELECT COUNT("party") FROM table_204_599 WHERE "third duma" > 50
|
### Instruction:
CREATE TABLE table_71250 (
"Date" text,
"Location" text,
"Nature of incident" text,
"Circumstances" text,
"Casualties" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the incident in imam sahib area, kunduz province?
### Response:
|
SELECT "Nature of incident" FROM table_71250 WHERE "Location" = 'imam sahib area, kunduz province'
|
### Instruction:
CREATE TABLE table_8602 (
"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 is the name of the Tournament with Jade Curtis as the opponent?
### Response:
|
SELECT "Tournament" FROM table_8602 WHERE "Opponent" = 'jade curtis'
|
### Instruction:
CREATE TABLE table_39450 (
"PRINT NAME" text,
"NICKNAME" text,
"NUMBER OF COLORS" text,
"FRAMED SIZE" text,
"DATE COMPLETED" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the Little Tavern completed?
### Response:
|
SELECT "DATE COMPLETED" FROM table_39450 WHERE "NICKNAME" = 'little tavern'
|
### Instruction:
CREATE TABLE table_name_96 (
career_sr VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which 2011 has a 1999 of A, and a 2004 of 2r, and a Career SR of 0 / 10?
### Response:
|
SELECT 2011 FROM table_name_96 WHERE 1999 = "a" AND 2004 = "2r" AND career_sr = "0 / 10"
|
### Instruction:
CREATE TABLE table_62602 (
"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.
-- WHAT COUNTRY HAS A PLAYER NAMED JACK NICKLAUS?
### Response:
|
SELECT "Country" FROM table_62602 WHERE "Player" = 'jack nicklaus'
|
### Instruction:
CREATE TABLE table_203_230 (
id number,
"place" text,
"player" text,
"country" text,
"score" text,
"to par" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many players are below tiger woods
### Response:
|
SELECT COUNT("player") FROM table_203_230 WHERE id > (SELECT id FROM table_203_230 WHERE "player" = 'tiger woods')
|
### Instruction:
CREATE TABLE table_9242 (
"Player" text,
"Att." real,
"Yards" real,
"Avg." real,
"Fumbles" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Buck Pierce's highest average when there were less than 2 fumbles?
### Response:
|
SELECT MAX("Avg.") FROM table_9242 WHERE "Player" = 'buck pierce' AND "Fumbles" < '2'
|
### Instruction:
CREATE TABLE table_name_31 (
games_played INTEGER,
goals_for VARCHAR,
losses VARCHAR,
wins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the sum of games played when the losses is less than 7, the wins is 6 and the goals for is more than 76?
### Response:
|
SELECT SUM(games_played) FROM table_name_31 WHERE losses < 7 AND wins = 6 AND goals_for > 76
|
### Instruction:
CREATE TABLE table_43369 (
"Season" text,
"Competition" text,
"Round" text,
"Opponent" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Season when the Opponent was zenit st. petersburg?
### Response:
|
SELECT "Season" FROM table_43369 WHERE "Opponent" = 'zenit st. petersburg'
|
### Instruction:
CREATE TABLE table_204_840 (
id number,
"no. in\nseries" number,
"no. in\nseason" number,
"title" text,
"directed by" text,
"written by" text,
"original air date" text,
"prod. code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many episodes are listed ?
### Response:
|
SELECT COUNT(*) FROM table_204_840
|
### Instruction:
CREATE TABLE table_30964 (
"Episode" real,
"Broadcast date" text,
"Guest(s)" text,
"Singer(s)" text,
"Ratings" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who guest starred on the episode with a 1.44m rating
### Response:
|
SELECT "Guest(s)" FROM table_30964 WHERE "Ratings" = '1.44m'
|
### Instruction:
CREATE TABLE table_44899 (
"Team" text,
"Coach" text,
"Home Ground" text,
"Location" text,
"Founded" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is the club that was founded in 1946 located that has an unknown coach?
### Response:
|
SELECT "Location" FROM table_44899 WHERE "Coach" = 'unknown' AND "Founded" = '1946'
|
### Instruction:
CREATE TABLE table_204_192 (
id number,
"year" number,
"team" text,
"co-drivers" text,
"car" text,
"class" text,
"laps" number,
"pos." text,
"class\npos." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number of team ?
### Response:
|
SELECT COUNT("team") FROM table_204_192
|
### Instruction:
CREATE TABLE table_32070 (
"Class" text,
"Type" text,
"No. Converted" real,
"Year Converted" text,
"No. range" text,
"Operator" text,
"Withdrawn" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the number range for 4vip
### Response:
|
SELECT "No. range" FROM table_32070 WHERE "Type" = '4vip'
|
### Instruction:
CREATE TABLE table_45063 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the to par that goes with the score 68-74-69=211?
### Response:
|
SELECT "To par" FROM table_45063 WHERE "Score" = '68-74-69=211'
|
### Instruction:
CREATE TABLE table_12420 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest number of silver medals for a nation with fewer than 1 bronze?
### Response:
|
SELECT MIN("Silver") FROM table_12420 WHERE "Bronze" < '1'
|
### Instruction:
CREATE TABLE table_28728 (
"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 was the incumbent in the Ohio 10 district?
### Response:
|
SELECT "Incumbent" FROM table_28728 WHERE "District" = 'Ohio 10'
|
### Instruction:
CREATE TABLE table_57950 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What grid for jacques villeneuve with over 36 laps?
### Response:
|
SELECT MAX("Grid") FROM table_57950 WHERE "Driver" = 'jacques villeneuve' AND "Laps" > '36'
|
### Instruction:
CREATE TABLE table_71215 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the average attendance at a game when the record was 6-13?
### Response:
|
SELECT AVG("Attendance") FROM table_71215 WHERE "Record" = '6-13'
|
### Instruction:
CREATE TABLE table_75283 (
"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 edmonton oilers, and a Score of 3 6?
### Response:
|
SELECT "Record" FROM table_75283 WHERE "Home" = 'edmonton oilers' AND "Score" = '3–6'
|
### Instruction:
CREATE TABLE table_name_97 (
date VARCHAR,
partner VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Date when christophe rochus was partner, and the score was 2 6, 7 6 (7 5) , 0 6?
### Response:
|
SELECT date FROM table_name_97 WHERE partner = "christophe rochus" AND score = "2–6, 7–6 (7–5) , 0–6"
|
### Instruction:
CREATE TABLE table_7032 (
"Year" real,
"Production" text,
"Composer" text,
"Conductor" text,
"Director" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Conductor of the Three Pintos (Die Drei Pintos) Production?
### Response:
|
SELECT "Conductor" FROM table_7032 WHERE "Production" = 'the three pintos (die drei pintos)'
|
### Instruction:
CREATE TABLE table_56211 (
"Class" text,
"Wheel arrangement" text,
"Manufacturer" text,
"Year made" text,
"Quantity made" text,
"Quantity preserved" text,
"Year(s) withdrawn" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the year for hercules
### Response:
|
SELECT "Year made" FROM table_56211 WHERE "Class" = 'hercules'
|
### Instruction:
CREATE TABLE table_name_36 (
pavilion_depth VARCHAR,
brilliance_grade VARCHAR,
pavilion_angle VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Pavilion depth has a Brilliance Grade of 100% and a Pavilion angle of n/a?
### Response:
|
SELECT pavilion_depth FROM table_name_36 WHERE brilliance_grade = "100%" AND pavilion_angle = "n/a"
|
### Instruction:
CREATE TABLE table_203_868 (
id number,
"frequency band" text,
"band number" number,
"radio interface" text,
"generation" text,
"status" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what are the number of times 4g is listed as the generation ?
### Response:
|
SELECT COUNT(*) FROM table_203_868 WHERE "generation" = '4g'
|
### Instruction:
CREATE TABLE table_name_47 (
goals_conceded VARCHAR,
wins VARCHAR,
draws VARCHAR,
loses VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the total number of Goals conceded when there were more than 4 losses, less than 5 draws, and more than 9 wins?
### Response:
|
SELECT COUNT(goals_conceded) FROM table_name_47 WHERE draws < 5 AND loses > 4 AND wins > 9
|
### Instruction:
CREATE TABLE table_43111 (
"Team" text,
"Dance" text,
"Music" text,
"Points jury" text,
"Place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Place has a Points Jury of 34 (7,8,9,10)?
### Response:
|
SELECT "Place" FROM table_43111 WHERE "Points jury" = '34 (7,8,9,10)'
|
### Instruction:
CREATE TABLE table_29992 (
"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 player belongs to the Chicago Blackhawks?
### Response:
|
SELECT "Player" FROM table_29992 WHERE "NHL team" = 'Chicago Blackhawks'
|
### Instruction:
CREATE TABLE table_name_10 (
long INTEGER,
avg_g VARCHAR,
loss VARCHAR,
gain VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the long with a loss lower than 133 and more than 0 gain with an avg/G of 29.8?
### Response:
|
SELECT AVG(long) FROM table_name_10 WHERE loss < 133 AND gain > 0 AND avg_g = 29.8
|
### Instruction:
CREATE TABLE table_62546 (
"Name in English" text,
"Name in Malay" text,
"Acronym" text,
"Foundation" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the foundation for the institution whose name in English is tanjung puteri technical secondary school?
### Response:
|
SELECT "Foundation" FROM table_62546 WHERE "Name in English" = 'tanjung puteri technical secondary school'
|
### Instruction:
CREATE TABLE table_64303 (
"Year" real,
"Chinese Title" text,
"English" text,
"Role" text,
"Character" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the main role a character named Guan Yu ( )?
### Response:
|
SELECT MIN("Year") FROM table_64303 WHERE "Role" = 'main' AND "Character" = 'guan yu (關羽)'
|
### Instruction:
CREATE TABLE table_name_61 (
sample_size VARCHAR,
poll_source VARCHAR,
date_s__administered VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people participated in the Rasmussen Reports poll on October 13, 2010?
### Response:
|
SELECT sample_size FROM table_name_61 WHERE poll_source = "rasmussen reports" AND date_s__administered = "october 13, 2010"
|
### Instruction:
CREATE TABLE table_44879 (
"Name" text,
"Team" text,
"Qual 1" text,
"Qual 2" text,
"Best" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Best of the racer with a Qual 2 of 1:00.588?
### Response:
|
SELECT "Best" FROM table_44879 WHERE "Qual 2" = '1:00.588'
|
### Instruction:
CREATE TABLE table_24916 (
"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.
-- How many teams did Farhad Kazemi leave?
### Response:
|
SELECT COUNT("Team") FROM table_24916 WHERE "Outgoing manager" = 'Farhad Kazemi'
|
### Instruction:
CREATE TABLE table_55188 (
"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.
-- Who played Collingwood?
### Response:
|
SELECT "Away team" FROM table_55188 WHERE "Home team" = 'collingwood'
|
### Instruction:
CREATE TABLE table_64699 (
"Player" text,
"Matches" text,
"Runs" text,
"Balls" text,
"Strike Rate" text,
"Average" text,
"100s" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What strike rate is 9 the matches?
### Response:
|
SELECT "Strike Rate" FROM table_64699 WHERE "Matches" = '9'
|
### Instruction:
CREATE TABLE table_75928 (
"Outcome" text,
"Year" real,
"Championship" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the outcome of the match with Roger Federer as the opponent?
### Response:
|
SELECT "Outcome" FROM table_75928 WHERE "Opponent" = 'roger federer'
|
### Instruction:
CREATE TABLE table_36126 (
"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 Visitor of quebec nordiques with a Score of 4 5?
### Response:
|
SELECT "Record" FROM table_36126 WHERE "Visitor" = 'quebec nordiques' AND "Score" = '4–5'
|
### Instruction:
CREATE TABLE table_1242447_2 (
hebrew_word VARCHAR,
strongs_words_compounded VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the hebrew word for the strongs words compounded of 'adown [# 113] & yahu
### Response:
|
SELECT hebrew_word FROM table_1242447_2 WHERE strongs_words_compounded = "'adown [# 113] & Yahu"
|
### Instruction:
CREATE TABLE table_name_32 (
average_ratings VARCHAR,
japanese_title VARCHAR,
episodes VARCHAR,
tv_station VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the Ratings of Japanese Title episode 11 on Fuji TV station?
### Response:
|
SELECT average_ratings FROM table_name_32 WHERE episodes = "11" AND tv_station = "fuji tv" AND japanese_title = "プロポーズ大作戦"
|
### Instruction:
CREATE TABLE table_33208 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Stadium" text,
"Record" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the game at RIch Stadium?
### Response:
|
SELECT "Result" FROM table_33208 WHERE "Stadium" = 'rich stadium'
|
### Instruction:
CREATE TABLE table_20231 (
"Date" text,
"Cover model" text,
"Centerfold model" text,
"Interview subject" text,
"20 Questions" text,
"Pictorials" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was interviewed in the 8-98 issue?
### Response:
|
SELECT "Interview subject" FROM table_20231 WHERE "Date" = '8-98'
|
### Instruction:
CREATE TABLE table_8619 (
"Grade" text,
"Dates" text,
"School" text,
"Location" text,
"Type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the dates for Honolulu, Hawaii in Kindergarten?
### Response:
|
SELECT "Dates" FROM table_8619 WHERE "Location" = 'honolulu, hawaii' AND "Grade" = 'kindergarten'
|
### Instruction:
CREATE TABLE table_24998 (
"Province, Community" text,
"Contestant" text,
"Age" real,
"Height" text,
"Hometown" text,
"Geographical Regions" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How tall is contestant Alexandra D az Bello?
### Response:
|
SELECT "Height" FROM table_24998 WHERE "Contestant" = 'Alexandra Díaz Bello'
|
### Instruction:
CREATE TABLE table_203_612 (
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 have at least 20 gold medals ?
### Response:
|
SELECT COUNT("nation") FROM table_203_612 WHERE "gold" >= 20
|
### Instruction:
CREATE TABLE table_18273 (
"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.
-- In what district is the incumbent Lawrence J. Smith?
### Response:
|
SELECT "District" FROM table_18273 WHERE "Incumbent" = 'Lawrence J. Smith'
|
### Instruction:
CREATE TABLE table_204_683 (
id number,
"no." number,
"constituency" text,
"winner candidate" text,
"party" text,
"votes" number,
"margin" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the average number of votes for the first 5 elections ?
### Response:
|
SELECT AVG("votes") FROM table_204_683 WHERE "no." <= 5
|
### Instruction:
CREATE TABLE table_52655 (
"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 for alexander wurz with a grid under 12?
### Response:
|
SELECT COUNT("Laps") FROM table_52655 WHERE "Grid" < '12' AND "Driver" = 'alexander wurz'
|
### Instruction:
CREATE TABLE table_71010 (
"From" text,
"Until" text,
"Name" text,
"Party" text,
"Function" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which party is associated with a leader who began his tenure on June 13, 2007?
### Response:
|
SELECT "Party" FROM table_71010 WHERE "From" = 'june 13, 2007'
|
### Instruction:
CREATE TABLE table_11979 (
"Entrant" text,
"Constructor" text,
"Chassis" text,
"Engine" text,
"Tyre" text,
"Driver" text,
"Rounds" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the entrant for Gary Brabham?
### Response:
|
SELECT "Entrant" FROM table_11979 WHERE "Driver" = 'gary brabham'
|
### Instruction:
CREATE TABLE table_30765 (
"Branding" text,
"Callsign" text,
"Frequency" text,
"Power (kW)" text,
"Station Type" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What type of station is within the 972khz frequency?
### Response:
|
SELECT "Station Type" FROM table_30765 WHERE "Frequency" = '972kHz'
|
### Instruction:
CREATE TABLE table_1315616_1 (
date VARCHAR,
mediator VARCHAR,
red_team_host VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date was Keiichi Ubukata the mediator and Mitsuko Mori the red team host?
### Response:
|
SELECT date FROM table_1315616_1 WHERE mediator = "Keiichi Ubukata" AND red_team_host = "Mitsuko Mori"
|
### Instruction:
CREATE TABLE table_10449 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people attended the match on 1/11?
### Response:
|
SELECT "Attendance" FROM table_10449 WHERE "Date" = '1/11'
|
### Instruction:
CREATE TABLE table_12313 (
"Date" text,
"Location" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date has a result of win, in a friendly competition in Porto?
### Response:
|
SELECT "Date" FROM table_12313 WHERE "Result" = 'win' AND "Competition" = 'friendly' AND "Location" = 'porto'
|
### Instruction:
CREATE TABLE table_77353 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Record" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date was the result w 28 7?
### Response:
|
SELECT "Date" FROM table_77353 WHERE "Result" = 'w 28–7'
|
### Instruction:
CREATE TABLE table_203_139 (
id number,
"name" text,
"abbr." text,
"leader" text,
"ideology" text,
"political position" text,
"mps" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- there are at least 10 mps for how many political parties ?
### Response:
|
SELECT COUNT(*) FROM table_203_139 WHERE "mps" >= 10
|
### Instruction:
CREATE TABLE table_79403 (
"Hampden FL" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the losses when the byes were less than 0?
### Response:
|
SELECT MIN("Losses") FROM table_79403 WHERE "Byes" < '0'
|
### Instruction:
CREATE TABLE table_5550 (
"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 is the date of the tournament with Alena Tarasova as the opponent?
### Response:
|
SELECT "Date" FROM table_5550 WHERE "Opponent" = 'alena tarasova'
|
### Instruction:
CREATE TABLE table_76458 (
"Place" text,
"Code" real,
"Area (km 2 )" real,
"Population" real,
"Most spoken language" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total code number for places with a population greater than 87,585?
### Response:
|
SELECT COUNT("Code") FROM table_76458 WHERE "Population" > '87,585'
|
### Instruction:
CREATE TABLE table_203_193 (
id number,
"ship name" text,
"in service" number,
"project number" text,
"type" text,
"class" text,
"comments" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the difference in years between the first ship put into service and the last ?
### Response:
|
SELECT MAX("in service") - MIN("in service") FROM table_203_193
|
### Instruction:
CREATE TABLE table_52956 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which driver has a grid value larger than 11, and drove more than 52 laps?
### Response:
|
SELECT "Driver" FROM table_52956 WHERE "Grid" > '11' AND "Laps" > '52'
|
### Instruction:
CREATE TABLE table_3191 (
"Episode #" real,
"Production Count" real,
"Original Airdate" text,
"Prod. Code" text,
"Title" text,
"Viewing figures millions" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the production count of 'The Mayor of Northolt'?
### Response:
|
SELECT "Production Count" FROM table_3191 WHERE "Title" = 'The Mayor Of Northolt'
|
### Instruction:
CREATE TABLE table_47490 (
"Game" real,
"November" real,
"Opponent" text,
"Score" text,
"Decision" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest game number with a record of 16-7-2?
### Response:
|
SELECT MIN("Game") FROM table_47490 WHERE "Record" = '16-7-2'
|
### Instruction:
CREATE TABLE table_34773 (
"Nation" text,
"Skip" text,
"Third" text,
"Second" text,
"Lead" text,
"Alternate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the second for the team with alternate Margarita Fomina?
### Response:
|
SELECT "Second" FROM table_34773 WHERE "Alternate" = 'margarita fomina'
|
### Instruction:
CREATE TABLE table_name_67 (
margin_of_victory VARCHAR,
winning_score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the margin of victory when the winning score was 12 (66-67-64-71=268)?
### Response:
|
SELECT margin_of_victory FROM table_name_67 WHERE winning_score = −12(66 - 67 - 64 - 71 = 268)
|
### Instruction:
CREATE TABLE table_name_85 (
swimsuit INTEGER,
interview VARCHAR,
evening_gown VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest swimsuit score where the contestant scored less than 8.56 in the interview and greater than 8.54 in the evening gown?
### Response:
|
SELECT MIN(swimsuit) FROM table_name_85 WHERE interview < 8.56 AND evening_gown > 8.54
|
### Instruction:
CREATE TABLE table_248 (
"Comparisons" text,
"Hub Base Class" text,
"Emulated Class" text,
"Semi-DDM Class" text,
"DDM Class" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Is usb re-enumeration required part of the emulated class?
### Response:
|
SELECT "Emulated Class" FROM table_248 WHERE "Comparisons" = 'USB RE-Enumeration Required'
|
### Instruction:
CREATE TABLE table_45994 (
"Player" text,
"Nationality" text,
"Jersey Number(s)" real,
"Position" text,
"Years" text,
"From" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which position was played by the player wearing jersey number 40?
### Response:
|
SELECT "Position" FROM table_45994 WHERE "Jersey Number(s)" = '40'
|
### Instruction:
CREATE TABLE table_39586 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the game with 26,236 attendance, what was the record?
### Response:
|
SELECT "Record" FROM table_39586 WHERE "Attendance" = '26,236'
|
### Instruction:
CREATE TABLE table_6078 (
"Image" text,
"Father" text,
"Birth" text,
"Ceased to be Duchess" text,
"Death" text,
"Husband" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the death date of elisabeth of lorraine?
### Response:
|
SELECT "Death" FROM table_6078 WHERE "Image" = 'elisabeth of lorraine'
|
### Instruction:
CREATE TABLE table_204_887 (
id number,
"district" number,
"representative" text,
"party" text,
"residence" text,
"counties represented" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- this first district representative lives in devil 's tower .
### Response:
|
SELECT "representative" FROM table_204_887 WHERE "residence" = 'devils tower' ORDER BY id LIMIT 1
|
### Instruction:
CREATE TABLE table_54135 (
"Player" text,
"Rec." real,
"Yards" real,
"Avg." real,
"TD's" real,
"Long" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of yards recorded for a player that had more than 4 TD's?
### Response:
|
SELECT MAX("Yards") FROM table_54135 WHERE "TD's" > '4'
|
### Instruction:
CREATE TABLE table_50470 (
"School Year" text,
"Football" text,
"Cross Country" text,
"Soccer" text,
"Golf" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which foot ball team played soccer at wooster, and Gold in Ashland?
### Response:
|
SELECT "Football" FROM table_50470 WHERE "Soccer" = 'wooster' AND "Golf" = 'ashland'
|
### Instruction:
CREATE TABLE table_37892 (
"Date" text,
"Round" text,
"Opponents" text,
"H / A" text,
"Result F \u2013 A" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the game played in hurst?
### Response:
|
SELECT "Result F \u2013 A" FROM table_37892 WHERE "H / A" = 'hurst'
|
### Instruction:
CREATE TABLE table_5936 (
"Medium" text,
"Title" text,
"Date" text,
"Theatre, Studio, or Network" text,
"Role" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Morison's role in the film by Film Classics?
### Response:
|
SELECT "Role" FROM table_5936 WHERE "Medium" = 'film' AND "Theatre, Studio, or Network" = 'film classics'
|
### Instruction:
CREATE TABLE table_name_72 (
rank__pakistan_ VARCHAR,
world_rank VARCHAR,
height__m_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Rank (Pakistan) of the mountain that has a World Rank smaller than 11 and a Height smaller than 8126?
### Response:
|
SELECT COUNT(rank__pakistan_) FROM table_name_72 WHERE world_rank < 11 AND height__m_ < 8126
|
### Instruction:
CREATE TABLE table_69764 (
"Value" real,
"Khmer" real,
"Word Form" text,
"UNGEGN" text,
"ALA-LC" text,
"Other" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much is the total value of kau s b UNGEGN ?
### Response:
|
SELECT SUM("Value") FROM table_69764 WHERE "UNGEGN" = 'kau sĕb'
|
### Instruction:
CREATE TABLE table_name_39 (
polyunsaturated_fat VARCHAR,
total_fat VARCHAR,
saturated_fat VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the polyunsaturated fat with total fat of 100g and saturated fat of 7g
### Response:
|
SELECT polyunsaturated_fat FROM table_name_39 WHERE total_fat = "100g" AND saturated_fat = "7g"
|
### Instruction:
CREATE TABLE table_21375 (
"Official Name" text,
"Status" text,
"Area km 2" text,
"Population" real,
"Census Ranking" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What rank is the parish with 482.81 km^2?
### Response:
|
SELECT "Census Ranking" FROM table_21375 WHERE "Area km 2" = '482.81'
|
### Instruction:
CREATE TABLE table_58208 (
"Player" text,
"Height" text,
"School" text,
"Hometown" text,
"College" text,
"NBA Draft" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the NBA draft result of the player from Kingston, PA?
### Response:
|
SELECT "NBA Draft" FROM table_58208 WHERE "Hometown" = 'kingston, pa'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.