instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_65243 (
"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 total number of years that has genre of first-person shooter?
### Respons... | SELECT SUM("Year") FROM table_65243 WHERE "Genre" = 'first-person shooter' |
### Instruction:
CREATE TABLE table_12316 (
"Date" text,
"Score" text,
"Set 1" text,
"Set 2" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Set 2 has a set one at 19:21?
### Response:
| SELECT "Set 2" FROM table_12316 WHERE "Set 1" = '19:21' |
### Instruction:
CREATE TABLE table_36597 (
"Round" real,
"Player" text,
"Position" text,
"Nationality" text,
"College/Junior/Club Team (League)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What nationality is Barry Duench?
### Response:
| SELECT "Nationality" FROM table_36597 WHERE "Player" = 'barry duench' |
### Instruction:
CREATE TABLE table_52407 (
"City" text,
"Country" text,
"Region" text,
"IATA" text,
"ICAO" text,
"Airport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the region for ICAO of vmmc
### Response:
| SELECT "Region" FROM table_52407 WHERE "ICAO" = 'vmmc' |
### Instruction:
CREATE TABLE table_41555 (
"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 is the city of license that has lp as the class?
... | SELECT "City of license" FROM table_41555 WHERE "Class" = 'lp' |
### Instruction:
CREATE TABLE table_name_29 (
total_points VARCHAR,
match_points VARCHAR,
games VARCHAR,
bonus_points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the total points that had 68 match points, 9 bonus points and 30 games?
##... | SELECT total_points FROM table_name_29 WHERE games = "30" AND bonus_points = "9" AND match_points = "68" |
### Instruction:
CREATE TABLE table_61767 (
"School" text,
"Suburb/Town" text,
"Years" text,
"Founded" real,
"Website" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On average, when were vineyard schools founded?
### Response:
| SELECT AVG("Founded") FROM table_61767 WHERE "Suburb/Town" = 'vineyard' |
### Instruction:
CREATE TABLE table_204_596 (
id number,
"year" number,
"winners" text,
"score" text,
"runners up" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which team scored the most goals in 1946 ?
### Response:
| SELECT "winners" FROM table_204_596 WHERE "year" = 1946 |
### Instruction:
CREATE TABLE table_name_80 (
wins INTEGER,
scored VARCHAR,
points VARCHAR,
losses VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the Wins which has Points smaller than 10, Losses smaller than 3, and a Scored of 11?
### Respons... | SELECT MIN(wins) FROM table_name_80 WHERE points < 10 AND losses < 3 AND scored = 11 |
### Instruction:
CREATE TABLE table_30746 (
"IOC Code" text,
"Country" text,
"Network Station" text,
"Television Station" text,
"Radio Station" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many television station listings have a ioc code as ma... | SELECT COUNT("Television Station") FROM table_30746 WHERE "IOC Code" = 'MAS' |
### Instruction:
CREATE TABLE table_9904 (
"Generation" text,
"Birthday" text,
"Birthplace" text,
"Blood Type" text,
"Agency" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the blood type of the member from the vision factory agency?
### Re... | SELECT "Blood Type" FROM table_9904 WHERE "Agency" = 'vision factory' |
### Instruction:
CREATE TABLE table_17255 (
"Station Number" text,
"District" text,
"Location" text,
"Type" text,
"Appliances" text,
"Registrations" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what are all the location where station number is... | SELECT "Location" FROM table_17255 WHERE "Station Number" = 'C11' |
### Instruction:
CREATE TABLE table_203_37 (
id number,
"#" number,
"title" text,
"producer(s)" text,
"performer(s)" text,
"length" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how long is the longest dong on prophets vs. profits ?
### Respo... | SELECT "title" FROM table_203_37 ORDER BY "length" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_7851 (
"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.
-- For which tournament was Anthony Wall the runner-up?
### Respo... | SELECT "Tournament" FROM table_7851 WHERE "Runner(s)-up" = 'anthony wall' |
### Instruction:
CREATE TABLE table_7753 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Total, when Gold is less than 0?
### Response:
| SELECT AVG("Total") FROM table_7753 WHERE "Gold" < '0' |
### Instruction:
CREATE TABLE table_75814 (
"Chord" text,
"Root" text,
"Major third" text,
"Perfect fifth" text,
"Minor seventh" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Chord with a Minor that is seventh of f?
### Response:
| SELECT "Chord" FROM table_75814 WHERE "Minor seventh" = 'f' |
### Instruction:
CREATE TABLE table_70514 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the game played on September 9?
### Response:... | SELECT "Score" FROM table_70514 WHERE "Date" = 'september 9' |
### Instruction:
CREATE TABLE table_name_29 (
result VARCHAR,
method VARCHAR,
round VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result when the round is less than 3, the location is in Auckland, New Zealand, and tko i... | SELECT result FROM table_name_29 WHERE round < 3 AND location = "auckland, new zealand" AND method = "tko" |
### Instruction:
CREATE TABLE table_28349 (
"Road race" text,
"Distance" text,
"Location" text,
"Country" text,
"Month held" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times a year is the Paris 20k road race held?
### Response:
| SELECT COUNT("Month held") FROM table_28349 WHERE "Road race" = 'Paris 20K' |
### Instruction:
CREATE TABLE table_10923 (
"Player" text,
"Height" text,
"School" text,
"Hometown" text,
"College" text,
"NBA Draft" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What college did danny manning go to?
### Response:
| SELECT "College" FROM table_10923 WHERE "Player" = 'danny manning' |
### Instruction:
CREATE TABLE table_name_42 (
record VARCHAR,
date VARCHAR,
time__seconds_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Record for 23 january 2010, with a time smaller than 42.679 seconds?
### Response:
| SELECT record FROM table_name_42 WHERE date = "23 january 2010" AND time__seconds_ < 42.679 |
### Instruction:
CREATE TABLE table_6964 (
"Date" text,
"Time" text,
"Home" text,
"Away" text,
"Score" text,
"Ground" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Time with a Score that is 46-82?
### Response:
| SELECT "Time" FROM table_6964 WHERE "Score" = '46-82' |
### Instruction:
CREATE TABLE table_name_16 (
class_to_1928 VARCHAR,
quantity VARCHAR,
seats VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Class to 1928 has the Quantity smaller than 440 and Seats of 29/29?
### Response:
| SELECT class_to_1928 FROM table_name_16 WHERE quantity < 440 AND seats = "29/29" |
### Instruction:
CREATE TABLE table_52828 (
"Player" text,
"Nationality" text,
"Position" text,
"Years for Jazz" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What years did Eddie Hughes play for the Jazz?
### Response:
| SELECT "Years for Jazz" FROM table_52828 WHERE "Player" = 'eddie hughes' |
### Instruction:
CREATE TABLE table_63692 (
"School" text,
"City" text,
"Team Name" text,
"County" text,
"Year Joined" text,
"Year Left" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year did the Hornets leave the conference?
### Respons... | SELECT "Year Left" FROM table_63692 WHERE "Team Name" = 'hornets' |
### Instruction:
CREATE TABLE table_19296 (
"Celebrity" text,
"Famous for" text,
"Entered" text,
"Exited" text,
"Finished" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the finished place where exited is day 11?
### Response:
| SELECT "Finished" FROM table_19296 WHERE "Exited" = 'Day 11' |
### Instruction:
CREATE TABLE table_60120 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What player has a 147 total from Spain?
### Response:
| SELECT "Player" FROM table_60120 WHERE "Total" = '147' AND "Country" = 'spain' |
### Instruction:
CREATE TABLE table_39022 (
"Country" text,
"Date" text,
"Label" text,
"Format" text,
"Catalogue #" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What format is dated October 29, 2004?
### Response:
| SELECT "Format" FROM table_39022 WHERE "Date" = 'october 29, 2004' |
### Instruction:
CREATE TABLE table_69755 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent with a result of l 14 6?
### Response:
| SELECT "Opponent" FROM table_69755 WHERE "Result" = 'l 14–6' |
### Instruction:
CREATE TABLE table_32393 (
"Region" text,
"Host" text,
"Venue" text,
"City" text,
"State" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In which city is Hayman Hall (Tom Gola Arena) located?
### Response:
| SELECT "City" FROM table_32393 WHERE "Venue" = 'hayman hall (tom gola arena)' |
### Instruction:
CREATE TABLE table_43433 (
"Year" text,
"Award" text,
"Production" text,
"Role" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- During what year was Wicked associated with the Green Room Awards?
### Response:
| SELECT "Year" FROM table_43433 WHERE "Production" = 'wicked' AND "Award" = 'green room awards' |
### Instruction:
CREATE TABLE table_12983929_1 (
shut_down VARCHAR,
commercial_operation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the shut down state of the unit that's been in commercial operation since 01.02.1984?
### Response:
| SELECT shut_down FROM table_12983929_1 WHERE commercial_operation = "01.02.1984" |
### Instruction:
CREATE TABLE table_53402 (
"Date" text,
"Venue" text,
"Result" text,
"Goals" real,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Result has a Date of 9 october 2009?
### Response:
| SELECT "Result" FROM table_53402 WHERE "Date" = '9 october 2009' |
### Instruction:
CREATE TABLE table_6754 (
"Version" text,
"Length" text,
"Album" text,
"Remixed by" text,
"Year" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who remixed a music video in 1985?
### Response:
| SELECT "Remixed by" FROM table_6754 WHERE "Year" = '1985' AND "Version" = 'music video' |
### Instruction:
CREATE TABLE table_3404 (
"County" text,
"Town/City" text,
"Milepost" text,
"Station" text,
"Connections" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what city or town is Stratford (limited service)?
### Response:
| SELECT "Town/City" FROM table_3404 WHERE "Station" = 'Stratford (Limited service)' |
### Instruction:
CREATE TABLE table_66334 (
"Name" text,
"Height" text,
"Weight" text,
"Spike" text,
"2008 club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Name of the Gabeca Montichiari Club?
### Response:
| SELECT "Name" FROM table_66334 WHERE "2008 club" = 'gabeca montichiari' |
### Instruction:
CREATE TABLE table_40878 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Weeks have a Result of w 17 13?
### Response:
| SELECT AVG("Week") FROM table_40878 WHERE "Result" = 'w 17–13' |
### Instruction:
CREATE TABLE table_39428 (
"Category" text,
"Type" text,
"Attribute" text,
"Bubbles" text,
"Cancelable" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the type with cancelable of no and attribute of ondragend
### Response:
| SELECT "Type" FROM table_39428 WHERE "Cancelable" = 'no' AND "Attribute" = 'ondragend' |
### Instruction:
CREATE TABLE journal_committee (
editor_id number,
journal_id number,
work_type text
)
CREATE TABLE editor (
editor_id number,
name text,
age number
)
CREATE TABLE journal (
journal_id number,
date text,
theme text,
sales number
)
-- Using valid SQLite, answe... | SELECT COUNT(*) FROM editor |
### Instruction:
CREATE TABLE table_60169 (
"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.
-- What is the height for club Havk Mladost?
### Response:
| SELECT "Height" FROM table_60169 WHERE "Club" = 'havk mladost' |
### Instruction:
CREATE TABLE table_49052 (
"Source Version" text,
"Target Version" text,
"Last Release" text,
"License" text,
"Website" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Target Version, when License is LGPL or MPL?
### Respon... | SELECT "Target Version" FROM table_49052 WHERE "License" = 'lgpl or mpl' |
### Instruction:
CREATE TABLE table_252 (
"Player" text,
"No." text,
"Nationality" text,
"Position" text,
"Years for Jazz" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school or team does Al Jefferson play for?
... | SELECT "School/Club Team" FROM table_252 WHERE "Player" = 'Al Jefferson' |
### Instruction:
CREATE TABLE table_14357 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which lane ranked less than 4 for the Netherlands?
### Response:
| SELECT "Lane" FROM table_14357 WHERE "Rank" < '4' AND "Nationality" = 'netherlands' |
### Instruction:
CREATE TABLE table_61641 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Away Team, when Home Team is 'Swindon Town'?
### Response:
| SELECT "Away team" FROM table_61641 WHERE "Home team" = 'swindon town' |
### Instruction:
CREATE TABLE table_25640730_7 (
written_by VARCHAR,
uk_air_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the UK air date is February 18, 2013, who was the episode written by?
### Response:
| SELECT written_by FROM table_25640730_7 WHERE uk_air_date = "February 18, 2013" |
### Instruction:
CREATE TABLE table_2532 (
"Outcome" text,
"Year" real,
"Championship" text,
"Surface" text,
"Opponent in the final" text,
"Score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Fred Stolle's final year of co... | SELECT MAX("Year") FROM table_2532 |
### Instruction:
CREATE TABLE table_17814458_1 (
capacity_in_persons_hour INTEGER,
construction_year_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the least capacity for persons hour for 1983
### Response:
| SELECT MIN(capacity_in_persons_hour) FROM table_17814458_1 WHERE construction_year_s_ = "1983" |
### Instruction:
CREATE TABLE table_203_716 (
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.
-- what is the total number of bronze medals given ... | SELECT SUM("bronze") FROM table_203_716 |
### Instruction:
CREATE TABLE table_4676 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which match was played on April 2, 2006?
### Response:
| SELECT "Competition" FROM table_4676 WHERE "Date" = 'april 2, 2006' |
### Instruction:
CREATE TABLE table_42190 (
"Couple" text,
"Style" text,
"Music" text,
"Choreographer(s)" text,
"Results" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the choreographer with the style pas de deux?
### Response:
| SELECT "Choreographer(s)" FROM table_42190 WHERE "Style" = 'pas de deux' |
### Instruction:
CREATE TABLE table_204_887 (
id number,
"district" number,
"representative" text,
"party" text,
"residence" text,
"counties represented" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which representative represented the most co... | SELECT "representative" FROM table_204_887 ORDER BY "counties represented" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_name_95 (
national_team VARCHAR,
year VARCHAR,
club VARCHAR,
apps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which National team has a Club of arsenal, and Apps smaller than 4, and a Year of 2010?
### Respons... | SELECT national_team FROM table_name_95 WHERE club = "arsenal" AND apps < 4 AND year = "2010" |
### Instruction:
CREATE TABLE table_11933 (
"Date" text,
"Competition" text,
"Venue" text,
"Result" text,
"Score" text,
"Goals" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of cook 3/6?
### Response:
| SELECT "Result" FROM table_11933 WHERE "Goals" = 'cook 3/6' |
### Instruction:
CREATE TABLE table_204_20 (
id number,
"represent" text,
"contestant" text,
"age" number,
"height" text,
"hometown" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many delegates are at most 20 years old ?
### Response:
| SELECT COUNT("contestant") FROM table_204_20 WHERE "age" <= 20 |
### Instruction:
CREATE TABLE table_name_16 (
result VARCHAR,
district VARCHAR,
party VARCHAR,
first_elected VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which republican was first elected in 1886 in the district of ohio 17?
### Response:
| SELECT result FROM table_name_16 WHERE party = "republican" AND first_elected = "1886" AND district = "ohio 17" |
### Instruction:
CREATE TABLE table_name_19 (
opponents_in_the_final VARCHAR,
surface VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponents in the final on January 5, 2003, on a hard surface?
### Response:
| SELECT opponents_in_the_final FROM table_name_19 WHERE surface = "hard" AND date = "january 5, 2003" |
### Instruction:
CREATE TABLE table_200_15 (
id number,
"year" text,
"title" text,
"role" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the name of paul reubens 's character in the popular t.v. show murphy brown ?
### Respo... | SELECT "role" FROM table_200_15 WHERE "title" = 'murphy brown' |
### Instruction:
CREATE TABLE table_15815 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Loss had an Attendance of 17,675?
### Response:
| SELECT "Loss" FROM table_15815 WHERE "Attendance" = '17,675' |
### Instruction:
CREATE TABLE table_204_475 (
id number,
"home team" text,
"score" text,
"away team" text,
"date" text,
"agg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the home team of the only 0-0 score ?
### Response:
| SELECT "home team" FROM table_204_475 WHERE "score" = '0-0' |
### Instruction:
CREATE TABLE table_57118 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of laps when the Time/Retired is differential?
### Re... | SELECT MAX("Laps") FROM table_57118 WHERE "Time/Retired" = 'differential' |
### Instruction:
CREATE TABLE table_62628 (
"Year" real,
"Winner" text,
"Finalist" text,
"Result" text,
"City" text,
"Stadium" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the stadium past 2012?
### Response:
| SELECT "Stadium" FROM table_62628 WHERE "Year" > '2012' |
### Instruction:
CREATE TABLE table_18730 (
"School" text,
"Location" text,
"Founded" real,
"Affiliation" text,
"Mascot" text,
"Division" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the locations with a panthers mascot?
### Respons... | SELECT "Location" FROM table_18730 WHERE "Mascot" = 'Panthers' |
### Instruction:
CREATE TABLE table_75680 (
"Name" text,
"State" text,
"Status" text,
"Title" text,
"Appointment" text,
"Credentials Presented" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title for david campbell mulford?
### Re... | SELECT "Title" FROM table_75680 WHERE "Name" = 'david campbell mulford' |
### Instruction:
CREATE TABLE table_203_569 (
id number,
"designation" text,
"classification" text,
"constellation" text,
"apparent magnitude" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the number of galaxies in the pisces constellatio... | SELECT COUNT("designation") FROM table_203_569 WHERE "constellation" = 'pisces' |
### Instruction:
CREATE TABLE table_64448 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who placed highest with a time of 1:47.70?
### Response:
| SELECT MIN("Rank") FROM table_64448 WHERE "Time" = '1:47.70' |
### Instruction:
CREATE TABLE table_62370 (
"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.
-- On which date did the Winfield Triple Challenge series take place?
... | SELECT "Date" FROM table_62370 WHERE "Series" = 'winfield triple challenge' |
### Instruction:
CREATE TABLE table_3058 (
"Name of Award" text,
"Name of Film" text,
"Language" text,
"Awardee(s)" text,
"Cash Prize" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the awardees for best special effects
### Response:
| SELECT "Awardee(s)" FROM table_3058 WHERE "Name of Award" = 'Best Special Effects' |
### Instruction:
CREATE TABLE table_69655 (
"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.
-- Name the least track with song of little sister
### Resp... | SELECT MIN("Track") FROM table_69655 WHERE "Song Title" = 'little sister' |
### Instruction:
CREATE TABLE table_34229 (
"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 end result for 28 February 2001?
### Response:
| SELECT "Result" FROM table_34229 WHERE "Date" = '28 february 2001' |
### Instruction:
CREATE TABLE table_50343 (
"Callsign" text,
"Area served" text,
"Band" text,
"Freq currently" text,
"Purpose" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Freq currently of the 4GG Callsign?
### Response:
| SELECT "Freq currently" FROM table_50343 WHERE "Callsign" = '4gg' |
### Instruction:
CREATE TABLE table_2074 (
"Number One(s)" real,
"Artist(s)" text,
"Song(s) \u2014 Weeks" text,
"Issue Years" text,
"Whole Weeks" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest overall number one(s)?
### Respons... | SELECT MAX("Number One(s)") FROM table_2074 |
### Instruction:
CREATE TABLE table_name_93 (
win__percentage VARCHAR,
conference VARCHAR,
_number_of_bids VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the Hockey East conference, what is the total number of win percentages when there are less than... | SELECT COUNT(win__percentage) FROM table_name_93 WHERE conference = "hockey east" AND _number_of_bids < 4 |
### Instruction:
CREATE TABLE table_name_10 (
score VARCHAR,
player VARCHAR,
country VARCHAR,
place VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Score, when Country is 'United States', when Place is 'T3', and when Player is 'Phil Blackmar'?... | SELECT score FROM table_name_10 WHERE country = "united states" AND place = "t3" AND player = "phil blackmar" |
### Instruction:
CREATE TABLE table_203_505 (
id number,
"number" number,
"event" text,
"type" text,
"matthew" text,
"mark" text,
"luke" text,
"john" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number of events ?
#... | SELECT COUNT("event") FROM table_203_505 |
### Instruction:
CREATE TABLE table_73659 (
"Episode no." real,
"Airdate" text,
"Viewers" real,
"BBC Three weekly ranking" text,
"Cable rank" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the cable rank for episode no. 4?
### Response:
| SELECT "Cable rank" FROM table_73659 WHERE "Episode no." = '4' |
### Instruction:
CREATE TABLE table_41287 (
"Team" text,
"City" text,
"State" text,
"Home venue" text,
"Capacity" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the city with a capacity of 41,311?
### Response:
| SELECT "City" FROM table_41287 WHERE "Capacity" = '41,311' |
### Instruction:
CREATE TABLE table_48949 (
"Heat" real,
"Lane" real,
"Name" text,
"Country" text,
"Mark" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Country that has Richard Buck Lane higher than 3?
### Response:
| SELECT "Country" FROM table_48949 WHERE "Lane" > '3' AND "Name" = 'richard buck' |
### Instruction:
CREATE TABLE table_31027 (
"Club" text,
"Location" text,
"Stadium" text,
"Capacity" real,
"Manager" text,
"Captain" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which club is at the location of kuopio?
### Response:
| SELECT "Club" FROM table_31027 WHERE "Location" = 'Kuopio' |
### Instruction:
CREATE TABLE table_name_71 (
bronze INTEGER,
total VARCHAR,
gold VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the number of bronze when they are ranked 29, had a total more than 3 and less than 2 golds?
### R... | SELECT MIN(bronze) FROM table_name_71 WHERE gold < 2 AND rank = "29" AND total > 3 |
### Instruction:
CREATE TABLE table_69457 (
"Margin" real,
"Score" text,
"Opponent" text,
"Venue" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What score was on 13 June 2004?
### Response:
| SELECT "Score" FROM table_69457 WHERE "Date" = '13 june 2004' |
### Instruction:
CREATE TABLE table_55892 (
"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.
-- What is the date of the game played at rich stadium?
### Respon... | SELECT "Date" FROM table_55892 WHERE "Game site" = 'rich stadium' |
### Instruction:
CREATE TABLE table_54521 (
"Species" text,
"Strain" text,
"Type" text,
"Base Pairs" real,
"Genes" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average number of base pairs with 784 genes?
### Response:
| SELECT AVG("Base Pairs") FROM table_54521 WHERE "Genes" = '784' |
### Instruction:
CREATE TABLE table_21941 (
"Season" text,
"The Mole" text,
"Winner" text,
"Runner-up" text,
"International destination" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which season is it when Milouska was the show's mole ?
### Resp... | SELECT "Season" FROM table_21941 WHERE "The Mole" = 'Milouska' |
### Instruction:
CREATE TABLE table_203_221 (
id number,
"name" text,
"nationality" text,
"matches played" number,
"goals scored" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the player with the greatest number of matche... | SELECT "name" FROM table_203_221 ORDER BY "matches played" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_44834 (
"Date" text,
"Opponent" text,
"Site" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result when there were 27,321 in attendance?
### Response:
| SELECT "Result" FROM table_44834 WHERE "Attendance" = '27,321' |
### Instruction:
CREATE TABLE table_21929 (
"Episode #" text,
"Season #" real,
"Title" text,
"Writer(s)" text,
"Director" text,
"Originalairdate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who wrote episode 14?
### Response:
| SELECT "Writer(s)" FROM table_21929 WHERE "Episode #" = '14' |
### Instruction:
CREATE TABLE table_41328 (
"Season" text,
"Division" text,
"Finish" text,
"Wins" text,
"Losses" text,
"Pct." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the losses of the playoffs season?
### Response:
| SELECT "Losses" FROM table_41328 WHERE "Season" = 'playoffs' |
### Instruction:
CREATE TABLE table_6306 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the venue of the match on 5 April 2000?
### Response:
| SELECT "Venue" FROM table_6306 WHERE "Date" = '5 april 2000' |
### Instruction:
CREATE TABLE table_name_44 (
team VARCHAR,
series VARCHAR,
races VARCHAR,
f_laps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team had 1 race, 1 F/lap and in the series 24 hours of Nurburgring?
### Response:
| SELECT team FROM table_name_44 WHERE races = "1" AND f_laps = "1" AND series = "24 hours of nurburgring" |
### Instruction:
CREATE TABLE table_28505 (
"Week #" text,
"Theme" text,
"Song choice" text,
"Original artist" text,
"Order #" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many themes are there where the order # is 9?
### ... | SELECT COUNT("Theme") FROM table_28505 WHERE "Order #" = '9' |
### Instruction:
CREATE TABLE table_22368322_2 (
_€_million VARCHAR,
tier_1_capital VARCHAR,
institution VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of tier 1 capital for allied irish banks
### Response:
| SELECT COUNT(tier_1_capital), _€_million FROM table_22368322_2 WHERE institution = "Allied Irish Banks" |
### Instruction:
CREATE TABLE table_58724 (
"Frequency" real,
"Power D/N" text,
"Callsign" text,
"Brand" text,
"City of License" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What callsign has 1300 as the frequency?
### Response:
| SELECT "Callsign" FROM table_58724 WHERE "Frequency" = '1300' |
### Instruction:
CREATE TABLE table_4336 (
"Region" text,
"Date" text,
"Format" text,
"Label" text,
"Edition(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the label for digital download for bonus tracks version
### Response:
| SELECT "Label" FROM table_4336 WHERE "Format" = 'digital download' AND "Edition(s)" = 'bonus tracks version' |
### Instruction:
CREATE TABLE table_2562572_22 (
dominant_religion__2002_ VARCHAR,
cyrillic_name_other_names VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the dominant religion for
### Response:
| SELECT dominant_religion__2002_ FROM table_2562572_22 WHERE cyrillic_name_other_names = "Станишић" |
### Instruction:
CREATE TABLE table_name_53 (
premier_league VARCHAR,
UEfa_cup VARCHAR,
league_cup VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of appearances in the premier league when there were 10 appearances at UEFA and les... | SELECT COUNT(premier_league) FROM table_name_53 WHERE UEfa_cup = 10 AND league_cup < 4 |
### Instruction:
CREATE TABLE table_43922 (
"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 when Ulisses is team 2?
### Response:
| SELECT "Team 1" FROM table_43922 WHERE "Team 2" = 'ulisses' |
### Instruction:
CREATE TABLE teachers (
LastName TEXT,
FirstName TEXT,
Classroom INTEGER
)
CREATE TABLE list (
LastName TEXT,
FirstName TEXT,
Grade INTEGER,
Classroom INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the grade num... | SELECT Classroom, Grade FROM list |
### Instruction:
CREATE TABLE table_78855 (
"Year" real,
"Award Ceremony" text,
"Category" text,
"Nominee" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was Mary Elizabeth Mastrantonio nominated?
### Response:
| SELECT "Year" FROM table_78855 WHERE "Nominee" = 'mary elizabeth mastrantonio' |
### Instruction:
CREATE TABLE table_202_222 (
id number,
"pos" number,
"no" number,
"driver" text,
"constructor" text,
"lap" text,
"gap" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which qualifying driver has the largest gap ?
### Res... | SELECT "driver" FROM table_202_222 ORDER BY "gap" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_20524090_1 (
obama_percentage VARCHAR,
mccain_percentage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Obama's percentage in those places where McCain's percentage was 55.46%?
### Response:
| SELECT obama_percentage FROM table_20524090_1 WHERE mccain_percentage = "55.46%" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.