instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_44620 (
"Event" text,
"Date" text,
"Round" text,
"Name" text,
"Nationality" text,
"Time" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the record for the date 15 december, and a rou... | SELECT "Record" FROM table_44620 WHERE "Date" = '15 december' AND "Round" = 'final' |
### Instruction:
CREATE TABLE table_26634 (
"Name" text,
"Deceased Spouse" text,
"Cause of Death" text,
"Date of Spouses Death" text,
"Length of Marriage" text,
"Children Together" text,
"Current Marital Status" text
)
-- Using valid SQLite, answer the following questions for the tables pr... | SELECT "Children Together" FROM table_26634 WHERE "Name" = 'Benjamin Harrison' |
### Instruction:
CREATE TABLE table_204_184 (
id number,
"#" number,
"title" text,
"producer(s)" text,
"featured guest(s)" text,
"length" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many of his tracks does nitti have a guest on ?
### Re... | SELECT COUNT("title") FROM table_204_184 WHERE "producer(s)" = 'nitti' AND NOT "featured guest(s)" IS NULL |
### Instruction:
CREATE TABLE table_203_268 (
id number,
"date" text,
"name" text,
"nationality" text,
"tonnage\n(grt)" number,
"fate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- other than the united states , what other nationality were the ... | SELECT DISTINCT "nationality" FROM table_203_268 WHERE "nationality" <> 'united states' |
### Instruction:
CREATE TABLE table_204_870 (
id number,
"product" text,
"main functionality" text,
"input format" text,
"output format" text,
"platform" text,
"license and cost" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... | SELECT "platform" FROM table_204_870 WHERE "product" = 'graphstream' |
### Instruction:
CREATE TABLE table_24091 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Wildcats points" real,
"Opponents" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games did they play when their r... | SELECT COUNT("Date") FROM table_24091 WHERE "Record" = '0-2-0' |
### Instruction:
CREATE TABLE table_50160 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Outcome of the match with Partne... | SELECT "Outcome" FROM table_50160 WHERE "Partner" = 'andoni vivanco' |
### Instruction:
CREATE TABLE table_7940 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the opponent of the match on 3 December 1898 in venue h?
### Response:
| SELECT "Opponent" FROM table_7940 WHERE "Venue" = 'h' AND "Date" = '3 december 1898' |
### Instruction:
CREATE TABLE table_26943 (
"Name" text,
"Position" text,
"Period" text,
"Appearances\u00b9" real,
"Goals\u00b9" real,
"Nationality\u00b2" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What positions correspond to the name Thier... | SELECT "Position" FROM table_26943 WHERE "Name" = 'Thierry Morin' |
### Instruction:
CREATE TABLE table_40402 (
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent in the final" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On October 14, 1996 who was the opponent in the final?
### Response:
| SELECT "Opponent in the final" FROM table_40402 WHERE "Date" = 'october 14, 1996' |
### Instruction:
CREATE TABLE tryout (
pid number,
cname text,
ppos text,
decision text
)
CREATE TABLE player (
pid number,
pname text,
ycard text,
hs number
)
CREATE TABLE college (
cname text,
state text,
enr number
)
-- Using valid SQLite, answer the following question... | SELECT COUNT(*) FROM player WHERE hs > 1000 |
### Instruction:
CREATE TABLE table_55120 (
"Episode #" real,
"# in Season" real,
"Episode Name" text,
"Airdate" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest episode # with an air date of October 31, 2001?
###... | SELECT MIN("Episode #") FROM table_55120 WHERE "Airdate" = 'october 31, 2001' |
### Instruction:
CREATE TABLE table_204_60 (
id number,
"sl no" number,
"constituency\nname" text,
"constituency\nnumber" number,
"member of legislative assembly" text,
"political party" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the ... | SELECT "member of legislative assembly" FROM table_204_60 WHERE "constituency\nnumber" = 14 |
### Instruction:
CREATE TABLE table_39623 (
"School" text,
"Mascot" text,
"Location" text,
"Enrollment" real,
"IHSAA Class" text,
"IHSAA Football Class" text,
"# / County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school has the gr... | SELECT "School" FROM table_39623 WHERE "Mascot" = 'greyhounds' |
### Instruction:
CREATE TABLE table_204_95 (
id number,
"name" text,
"title" text,
"first year\nin this position" number,
"years at nebraska" text,
"alma mater" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which coach held his position for the... | SELECT "name" FROM table_204_95 ORDER BY "years at nebraska" - "years at nebraska" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_25055 (
"African rank" real,
"World rank" real,
"Nation" text,
"GDP per capita" text,
"Total GDP world rank" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many items are listed under gdp per capita under the ... | SELECT COUNT("GDP per capita") FROM table_25055 WHERE "Nation" = 'Burkina Faso' |
### Instruction:
CREATE TABLE table_73949 (
"Rank" real,
"Couple" text,
"Judges" real,
"Public" real,
"Total" real,
"Vote percentage" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the total number when the vote perce... | SELECT COUNT("Total") FROM table_73949 WHERE "Vote percentage" = '44.8%' |
### Instruction:
CREATE TABLE table_60375 (
"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.
-- What is the Week of the game with a Result of ... | SELECT "Week" FROM table_60375 WHERE "Result" = 'w 48–20' |
### Instruction:
CREATE TABLE table_8320 (
"Player" text,
"Nationality" text,
"Position" text,
"Years in New Jersey" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the nationality of the play for New Jersey from 2007... | SELECT "Nationality" FROM table_8320 WHERE "Years in New Jersey" = '2007-2009' |
### Instruction:
CREATE TABLE table_48216 (
"Player" text,
"Club" text,
"Games" real,
"Goals" real,
"Assists" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Ivan Ciernik's average points with less than 11 goals?
### Resp... | SELECT AVG("Points") FROM table_48216 WHERE "Player" = 'ivan ciernik' AND "Goals" < '11' |
### Instruction:
CREATE TABLE table_57831 (
"Name" text,
"Years" text,
"Gender" text,
"Area" text,
"Authority" text,
"Decile" real,
"Roll" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the years for Redhill school, authority of st... | SELECT "Years" FROM table_57831 WHERE "Authority" = 'state' AND "Name" = 'redhill school' |
### Instruction:
CREATE TABLE table_204_397 (
id number,
"rank" text,
"team" text,
"athletes" text,
"run 1" text,
"run 2" text,
"run 3" text,
"run 4" text,
"final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what team came out on ... | SELECT "team" FROM table_204_397 WHERE id = 1 |
### Instruction:
CREATE TABLE table_37450 (
"School" text,
"Mascot" text,
"Location" text,
"Enrollment" real,
"IHSAA Class" text,
"IHSAA Football Class" text,
"County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the IHSAA class fo... | SELECT "IHSAA Class" FROM table_37450 WHERE "School" = 'crown point' |
### Instruction:
CREATE TABLE table_53030 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the final score for the match played in Venue H and the opponent was Newcastl... | SELECT "Result" FROM table_53030 WHERE "Venue" = 'h' AND "Opponent" = 'newcastle united' |
### Instruction:
CREATE TABLE table_22136 (
"English name" text,
"Thai name" text,
"Abbr." text,
"Transcription" text,
"Sanskrit word" text,
"Zodiac sign" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the transcription of the thai name o... | SELECT "Transcription" FROM table_22136 WHERE "Thai name" = 'พฤษภาคม' |
### Instruction:
CREATE TABLE table_77529 (
"Rd #" real,
"Pick #" real,
"Player" text,
"Team (League)" text,
"Reg GP" real,
"Pl GP" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many reg GP for rick vaive in round 1?
### Response:
| SELECT SUM("Reg GP") FROM table_77529 WHERE "Player" = 'rick vaive' AND "Rd #" < '1' |
### Instruction:
CREATE TABLE table_362 (
"Rocket launch" text,
"Launch Date" text,
"Mission" text,
"Institutional authority" text,
"Launch Site" text,
"Outcomes" text,
"Derivatives" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which autho... | SELECT "Institutional authority" FROM table_362 WHERE "Rocket launch" = 'Shahpar-2' |
### Instruction:
CREATE TABLE table_11250 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Away team Carlton's sco... | SELECT "Away team score" FROM table_11250 WHERE "Away team" = 'carlton' |
### Instruction:
CREATE TABLE table_77876 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Replaced by" text,
"Date of appointment" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the manner of dep... | SELECT "Manner of departure" FROM table_77876 WHERE "Date of appointment" = '26 january' |
### Instruction:
CREATE TABLE table_29467 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Replaced by" text,
"Date of appointment" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the manner of... | SELECT "Manner of departure" FROM table_29467 WHERE "Team" = 'Cercle Brugge' |
### Instruction:
CREATE TABLE table_18355 (
"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.
-- How many instances are there of party in the situation ... | SELECT COUNT("Party") FROM table_18355 WHERE "Incumbent" = 'Robert Bauman' |
### Instruction:
CREATE TABLE table_33445 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the away side at junctio... | SELECT "Away team" FROM table_33445 WHERE "Venue" = 'junction oval' |
### Instruction:
CREATE TABLE table_27622 (
"Episode" 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.
-- What is the theme where the original artist is Noemi fe... | SELECT "Theme" FROM table_27622 WHERE "Original artist" = 'Noemi feat. Fiorella Mannoia' |
### Instruction:
CREATE TABLE table_name_14 (
coverage__transmitter_site_ VARCHAR,
power__kw_ VARCHAR,
callsign VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Coverage (Transmitter Site), when Power (kW) is '10kW', and when Callsign is 'DYFX-TV'?... | SELECT coverage__transmitter_site_ FROM table_name_14 WHERE power__kw_ = "10kw" AND callsign = "dyfx-tv" |
### Instruction:
CREATE TABLE table_33407 (
"Year" real,
"Chassis" text,
"Engine" text,
"Start" text,
"Finish" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the most recent year when a g-force chassis started in 1st?
###... | SELECT MAX("Year") FROM table_33407 WHERE "Start" = '1st' AND "Chassis" = 'g-force' |
### Instruction:
CREATE TABLE table_64669 (
"Year" real,
"Tournament" text,
"Venue" text,
"Discipline" text,
"Result" text,
"Extra" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the extra when the result is 4th at the NCAA Championships... | SELECT "Extra" FROM table_64669 WHERE "Result" = '4th' AND "Tournament" = 'ncaa championships' |
### Instruction:
CREATE TABLE table_20111 (
"Outcome" text,
"Year" real,
"Championship" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the score for rick leach zina garriso... | SELECT "Score" FROM table_20111 WHERE "Opponents" = 'Rick Leach Zina Garrison' |
### Instruction:
CREATE TABLE table_36996 (
"Surname" text,
"First" text,
"D.O.B." text,
"Uni#" real,
"Bats" text,
"Throws" text,
"Position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the uniform number of the player whose last n... | SELECT MIN("Uni#") FROM table_36996 WHERE "Surname" = 'wiltshire' |
### Instruction:
CREATE TABLE table_9420 (
"Team" text,
"All Games" text,
"All Games %" real,
"Nonconference Games" text,
"Nonconference Games %" real,
"Ranked AP Nonconference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which All Games have... | SELECT "All Games" FROM table_9420 WHERE "Nonconference Games" = '1–10' |
### Instruction:
CREATE TABLE table_56014 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the Venue is mcg what is t... | SELECT "Home team" FROM table_56014 WHERE "Venue" = 'mcg' |
### Instruction:
CREATE TABLE table_204_416 (
id number,
"chip" text,
"flash size" text,
"eeprom" number,
"sram" number,
"frequency\n[mhz]" number,
"package" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which chip has the highest frequency... | SELECT "chip" FROM table_204_416 ORDER BY "frequency\n[mhz]" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_23058 (
"Series #" real,
"Episode #" real,
"Title" text,
"Written by" text,
"Directed by" text,
"Viewers" real,
"Original airdate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the title if the Lost Bo... | SELECT COUNT("Directed by") FROM table_23058 WHERE "Title" = 'The Lost Boy' |
### Instruction:
CREATE TABLE table_4643 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the crowd size when Geel... | SELECT "Crowd" FROM table_4643 WHERE "Away team" = 'geelong' |
### Instruction:
CREATE TABLE table_21858 (
"Episode" real,
"Original title" text,
"Directed by" text,
"Written by" text,
"Original airdate" text,
"Duration" text,
"Viewership" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total... | SELECT "Viewership" FROM table_21858 WHERE "Original title" = ' Your Cheating Art ' |
### Instruction:
CREATE TABLE table_32605 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What venue features carlton as ... | SELECT "Venue" FROM table_32605 WHERE "Away team" = 'carlton' |
### Instruction:
CREATE TABLE table_5301 (
"Episode No." text,
"Episode Title" text,
"UK Broadcast Date" text,
"Presenter" text,
"Countries Visited" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the broadcast date for the episode titled, 'F... | SELECT "UK Broadcast Date" FROM table_5301 WHERE "Episode Title" = 'from hong kong to ulaanbaatar' |
### Instruction:
CREATE TABLE tags (
index number,
id number,
tag text
)
CREATE TABLE torrents (
groupname text,
totalsnatched number,
artist text,
groupyear number,
releasetype text,
groupid number,
id number
)
-- Using valid SQLite, answer the following questions for the tab... | SELECT COUNT(*) FROM (SELECT groupname FROM torrents GROUP BY groupname HAVING COUNT(*) > 1) |
### Instruction:
CREATE TABLE table_28780 (
"Year (Ceremony)" text,
"English title" text,
"Arabic title" text,
"Director" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 2012 (85th) is the year (ceremony) how many results?
### R... | SELECT COUNT("Result") FROM table_28780 WHERE "Year (Ceremony)" = '2012 (85th)' |
### Instruction:
CREATE TABLE table_train_1 (
"id" int,
"sinusal_rhythm" bool,
"severe_sepsis" bool,
"hemodynamic_instability" bool,
"social_security" bool,
"septic_shock" bool,
"age" float,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables provided a... | SELECT * FROM table_train_1 WHERE sinusal_rhythm = 1 |
### Instruction:
CREATE TABLE table_33225 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What venue features fitzroy as ... | SELECT "Venue" FROM table_33225 WHERE "Away team" = 'fitzroy' |
### Instruction:
CREATE TABLE table_18243 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who were the candidates that ran when Jim Moody was up ... | SELECT "Candidates" FROM table_18243 WHERE "First elected" = '1982' |
### Instruction:
CREATE TABLE table_69999 (
"Tournament" text,
"Wins" real,
"Top-25" real,
"Events" real,
"Cuts made" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- During the PGA Championship, what's the lowest amount of events with wins greater th... | SELECT MIN("Events") FROM table_69999 WHERE "Tournament" = 'pga championship' AND "Wins" > '0' |
### Instruction:
CREATE TABLE table_55050 (
"Race Name" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which driver won the iv j.c.c. jersey road race?
### ... | SELECT "Winning driver" FROM table_55050 WHERE "Race Name" = 'iv j.c.c. jersey road race' |
### Instruction:
CREATE TABLE table_15624586_2 (
indigenous_mining_production_2006 VARCHAR,
_percentage_of_world_demand VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which country mines 24.0% of the world demand of uranium?
### Response:
| SELECT indigenous_mining_production_2006 FROM table_15624586_2 WHERE _percentage_of_world_demand = "24.0%" |
### Instruction:
CREATE TABLE table_51707 (
"Year" real,
"Category" text,
"Character" text,
"For The Show" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What category was Kasautii Zindagii Kay nominated for after 2005?
### Response... | SELECT "Category" FROM table_51707 WHERE "Year" > '2005' AND "For The Show" = 'kasautii zindagii kay' |
### Instruction:
CREATE TABLE table_6511 (
"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 lowest wins with points larger than 46, and a rank of 10th?
### Re... | SELECT MIN("Wins") FROM table_6511 WHERE "Points" > '46' AND "Rank" = '10th' |
### Instruction:
CREATE TABLE table_3476 (
"District" real,
"Representative" text,
"Party" text,
"Residence" text,
"First Elected" text,
"Term Limited" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If first elected on 2003 (appt.), when was the... | SELECT MIN("Term Limited") FROM table_3476 WHERE "First Elected" = '2003 (Appt.)' |
### Instruction:
CREATE TABLE table_51608 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the home team was footscra... | SELECT "Home team score" FROM table_51608 WHERE "Home team" = 'footscray' |
### Instruction:
CREATE TABLE table_79777 (
"Ranking" real,
"Nationality" text,
"Name" text,
"Years" text,
"Total Appearances(league only)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What nationality has a ranking less than 7 with tony stenson a... | SELECT "Nationality" FROM table_79777 WHERE "Ranking" < '7' AND "Name" = 'tony stenson' |
### Instruction:
CREATE TABLE table_55966 (
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What h... | SELECT "High points" FROM table_55966 WHERE "High rebounds" = 'ot' |
### Instruction:
CREATE TABLE table_203_724 (
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.
-- poland and south africa combined for how many to... | SELECT SUM("total") FROM table_203_724 WHERE "nation" IN ('poland', 'south africa') |
### Instruction:
CREATE TABLE table_15059 (
"Tournament" text,
"2007" text,
"2008" text,
"2009" text,
"Career Win-Loss" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the value for 2007 when 2008 is Q1?
### Response:
| SELECT "2007" FROM table_15059 WHERE "2008" = 'q1' |
### Instruction:
CREATE TABLE table_12266757_1 (
womens_singles VARCHAR,
mens_doubles VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the womens singles winnerwhen the mens doubles were stefan karlsson claes nordin , bk aura gbk?
### Response:
| SELECT womens_singles FROM table_12266757_1 WHERE mens_doubles = "Stefan Karlsson Claes Nordin , BK Aura GBK" |
### Instruction:
CREATE TABLE table_51626 (
"Player" text,
"Date of Birth" text,
"Batting Style" text,
"Bowling Style" text,
"First Class Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the first class team of the player born on 23 Febr... | SELECT "First Class Team" FROM table_51626 WHERE "Date of Birth" = '23 february 1973' |
### Instruction:
CREATE TABLE track (
Track_ID int,
Name text,
Location text,
Seating real,
Year_Opened real
)
CREATE TABLE race (
Race_ID int,
Name text,
Class text,
Date text,
Track_ID text
)
-- Using valid SQLite, answer the following questions for the tables provided above... | SELECT Class, COUNT(*) FROM race GROUP BY Class ORDER BY Class DESC |
### Instruction:
CREATE TABLE table_2896 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Attendance" real,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score for the Atl... | SELECT "Score" FROM table_2896 WHERE "Opponent" = 'Atlanta Thrashers' |
### Instruction:
CREATE TABLE table_16911 (
"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.
-- How many different scores are there ... | SELECT COUNT("Score") FROM table_16911 WHERE "Tournament" = 'Verizon Classic' |
### Instruction:
CREATE TABLE table_73121 (
"Group 7" text,
"Group 8" text,
"Group 9" text,
"Group 10" text,
"Group 11" text,
"Group 12" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Nusa Ina only played once while group 7 played.
### Respons... | SELECT COUNT("Group 7") FROM table_73121 WHERE "Group 12" = 'Nusa Ina' |
### Instruction:
CREATE TABLE table_203_589 (
id number,
"protein" text,
"natural host" text,
"normal function" text,
"prion state" text,
"prion phenotype" text,
"year identified" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many pri... | SELECT COUNT("protein") FROM table_203_589 WHERE "year identified" = 2012 |
### Instruction:
CREATE TABLE table_42566 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Re... | SELECT "Record" FROM table_42566 WHERE "Date" = 'december 20' |
### Instruction:
CREATE TABLE table_22060 (
"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.
-- How many total number of attendance were there... | SELECT COUNT("Attendance") FROM table_22060 WHERE "Game site" = 'Anaheim Stadium' |
### Instruction:
CREATE TABLE table_621 (
"Leg" text,
"Stage" text,
"Time (EEST)" text,
"Name" text,
"Length" text,
"Winner" text,
"Time" text,
"Avg. spd." text,
"Rally leader" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the ... | SELECT "Length" FROM table_621 WHERE "Stage" = 'SS22' |
### Instruction:
CREATE TABLE table_50976 (
"Round" real,
"Pick" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Pick has an Overall larger than 308, and a Position of rb?
### ... | SELECT MAX("Pick") FROM table_50976 WHERE "Overall" > '308' AND "Position" = 'rb' |
### Instruction:
CREATE TABLE table_52662 (
"Chemical class" text,
"Group" text,
"Formula" text,
"Prefix" text,
"Suffix" text,
"Example" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which chemical class uses the example Chloroethane (ethyl chl... | SELECT "Chemical class" FROM table_52662 WHERE "Example" = 'chloroethane (ethyl chloride)' |
### Instruction:
CREATE TABLE table_204_841 (
id number,
"no." number,
"temple" text,
"honzon (main image)" text,
"city/town/village" text,
"prefecture" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what are the total number of temples in itano... | SELECT COUNT("temple") FROM table_204_841 WHERE "city/town/village" = 'itano' |
### Instruction:
CREATE TABLE table_62404 (
"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 Fred Couples when the score is 68-66=134?
### Response:
| SELECT "To par" FROM table_62404 WHERE "Score" = '68-66=134' AND "Player" = 'fred couples' |
### Instruction:
CREATE TABLE table_64232 (
"Debut year" real,
"Player" text,
"Games" real,
"Goals" real,
"Years at club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Debut year has a Player of noel carroll, and Games smaller than 12?
### ... | SELECT MAX("Debut year") FROM table_64232 WHERE "Player" = 'noel carroll' AND "Games" < '12' |
### Instruction:
CREATE TABLE table_76327 (
"Episode" text,
"First broadcast" text,
"Graeme's guest" text,
"Jeremy's guest" text,
"Votes (%)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Graeme's Guest, when Episode is '1x03'?
### Respon... | SELECT "Graeme's guest" FROM table_76327 WHERE "Episode" = '1x03' |
### Instruction:
CREATE TABLE table_50683 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Place has a Country of united states, and a Player of corey ... | SELECT "Place" FROM table_50683 WHERE "Country" = 'united states' AND "Player" = 'corey pavin' |
### Instruction:
CREATE TABLE table_32278 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the away team at junctio... | SELECT "Away team" FROM table_32278 WHERE "Venue" = 'junction oval' |
### Instruction:
CREATE TABLE table_3589 (
"Year" real,
"Starts" real,
"Wins" real,
"Top 10" real,
"Avg. Start" text,
"Avg. Finish" text,
"Winnings" text,
"Position" text,
"Team(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What... | SELECT MAX("Wins") FROM table_3589 |
### Instruction:
CREATE TABLE table_60376 (
"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.
-- What is the Record of the game with a Result o... | SELECT "Record" FROM table_60376 WHERE "Result" = 'l 14–16' |
### Instruction:
CREATE TABLE table_2402 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Sun Devils points" real,
"Opponents" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the record for the Sun Devils w... | SELECT "Record" FROM table_2402 WHERE "Sun Devils points" = '44' |
### Instruction:
CREATE TABLE table_48562 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which event had the record of 18 5... | SELECT "Event" FROM table_48562 WHERE "Record" = '18–5 (1)' |
### Instruction:
CREATE TABLE table_9602 (
"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 was the school/club after round 12, and picked smaller than 342?
### Respo... | SELECT "School/Club Team" FROM table_9602 WHERE "Round" > '12' AND "Pick" < '342' |
### Instruction:
CREATE TABLE table_38033 (
"Date" text,
"Label" text,
"Region" text,
"Format" text,
"Catalog" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Format has a Catalog of 61298, and a Date of september 1984?
### Response:
| SELECT "Format" FROM table_38033 WHERE "Catalog" = '61298' AND "Date" = 'september 1984' |
### Instruction:
CREATE TABLE table_13078 (
"Helium" text,
"Neon" text,
"Argon" text,
"Krypton" text,
"Xenon" text,
"Radon" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Wha argon has helium of 1.0000684?
### Response:
| SELECT "Argon" FROM table_13078 WHERE "Helium" = '1.0000684' |
### Instruction:
CREATE TABLE table_203_79 (
id number,
"year" number,
"film" text,
"publisher" text,
"director" text,
"distributor" text,
"worldwide gross" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which live action a... | SELECT "film" FROM table_203_79 ORDER BY "worldwide gross" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_15138 (
"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.
-- In the circuit of Madonie, what was the date that ha... | SELECT "Date" FROM table_15138 WHERE "Circuit" = 'madonie' AND "Winning constructor" = 'bugatti' |
### Instruction:
CREATE TABLE table_25685 (
"Autonomous Community" text,
"Organization" text,
"Television Channels" text,
"Radio Stations" text,
"Foundation" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the autonomous community with televi... | SELECT "Autonomous Community" FROM table_25685 WHERE "Television Channels" = 'TPA TPA2 RTPA Internacional' |
### Instruction:
CREATE TABLE table_name_10 (
rank INTEGER,
games VARCHAR,
reb_avg VARCHAR,
total_rebounds VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which lowest rank(player) has a rebound average larger than 9, out of 920 rebounds, and who play... | SELECT MIN(rank) FROM table_name_10 WHERE reb_avg > 9 AND total_rebounds = 920 AND games > 79 |
### Instruction:
CREATE TABLE table_23936 (
"County" text,
"Obama%" text,
"Obama#" real,
"McCain%" text,
"McCain#" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people voted for Obama in the county where McCain got 72.75% of the votes?
#... | SELECT MIN("Obama#") FROM table_23936 WHERE "McCain%" = '72.75%' |
### Instruction:
CREATE TABLE table_58686 (
"Year" real,
"Award" text,
"Category" text,
"Nominated" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what year was there an award for TV Adicto Golden Awards and the category Female Rev... | SELECT "Year" FROM table_58686 WHERE "Award" = 'tv adicto golden awards' AND "Category" = 'female revelation' |
### Instruction:
CREATE TABLE table_25355501_2 (
january_15_16 VARCHAR,
august_21_22 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- january 15-16 when august 21-22 is august 22, 1979?
### Response:
| SELECT january_15_16 FROM table_25355501_2 WHERE august_21_22 = "August 22, 1979" |
### Instruction:
CREATE TABLE table_4462 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What surface was the game played on for the September 13, 2009 mat... | SELECT "Surface" FROM table_4462 WHERE "Date" = 'september 13, 2009' |
### Instruction:
CREATE TABLE table_46271 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High assists" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the hig... | SELECT "High assists" FROM table_46271 WHERE "Team" = '@ detroit' |
### Instruction:
CREATE TABLE table_36208 (
"Date" text,
"Episode" real,
"Performer 1" text,
"Performer 2" text,
"Performer 3" text,
"Performer 4" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Performer 2 of chip esten has what performer 3?
#... | SELECT "Performer 3" FROM table_36208 WHERE "Performer 2" = 'chip esten' |
### Instruction:
CREATE TABLE table_71777 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which opponent had a time of 1:26?... | SELECT "Opponent" FROM table_71777 WHERE "Time" = '1:26' |
### Instruction:
CREATE TABLE orders (
date_order_placed VARCHAR,
order_id VARCHAR
)
CREATE TABLE shipments (
order_id VARCHAR,
invoice_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the placement date of the order whose invoice numbe... | SELECT T1.date_order_placed FROM orders AS T1 JOIN shipments AS T2 ON T1.order_id = T2.order_id WHERE T2.invoice_number = 10 |
### Instruction:
CREATE TABLE table_46690 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which location led to a decision and a record of 1-... | SELECT "Location" FROM table_46690 WHERE "Method" = 'decision' AND "Record" = '1-2' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.