instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_78431 (
"Track" real,
"Recorded" text,
"Catalogue" text,
"Release Date" text,
"Song Title" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Heart of Rome's catalogue number?
### Response:
| SELECT "Catalogue" FROM table_78431 WHERE "Song Title" = 'heart of rome' |
### Instruction:
CREATE TABLE table_44257 (
"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 name has a qual 2 of 1:46.025?
### Response:
| SELECT "Name" FROM table_44257 WHERE "Qual 2" = '1:46.025' |
### Instruction:
CREATE TABLE table_2934 (
"Player" text,
"Position" text,
"NASL years" text,
"NASL club(s)" text,
"Accolades (Pre-NASL)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position is Philadelphia Fury?
### Response:
| SELECT "Position" FROM table_2934 WHERE "NASL club(s)" = 'Philadelphia Fury' |
### Instruction:
CREATE TABLE table_204_699 (
id number,
"district" text,
"name" text,
"party" text,
"residence" text,
"first served" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- angel fuentes and gilbert wilson were both from which residenc... | SELECT "residence" FROM table_204_699 WHERE "name" = 'angel fuentes' |
### Instruction:
CREATE TABLE table_13012165_1 (
washington VARCHAR,
_dc VARCHAR,
new_york VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What teams played in Washington, DC the year that Ramapo LL Ramapo was the game in New York?
### Response:
| SELECT washington, _dc FROM table_13012165_1 WHERE new_york = "Ramapo LL Ramapo" |
### Instruction:
CREATE TABLE table_54850 (
"Track" real,
"Recorded" text,
"Catalogue" text,
"Release Date" text,
"Song Title" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest track for the song Rip it Up?
### Re... | SELECT MAX("Track") FROM table_54850 WHERE "Song Title" = 'rip it up' |
### Instruction:
CREATE TABLE table_name_34 (
bike VARCHAR,
rider VARCHAR,
grid VARCHAR,
laps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which bike did Jiri Drazdak ride when he had a grid number larger than 14 and less than 22 laps?
### Respon... | SELECT bike FROM table_name_34 WHERE grid > 14 AND laps < 22 AND rider = "jiri drazdak" |
### Instruction:
CREATE TABLE table_50524 (
"Tournament" text,
"Surface" text,
"Week" text,
"Winner" text,
"Finalist" text,
"Semifinalists" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What week was the tournament at Cincinnati?
### Response... | SELECT "Week" FROM table_50524 WHERE "Tournament" = 'cincinnati' |
### Instruction:
CREATE TABLE table_2477 (
"Period" text,
"Civilians" real,
"Security forces" real,
"Insurgents" real,
"Total per period" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many insurgents have 602 as the total per period?
### Resp... | SELECT MAX("Insurgents") FROM table_2477 WHERE "Total per period" = '602' |
### Instruction:
CREATE TABLE table_name_18 (
three_mora_word VARCHAR,
one_mora VARCHAR,
accented_mora VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the three-mora word with a low tone accented mora and a one mora of 2?
### Response:
| SELECT three_mora_word FROM table_name_18 WHERE NOT accented_mora = "low tone" AND one_mora = "2" |
### Instruction:
CREATE TABLE table_13657883_2 (
to_winning_team VARCHAR,
tu_winning_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the to winning team when the tu winning team was joe amato carson baird?
### Response:
| SELECT to_winning_team FROM table_13657883_2 WHERE tu_winning_team = "Joe Amato Carson Baird" |
### Instruction:
CREATE TABLE table_name_75 (
total_region INTEGER,
year VARCHAR,
broadsound VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Total Region that has a Year after 2001, and a Broadsound greater than 6,843?
### Response:
| SELECT MIN(total_region) FROM table_name_75 WHERE year > 2001 AND broadsound > 6 OFFSET 843 |
### Instruction:
CREATE TABLE party (
party_name VARCHAR,
party_id VARCHAR
)
CREATE TABLE party_events (
party_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the names of parties with at least 2 events?
### Response:
| SELECT T2.party_name FROM party_events AS T1 JOIN party AS T2 ON T1.party_id = T2.party_id GROUP BY T1.party_id HAVING COUNT(*) >= 2 |
### Instruction:
CREATE TABLE table_41438 (
"Date" text,
"Location" text,
"Country" text,
"Event" text,
"Winner" text,
"Runner-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Country, when Event is Rip Curl Women's Pro?
### Response... | SELECT "Country" FROM table_41438 WHERE "Event" = 'rip curl women''s pro' |
### Instruction:
CREATE TABLE table_204_737 (
id number,
"year" number,
"order" text,
"quantity" number,
"ger nos." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- were there more n31 or e34 ordered ?
### Response:
| SELECT "order" FROM table_204_737 WHERE "order" IN ('n31', 'e34') ORDER BY "quantity" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_67296 (
"Name" text,
"Country" text,
"Status" text,
"Moving to" text,
"Transfer window" text,
"Transfer fee" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Name, when the Transfer fee is 'loan'?
... | SELECT "Name" FROM table_67296 WHERE "Transfer fee" = 'loan' |
### Instruction:
CREATE TABLE table_name_44 (
week_14_nov_24 VARCHAR,
week_11_nov_3 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Week 14 Nov 24, that has Week 11 Nov 3 of USC (6-2)?
### Response:
| SELECT week_14_nov_24 FROM table_name_44 WHERE week_11_nov_3 = "usc (6-2)" |
### Instruction:
CREATE TABLE table_203_646 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what were the number of competitions held in 2003 ?
### Response:... | SELECT COUNT("competition") FROM table_203_646 WHERE "year" = 2003 |
### Instruction:
CREATE TABLE table_33878 (
"Player" text,
"Ranking" text,
"Event" text,
"Surface" text,
"Round" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Round has a Player of anna chakvetadze?
### Response:
| SELECT "Round" FROM table_33878 WHERE "Player" = 'anna chakvetadze' |
### Instruction:
CREATE TABLE table_name_78 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest value for 2000, when the value for 1950 is 3.5, and when the value for 1970 is greater than 3.4?
### Response:
| SELECT MAX(2000) FROM table_name_78 WHERE 1950 = 3.5 AND 1970 > 3.4 |
### Instruction:
CREATE TABLE table_51782 (
"Name" text,
"Years" text,
"Area" text,
"Authority" text,
"Decile" real,
"Roll" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the Name that has the Roll larger than 419?
### Response... | SELECT "Name" FROM table_51782 WHERE "Roll" > '419' |
### Instruction:
CREATE TABLE table_77978 (
"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.
-- Which school is in Raleigh, NC?
### Response:
| SELECT "School" FROM table_77978 WHERE "Hometown" = 'raleigh, nc' |
### Instruction:
CREATE TABLE table_42764 (
"Element" text,
"Nuclide" text,
"Z ( p )" real,
"N ( n )" real,
"isotopic mass ( u )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Element when the Nuclide is 55 mn?
### Response:
| SELECT "Element" FROM table_42764 WHERE "Nuclide" = '55 mn' |
### Instruction:
CREATE TABLE table_63367 (
"Date" text,
"Tournament" text,
"Winning score" text,
"Margin of victory" text,
"Runner(s)-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which tournament had a runner-up of Val Skinner?
### Response... | SELECT "Tournament" FROM table_63367 WHERE "Runner(s)-up" = 'val skinner' |
### Instruction:
CREATE TABLE PersonFriend (
name varchar(20),
friend varchar(20),
year INTEGER
)
CREATE TABLE Person (
name varchar(20),
age INTEGER,
city TEXT,
gender TEXT,
job TEXT
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Display a ... | SELECT gender, AVG(age) FROM Person GROUP BY gender |
### Instruction:
CREATE TABLE table_35176 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the game on November 7, 1999?
### Response:
| SELECT "Result" FROM table_35176 WHERE "Date" = 'november 7, 1999' |
### Instruction:
CREATE TABLE table_14675 (
"Round" real,
"Pick #" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the highest round for a defensive tackle position?
### Respo... | SELECT MAX("Round") FROM table_14675 WHERE "Position" = 'defensive tackle' |
### Instruction:
CREATE TABLE table_78611 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number in attendance against the game at Kansas City Chiefs?
### ... | SELECT MAX("Attendance") FROM table_78611 WHERE "Opponent" = 'at kansas city chiefs' |
### Instruction:
CREATE TABLE table_49778 (
"Year" real,
"Series" text,
"Make" text,
"Driver" text,
"Team" text,
"Schedule" text,
"Role" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the series when the team is gunbroker racing?
#... | SELECT "Series" FROM table_49778 WHERE "Team" = 'gunbroker racing' |
### Instruction:
CREATE TABLE table_32929 (
"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 result of the match on December 1, 1963?
### Response:
| SELECT "Result" FROM table_32929 WHERE "Date" = 'december 1, 1963' |
### Instruction:
CREATE TABLE table_49360 (
"Date" text,
"City" text,
"Event" text,
"Winner" text,
"Prize" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Date of the Event with a Prize of $141,426?
### Response:
| SELECT "Date" FROM table_49360 WHERE "Prize" = '$141,426' |
### Instruction:
CREATE TABLE table_28275 (
"Rank" real,
"Runs" real,
"Average" text,
"Strike rate" text,
"Player" text,
"Matches" real,
"Innings" real,
"Period" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest number ... | SELECT MIN("Runs") FROM table_28275 |
### Instruction:
CREATE TABLE table_name_1 (
week_12 VARCHAR,
week_1 VARCHAR,
week_2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the week 12 nomination that had a week 1 nomination of Maria Maxine and a week 2 nomination of Henri Satu?
### R... | SELECT week_12 FROM table_name_1 WHERE week_1 = "maria maxine" AND week_2 = "henri satu" |
### Instruction:
CREATE TABLE table_204_195 (
id number,
"team" text,
"home city" text,
"stadium" text,
"capacity" number,
"last season" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what amount of people , at most , can begin arena hold ?
##... | SELECT "capacity" FROM table_204_195 WHERE "stadium" = 'begin arena' |
### Instruction:
CREATE TABLE table_66327 (
"Date" text,
"Internet Explorer" text,
"Firefox" text,
"Opera" text,
"Safari" text,
"Source" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which source has a date of June 2008?
### Response:
| SELECT "Source" FROM table_66327 WHERE "Date" = 'june 2008' |
### Instruction:
CREATE TABLE table_name_66 (
outcome VARCHAR,
partner VARCHAR,
opponents_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which outcome has a partner named Mark Dickson, with the opponents of Hans Gildemeister Belus Prajoux?
... | SELECT outcome FROM table_name_66 WHERE partner = "mark dickson" AND opponents_in_the_final = "hans gildemeister belus prajoux" |
### Instruction:
CREATE TABLE table_19420 (
"School Year" text,
"Class A" text,
"Class AA" text,
"Class AAA" text,
"Class AAAA" text,
"Class AAAAA" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the class a for pearland
### Response:
| SELECT "Class A" FROM table_19420 WHERE "Class AAAAA" = 'Pearland' |
### Instruction:
CREATE TABLE table_21864 (
"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 is the census ranking of the location with population of 959?
... | SELECT "Census Ranking" FROM table_21864 WHERE "Population" = '959' |
### Instruction:
CREATE TABLE table_60078 (
"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 team 1 with tikve as team 2?
### Response:
| SELECT "Team 1" FROM table_60078 WHERE "Team 2" = 'tikveš' |
### Instruction:
CREATE TABLE table_name_96 (
joined INTEGER,
institution VARCHAR,
enrollment VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Joined has an Institution of abraham baldwin agricultural college, and an Enrollment smaller than 3,284?
... | SELECT MAX(joined) FROM table_name_96 WHERE institution = "abraham baldwin agricultural college" AND enrollment < 3 OFFSET 284 |
### Instruction:
CREATE TABLE table_12032 (
"Race" text,
"Length" text,
"Class" text,
"Circuit" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which date was a GTS class on the Mosport International Raceway?
### Response:
| SELECT "Date" FROM table_12032 WHERE "Class" = 'gts' AND "Circuit" = 'mosport international raceway' |
### Instruction:
CREATE TABLE Students (
personal_name VARCHAR
)
CREATE TABLE Student_Course_Enrolment (
student_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the personal names of students not enrolled in any course.
### Response:
| SELECT personal_name FROM Students EXCEPT SELECT T1.personal_name FROM Students AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.student_id = T2.student_id |
### Instruction:
CREATE TABLE table_61667 (
"Pick #" real,
"Player" text,
"Nationality" text,
"Position" text,
"Team from" text,
"League from" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What pick number was player Greg McKegg?
### Response... | SELECT AVG("Pick #") FROM table_61667 WHERE "Player" = 'greg mckegg' |
### Instruction:
CREATE TABLE table_11602313_4 (
fsb VARCHAR,
part_number_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the FSB of the model with part number lf80537ge0251mn?
### Response:
| SELECT fsb FROM table_11602313_4 WHERE part_number_s_ = "LF80537GE0251MN" |
### Instruction:
CREATE TABLE table_56354 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the constructor for grid less than 20 and Laps of 6
### Response:
| SELECT "Constructor" FROM table_56354 WHERE "Grid" < '20' AND "Laps" = '6' |
### Instruction:
CREATE TABLE table_1840495_2 (
per_capita_income VARCHAR,
median_house__hold_income VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the median income is $57,407, what is the per capita income?
### Response:
| SELECT per_capita_income FROM table_1840495_2 WHERE median_house__hold_income = "$57,407" |
### Instruction:
CREATE TABLE table_5197 (
"Name" text,
"Team" text,
"Qual 1" text,
"Qual 2" text,
"Best" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team had a qualifying 1 time of 1:01.342?
### Response:
| SELECT "Team" FROM table_5197 WHERE "Qual 1" = '1:01.342' |
### Instruction:
CREATE TABLE table_name_84 (
loses INTEGER,
position VARCHAR,
points VARCHAR,
goals_scored VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many loses have points greater than 30, goals scored greater than 59, with a position great... | SELECT SUM(loses) FROM table_name_84 WHERE points > 30 AND goals_scored > 59 AND position > 5 |
### Instruction:
CREATE TABLE table_50650 (
"Official Name" text,
"Status" text,
"Area km 2" real,
"Population" real,
"Census Ranking" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of the areas for populations of 542?
### Response... | SELECT SUM("Area km 2") FROM table_50650 WHERE "Population" = '542' |
### Instruction:
CREATE TABLE table_18975 (
"Institution" text,
"Location" text,
"Founded" real,
"Affiliation" text,
"Enrollment" real,
"Nickname" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which institution was founded in 1923?
### Respon... | SELECT "Institution" FROM table_18975 WHERE "Founded" = '1923' |
### Instruction:
CREATE TABLE table_66160 (
"Rank" real,
"Heat" real,
"Cyclist" text,
"Nation" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which nation has a heat of 4, and is ranked 8?
### Response:
| SELECT "Nation" FROM table_66160 WHERE "Heat" = '4' AND "Rank" = '8' |
### Instruction:
CREATE TABLE table_49084 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Date has a Visitor of edmonton?
### Respo... | SELECT "Date" FROM table_49084 WHERE "Visitor" = 'edmonton' |
### Instruction:
CREATE TABLE table_204_57 (
id number,
"year" number,
"film" text,
"role" text,
"language" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was madhurima 's biggest year in terms of number of roles ?
### Respo... | SELECT "year" FROM table_204_57 GROUP BY "year" ORDER BY COUNT("film") DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_44310 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Competition, when Date is 30 December 2005?
### Response:
| SELECT "Competition" FROM table_44310 WHERE "Date" = '30 december 2005' |
### Instruction:
CREATE TABLE table_63239 (
"Year" real,
"Game" text,
"Genre" text,
"Platform(s)" text,
"Developer(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest year for the Bethesda Game Studios Developer?
### Response:
| SELECT MAX("Year") FROM table_63239 WHERE "Developer(s)" = 'bethesda game studios' |
### Instruction:
CREATE TABLE table_64043 (
"Name" text,
"Pre-Season" real,
"A-League" real,
"Finals" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much A-League has a Pre-Season larger than 0?
### Response:
| SELECT COUNT("A-League") FROM table_64043 WHERE "Pre-Season" > '0' |
### Instruction:
CREATE TABLE table_203_368 (
id number,
"date" text,
"opponent" text,
"venue" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- on what date was the last game in which cardiff city f.c. scored 2 goals ?
### Response:
| SELECT "date" FROM table_203_368 WHERE "result" = 2 ORDER BY id DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_80091 (
"Index" text,
"Name" text,
"Talent Segment" text,
"Acting Segment" text,
"Overall Ranking" real,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the event with index f7, what is the status?... | SELECT "Status" FROM table_80091 WHERE "Index" = 'f7' |
### Instruction:
CREATE TABLE table_29003 (
"District" real,
"Municipalities served" text,
"Judge of probate" text,
"Judges residence" text,
"Location of court" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What district is the court located in Tol... | SELECT MAX("District") FROM table_29003 WHERE "Location of court" = 'Tolland' |
### Instruction:
CREATE TABLE table_10566855_1 (
attendance INTEGER,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the minimum attendance with score 8.16 (64) 8.12 (60)
### Response:
| SELECT MIN(attendance) FROM table_10566855_1 WHERE score = "8.16 (64) – 8.12 (60)" |
### Instruction:
CREATE TABLE table_53026 (
"Name" text,
"Real Name" text,
"Birthdate" text,
"Costume Role" text,
"Defining characteristics" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the defining characteristic of Takeshi Kuroiwa?
###... | SELECT "Defining characteristics" FROM table_53026 WHERE "Real Name" = 'takeshi kuroiwa' |
### Instruction:
CREATE TABLE table_12251936_1 (
tfr_2006 VARCHAR,
gfr_2006 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many TFR were there in 2006 when the GFR was 53.8?
### Response:
| SELECT tfr_2006 FROM table_12251936_1 WHERE gfr_2006 = "53.8" |
### Instruction:
CREATE TABLE table_64674 (
"Draw" real,
"Language" text,
"Artist" text,
"Song" text,
"English translation" text,
"Place" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the points are 98 what is the draw?
... | SELECT COUNT("Draw") FROM table_64674 WHERE "Points" = '98' |
### Instruction:
CREATE TABLE table_49851 (
"Date" text,
"H/A/N" text,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who did they play when the score was 95-118?
### Response:
| SELECT "Opponent" FROM table_49851 WHERE "Score" = '95-118' |
### Instruction:
CREATE TABLE table_266 (
"Date" text,
"Tournament" text,
"Location" text,
"Purse( $ )" real,
"Winner" text,
"Score" text,
"1st Prize( $ )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of the largest purse?
... | SELECT MAX("Purse( $ )") FROM table_266 |
### Instruction:
CREATE TABLE table_203_634 (
id number,
"date" text,
"venue" text,
"score" text,
"victor" text,
"comments" text,
"match reports" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many matches have been won by wales ?
### ... | SELECT COUNT(*) FROM table_203_634 WHERE "victor" = 'wales' |
### Instruction:
CREATE TABLE table_35057 (
"Date" text,
"Tournament" text,
"Winning score" text,
"Margin of victory" text,
"Runner(s)-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the winning score of the Valero Texas Open?
### Resp... | SELECT "Winning score" FROM table_35057 WHERE "Tournament" = 'valero texas open' |
### Instruction:
CREATE TABLE table_72936 (
"Season" text,
"Date Released" text,
"# Of Episodes" real,
"# Of Discs" real,
"Special Features" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On how many dates was the complete 4th series released?
###... | SELECT COUNT("Date Released") FROM table_72936 WHERE "Season" = 'The Complete 4th Series' |
### Instruction:
CREATE TABLE table_28650 (
"Year (Ceremony)" text,
"Film title" text,
"Main Language(s)" text,
"Director" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of directors for the film title Eldra?
### ... | SELECT COUNT("Director") FROM table_28650 WHERE "Film title" = 'Eldra' |
### Instruction:
CREATE TABLE table_28248 (
"Stage" real,
"Winner" text,
"General Classification" text,
"Points Classification" text,
"Young Rider Classification" text,
"Teams Classification" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How ma... | SELECT MAX("Stage") FROM table_28248 WHERE "Teams Classification" = 'Team Sky' |
### 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 has the most golds ?
### Response:
| SELECT "nation" FROM table_204_211 ORDER BY "gold" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_11497980_1 (
gvm__kg__technical_capacity VARCHAR,
model VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the model is 15.180e, what is the GVM (kg) Technical Capacity?
### Response:
| SELECT gvm__kg__technical_capacity FROM table_11497980_1 WHERE model = "15.180E" |
### Instruction:
CREATE TABLE table_2030 (
"Official name" text,
"Version" text,
"Release" real,
"Date of release" text,
"Comments" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the version of AutoCAD Architectural Desktop 3?
### Response:... | SELECT "Version" FROM table_2030 WHERE "Official name" = 'AutoCAD Architectural Desktop 3' |
### Instruction:
CREATE TABLE table_38847 (
"Institution" text,
"Location" text,
"Team Nickname" text,
"Tenure" text,
"New Conference" text,
"New Classification" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the new conference for the G... | SELECT "New Conference" FROM table_38847 WHERE "Team Nickname" = 'gauchos' |
### Instruction:
CREATE TABLE table_name_10 (
country VARCHAR,
city VARCHAR,
rank VARCHAR,
capacity VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which country is ranked higher than 68, with a city named Santa Fe and a stadium that has a capacity of... | SELECT country FROM table_name_10 WHERE rank > 68 AND capacity = "32,000" AND city = "santa fe" |
### Instruction:
CREATE TABLE table_10217 (
"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.
-- What record occurred on April 3?
### Resp... | SELECT "Record" FROM table_10217 WHERE "Date" = 'april 3' |
### Instruction:
CREATE TABLE table_18408 (
"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.
-- what's party with district being tennessee 3
### Resp... | SELECT "Party" FROM table_18408 WHERE "District" = 'Tennessee 3' |
### Instruction:
CREATE TABLE table_203_152 (
id number,
"province" text,
"capital" text,
"area (km2)" number,
"population" number,
"density" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the only province with population density unde... | SELECT "province" FROM table_203_152 WHERE "density" < 30 |
### Instruction:
CREATE TABLE table_61210 (
"Date" text,
"Series" text,
"Circuit" text,
"City / State" text,
"Winner" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team won at the symmons plains raceway?
### Response:
| SELECT "Team" FROM table_61210 WHERE "Circuit" = 'symmons plains raceway' |
### Instruction:
CREATE TABLE table_76621 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the record when the method of resolution was K... | SELECT "Record" FROM table_76621 WHERE "Method" = 'ko' |
### Instruction:
CREATE TABLE table_17099 (
"Year" text,
"Player" 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 college for the player damon bailey?
### Response:
| SELECT "College" FROM table_17099 WHERE "Player" = 'Damon Bailey' |
### Instruction:
CREATE TABLE table_56329 (
"Round" text,
"Pick" text,
"Player" text,
"Position" text,
"Nationality" text,
"Team" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which round is the player from Oregon from?
##... | SELECT "Round" FROM table_56329 WHERE "College" = 'oregon' |
### Instruction:
CREATE TABLE table_22521 (
"Year (Ceremony)" text,
"Actor/Actress" text,
"Category" text,
"Film title used in nomination" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What category was the movie Working Girl nominat... | SELECT "Category" FROM table_22521 WHERE "Film title used in nomination" = 'Working Girl' |
### Instruction:
CREATE TABLE table_1637981_7 (
detroit__dtw_ VARCHAR,
grand_rapids__grr_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When Grand Rapids's fare was $377.29, what is the fare to Detroit?
### Response:
| SELECT detroit__dtw_ FROM table_1637981_7 WHERE grand_rapids__grr_ = "$377.29" |
### Instruction:
CREATE TABLE table_name_54 (
player VARCHAR,
to_par VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the player with a +3 to par and a 72-68-71-72=283 score?
### Response:
| SELECT player FROM table_name_54 WHERE to_par = "+3" AND score = 72 - 68 - 71 - 72 = 283 |
### Instruction:
CREATE TABLE table_10074 (
"City" text,
"Province" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the Province with ICAO of zbcf?
### Response:
| SELECT "Province" FROM table_10074 WHERE "ICAO" = 'zbcf' |
### Instruction:
CREATE TABLE table_61435 (
"Name" text,
"Pos." text,
"Height" text,
"Weight" text,
"Date of Birth" text,
"Club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player is on the roster for the Sydney University Lions?
### ... | SELECT "Name" FROM table_61435 WHERE "Club" = 'sydney university lions' |
### Instruction:
CREATE TABLE table_name_1 (
oilers_points INTEGER,
record VARCHAR,
oilers_first_downs VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Oilers points have a Record of 10 6, and Oilers first downs larger than 14?
### Response:
| SELECT AVG(oilers_points) FROM table_name_1 WHERE record = "10–6" AND oilers_first_downs > 14 |
### Instruction:
CREATE TABLE table_64737 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the game against the Los Angeles Dons?
### Respo... | SELECT "Result" FROM table_64737 WHERE "Opponent" = 'los angeles dons' |
### Instruction:
CREATE TABLE rating (
rid number,
mid number,
stars number,
ratingdate time
)
CREATE TABLE movie (
mid number,
title text,
year number,
director text
)
CREATE TABLE reviewer (
rid number,
name text
)
-- Using valid SQLite, answer the following questions for t... | SELECT title FROM movie WHERE year = (SELECT MAX(year) FROM movie) |
### Instruction:
CREATE TABLE table_40362 (
"Round" text,
"Opposition" text,
"First leg" text,
"Second leg" text,
"Aggregate score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the aggregate score for the game against Dynamo Dresden?
##... | SELECT "Aggregate score" FROM table_40362 WHERE "Opposition" = 'dynamo dresden' |
### Instruction:
CREATE TABLE table_61299 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which is the highest gold that has a bronze greater than 4?
### Response:... | SELECT MAX("Gold") FROM table_61299 WHERE "Bronze" > '4' |
### Instruction:
CREATE TABLE table_21145 (
"Team name (Affiliation)" text,
"Year started" real,
"Number of cars" real,
"Current car" text,
"Car #" text,
"Website" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the website for car number of... | SELECT "Website" FROM table_21145 WHERE "Car #" = '92' |
### Instruction:
CREATE TABLE table_42573 (
"Match" real,
"Date" text,
"Home/Away" text,
"Opponent team" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score on March 3, 2008?
### Response:
| SELECT "Score" FROM table_42573 WHERE "Date" = 'march 3, 2008' |
### Instruction:
CREATE TABLE table_30244 (
"Entrant" text,
"Constructor" text,
"Car" text,
"Driver" text,
"Co-driver" text,
"Rounds" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the other person where the assistant is paulo babo
### ... | SELECT "Driver" FROM table_30244 WHERE "Co-driver" = 'Paulo Babo' |
### Instruction:
CREATE TABLE table_4283 (
"Umpire" text,
"Country" text,
"Panel" text,
"Matches" real,
"WC Matches" real,
"2011 WC" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in which country whe wc maches was 15
### Response:
| SELECT "Country" FROM table_4283 WHERE "WC Matches" = '15' |
### Instruction:
CREATE TABLE table_name_99 (
height VARCHAR,
sr_no VARCHAR,
locale VARCHAR,
floors VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the height when the locale is nepean sea road, floors is more than 30 and sr no is 58?
### Re... | SELECT height FROM table_name_99 WHERE locale = "nepean sea road" AND floors > 30 AND sr_no = 58 |
### Instruction:
CREATE TABLE table_name_30 (
regional_county_municipality VARCHAR,
area__km_2__ VARCHAR,
population VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What municipality has 719 people and is larger than 108.46 km2?
### Response:
| SELECT regional_county_municipality FROM table_name_30 WHERE area__km_2__ > 108.46 AND population = 719 |
### Instruction:
CREATE TABLE table_203_541 (
id number,
"games" text,
"host city" text,
"dates" text,
"nations" number,
"participants" number,
"events" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which games featured the least amount o... | SELECT "games" FROM table_203_541 ORDER BY "events" LIMIT 1 |
### Instruction:
CREATE TABLE table_56525 (
"Chapter" text,
"University" text,
"City" text,
"State" text,
"Conference" text,
"Founding Date" real,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the chapter in Lubbock?
### ... | SELECT "Chapter" FROM table_56525 WHERE "City" = 'lubbock' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.