instruction
stringlengths 231
6.3k
| output
stringlengths 2
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_name_99 (
engine VARCHAR,
entrant VARCHAR,
chassis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which engine did Marlboro Team Alfa Romeo used with a chassis of alfa romeo 179?
### Response:
|
SELECT engine FROM table_name_99 WHERE entrant = "marlboro team alfa romeo" AND chassis = "alfa romeo 179"
|
### Instruction:
CREATE TABLE table_name_70 (
set_3 VARCHAR,
set_2 VARCHAR,
set_1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Set 3 when the Set 2 is 21 25, and a Set 1 is 25 21?
### Response:
|
SELECT set_3 FROM table_name_70 WHERE set_2 = "21–25" AND set_1 = "25–21"
|
### Instruction:
CREATE TABLE table_204_608 (
id number,
"name" text,
"elected party" text,
"constituency" text,
"elected date" text,
"military service" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many of these members were elected in october ?
### Response:
|
SELECT COUNT("name") FROM table_204_608 WHERE "elected date" = 10
|
### Instruction:
CREATE TABLE table_55673 (
"Driver" text,
"Constructor" text,
"Laps" text,
"Time/Retired" text,
"Grid" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the grid when the time/retired is +27.112?
### Response:
|
SELECT "Grid" FROM table_55673 WHERE "Time/Retired" = '+27.112'
|
### Instruction:
CREATE TABLE table_4129 (
"Pick" text,
"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.
-- Which pick has marko makinen as the player?
### Response:
|
SELECT "Pick" FROM table_4129 WHERE "Player" = 'Marko Makinen'
|
### Instruction:
CREATE TABLE table_50118 (
"Points" real,
"Score" text,
"Premiers" text,
"Runners Up" text,
"Details" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which premier team played the 1951 NSWRFL Grand Final?
### Response:
|
SELECT "Premiers" FROM table_50118 WHERE "Details" = '1951 nswrfl grand final'
|
### Instruction:
CREATE TABLE table_23881 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Bruins points" real,
"Opponents" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date for game 9?
### Response:
|
SELECT "Date" FROM table_23881 WHERE "Game" = '9'
|
### Instruction:
CREATE TABLE table_203_734 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what competition is lorenzo 's top position in ?
### Response:
|
SELECT "competition" FROM table_203_734 ORDER BY "position" LIMIT 1
|
### Instruction:
CREATE TABLE table_57030 (
"Team" text,
"Location" text,
"Venue" text,
"League and position in 1991" text,
"Coach" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team has Yuriy Hruznov as coach?
### Response:
|
SELECT "Team" FROM table_57030 WHERE "Coach" = 'yuriy hruznov'
|
### Instruction:
CREATE TABLE table_204_800 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which nations won only bronze medals ?
### Response:
|
SELECT "nation" FROM table_204_800 WHERE "bronze" = "total"
|
### Instruction:
CREATE TABLE table_name_53 (
react INTEGER,
lane VARCHAR,
time VARCHAR,
nationality VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the average React of the Time smaller than 20.05 in jamaica with a Lane larger than 5?
### Response:
|
SELECT AVG(react) FROM table_name_53 WHERE time < 20.05 AND nationality = "jamaica" AND lane > 5
|
### Instruction:
CREATE TABLE table_204_832 (
id number,
"name" text,
"nationality" text,
"club" text,
"from" number,
"until" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what same country did marc dos santos coach as colin miller ?
### Response:
|
SELECT "nationality" FROM table_204_832 WHERE "name" = 'marc dos santos'
|
### Instruction:
CREATE TABLE table_7876 (
"Round" real,
"Pick" real,
"Player" text,
"Position" text,
"Nationality" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT WAS THE PICK NUMBER FOR BRANDON RUSH?
### Response:
|
SELECT COUNT("Pick") FROM table_7876 WHERE "Player" = 'brandon rush'
|
### Instruction:
CREATE TABLE table_3474 (
"District" real,
"Senator" text,
"Party" text,
"Residence" text,
"First elected" text,
"Term Limited" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the party affiliation for senator mark Wagoner?
### Response:
|
SELECT "Party" FROM table_3474 WHERE "Senator" = 'Mark Wagoner'
|
### Instruction:
CREATE TABLE table_56087 (
"Class" text,
"Wheels" text,
"Date" text,
"No. built" real,
"Loco Nos." text,
"Comments" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Loco Nos of the e3 class?
### Response:
|
SELECT "Loco Nos." FROM table_56087 WHERE "Class" = 'e3'
|
### Instruction:
CREATE TABLE table_name_18 (
points VARCHAR,
team_name VARCHAR,
losses VARCHAR,
games VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the total number of points when the vancouver burrards have fewer than 9 losses and more than 24 games?
### Response:
|
SELECT COUNT(points) FROM table_name_18 WHERE losses < 9 AND games > 24 AND team_name = "vancouver burrards"
|
### Instruction:
CREATE TABLE table_16175064_3 (
season__number VARCHAR,
director_s_ VARCHAR,
series__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the season number of the episode directed by Donald Crombie and the series number is 40?
### Response:
|
SELECT season__number FROM table_16175064_3 WHERE director_s_ = "Donald Crombie" AND series__number = 40
|
### Instruction:
CREATE TABLE table_22801 (
"Year" text,
"League" text,
"Reg. Season" text,
"Playoffs" text,
"Owner(s)" text,
"Avg. Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in what playoffs the league was in the semifinals
### Response:
|
SELECT "League" FROM table_22801 WHERE "Playoffs" = 'Semifinals'
|
### Instruction:
CREATE TABLE table_name_96 (
location VARCHAR,
year VARCHAR,
competition VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What location did the team win before 1998 in the europe/africa zone, group i, round robin?
### Response:
|
SELECT location FROM table_name_96 WHERE competition = "europe/africa zone, group i, round robin" AND result = "win" AND year < 1998
|
### Instruction:
CREATE TABLE table_name_17 (
week VARCHAR,
opponent VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which total number of Week has an Opponent of at new orleans saints, and an Attendance larger than 53,448?
### Response:
|
SELECT COUNT(week) FROM table_name_17 WHERE opponent = "at new orleans saints" AND attendance > 53 OFFSET 448
|
### Instruction:
CREATE TABLE table_32063 (
"Title" text,
"Japan" text,
"North America" text,
"Europe" text,
"Australia" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the title for japan august 23, 2012
### Response:
|
SELECT "Title" FROM table_32063 WHERE "Japan" = 'august 23, 2012'
|
### Instruction:
CREATE TABLE table_42293 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest week for December 26, 1999
### Response:
|
SELECT MIN("Week") FROM table_42293 WHERE "Date" = 'december 26, 1999'
|
### Instruction:
CREATE TABLE table_9892 (
"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 is the average number of games with a record of 20-12?
### Response:
|
SELECT AVG("Game") FROM table_9892 WHERE "Record" = '20-12'
|
### Instruction:
CREATE TABLE table_66622 (
"City of license" text,
"Identifier" text,
"Frequency" text,
"Power" text,
"Class" text,
"RECNet" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Class has a Frequency of 90.1 FM?
### Response:
|
SELECT "Class" FROM table_66622 WHERE "Frequency" = '90.1 fm'
|
### Instruction:
CREATE TABLE table_203_523 (
id number,
"state" text,
"swimsuit" number,
"interview" number,
"evening gown" number,
"average" number,
"finalists" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many total points were scored in the interview round between all states ?
### Response:
|
SELECT SUM("interview") FROM table_203_523
|
### Instruction:
CREATE TABLE table_204_689 (
id number,
"year" number,
"title" text,
"album" text,
"uk" number,
"b-sides" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what album had the singles i want you to know and again on them ?
### Response:
|
SELECT "album" FROM table_204_689 WHERE "title" = '"i want you to know"'
|
### Instruction:
CREATE TABLE table_65903 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the to par for Jiyai Shin when the place is t1?
### Response:
|
SELECT "To par" FROM table_65903 WHERE "Place" = 't1' AND "Player" = 'jiyai shin'
|
### Instruction:
CREATE TABLE table_4211 (
"Player" text,
"Starts" real,
"Cuts made" real,
"Best finish" text,
"Money list rank" text,
"Earnings ($)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which money list ranks had a best finish of 2?
### Response:
|
SELECT COUNT("Money list rank") FROM table_4211 WHERE "Best finish" = '2'
|
### Instruction:
CREATE TABLE table_14270 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what lane did the swimmer get a time of 1:59.42?
### Response:
|
SELECT SUM("Lane") FROM table_14270 WHERE "Time" = '1:59.42'
|
### Instruction:
CREATE TABLE table_66484 (
"Rank" real,
"Athlete" text,
"Country" text,
"Time" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What time was the race for the country of france with fb listed under notes?
### Response:
|
SELECT "Time" FROM table_66484 WHERE "Notes" = 'fb' AND "Country" = 'france'
|
### Instruction:
CREATE TABLE table_34555 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game Site" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which opponent was played at Forbes Field after week 4?
### Response:
|
SELECT "Opponent" FROM table_34555 WHERE "Game Site" = 'forbes field' AND "Week" > '4'
|
### Instruction:
CREATE TABLE table_34428 (
"Player" text,
"Hometown" text,
"Occupation" text,
"Education" text,
"Game Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the occupation was utility worker on-air talent, what was the game status?
### Response:
|
SELECT "Game Status" FROM table_34428 WHERE "Occupation" = 'utility worker on-air talent'
|
### Instruction:
CREATE TABLE table_203_757 (
id number,
"year" number,
"award ceremony" text,
"category" text,
"film/show" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in which year did she have the least amount of awards or nominations ?
### Response:
|
SELECT "year" FROM table_203_757 GROUP BY "year" ORDER BY COUNT(*) LIMIT 1
|
### Instruction:
CREATE TABLE table_name_63 (
opponents_in_the_final VARCHAR,
partner VARCHAR,
championship VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which opponent in the final had a partner of Katarina Srebotnik and a championship of wimbledon (4)?
### Response:
|
SELECT opponents_in_the_final FROM table_name_63 WHERE partner = "katarina srebotnik" AND championship = "wimbledon (4)"
|
### Instruction:
CREATE TABLE table_69783 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the catalog number for the January 25, 1987 release?
### Response:
|
SELECT "Catalog" FROM table_69783 WHERE "Date" = 'january 25, 1987'
|
### Instruction:
CREATE TABLE table_57556 (
"Runs" text,
"Against" text,
"City/Country" text,
"Venue" text,
"Result" text,
"Year" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the place where adelaide oval is
### Response:
|
SELECT "City/Country" FROM table_57556 WHERE "Venue" = 'adelaide oval'
|
### Instruction:
CREATE TABLE table_40441 (
"Year" real,
"Series" text,
"Winning team" text,
"Losing team" text,
"Score" text,
"Site" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won the series when the San Francisco Giants lost?
### Response:
|
SELECT "Winning team" FROM table_40441 WHERE "Losing team" = 'san francisco giants'
|
### Instruction:
CREATE TABLE table_26720 (
"Pitcher" text,
"Strikeouts" real,
"Season" real,
"Team" text,
"League" text,
"Overall Rank" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of pitcher for 9 overall rank
### Response:
|
SELECT COUNT("Pitcher") FROM table_26720 WHERE "Overall Rank" = '9'
|
### Instruction:
CREATE TABLE table_72572 (
"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.
-- In week 9 who were the opponent?
### Response:
|
SELECT "Opponent" FROM table_72572 WHERE "Week" = '9'
|
### Instruction:
CREATE TABLE table_49046 (
"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 was the highest game number when the opponent was the Miami Heat?
### Response:
|
SELECT MAX("Game") FROM table_49046 WHERE "Opponent" = 'miami heat'
|
### Instruction:
CREATE TABLE table_204_405 (
id number,
"team 1" text,
"agg." text,
"team 2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total points scored in the second round by all teams ?
### Response:
|
SELECT SUM("2nd leg" + "2nd leg") FROM table_204_405
|
### Instruction:
CREATE TABLE table_49509 (
"Position" real,
"Name" text,
"Played" real,
"Drawn" real,
"Lost" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the average amount of losses for teams with played less than 14?
### Response:
|
SELECT AVG("Lost") FROM table_49509 WHERE "Played" < '14'
|
### Instruction:
CREATE TABLE table_18690 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- To which party does Riley Joseph Wilson belong?
### Response:
|
SELECT "Party" FROM table_18690 WHERE "Incumbent" = 'Riley Joseph Wilson'
|
### Instruction:
CREATE TABLE table_45912 (
"Winner" text,
"Country" text,
"Winter Olympics" text,
"FIS Nordic World Ski Championships" text,
"Holmenkollen" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Winner has a Winter Olympics of 1968?
### Response:
|
SELECT "Winner" FROM table_45912 WHERE "Winter Olympics" = '1968'
|
### Instruction:
CREATE TABLE table_79813 (
"Dish" text,
"Callsign" text,
"Network" text,
"Resolution" text,
"City of License" text,
"Official Website" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the resolution for dish of 5270
### Response:
|
SELECT "Resolution" FROM table_79813 WHERE "Dish" = '5270'
|
### Instruction:
CREATE TABLE table_56579 (
"Player" text,
"Position" text,
"Tries" real,
"Goals" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many tries did the player Paul Sykes take when he earned 0 points?
### Response:
|
SELECT MAX("Tries") FROM table_56579 WHERE "Player" = 'paul sykes' AND "Points" > '0'
|
### Instruction:
CREATE TABLE table_31962 (
"Calls" text,
"Frequency" text,
"Branding" text,
"Format" text,
"Timeslot" text,
"Group owner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Say the frequency of 1290 khz
### Response:
|
SELECT "Format" FROM table_31962 WHERE "Frequency" = '1290 khz'
|
### Instruction:
CREATE TABLE table_3798 (
"Branding" text,
"Callsign" text,
"Frequency" text,
"Power (kW)" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many call signs does the location masinloc, zambales have?
### Response:
|
SELECT COUNT("Callsign") FROM table_3798 WHERE "Location" = 'Masinloc, Zambales'
|
### Instruction:
CREATE TABLE table_72856 (
"Episode" text,
"Broadcast date" text,
"Run time" text,
"Viewers (in millions)" text,
"Archive" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is run time when there were 7.4 million viewers?
### Response:
|
SELECT "Run time" FROM table_72856 WHERE "Viewers (in millions)" = '7.4'
|
### Instruction:
CREATE TABLE table_66782 (
"Outcome" text,
"Date" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score on January 16, 2010?
### Response:
|
SELECT "Score" FROM table_66782 WHERE "Date" = 'january 16, 2010'
|
### Instruction:
CREATE TABLE table_67211 (
"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 is the average attendance for the date of april 4?
### Response:
|
SELECT AVG("Attendance") FROM table_67211 WHERE "Date" = 'april 4'
|
### Instruction:
CREATE TABLE table_35300 (
"Name/Location" text,
"Other (later) names" text,
"Operation" text,
"Distance from Jaffa" text,
"Elevation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the distance from Jaffa of Jerusalem station?
### Response:
|
SELECT "Distance from Jaffa" FROM table_35300 WHERE "Name/Location" = 'jerusalem'
|
### Instruction:
CREATE TABLE table_41718 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the away team where the home team is Coventry City?
### Response:
|
SELECT "Away team" FROM table_41718 WHERE "Home team" = 'coventry city'
|
### Instruction:
CREATE TABLE table_name_60 (
time VARCHAR,
athlete VARCHAR,
year VARCHAR,
place VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Time has a Year larger than 1985, and a Place smaller than 2, and an Athlete of riochy sekiya?
### Response:
|
SELECT time FROM table_name_60 WHERE year > 1985 AND place < 2 AND athlete = "riochy sekiya"
|
### Instruction:
CREATE TABLE table_33951 (
"Game" real,
"February" real,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score after february 4 in the game 61?
### Response:
|
SELECT "Score" FROM table_33951 WHERE "February" > '4' AND "Game" = '61'
|
### Instruction:
CREATE TABLE table_51542 (
"Year" real,
"Tournament" text,
"Venue" text,
"Result" text,
"Event" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In which event did he place 6th in 1971?
### Response:
|
SELECT "Event" FROM table_51542 WHERE "Year" = '1971' AND "Result" = '6th'
|
### Instruction:
CREATE TABLE table_73757 (
"Season" real,
"Winner" text,
"Runner-Up" text,
"Third Place" text,
"Contestants" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what season did Raquel Pacheco finish in third place?
### Response:
|
SELECT "Season" FROM table_73757 WHERE "Third Place" = 'Raquel Pacheco'
|
### Instruction:
CREATE TABLE table_12953 (
"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 is the to par when the total is larger than 288?
### Response:
|
SELECT "To par" FROM table_12953 WHERE "Total" > '288'
|
### Instruction:
CREATE TABLE table_name_75 (
tickets_available_since VARCHAR,
venue VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many tickets were available at Halle Tony Garnier on June 15, 2009?
### Response:
|
SELECT tickets_available_since FROM table_name_75 WHERE venue = "halle tony garnier" AND date = "june 15, 2009"
|
### Instruction:
CREATE TABLE table_name_21 (
administration VARCHAR,
season VARCHAR,
division VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the administration when the division was Ykk nen (first division), and they were in the 1st position in 1996?
### Response:
|
SELECT administration FROM table_name_21 WHERE division = "ykkönen (first division)" AND position = "1st" AND season = 1996
|
### Instruction:
CREATE TABLE table_45725 (
"Year" real,
"Category" text,
"President" text,
"Nominee" text,
"Film" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the film that Raymond Massey was nominated for?
### Response:
|
SELECT "Film" FROM table_45725 WHERE "Nominee" = 'raymond massey'
|
### Instruction:
CREATE TABLE table_44442 (
"Driver" text,
"Team" text,
"Laps" text,
"Time/Retired" text,
"Grid" text,
"Laps Led" text,
"Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points have 75 laps?
### Response:
|
SELECT "Points" FROM table_44442 WHERE "Laps" = '75'
|
### Instruction:
CREATE TABLE table_name_90 (
against INTEGER,
central_murray VARCHAR,
wins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of against when Central Murray is Tooleybuc Manangatang and there are fewer than 13 wins?
### Response:
|
SELECT MAX(against) FROM table_name_90 WHERE central_murray = "tooleybuc manangatang" AND wins < 13
|
### Instruction:
CREATE TABLE table_53851 (
"Rank" real,
"Date" text,
"Stadium" text,
"Opponent" text,
"Competition" text,
"Score Scotland's score is shown first." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which competition was ranked 9?
### Response:
|
SELECT "Competition" FROM table_53851 WHERE "Rank" = '9'
|
### Instruction:
CREATE TABLE table_77531 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who did the Jets play in their post-week 15 game?
### Response:
|
SELECT "Opponent" FROM table_77531 WHERE "Week" > '15'
|
### Instruction:
CREATE TABLE table_4257 (
"Name" text,
"Family name" text,
"Receptor" text,
"Coreceptor" text,
"Property" text,
"Chromosomal location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the names listed in the family il-1f2?
### Response:
|
SELECT "Name" FROM table_4257 WHERE "Family name" = 'IL-1F2'
|
### Instruction:
CREATE TABLE table_10863 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the Competition of euro 2000 qualifier?
### Response:
|
SELECT "Result" FROM table_10863 WHERE "Competition" = 'euro 2000 qualifier'
|
### Instruction:
CREATE TABLE table_66698 (
"Name" text,
"Gender" text,
"Area" text,
"Authority" text,
"Decile" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which decile has an Area of welcome bay, and an Authority of state?
### Response:
|
SELECT "Decile" FROM table_66698 WHERE "Area" = 'welcome bay' AND "Authority" = 'state'
|
### Instruction:
CREATE TABLE table_36049 (
"Episode" text,
"Title" text,
"Writer(s)" text,
"Preservation" text,
"Original airdate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which writer wrote episode 18-09 (652)?
### Response:
|
SELECT "Writer(s)" FROM table_36049 WHERE "Episode" = '18-09 (652)'
|
### Instruction:
CREATE TABLE table_204_211 (
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 times has chile been awarded ?
### Response:
|
SELECT "total" FROM table_204_211 WHERE "nation" = 'chile'
|
### Instruction:
CREATE TABLE table_59070 (
"Name" text,
"Owner" text,
"Programming" text,
"Type" text,
"Encryption" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the type for a general programming and the owner tv kanal 5?
### Response:
|
SELECT "Type" FROM table_59070 WHERE "Programming" = 'general' AND "Owner" = 'tv kanal 5'
|
### Instruction:
CREATE TABLE table_5485 (
"Rank" real,
"Player" text,
"Country" text,
"Earnings ( $ )" real,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest earnings for the golfer who has more than 37 wins?
### Response:
|
SELECT MAX("Earnings ( $ )") FROM table_5485 WHERE "Wins" > '37'
|
### Instruction:
CREATE TABLE table_58224 (
"Ship" text,
"Pennant number" text,
"Laid down" text,
"Launched" text,
"Completed" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the ship that had a Pennant number of h55?
### Response:
|
SELECT "Ship" FROM table_58224 WHERE "Pennant number" = 'h55'
|
### Instruction:
CREATE TABLE table_27551 (
"Week" real,
"Date" text,
"Kickoff" text,
"Opponent" text,
"Final score" text,
"Team record" text,
"Game site" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest attendance?
### Response:
|
SELECT MIN("Attendance") FROM table_27551
|
### Instruction:
CREATE TABLE table_41040 (
"Round" real,
"Pick #" real,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the player from Arizona state with a round less than 7?
### Response:
|
SELECT "Player" FROM table_41040 WHERE "Round" < '7' AND "College" = 'arizona state'
|
### Instruction:
CREATE TABLE table_201_21 (
id number,
"year" number,
"title" text,
"role" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which film came out in 2002 and also had the role of vindici ?
### Response:
|
SELECT "title" FROM table_201_21 WHERE "year" = 2002 AND "role" = 'vindici'
|
### Instruction:
CREATE TABLE table_46394 (
"Rank" real,
"Player" text,
"Club(s)" text,
"Year(s)" text,
"U-17 Caps" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What rank is the team that has a player named Isco Alarc n?
### Response:
|
SELECT "Rank" FROM table_46394 WHERE "Player" = 'isco alarcón'
|
### Instruction:
CREATE TABLE table_name_66 (
against VARCHAR,
draw VARCHAR,
losses VARCHAR,
matches VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of Against, when Losses is less than 52, when Matches is greater than 4, and when Draw is less than 2?
### Response:
|
SELECT COUNT(against) FROM table_name_66 WHERE losses < 52 AND matches > 4 AND draw < 2
|
### Instruction:
CREATE TABLE table_19585 (
"Number of episode" real,
"Number of season" real,
"Title (original)" text,
"Title (English)" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the English title when the original title is Die Qual Der Wahl?
### Response:
|
SELECT "Title (English)" FROM table_19585 WHERE "Title (original)" = 'Die Qual der Wahl'
|
### Instruction:
CREATE TABLE table_41314 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Week when there were 67,968 people in attendance?
### Response:
|
SELECT SUM("Week") FROM table_41314 WHERE "Attendance" = '67,968'
|
### Instruction:
CREATE TABLE table_48691 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what place did the player with a score of 66-67=133 come in?
### Response:
|
SELECT "Place" FROM table_48691 WHERE "Score" = '66-67=133'
|
### Instruction:
CREATE TABLE table_62019 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what Date was the Attendance 63,546?
### Response:
|
SELECT "Date" FROM table_62019 WHERE "Attendance" = '63,546'
|
### Instruction:
CREATE TABLE table_44321 (
"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 qual 1 with a 1:09.567 best?
### Response:
|
SELECT "Qual 1" FROM table_44321 WHERE "Best" = '1:09.567'
|
### Instruction:
CREATE TABLE table_18190 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the result with district illinois 15
### Response:
|
SELECT "Result" FROM table_18190 WHERE "District" = 'Illinois 15'
|
### Instruction:
CREATE TABLE table_42257 (
"Year" real,
"Division" text,
"League" text,
"Regular Season" text,
"Playoffs" text,
"Open Cup" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who Playoffs has a Regular Season of on hiatus.?
### Response:
|
SELECT "Playoffs" FROM table_42257 WHERE "Regular Season" = 'on hiatus.'
|
### Instruction:
CREATE TABLE table_59063 (
"Place" text,
"Competitor" text,
"Downhill points" real,
"Slalom points" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the downhill points for the skier with total of 9.31 points?
### Response:
|
SELECT SUM("Downhill points") FROM table_59063 WHERE "Total" = '9.31'
|
### Instruction:
CREATE TABLE table_28807 (
"English" text,
"Galician ( Official )" text,
"Galician ( Reintegrationist )" text,
"Portuguese" text,
"Spanish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Portuguese word for the English word 'welcome'?
### Response:
|
SELECT "Portuguese" FROM table_28807 WHERE "English" = 'Welcome'
|
### Instruction:
CREATE TABLE table_59993 (
"Rank" real,
"Name" text,
"Years" text,
"Current Club" text,
"Goals" real,
"Apps" real,
"Ratio" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Current Club has a Rank of 4?
### Response:
|
SELECT "Current Club" FROM table_59993 WHERE "Rank" = '4'
|
### Instruction:
CREATE TABLE table_12278 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Date has a Tournament of milan , italy?
### Response:
|
SELECT "Date" FROM table_12278 WHERE "Tournament" = 'milan , italy'
|
### Instruction:
CREATE TABLE table_58957 (
"Season" text,
"League" text,
"Teams" text,
"Home" text,
"Away" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In the 1958-59 season, what league did the team play in?
### Response:
|
SELECT "League" FROM table_58957 WHERE "Season" = '1958-59'
|
### Instruction:
CREATE TABLE table_21931 (
"County" text,
"Precincts" text,
"E. Greenberg" text,
"G. Hager" text,
"T. Wyka" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who many votes did E. Greenberg receive in Morris County?
### Response:
|
SELECT COUNT("E. Greenberg") FROM table_21931 WHERE "County" = 'Morris'
|
### Instruction:
CREATE TABLE table_204_880 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the only year the venue was in japan ?
### Response:
|
SELECT "year" FROM table_204_880 WHERE "venue" = 'japan'
|
### Instruction:
CREATE TABLE table_name_8 (
Final VARCHAR,
week_1 VARCHAR,
week_3 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the week 12 standing for the housemate that nominated Deepak P Rahul in week 1 and Amit Carol in week 3?
### Response:
|
SELECT Final AS week_12 FROM table_name_8 WHERE week_1 = "deepak p rahul" AND week_3 = "amit carol"
|
### Instruction:
CREATE TABLE table_27729 (
"Number" real,
"Name" text,
"Vertices" text,
"Hypotenuse 0 c" text,
"Vertical 0 b" text,
"Horizontal 0 a" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the horizontal 0 for tong
### Response:
|
SELECT "Horizontal 0 a" FROM table_27729 WHERE "Name" = '通 TONG'
|
### Instruction:
CREATE TABLE table_40243 (
"Call sign" text,
"Frequency MHz" text,
"City of license" text,
"ERP W" real,
"FCC info" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What city does call sign K248am have its license in?
### Response:
|
SELECT "City of license" FROM table_40243 WHERE "Call sign" = 'k248am'
|
### Instruction:
CREATE TABLE table_name_32 (
wins INTEGER,
played VARCHAR,
scored VARCHAR,
conceded VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest number of wins of the team with less than 24 scored, 27 conceded, and more than 18 played?
### Response:
|
SELECT MIN(wins) FROM table_name_32 WHERE scored < 24 AND conceded = 27 AND played > 18
|
### Instruction:
CREATE TABLE table_204_42 (
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.
-- in how man years did ifk finish in at least 5th place .
### Response:
|
SELECT COUNT("season") FROM table_204_42 WHERE "position" <= 5
|
### Instruction:
CREATE TABLE table_73142 (
"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.
-- Name the incumbent for alabama 6
### Response:
|
SELECT "Incumbent" FROM table_73142 WHERE "District" = 'Alabama 6'
|
### Instruction:
CREATE TABLE table_56539 (
"Club" text,
"Wins" text,
"Last win" text,
"Runners-up" text,
"Last final lost" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many wins did the club have with the last win in 2000?
### Response:
|
SELECT "Wins" FROM table_56539 WHERE "Last win" = '2000'
|
### Instruction:
CREATE TABLE table_19886 (
"Series Ep." text,
"Episode" real,
"Segment A" text,
"Segment B" text,
"Segment C" text,
"Segment D" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the segment b for pressure cookers
### Response:
|
SELECT "Segment B" FROM table_19886 WHERE "Segment A" = 'Pressure Cookers'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.