instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_61004 (
"Date" text,
"Opponent" text,
"Home/Away" text,
"Field" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What field had results of w 18-12?
### Response:
| SELECT "Field" FROM table_61004 WHERE "Result" = 'w 18-12' |
### Instruction:
CREATE TABLE table_8733 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What game was the final score 82-79?
### Response:
| SELECT "Game" FROM table_8733 WHERE "Score" = '82-79' |
### Instruction:
CREATE TABLE table_28495 (
"Week #" text,
"Theme" text,
"Song choice" text,
"Original artist" text,
"Order #" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the original artist of the group performance the... | SELECT "Original artist" FROM table_28495 WHERE "Theme" = 'Group Performance' |
### Instruction:
CREATE TABLE table_203_291 (
id number,
"round" number,
"pick" number,
"player" text,
"position" text,
"school/club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- the last player picked came from what school ?
### Respon... | SELECT "school/club team" FROM table_203_291 ORDER BY "pick" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_203_213 (
id number,
"name" text,
"builder" text,
"type" text,
"date" text,
"works number" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the last locomotive ?
### Response:
| SELECT "name" FROM table_203_213 ORDER BY "date" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_16494599_4 (
no INTEGER,
years_for_grizzlies VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What number does the player who was with the grizzles in 1999 wear?
### Response:
| SELECT MIN(no) FROM table_16494599_4 WHERE years_for_grizzlies = "1999" |
### Instruction:
CREATE TABLE table_57960 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalogue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which region was on June 8, 2004?
### Response:
| SELECT "Region" FROM table_57960 WHERE "Date" = 'june 8, 2004' |
### Instruction:
CREATE TABLE table_name_68 (
first_airdate VARCHAR,
episodes VARCHAR,
nielsen_ranking VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the first airdate or the season that had less than 24 episodes and a Nielsen ranking of #38?
... | SELECT first_airdate FROM table_name_68 WHERE episodes < 24 AND nielsen_ranking = "#38" |
### Instruction:
CREATE TABLE table_13836704_4 (
airport VARCHAR,
total_passengers_2009 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the airport with total passengers 2009 being 157933
### Response:
| SELECT airport FROM table_13836704_4 WHERE total_passengers_2009 = 157933 |
### Instruction:
CREATE TABLE table_55686 (
"Season" real,
"Series Name" text,
"Champion" text,
"Team Champion" text,
"Secondary Class Champion" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the series name where cram competition is the tea... | SELECT "Series Name" FROM table_55686 WHERE "Team Champion" = 'cram competition' |
### Instruction:
CREATE TABLE table_58329 (
"Aircraft" text,
"Origin" text,
"Role" text,
"Registration" text,
"Number" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the country of origin of the aircraft with a registration s5-hpb?
### Res... | SELECT "Origin" FROM table_58329 WHERE "Registration" = 's5-hpb' |
### Instruction:
CREATE TABLE table_75659 (
"Rank" real,
"Municipality" text,
"Province" text,
"Status" text,
"Area (km 2 )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Municipality has a Rank of 44?
### Response:
| SELECT "Municipality" FROM table_75659 WHERE "Rank" = '44' |
### Instruction:
CREATE TABLE table_58243 (
"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 total when the rank is 4?
### Response:
| SELECT "Total" FROM table_58243 WHERE "Rank" = '4' |
### Instruction:
CREATE TABLE table_5793 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which To par has a Place in t9 and a Country of Spain?
### Response:
| SELECT "To par" FROM table_5793 WHERE "Place" = 't9' AND "Country" = 'spain' |
### Instruction:
CREATE TABLE table_name_20 (
model VARCHAR,
builder__family_ VARCHAR,
power_output__kw_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What model has a builder of zhuzhou, and a power output of 9600 (kw)?
### Response:
| SELECT model FROM table_name_20 WHERE builder__family_ = "zhuzhou" AND power_output__kw_ = "9600" |
### Instruction:
CREATE TABLE table_name_85 (
assists VARCHAR,
pims VARCHAR,
goals VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of assists of the player with 0 goals, more than 1 points, and more than 0 pims... | SELECT COUNT(assists) FROM table_name_85 WHERE goals = 0 AND points > 1 AND pims > 0 |
### Instruction:
CREATE TABLE table_75862 (
"Round #" real,
"Pick #" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the College with a Round # that is 290?
### Response:
| SELECT "College" FROM table_75862 WHERE "Round #" = '290' |
### Instruction:
CREATE TABLE table_name_71 (
voltage VARCHAR,
l2_cache VARCHAR,
turbo VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the voltage when the L2 cache is 2 256 kb and the turbo is 5/8?
### Response:
| SELECT voltage FROM table_name_71 WHERE l2_cache = "2 × 256 kb" AND turbo = "5/8" |
### Instruction:
CREATE TABLE table_name_88 (
years VARCHAR,
actor VARCHAR,
soap_opera VARCHAR,
duration VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What years did Marienhof run, which featured Leonore Capell and lasted 10 years?
### Response:
| SELECT years FROM table_name_88 WHERE soap_opera = "marienhof" AND duration = "10 years" AND actor = "leonore capell" |
### Instruction:
CREATE TABLE table_77282 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance when they played at Detroit Lions?
### Response:
| SELECT "Attendance" FROM table_77282 WHERE "Opponent" = 'at detroit lions' |
### Instruction:
CREATE TABLE table_34016 (
"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 is the result when 13 is the week?
### Response:
| SELECT "Result" FROM table_34016 WHERE "Week" = '13' |
### Instruction:
CREATE TABLE table_7986 (
"Frequency" text,
"Call sign" text,
"Branding" text,
"Format" text,
"Owner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which call sign has a frequency of FM 105.3?
### Response:
| SELECT "Call sign" FROM table_7986 WHERE "Frequency" = 'fm 105.3' |
### Instruction:
CREATE TABLE table_63093 (
"Year" real,
"Organisation" text,
"Award" text,
"Nominated Work Title" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result for the award for best current affairs presenter?
... | SELECT "Result" FROM table_63093 WHERE "Award" = 'best current affairs presenter' |
### Instruction:
CREATE TABLE table_35190 (
"Year" real,
"Class" text,
"Team" text,
"Points" real,
"Rank" text,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average points won when Carlos had 0 wins?
### Response:
| SELECT AVG("Points") FROM table_35190 WHERE "Wins" < '0' |
### Instruction:
CREATE TABLE table_47701 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team was home, when the record was 24 16 6?
### Response:
| SELECT "Home" FROM table_47701 WHERE "Record" = '24–16–6' |
### Instruction:
CREATE TABLE table_68062 (
"Goal #" real,
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the result for goal # more than 4
### Response:
| SELECT "Result" FROM table_68062 WHERE "Goal #" > '4' |
### Instruction:
CREATE TABLE table_203_266 (
id number,
"group" text,
"members" number,
"caucusing" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total amount of members in the socialist group not including caucusing ... | SELECT "members" FROM table_203_266 WHERE "group" = 'socialist group' |
### Instruction:
CREATE TABLE table_name_71 (
date_of_birth__age_ VARCHAR,
club_province VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was Tomokazu Soma born who plays for the wild knights?
### Response:
| SELECT date_of_birth__age_ FROM table_name_71 WHERE club_province = "wild knights" AND player = "tomokazu soma" |
### Instruction:
CREATE TABLE table_70226 (
"Year" real,
"Team" text,
"Co-Drivers" text,
"Class" text,
"Pos." text,
"Class Pos." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which class has a Class Position of 6th?
### Response:
| SELECT "Class" FROM table_70226 WHERE "Class Pos." = '6th' |
### Instruction:
CREATE TABLE table_9064 (
"Name" text,
"Lifetime" text,
"Nationality" text,
"Sport" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which name has notes b and the game of tennis?
### Response:
| SELECT "Name" FROM table_9064 WHERE "Sport" = 'tennis' AND "Notes" = 'b' |
### Instruction:
CREATE TABLE table_12562214_1 (
date__from_ VARCHAR,
notes VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the date (from) where the notes are apeldoornsche tramweg-maatschappij?
### Response:
| SELECT date__from_ FROM table_12562214_1 WHERE notes = "Apeldoornsche Tramweg-Maatschappij" |
### Instruction:
CREATE TABLE table_71259 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which engine has a Lotus 49c chassis?
### Response:
| SELECT "Engine" FROM table_71259 WHERE "Chassis" = 'lotus 49c' |
### Instruction:
CREATE TABLE table_68397 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Entrant of stp march engineering scored the lowest points?
### Response:
| SELECT MIN("Points") FROM table_68397 WHERE "Entrant" = 'stp march engineering' |
### Instruction:
CREATE TABLE table_61988 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE TOTAL WITH A TO PAR OF 10?
### Response:
| SELECT MAX("Total") FROM table_61988 WHERE "To par" = '10' |
### Instruction:
CREATE TABLE table_53043 (
"Round" real,
"Pick" real,
"Player" text,
"Nationality" text,
"School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which is the biggest pick for Naperville Central High School?
### Response:
| SELECT MAX("Pick") FROM table_53043 WHERE "School" = 'naperville central high school' |
### Instruction:
CREATE TABLE table_10294071_1 (
singles_w_l VARCHAR,
doubles_w_l VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number of singles w l where doubles w l is 11 14
### Response:
| SELECT COUNT(singles_w_l) FROM table_10294071_1 WHERE doubles_w_l = "11–14" |
### Instruction:
CREATE TABLE table_72027 (
"Name" text,
"Reign" real,
"Days held" text,
"Location" text,
"Defenses" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest defense a champion with 345 days held has?
### Response:
| SELECT MIN("Defenses") FROM table_72027 WHERE "Days held" = '345' |
### Instruction:
CREATE TABLE table_name_42 (
diameter__km_ INTEGER,
longitude VARCHAR,
year_named VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the diameter when longitude is 105.0e before 2003?
### Response:
| SELECT SUM(diameter__km_) FROM table_name_42 WHERE longitude = "105.0e" AND year_named < 2003 |
### Instruction:
CREATE TABLE table_28138035_13 (
mens_singles VARCHAR,
womens_singles VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won in the men singles group in the year when Yoshie Takada won in the women singles?
### Response:
| SELECT mens_singles FROM table_28138035_13 WHERE womens_singles = "Yoshie Takada" |
### Instruction:
CREATE TABLE table_name_47 (
position VARCHAR,
player VARCHAR,
club_province VARCHAR,
caps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position does Toby Flood, who is from Newcastle and has fewer than 24 caps, play?
### Re... | SELECT position FROM table_name_47 WHERE club_province = "newcastle" AND caps < 24 AND player = "toby flood" |
### Instruction:
CREATE TABLE table_18268826_1 (
written_by VARCHAR,
us_viewers__million_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many episodes by different writers were seen by 3.24 million people in the US?
### Response:
| SELECT COUNT(written_by) FROM table_18268826_1 WHERE us_viewers__million_ = "3.24" |
### Instruction:
CREATE TABLE table_28232443_1 (
year INTEGER,
artist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the first year that kid creole and the coconuts recorded with I Too Have Seen The Woods / Sire Records?
### Response:
| SELECT MIN(year) FROM table_28232443_1 WHERE artist = "Kid Creole and the Coconuts" |
### Instruction:
CREATE TABLE table_76076 (
"Senator" text,
"Party" text,
"District" real,
"Home Town" text,
"Took Office" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year did Senator Ken Armbrister take office?
### Response:
| SELECT "Took Office" FROM table_76076 WHERE "Senator" = 'ken armbrister' |
### Instruction:
CREATE TABLE table_76716 (
"Week" text,
"Theme" text,
"Artist" text,
"Order sung" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What artist's song was performed in the week with theme of Billboard #1?
### Response:... | SELECT "Artist" FROM table_76716 WHERE "Theme" = 'billboard #1' |
### Instruction:
CREATE TABLE table_50022 (
"Speed" text,
"Craft" text,
"Pilot(s)" text,
"Location" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the pilot at lake dumbleyung?
### Response:
| SELECT "Pilot(s)" FROM table_50022 WHERE "Location" = 'lake dumbleyung' |
### Instruction:
CREATE TABLE table_57666 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the attendance with a result of l 26 3
### Response:
| SELECT "Attendance" FROM table_57666 WHERE "Result" = 'l 26–3' |
### Instruction:
CREATE TABLE table_6219 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Result has a Date of 7 june 2000?
### Response:
| SELECT "Result" FROM table_6219 WHERE "Date" = '7 june 2000' |
### Instruction:
CREATE TABLE table_203_843 (
id number,
"record" text,
"date and time" text,
"competition" text,
"home or away" text,
"opponent" text,
"score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many records are on the table ... | SELECT COUNT("record") FROM table_203_843 |
### Instruction:
CREATE TABLE table_66937 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- During the Formula One World Championships, which engine was used in 1965?
### Response... | SELECT "Engine" FROM table_66937 WHERE "Year" = '1965' |
### Instruction:
CREATE TABLE table_15555661_2 (
percentage_of_land_area VARCHAR,
percentage_protected VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the percentage of land area in the ecozone that the percentage protected is 15.28?
### Response:
| SELECT percentage_of_land_area FROM table_15555661_2 WHERE percentage_protected = "15.28" |
### Instruction:
CREATE TABLE table_46143 (
"Title" text,
"Author" text,
"ISBN UK" text,
"ISBN US" text,
"TV companions featured" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is ISBN US, when Title is 'Mission To Venus'?
### Response:
| SELECT "ISBN US" FROM table_46143 WHERE "Title" = 'mission to venus' |
### Instruction:
CREATE TABLE table_43538 (
"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.
-- Which tie number has Bolton Wanderers as away?
### Response:
| SELECT "Tie no" FROM table_43538 WHERE "Away team" = 'bolton wanderers' |
### Instruction:
CREATE TABLE table_8442 (
"Name" text,
"Country" text,
"Role" text,
"Period" text,
"Teams" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which name is on the of fc s te olympique de marseille?
### Response:
| SELECT "Name" FROM table_8442 WHERE "Teams" = 'fc sète olympique de marseille' |
### Instruction:
CREATE TABLE table_name_96 (
to_par INTEGER,
year_s__won VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player who won in 1977 and scored great than 155 was the closest to par?
### Response:
| SELECT MAX(to_par) FROM table_name_96 WHERE year_s__won = "1977" AND total > 155 |
### Instruction:
CREATE TABLE table_12539 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Week has Attendance of 71,740?
### Response:
| SELECT SUM("Week") FROM table_12539 WHERE "Attendance" = '71,740' |
### Instruction:
CREATE TABLE table_28468 (
"Institution" text,
"Location" text,
"Nickname" text,
"Founded" real,
"Enrollment" real,
"Joined" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name where bethany college is
### Response:
| SELECT "Location" FROM table_28468 WHERE "Institution" = 'Bethany College' |
### Instruction:
CREATE TABLE table_22848931_3 (
outgoing_manager VARCHAR,
date_of_vacancy VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the outgoing manager for 10 june 2009
### Response:
| SELECT COUNT(outgoing_manager) FROM table_22848931_3 WHERE date_of_vacancy = "10 June 2009" |
### Instruction:
CREATE TABLE table_13742 (
"Year" real,
"Title" text,
"Director" text,
"Studio(s)" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Studio of the Film directed by Paul Greengrass?
### Response:
| SELECT "Studio(s)" FROM table_13742 WHERE "Director" = 'paul greengrass' |
### Instruction:
CREATE TABLE table_9603 (
"Round" real,
"Pick" real,
"Player" text,
"Position" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average pick for Florida State?
### Response:
| SELECT AVG("Pick") FROM table_9603 WHERE "School/Club Team" = 'florida state' |
### Instruction:
CREATE TABLE table_2301 (
"#" text,
"Date" text,
"at/vs." text,
"Opponent" text,
"Score" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games resulted in a loss?
### Response:
| SELECT "#" FROM table_2301 WHERE "Record" = 'Loss' |
### Instruction:
CREATE TABLE table_45761 (
"Year" real,
"Stage" real,
"Category" text,
"Start" text,
"Finish" text,
"Leader at the summit" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the start of stage 11?
### Response:
| SELECT "Start" FROM table_45761 WHERE "Stage" = '11' |
### Instruction:
CREATE TABLE table_203_102 (
id number,
"event" text,
"performance" text,
"athlete" text,
"nation" text,
"place" text,
"date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in how many places were the records made ?
### Re... | SELECT COUNT(DISTINCT "place") FROM table_203_102 |
### Instruction:
CREATE TABLE table_7658 (
"Opposition" text,
"Span" text,
"Lost" real,
"Tied" real,
"Success Rate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average number of losses when there are more than 0 ties?
### Response:
| SELECT AVG("Lost") FROM table_7658 WHERE "Tied" > '0' |
### Instruction:
CREATE TABLE table_name_83 (
period_active VARCHAR,
release_year_of_first_charted_record VARCHAR,
genre VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the period of a rock album released in 1973?
### Response:
| SELECT period_active FROM table_name_83 WHERE release_year_of_first_charted_record = 1973 AND genre = "rock" |
### Instruction:
CREATE TABLE table_42046 (
"Actual Title" text,
"Writer" text,
"Artist" text,
"Issue" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What isssue has 7th heaven as an actual title?
### Response:
| SELECT "Issue" FROM table_42046 WHERE "Actual Title" = '7th heaven' |
### Instruction:
CREATE TABLE table_204_738 (
id number,
"season" number,
"level" text,
"division" text,
"section" text,
"position" text,
"movements" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times did they finish ninth ?
###... | SELECT COUNT(*) FROM table_204_738 WHERE "position" = 9 |
### Instruction:
CREATE TABLE table_189598_7 (
population__2011_ VARCHAR,
change___percentage_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 4.5 is the percentage of change how many population counts were made for 2011?
### Response:
| SELECT COUNT(population__2011_) FROM table_189598_7 WHERE change___percentage_ = "4.5" |
### Instruction:
CREATE TABLE table_name_96 (
tournament VARCHAR,
opponent VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What tournament had Alberta Brianti as an opponent with a score of 6-4 2-6 6-2?
### Response:
| SELECT tournament FROM table_name_96 WHERE opponent = "alberta brianti" AND score = "6-4 2-6 6-2" |
### Instruction:
CREATE TABLE table_35866 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which round has the record of 5-0?
### Response:
| SELECT "Round" FROM table_35866 WHERE "Record" = '5-0' |
### Instruction:
CREATE TABLE table_79920 (
"Name" text,
"Country" text,
"Status" text,
"Transfer window" text,
"Transfer fee" text,
"Source" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the source for the person named Cresswell?
##... | SELECT "Source" FROM table_79920 WHERE "Name" = 'cresswell' |
### Instruction:
CREATE TABLE table_name_78 (
april_14 VARCHAR,
mar_3 VARCHAR,
april_21 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the April 14 rank when the Mar 3rd is nr, and the April 21 is 13?
### Response:
| SELECT april_14 FROM table_name_78 WHERE mar_3 = "nr" AND april_21 = "13" |
### Instruction:
CREATE TABLE table_17359181_1 (
points_2 INTEGER,
goal_average_1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest value of Points 2 when the goal average is 1.50?
### Response:
| SELECT MIN(points_2) FROM table_17359181_1 WHERE goal_average_1 = "1.50" |
### Instruction:
CREATE TABLE table_37657 (
"Surname" text,
"First" text,
"D.O.B." text,
"Bats" text,
"Throws" text,
"Position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Position did Ruzic play?
### Response:
| SELECT "Position" FROM table_37657 WHERE "Surname" = 'ruzic' |
### Instruction:
CREATE TABLE table_48900 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Date has an Attendance of 54,626?
### Response:
| SELECT "Date" FROM table_48900 WHERE "Attendance" = '54,626' |
### Instruction:
CREATE TABLE table_79356 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the tie no for the home team swansea city?
### Response:
| SELECT "Tie no" FROM table_79356 WHERE "Home team" = 'swansea city' |
### Instruction:
CREATE TABLE table_52042 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the highest week for result of w 38-13
### Response:
| SELECT MAX("Week") FROM table_52042 WHERE "Result" = 'w 38-13' |
### Instruction:
CREATE TABLE table_62403 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which country placed t3 and had the player Fred Couples?
### Response:
| SELECT "Country" FROM table_62403 WHERE "Place" = 't3' AND "Player" = 'fred couples' |
### Instruction:
CREATE TABLE table_name_65 (
games INTEGER,
season VARCHAR,
red_cards VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Games has a Season of 2003/2004, and a Red Cards smaller than 5?
### Response:
| SELECT AVG(games) FROM table_name_65 WHERE season = "2003/2004" AND red_cards < 5 |
### Instruction:
CREATE TABLE table_71463 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date is the MHCL-20004 Catalog?
### Response:
| SELECT "Date" FROM table_71463 WHERE "Catalog" = 'mhcl-20004' |
### Instruction:
CREATE TABLE table_16849531_2 (
protein_identity VARCHAR,
length__bp_aa_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the protein identity with a length of 5304bp/377aa?
### Response:
| SELECT protein_identity FROM table_16849531_2 WHERE length__bp_aa_ = "5304bp/377aa" |
### Instruction:
CREATE TABLE table_25686 (
"Episode Number" text,
"Title" text,
"Villains" text,
"Director" text,
"Writer" text,
"Original airdate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the writer of 'Face Off'?
### Response:... | SELECT "Writer" FROM table_25686 WHERE "Title" = 'Face Off' |
### Instruction:
CREATE TABLE table_57518 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the tie number when the away team is Lewes?
### Response:
| SELECT "Tie no" FROM table_57518 WHERE "Away team" = 'lewes' |
### Instruction:
CREATE TABLE table_74537 (
"Name" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Winning constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the report for 30 july
### Response:
| SELECT "Report" FROM table_74537 WHERE "Date" = '30 july' |
### Instruction:
CREATE TABLE table_name_46 (
sack VARCHAR,
yards VARCHAR,
tackles VARCHAR,
assisted VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many sacks for the player with over 1 tackle, under 3 assisted tackles, and over 0 yards?
### Re... | SELECT COUNT(sack) FROM table_name_46 WHERE tackles > 1 AND assisted < 3 AND yards > 0 |
### Instruction:
CREATE TABLE table_17467578_1 (
written_by VARCHAR,
us_viewers__million_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who wrote the episode 'The Dream Lover', which was viewed by 3.96 million viewers?
### Response:
| SELECT written_by FROM table_17467578_1 WHERE us_viewers__million_ = "3.96" |
### Instruction:
CREATE TABLE table_name_42 (
points INTEGER,
artist VARCHAR,
place VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Points when the artist is kamil mikul k and nela, and the Place is larger than 18?
### Response:
| SELECT AVG(points) FROM table_name_42 WHERE artist = "kamil mikulčík and nela" AND place > 18 |
### Instruction:
CREATE TABLE table_17090 (
"Player" text,
"Position" text,
"School" text,
"Hometown" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who are all the players for st. thomas aquinas high school
### Response:
| SELECT "Player" FROM table_17090 WHERE "School" = 'St. Thomas Aquinas High School' |
### Instruction:
CREATE TABLE table_8764 (
"Callsign" text,
"Frequency" text,
"Band" text,
"On-air ID" text,
"Purpose" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is 4zr's callsign?
### Response:
| SELECT "Callsign" FROM table_8764 WHERE "On-air ID" = '4zr' |
### Instruction:
CREATE TABLE table_71482 (
"Year" text,
"Start" text,
"Qual" text,
"Rank" text,
"Finish" text,
"Laps" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the qualification in 1932?
### Response:
| SELECT "Qual" FROM table_71482 WHERE "Year" = '1932' |
### Instruction:
CREATE TABLE table_7341 (
"Date" text,
"Time" text,
"Home" text,
"Away" text,
"Score" text,
"Ground" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What time was the away game played against the High Park Demons?
### Response:... | SELECT "Time" FROM table_7341 WHERE "Away" = 'high park demons' |
### Instruction:
CREATE TABLE table_61975 (
"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.
-- Who had a finish of t16?
### Response:
| SELECT "Player" FROM table_61975 WHERE "Finish" = 't16' |
### Instruction:
CREATE TABLE table_name_3 (
championship VARCHAR,
surface VARCHAR,
opponent_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Championship with Vitas Gerulaitis as Opponent in the final in a match on Clay Surface?
... | SELECT championship FROM table_name_3 WHERE surface = "clay" AND opponent_in_the_final = "vitas gerulaitis" |
### Instruction:
CREATE TABLE table_64727 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the home team that had an away team of lincoln city?
### Response:
| SELECT "Home team" FROM table_64727 WHERE "Away team" = 'lincoln city' |
### Instruction:
CREATE TABLE table_27714573_1 (
directed_by VARCHAR,
us_viewers__millions_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who are the directors of the episode that had 20.5 millions of north american viewers?
### Response:
| SELECT directed_by FROM table_27714573_1 WHERE us_viewers__millions_ = "20.5" |
### Instruction:
CREATE TABLE table_63385 (
"TIME" text,
"ATHLETE" text,
"SCHOOL" text,
"CITY" text,
"DATE" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Date of the Player from Marshfield High School?
### Response:
| SELECT "DATE" FROM table_63385 WHERE "SCHOOL" = 'marshfield high school' |
### Instruction:
CREATE TABLE table_76463 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the score 56-26?
### Response:
| SELECT "Date" FROM table_76463 WHERE "Record" = '56-26' |
### Instruction:
CREATE TABLE table_203_323 (
id number,
"city" text,
"country" text,
"airport" text,
"begin" number,
"end" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which two destinations were available for less than one year ?
### Res... | SELECT "city" FROM table_203_323 WHERE "end" - "begin" < 1 |
### Instruction:
CREATE TABLE table_22951088_3 (
us_viewers__in_millions_ VARCHAR,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many viewers (in millions) watched the episode written by deidre shaw?
### Response:
| SELECT us_viewers__in_millions_ FROM table_22951088_3 WHERE written_by = "Deidre Shaw" |
### Instruction:
CREATE TABLE table_22464685_1 (
author VARCHAR,
english_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the auther when the english name was histories and eulogies of the sovereigns?
### Response:
| SELECT author FROM table_22464685_1 WHERE english_name = "Histories and Eulogies of the Sovereigns" |
### Instruction:
CREATE TABLE table_11925 (
"City" text,
"Country" text,
"Continent" text,
"Summer Olympics" text,
"Winter Olympics" text,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did the Summer Olympics occur in Tokyo?
### ... | SELECT "Summer Olympics" FROM table_11925 WHERE "City" = 'tokyo' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.