instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_18974 (
"Institution" text,
"Location" text,
"Founded" real,
"Affiliation" text,
"Enrollment" real,
"Nickname" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was Kirkland founded?
### Response:
| SELECT "Founded" FROM table_18974 WHERE "Location" = 'Kirkland' |
### Instruction:
CREATE TABLE table_16323766_3 (
swimsuit VARCHAR,
semifinal_average VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the swimsuit score for the one who had a semifinal average of 8.759 (5)?
### Response:
| SELECT swimsuit FROM table_16323766_3 WHERE semifinal_average = "8.759 (5)" |
### Instruction:
CREATE TABLE table_35610 (
"Rank" text,
"Margin" text,
"Opponent" text,
"Venue" text,
"Season" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What season has 195 runs as a margin?
### Response:
| SELECT "Season" FROM table_35610 WHERE "Margin" = '195 runs' |
### Instruction:
CREATE TABLE table_61395 (
"Name" text,
"Season" text,
"Games" text,
"Goals" text,
"Assists" text,
"Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many goals were there in game 47?
### Response:
| SELECT "Goals" FROM table_61395 WHERE "Games" = '47' |
### Instruction:
CREATE TABLE table_11730 (
"Year" real,
"Film name" text,
"Co-singer" text,
"Music director" text,
"Lyricist" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which year was the film Rang Barse introduced?
### Response:
| SELECT COUNT("Year") FROM table_11730 WHERE "Film name" = 'rang barse' |
### Instruction:
CREATE TABLE table_78777 (
"Edition" text,
"Date" text,
"Winner" text,
"Country" text,
"Time ( h : m : s )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date was the 48th Edition raced?
### Response:
| SELECT "Date" FROM table_78777 WHERE "Edition" = '48th' |
### Instruction:
CREATE TABLE table_1241 (
"Year" real,
"Division" real,
"League" text,
"Regular Season" text,
"Playoffs" text,
"Open Cup" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did the playoffs reached Conference Finals?
### Resp... | SELECT "Year" FROM table_1241 WHERE "Playoffs" = 'Conference Finals' |
### Instruction:
CREATE TABLE table_76902 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score for the opponent Vancouver Canucks?
### Response:
| SELECT "Score" FROM table_76902 WHERE "Opponent" = 'vancouver canucks' |
### Instruction:
CREATE TABLE table_name_47 (
year INTEGER,
saar VARCHAR,
hessen VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average year for a Saar of FK Pirmasens and Hessen of Wormatia Worms?
### Response:
| SELECT AVG(year) FROM table_name_47 WHERE saar = "fk pirmasens" AND hessen = "wormatia worms" |
### Instruction:
CREATE TABLE table_37336 (
"Track" text,
"City" text,
"State" text,
"Opened" text,
"Major Series" text,
"Turns" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is the track located with 18 turns?
### Response:
| SELECT "Track" FROM table_37336 WHERE "Turns" = '18' |
### Instruction:
CREATE TABLE table_204_126 (
id number,
"place" text,
"player" text,
"country" text,
"score" text,
"to par" number,
"money ($)" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- name each of the first place players
### Resp... | SELECT "player" FROM table_204_126 WHERE "place" = 1 |
### Instruction:
CREATE TABLE table_66318 (
"Pick" real,
"Player" text,
"Team" text,
"Position" text,
"School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the school when the team is new york yankees?
### Response:
| SELECT "School" FROM table_66318 WHERE "Team" = 'new york yankees' |
### Instruction:
CREATE TABLE table_58263 (
"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 masten gregory's average lap?
### Response:
| SELECT AVG("Laps") FROM table_58263 WHERE "Driver" = 'masten gregory' |
### Instruction:
CREATE TABLE table_47825 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average To Par, when Player is 'Julius Boros'?
### Response:
| SELECT AVG("To par") FROM table_47825 WHERE "Player" = 'julius boros' |
### Instruction:
CREATE TABLE table_name_56 (
administrative_panel INTEGER,
agricultural_panel VARCHAR,
labour_panel VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest administrative panel value with an agricultural panel less than 1 and ... | SELECT MAX(administrative_panel) FROM table_name_56 WHERE agricultural_panel < 1 AND labour_panel < 5 |
### Instruction:
CREATE TABLE table_name_65 (
match INTEGER,
home_away VARCHAR,
opponent_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average match when the singapore armed forces played away against perak fa (malaysia)?
### Response... | SELECT AVG(match) FROM table_name_65 WHERE home_away = "away" AND opponent_team = "perak fa (malaysia)" |
### Instruction:
CREATE TABLE table_39488 (
"Spacecraft" text,
"Destination" text,
"Launched" text,
"Closest approach" text,
"Time elapsed" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What launched has mariner 4 as the spacecraft?
### Response:... | SELECT "Launched" FROM table_39488 WHERE "Spacecraft" = 'mariner 4' |
### Instruction:
CREATE TABLE table_name_65 (
episode__number INTEGER,
location VARCHAR,
_number_in_season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average episode # located in Tanzania and whose # in season is larger than 5?
### Resp... | SELECT AVG(episode__number) FROM table_name_65 WHERE location = "tanzania" AND _number_in_season > 5 |
### Instruction:
CREATE TABLE table_58248 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Date has a record of 3-5?
### Response:
| SELECT "Date" FROM table_58248 WHERE "Record" = '3-5' |
### Instruction:
CREATE TABLE table_22623 (
"Country" text,
"TV Network(s)" text,
"Series Premiere" text,
"Weekly Schedule" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every weekly schedule in the country of Norway?
### R... | SELECT "Weekly Schedule" FROM table_22623 WHERE "Country" = 'Norway' |
### Instruction:
CREATE TABLE table_7830 (
"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 for the game against the Pittsburgh Steelers?
### Response:
| SELECT "Result" FROM table_7830 WHERE "Opponent" = 'pittsburgh steelers' |
### Instruction:
CREATE TABLE table_59703 (
"Name" text,
"Dates active" text,
"Windspeeds" text,
"Pressure" text,
"Deaths" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the storm active during season aggregates?
### Response:
| SELECT "Name" FROM table_59703 WHERE "Dates active" = 'season aggregates' |
### Instruction:
CREATE TABLE table_name_81 (
record VARCHAR,
score VARCHAR,
points VARCHAR,
february VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Record has a Points smaller than 62 and a February larger than 16, and a Score of 8 7?
### Re... | SELECT record FROM table_name_81 WHERE points < 62 AND february > 16 AND score = "8–7" |
### Instruction:
CREATE TABLE table_60404 (
"Game" text,
"Date" text,
"Home Team" text,
"Result" text,
"Road Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Road Team, when Date is 'April 10'?
### Response:
| SELECT "Road Team" FROM table_60404 WHERE "Date" = 'april 10' |
### Instruction:
CREATE TABLE table_24399615_4 (
viewers VARCHAR,
bbc_three_weekly_ranking VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many items are listed under viewers column when the bbd three weekly ranking was 1?
### Response:
| SELECT COUNT(viewers) FROM table_24399615_4 WHERE bbc_three_weekly_ranking = "1" |
### Instruction:
CREATE TABLE table_name_80 (
zone VARCHAR,
name VARCHAR,
max_people VARCHAR,
group_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which zone has max capacity of 23 in a group under 2 at Robbers Roost?
### Response:
| SELECT zone FROM table_name_80 WHERE max_people > 23 AND group_s_ < 2 AND name = "robbers roost" |
### Instruction:
CREATE TABLE table_name_44 (
t568a_color VARCHAR,
t568b_color VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the T568A color for the cable with a white/orange stripe T568B color?
### Response:
| SELECT t568a_color FROM table_name_44 WHERE t568b_color = "white/orange stripe" |
### Instruction:
CREATE TABLE table_204_539 (
id number,
"date" text,
"name" text,
"moving from" text,
"moving to" text,
"fee" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who had the most or highest transfer fee ?
### Response:
| SELECT "name" FROM table_204_539 ORDER BY "fee" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_47706 (
"Date" text,
"Flight" text,
"Aircraft" text,
"Registration" text,
"Location" text,
"Fatalities" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the registration of tc-jes?
### Response:
| SELECT "Date" FROM table_47706 WHERE "Registration" = 'tc-jes' |
### Instruction:
CREATE TABLE table_78067 (
"Rank" real,
"Player" text,
"Country" text,
"Earnings( $ )" real,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On average, how many wins have a rank lower than 1?
### Response:
| SELECT AVG("Wins") FROM table_78067 WHERE "Rank" < '1' |
### Instruction:
CREATE TABLE table_203_396 (
id number,
"year" number,
"domestic passengers" number,
"international passengers" number,
"total passengers" number,
"change" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which year had the most d... | SELECT "year" FROM table_203_396 ORDER BY "domestic passengers" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_49812 (
"Date From" text,
"Date To" text,
"Pos." text,
"Name" text,
"Moving To" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Date From, when Moving To is 'Birmingham City'?
### Response:
| SELECT "Date From" FROM table_49812 WHERE "Moving To" = 'birmingham city' |
### Instruction:
CREATE TABLE table_203_735 (
id number,
"rd" number,
"pick" number,
"player" text,
"position" text,
"school" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- was chuck bednarik or frank tripucka the first draft pick ?
### Respon... | SELECT "player" FROM table_203_735 WHERE "pick" = 1 |
### Instruction:
CREATE TABLE table_name_70 (
form INTEGER,
pages VARCHAR,
total_assets VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of forms with greater than 17 pages and a total of $1,801,154?
### Response:
| SELECT SUM(form) FROM table_name_70 WHERE pages > 17 AND total_assets = "$1,801,154" |
### Instruction:
CREATE TABLE table_name_27 (
film_title_used_in_nomination VARCHAR,
original_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Film Title Used In Nomination, when Original Title is 'B ng-Kah ( )
### Response:
| SELECT film_title_used_in_nomination FROM table_name_27 WHERE original_title = "báng-kah (艋舺)" |
### Instruction:
CREATE TABLE table_55954 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where attendance is 79,431 what is date?
### Response:
| SELECT "Date" FROM table_55954 WHERE "Attendance" = '79,431' |
### Instruction:
CREATE TABLE table_76702 (
"Club" text,
"City" text,
"Sport" text,
"League" text,
"Venue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which venue hosted the Gridiron Development Football League?
### Response:
| SELECT "Venue" FROM table_76702 WHERE "League" = 'gridiron development football league' |
### Instruction:
CREATE TABLE table_5354 (
"Nation" text,
"Skip" text,
"Third" text,
"Second" text,
"Lead" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Nation has a Lead of alexandra bruckmiller?
### Response:
| SELECT "Nation" FROM table_5354 WHERE "Lead" = 'alexandra bruckmiller' |
### Instruction:
CREATE TABLE table_203_214 (
id number,
"member" text,
"party" text,
"electorate" text,
"state" text,
"first elected" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- when was joe clark first elected ?
### Response:
| SELECT "first elected" FROM table_203_214 WHERE "member" = 'joe clark' |
### Instruction:
CREATE TABLE table_57545 (
"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 record on May 20?
### Response:
| SELECT "Record" FROM table_57545 WHERE "Date" = 'may 20' |
### Instruction:
CREATE TABLE table_28654454_5 (
reunion_weight VARCHAR,
lbs_lost_finale VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the reunion weight of the contestant who lost 74.4 lbs at the finale?
### Response:
| SELECT reunion_weight FROM table_28654454_5 WHERE lbs_lost_finale = "74.4" |
### Instruction:
CREATE TABLE table_name_85 (
tournament VARCHAR,
partner VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what Tournament was Barbara Jordan a Partner with a Score of 6-2, 3-6, 3-6?
### Response:
| SELECT tournament FROM table_name_85 WHERE partner = "barbara jordan" AND score = "6-2, 3-6, 3-6" |
### Instruction:
CREATE TABLE table_31426 (
"Prefix class" text,
"Type and usage" text,
"Example" text,
"Equivalent" text,
"Reference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every prefix class for the equivalent of NTE101?
### Resp... | SELECT "Prefix class" FROM table_31426 WHERE "Equivalent" = 'NTE101' |
### Instruction:
CREATE TABLE table_56737 (
"Player" text,
"Overs" text,
"Runs" text,
"Wkts" text,
"Mdns" text,
"Econ" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the runs for b lee
### Response:
| SELECT "Runs" FROM table_56737 WHERE "Player" = 'b lee' |
### Instruction:
CREATE TABLE table_64411 (
"Opposing Team" text,
"Against" real,
"Date" text,
"Venue" text,
"Round" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of the game against Oxford United?
### Response:
| SELECT "Date" FROM table_64411 WHERE "Opposing Team" = 'oxford united' |
### Instruction:
CREATE TABLE table_47392 (
"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.
-- Who was the home team in the match with an away team of Millwall?
### Response:
| SELECT "Home team" FROM table_47392 WHERE "Away team" = 'millwall' |
### Instruction:
CREATE TABLE table_41063 (
"Name" text,
"Born-Died" text,
"Took Office" text,
"Left Office" text,
"Country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who left office in June 2011?
### Response:
| SELECT "Name" FROM table_41063 WHERE "Left Office" = 'june 2011' |
### Instruction:
CREATE TABLE table_40363 (
"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.
-- Who was the opposing team in the 3rd round?
### Response:
| SELECT "Opposition" FROM table_40363 WHERE "Round" = '3rd' |
### Instruction:
CREATE TABLE table_78804 (
"Service name" text,
"Owner" text,
"Catch-up period" text,
"Streamed" text,
"Download" text,
"Technology" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Service name of BBC?
### Response:... | SELECT "Service name" FROM table_78804 WHERE "Owner" = 'bbc' |
### Instruction:
CREATE TABLE table_name_64 (
away_team VARCHAR,
date VARCHAR,
tie_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Away Team, when Date is '25 January 1986', and when Tie No is '6'?
### Response:
| SELECT away_team FROM table_name_64 WHERE date = "25 january 1986" AND tie_no = "6" |
### Instruction:
CREATE TABLE table_name_61 (
train_name VARCHAR,
frequency__inbound_outbound_ VARCHAR,
destination VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the train name of the rail with a daily frequency and Jammutawi as the destination?... | SELECT train_name FROM table_name_61 WHERE frequency__inbound_outbound_ = "daily" AND destination = "jammutawi" |
### Instruction:
CREATE TABLE table_66837 (
"Year" text,
"Start" text,
"Qual" text,
"Rank" text,
"Finish" text,
"Laps" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the finish in 1953?
### Response:
| SELECT "Finish" FROM table_66837 WHERE "Year" = '1953' |
### Instruction:
CREATE TABLE table_13665809_2 (
uu_usu_score VARCHAR,
winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what are all the uu-usu score with winner is #5 brigham young (2 0)
### Response:
| SELECT uu_usu_score FROM table_13665809_2 WHERE winner = "#5 Brigham Young (2–0)" |
### Instruction:
CREATE TABLE table_5146 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total grid number with laps that are larger than 27?
### Response:
| SELECT COUNT("Grid") FROM table_5146 WHERE "Laps" > '27' |
### Instruction:
CREATE TABLE table_13901 (
"Heat" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has less than 3 lanes for France?
### Response:
| SELECT "Name" FROM table_13901 WHERE "Nationality" = 'france' AND "Lane" < '3' |
### Instruction:
CREATE TABLE table_68557 (
"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 date was versmold?
### Response:
| SELECT "Date" FROM table_68557 WHERE "Tournament" = 'versmold' |
### Instruction:
CREATE TABLE table_44746 (
"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.
-- What is Winner, when Date is 5 Sep?
### Response:
| SELECT "Winner" FROM table_44746 WHERE "Date" = '5 sep' |
### Instruction:
CREATE TABLE table_4231 (
"Pick #" real,
"MLS team" text,
"Player" text,
"Position" text,
"Affiliation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many pick# does the chivas usa mls team have
### Response:
| SELECT MAX("Pick #") FROM table_4231 WHERE "MLS team" = 'Chivas USA' |
### Instruction:
CREATE TABLE table_name_56 (
elevator VARCHAR,
order_and_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the elevator when the Cardinal-Deacon of S. Nicola in Carcere Tulliano was the order and title?
### Response:
| SELECT elevator FROM table_name_56 WHERE order_and_title = "cardinal-deacon of s. nicola in carcere tulliano" |
### Instruction:
CREATE TABLE table_name_14 (
rank VARCHAR,
headquarters VARCHAR,
sales__billion_$_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Rank, when Headquarters is United Kingdom, and when Sales (billion $) is 370.9?
### Response:
| SELECT rank FROM table_name_14 WHERE headquarters = "united kingdom" AND sales__billion_$_ = 370.9 |
### Instruction:
CREATE TABLE table_50516 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the finish of South Africa?
### Response:
| SELECT "Finish" FROM table_50516 WHERE "Country" = 'south africa' |
### Instruction:
CREATE TABLE table_5536 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What district has benjamin eggleston for incumbent?
### Response:
| SELECT "District" FROM table_5536 WHERE "Incumbent" = 'benjamin eggleston' |
### Instruction:
CREATE TABLE table_71947 (
"Rank" real,
"Name" text,
"Height ft (m)" text,
"Floors" real,
"Year" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank for Omni nashville hotel?
### Response:
| SELECT SUM("Rank") FROM table_71947 WHERE "Name" = 'omni nashville hotel' |
### Instruction:
CREATE TABLE table_4081 (
"Player" text,
"Games" real,
"Field goals" real,
"Free throws" real,
"Points" real,
"Points per game" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many free throws did Charles Pearman score?
###... | SELECT MAX("Free throws") FROM table_4081 WHERE "Player" = 'Charles Pearman' |
### Instruction:
CREATE TABLE table_45830 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which date had an attendance of 76,518?
### Response:
| SELECT "Date" FROM table_45830 WHERE "Attendance" = '76,518' |
### Instruction:
CREATE TABLE table_61559 (
"Draw" real,
"Artist" text,
"Song" text,
"Results" text,
"Place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the artist for the song 'alt har en mening n '?
### Response:
| SELECT "Artist" FROM table_61559 WHERE "Song" = 'alt har en mening nå' |
### Instruction:
CREATE TABLE table_29395291_2 (
subscribers__2006___thousands_ VARCHAR,
provider VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many 2006 subscribers are named Vodafone?
### Response:
| SELECT COUNT(subscribers__2006___thousands_) FROM table_29395291_2 WHERE provider = "Vodafone" |
### Instruction:
CREATE TABLE table_35171 (
"Name" text,
"Team" text,
"Qual 1" text,
"Qual 2" text,
"Best" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who got 59.486 for Qual 2?
### Response:
| SELECT "Name" FROM table_35171 WHERE "Qual 2" = '59.486' |
### Instruction:
CREATE TABLE table_23718905_6 (
television VARCHAR,
matchup_results VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different items appear in the television column when the results where Iowa State 14, Minnesota 13?
### Response:
| SELECT COUNT(television) FROM table_23718905_6 WHERE matchup_results = "Iowa State 14, Minnesota 13" |
### Instruction:
CREATE TABLE table_39381 (
"Date" text,
"Theatre, Studio, or Network" text,
"Role" text,
"Dance Partner" text,
"Director" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the director where the role was Fred Ayres?
### Respo... | SELECT "Director" FROM table_39381 WHERE "Role" = 'fred ayres' |
### Instruction:
CREATE TABLE table_65964 (
"Frequency" text,
"Call sign" text,
"Branding" text,
"Format" text,
"Owner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Owner of the Frequency with a Format of First Nations Community Radio?... | SELECT "Owner" FROM table_65964 WHERE "Format" = 'first nations community radio' |
### Instruction:
CREATE TABLE table_48560 (
"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 time/retired when the laps is 55?
### Response:
| SELECT "Time/Retired" FROM table_48560 WHERE "Laps" = '55' |
### Instruction:
CREATE TABLE table_71271 (
"Year" real,
"Venue" text,
"Winner" text,
"Country" text,
"Score" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the average year that the venue was Bokskogens?
### Response:
| SELECT AVG("Year") FROM table_71271 WHERE "Venue" = 'bokskogens' |
### Instruction:
CREATE TABLE table_204_78 (
id number,
"no." number,
"train no." text,
"origin" text,
"destination" text,
"train name" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many total trains were destined for new delhi ?
### Resp... | SELECT COUNT("train name") FROM table_204_78 WHERE "destination" = 'new delhi' |
### Instruction:
CREATE TABLE table_78512 (
"Date" text,
"Visiting Team" text,
"Final Score" text,
"Host Team" text,
"Stadium" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want to know the final score for december 27
### Response:
| SELECT "Final Score" FROM table_78512 WHERE "Date" = 'december 27' |
### Instruction:
CREATE TABLE table_3 (
"Player" text,
"No." text,
"Nationality" text,
"Position" text,
"Years in Toronto" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many schools or teams had jalen rose
### Res... | SELECT COUNT("School/Club Team") FROM table_3 WHERE "Player" = 'Jalen Rose' |
### Instruction:
CREATE TABLE table_64944 (
"Heat" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of heat for Chinyere Pigot?
### Response:
| SELECT COUNT("Heat") FROM table_64944 WHERE "Name" = 'chinyere pigot' |
### Instruction:
CREATE TABLE table_name_56 (
score VARCHAR,
assist_pass VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score on 2010-07-13 when Abby wambach had the assist/pass?
### Response:
| SELECT score FROM table_name_56 WHERE assist_pass = "abby wambach" AND date = "2010-07-13" |
### Instruction:
CREATE TABLE table_20297668_1 (
yarn_type__us_ VARCHAR,
standard_yarn_weight_system VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the yarn type for standard yarn weight system for 3 or light
### Response:
| SELECT yarn_type__us_ FROM table_20297668_1 WHERE standard_yarn_weight_system = "3 or Light" |
### Instruction:
CREATE TABLE table_52243 (
"Season" text,
"Match" text,
"Result" text,
"League" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which season was on 30 October 1977?
### Response:
| SELECT "Season" FROM table_52243 WHERE "Date" = '30 october 1977' |
### Instruction:
CREATE TABLE table_32348 (
"Name" text,
"Took office" text,
"Left office" text,
"Party" text,
"Governor" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the party of the governor under Hugh Thomas Miller.
### Response:
| SELECT "Governor" FROM table_32348 WHERE "Name" = 'hugh thomas miller' |
### Instruction:
CREATE TABLE table_5170 (
"Name" text,
"Pennant number" text,
"Ordered" real,
"Builder" text,
"Commissioned" text,
"Fate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Sfax has a total ordered number of?
### Response:
| SELECT COUNT("Ordered") FROM table_5170 WHERE "Name" = 'sfax' |
### Instruction:
CREATE TABLE table_59509 (
"School" text,
"Suburb/Town" text,
"Years" text,
"Founded" real,
"Website" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the year Airds High School was founded?
### Response:
| SELECT "Founded" FROM table_59509 WHERE "School" = 'airds high school' |
### Instruction:
CREATE TABLE table_37507 (
"Year" real,
"Division" real,
"League" text,
"Regular Season" text,
"Playoffs" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest division for years earlier than 2011?
### Response:
| SELECT MAX("Division") FROM table_37507 WHERE "Year" < '2011' |
### Instruction:
CREATE TABLE table_6490 (
"Source" text,
"Date" text,
"GERB" text,
"Attack" text,
"Blue Coalition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Attack has a 30,00% GERB?
### Response:
| SELECT "Attack" FROM table_6490 WHERE "GERB" = '30,00%' |
### Instruction:
CREATE TABLE table_54705 (
"Catches" text,
"Player" text,
"Versus" text,
"Venue" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many catches does hh dippenaar have?
### Response:
| SELECT "Catches" FROM table_54705 WHERE "Player" = 'hh dippenaar' |
### Instruction:
CREATE TABLE table_62133 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Results" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the party affiliation of Virginia Foxx?
### Response:
| SELECT "Party" FROM table_62133 WHERE "Incumbent" = 'virginia foxx' |
### Instruction:
CREATE TABLE table_203_523 (
id number,
"state" text,
"swimsuit" number,
"interview" number,
"evening gown" number,
"average" number,
"finalists" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who placed first ?
### Resp... | SELECT "state" FROM table_203_523 WHERE id = 1 |
### Instruction:
CREATE TABLE table_name_98 (
rank VARCHAR,
nation VARCHAR,
places VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the total number of rank for places less than 94 and points less than 169.8 for japan
### Resp... | SELECT COUNT(rank) FROM table_name_98 WHERE places < 94 AND points < 169.8 AND nation = "japan" |
### Instruction:
CREATE TABLE table_11624 (
"Year" real,
"Athlete" text,
"Country/State" text,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- At what location was the time 1:54:21?
### Response:
| SELECT "Location" FROM table_11624 WHERE "Time" = '1:54:21' |
### Instruction:
CREATE TABLE table_name_71 (
rank INTEGER,
bronze VARCHAR,
silver VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest rank for a nation with 29 total medals, over 5 silvers, and under 16 bronze?
### Res... | SELECT MIN(rank) FROM table_name_71 WHERE silver > 5 AND total = 29 AND bronze < 16 |
### Instruction:
CREATE TABLE table_53771 (
"Group name" text,
"English abbr." text,
"French abbr." text,
"Formal European Parliament name" text,
"From" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date for the group union for Europe?
... | SELECT "From" FROM table_53771 WHERE "Group name" = 'group union for europe' |
### Instruction:
CREATE TABLE table_17676 (
"Character" text,
"Portrayed by" text,
"Main cast seasons" text,
"Recurring cast seasons" text,
"# of episodes" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people named Nick Lucas are on the sh... | SELECT COUNT("Portrayed by") FROM table_17676 WHERE "Character" = 'Nick Lucas' |
### Instruction:
CREATE TABLE table_name_80 (
high_points VARCHAR,
high_rebounds VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which High points have High rebounds of lamar odom (15), and a Date of april 27?
### Response:
| SELECT high_points FROM table_name_80 WHERE high_rebounds = "lamar odom (15)" AND date = "april 27" |
### Instruction:
CREATE TABLE table_69580 (
"Year" real,
"Team" text,
"Chassis" text,
"Engine" text,
"Rank" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What rank is later than 1994?
### Response:
| SELECT "Rank" FROM table_69580 WHERE "Year" > '1994' |
### Instruction:
CREATE TABLE table_71813 (
"Date" text,
"Visiting Team" text,
"Final Score" text,
"Host Team" text,
"Stadium" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did Final Score of 31-7 happen?
### Response:
| SELECT "Date" FROM table_71813 WHERE "Final Score" = '31-7' |
### Instruction:
CREATE TABLE table_54518 (
"Species" text,
"Strain" text,
"Type" text,
"Base Pairs" real,
"Genes" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What species has more than 2,030 genes?
### Response:
| SELECT "Species" FROM table_54518 WHERE "Genes" > '2,030' |
### Instruction:
CREATE TABLE table_57695 (
"Rank" real,
"Player" text,
"Country" text,
"Earnings( $ )" real,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's hale irwin's average rank?
### Response:
| SELECT AVG("Rank") FROM table_57695 WHERE "Player" = 'hale irwin' |
### Instruction:
CREATE TABLE table_2302 (
"#" text,
"Date" text,
"at/vs." text,
"Opponent" text,
"Score" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of game 7?
### Response:
| SELECT "Date" FROM table_2302 WHERE "#" = '7' |
### Instruction:
CREATE TABLE table_22347090_4 (
no_in_series INTEGER,
us_viewers__million_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which series number had 1.98 million viewers?
### Response:
| SELECT MIN(no_in_series) FROM table_22347090_4 WHERE us_viewers__million_ = "1.98" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.