instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_28030 (
"Player" text,
"Position" text,
"Starter" text,
"Touchdowns" real,
"Extra points" real,
"Field goals" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many touchdowns did the playe... | SELECT "Touchdowns" FROM table_28030 WHERE "Points" = '25' |
### Instruction:
CREATE TABLE table_15431 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- with a Time/Retired of +47.376 what is the lap sum?
### Response:
| SELECT SUM("Laps") FROM table_15431 WHERE "Time/Retired" = '+47.376' |
### Instruction:
CREATE TABLE table_47798 (
"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 Place of the Player with a Score of 73-68-71=212?
### Response:
| SELECT "Place" FROM table_47798 WHERE "Score" = '73-68-71=212' |
### Instruction:
CREATE TABLE table_5198 (
"Name" text,
"Team" text,
"Qual 1" text,
"Qual 2" text,
"Best" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the best time of the team that had a qualifying 1 time of 1:01.043?
### Response:
| SELECT "Best" FROM table_5198 WHERE "Qual 1" = '1:01.043' |
### Instruction:
CREATE TABLE table_49116 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Date has a Score of 4 2?... | SELECT "Date" FROM table_49116 WHERE "Score" = '4–2' |
### Instruction:
CREATE TABLE table_35876 (
"Class" text,
"Season" text,
"Race" real,
"Podiums" real,
"Pole" real,
"FLap" real,
"WChmp" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the class is total, what is the total number of podiums... | SELECT COUNT("Podiums") FROM table_35876 WHERE "Class" = 'total' |
### Instruction:
CREATE TABLE table_48752 (
"Rank" real,
"Team" text,
"Played" real,
"Wins" real,
"Ties" real,
"Losses" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Points, when Played is greater than 5?
... | SELECT MAX("Points") FROM table_48752 WHERE "Played" > '5' |
### Instruction:
CREATE TABLE table_41313 (
"Album" text,
"Release date" text,
"Label" text,
"Format" text,
"Covered Song" text,
"Original Song" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the Covered Song when the Album s... | SELECT "Covered Song" FROM table_41313 WHERE "Album" = 'cover version iii' |
### Instruction:
CREATE TABLE table_20466963_4 (
guest_2 VARCHAR,
guest_4 VARCHAR,
guest_3 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the guest 2 in the episode where guest 4 is Iyare Igiehon and guest 3 is John Oliver?
### Response:
| SELECT guest_2 FROM table_20466963_4 WHERE guest_4 = "Iyare Igiehon" AND guest_3 = "John Oliver" |
### Instruction:
CREATE TABLE table_31390 (
"Season" text,
"Season premiere" text,
"Season finale" text,
"TV season" text,
"Ranking" text,
"Viewers (in millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the 3rd season premiere or... | SELECT "Season premiere" FROM table_31390 WHERE "Season" = '3rd' |
### Instruction:
CREATE TABLE table_19504 (
"Week" real,
"Opponent" text,
"Result" text,
"Stadium" text,
"Record" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- type the attendance for playing with tampa bay buccaneers?
### ... | SELECT "Attendance" FROM table_19504 WHERE "Opponent" = 'Tampa Bay Buccaneers' |
### Instruction:
CREATE TABLE table_13058 (
"Season" text,
"League" text,
"Teams" text,
"Home" text,
"Away" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team has a league of bundesliga, and an away of 3-2?
### Response:
| SELECT "Teams" FROM table_13058 WHERE "League" = 'bundesliga' AND "Away" = '3-2' |
### Instruction:
CREATE TABLE table_78965 (
"Date" text,
"Ship Name" text,
"Tonnage" text,
"Ship Type" text,
"Location" text,
"Disposition of Ship" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- With 14 under the date, what is the tonnage of the... | SELECT "Tonnage" FROM table_78965 WHERE "Date" = '14' |
### Instruction:
CREATE TABLE table_39444 (
"Rank" real,
"Country" text,
"Wins (Outdoor)" real,
"Wins (Indoor)" real,
"Wins (Total)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most rank for uk and wins more than 5
### Response:
| SELECT MAX("Rank") FROM table_39444 WHERE "Country" = 'uk' AND "Wins (Indoor)" > '5' |
### Instruction:
CREATE TABLE table_70339 (
"Title" text,
"Studio" text,
"Role" text,
"Leading lady" text,
"Director" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the title for marion burns leading lady and role of john mason
### Response:
| SELECT "Title" FROM table_70339 WHERE "Leading lady" = 'marion burns' AND "Role" = 'john mason' |
### Instruction:
CREATE TABLE table_14161 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Round" text,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Method of the match with a Time of 4:07?... | SELECT "Method" FROM table_14161 WHERE "Time" = '4:07' |
### Instruction:
CREATE TABLE table_10358 (
"Name" text,
"Team" text,
"Qual 1" text,
"Qual 2" text,
"Best" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Paul Tracy's best time racing on the Forsythe Racing team?
### Response:
| SELECT "Best" FROM table_10358 WHERE "Team" = 'forsythe racing' AND "Name" = 'paul tracy' |
### Instruction:
CREATE TABLE table_20186 (
"Class" text,
"Wheel Arrangement" text,
"Railway" text,
"Number at Doncaster" real,
"Number at Pyewipe" real,
"Number at March" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number at march w... | SELECT "Number at March" FROM table_20186 WHERE "Class" = 'J66' |
### Instruction:
CREATE TABLE table_name_16 (
title VARCHAR,
leading_lady VARCHAR,
director VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What title has rouben mamoulian directing after 1940 with linda darnell as the leading lady?
##... | SELECT title FROM table_name_16 WHERE director = "rouben mamoulian" AND year > 1940 AND leading_lady = "linda darnell" |
### Instruction:
CREATE TABLE table_name_67 (
muzzle_energy VARCHAR,
bullet_weight VARCHAR,
max_pressure VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the muzzle energy with grains (g) bullet weight and a max pressure of 35,000 psi?
### Respon... | SELECT muzzle_energy FROM table_name_67 WHERE bullet_weight = "grains (g)" AND max_pressure = "35,000 psi" |
### Instruction:
CREATE TABLE table_2662 (
"Ticket / Office" text,
"Secretary of State" text,
"Comptroller" text,
"Attorney General" text,
"Treasurer" text,
"State Engineer" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the ticket/office f... | SELECT "Ticket / Office" FROM table_2662 WHERE "Secretary of State" = 'Orville Preston' |
### Instruction:
CREATE TABLE table_26661 (
"Province, Community" text,
"Contestant" text,
"Age" real,
"Height" text,
"Hometown" text,
"Geographical Regions" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which contestant is from the province of... | SELECT "Contestant" FROM table_26661 WHERE "Province, Community" = 'Baoruco' |
### Instruction:
CREATE TABLE table_2503102_1 (
driver_s_ VARCHAR,
engine VARCHAR,
car_sponsor_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the driver of the Chevrolet engine that is sponsored by godaddy.com?
### Response:
| SELECT driver_s_ FROM table_2503102_1 WHERE engine = "Chevrolet" AND car_sponsor_s_ = "GoDaddy.com" |
### Instruction:
CREATE TABLE table_48421 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On which date after week 11 was the opponent the arizona cardinals?
### Response:
| SELECT "Date" FROM table_48421 WHERE "Week" > '11' AND "Opponent" = 'arizona cardinals' |
### Instruction:
CREATE TABLE table_203_710 (
id number,
"genre" text,
"year" number,
"title" text,
"episode" text,
"role" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what year what his busiest year with the most roles ?
#... | SELECT "year" FROM table_203_710 GROUP BY "year" ORDER BY COUNT("role") DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_204_541 (
id number,
"name" text,
"area" text,
"height" text,
"floors" number,
"year" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many of the 7 tallest buildings in kanpur , india were built before 20... | SELECT COUNT("name") FROM table_204_541 WHERE "year" < 2010 |
### Instruction:
CREATE TABLE table_30127 (
"Year(s)" real,
"Television commentator" text,
"Dual Television commentator" text,
"Radio commentator" text,
"Spokesperson" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the dual television commen... | SELECT "Dual Television commentator" FROM table_30127 WHERE "Year(s)" = '1990' |
### Instruction:
CREATE TABLE table_21178 (
"Cycle no." text,
"Air dates" text,
"Reward" text,
"Immunity" text,
"Eliminated" text,
"Vote" text,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the finish for patani
### Response... | SELECT "Finish" FROM table_21178 WHERE "Eliminated" = 'Patani' |
### Instruction:
CREATE TABLE table_55741 (
"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 high lap total for mika salo with a grid greater than 17?
### Respon... | SELECT MAX("Laps") FROM table_55741 WHERE "Driver" = 'mika salo' AND "Grid" > '17' |
### Instruction:
CREATE TABLE table_24866 (
"No. in series" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who directed when the production co... | SELECT "Directed by" FROM table_24866 WHERE "Production code" = '1.02' |
### Instruction:
CREATE TABLE table_18852 (
"Distribution" text,
"Compile time buffer checks" text,
"Mandatory access control" text,
"Software executable space protection" text,
"grsecurity" text,
"RSBAC" text
)
-- Using valid SQLite, answer the following questions for the tables provided abov... | SELECT "Distribution" FROM table_18852 WHERE "grsecurity" = 'No' |
### Instruction:
CREATE TABLE table_67261 (
"Name" text,
"City/State" text,
"Country" text,
"Status" text,
"Status Date" text,
"Episode Number" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which city/state was associated with a contestant whos... | SELECT "City/State" FROM table_67261 WHERE "Status" = '2nd runner-up' |
### Instruction:
CREATE TABLE table_50096 (
"Name" text,
"Gain" real,
"Loss" real,
"Long" real,
"Avg/G" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Loss for the player named total that has a long greater than 55?
### Response... | SELECT MIN("Loss") FROM table_50096 WHERE "Name" = 'total' AND "Long" > '55' |
### Instruction:
CREATE TABLE table_name_20 (
team VARCHAR,
goals_for VARCHAR,
goals_against VARCHAR,
points_2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team has less than 64 goals against, 101 goals for, and a Points 2 total of 63?
### R... | SELECT team FROM table_name_20 WHERE goals_against < 64 AND points_2 = 63 AND goals_for = 101 |
### Instruction:
CREATE TABLE table_32664 (
"Round" real,
"Overall" real,
"Player" text,
"Position" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which school(s) had a wide receiver drafted in round 4?
### Response:
| SELECT "School/Club Team" FROM table_32664 WHERE "Round" > '4' AND "Position" = 'wide receiver' |
### Instruction:
CREATE TABLE table_41374 (
"Draw" real,
"Artist" text,
"Song" text,
"Televote" text,
"Place" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average draw for Desi Dobreva, was it less than 6?
### Response:
| SELECT AVG("Draw") FROM table_41374 WHERE "Artist" = 'desi dobreva' AND "Place" < '6' |
### Instruction:
CREATE TABLE table_66745 (
"Supplier" text,
"Basic shape" text,
"Keys (x modes)" text,
"Wrist pad" text,
"Thumb stick" text,
"Backlit" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which keys (x modes) have a Supplier of wolfki... | SELECT "Keys (x modes)" FROM table_66745 WHERE "Supplier" = 'wolfking' |
### Instruction:
CREATE TABLE table_name_91 (
_jerk VARCHAR,
clean_ INTEGER,
snatch VARCHAR,
bodyweight VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the biggest clean and jerk number when snatch was less than 150 and the bodyweight was bigg... | SELECT MAX(clean_) & _jerk FROM table_name_91 WHERE snatch < 150 AND bodyweight > 93.13 |
### Instruction:
CREATE TABLE table_27332 (
"Episode No." text,
"Prod No." real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original airdate UK" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the production number of 3-04?
#... | SELECT MAX("Prod No.") FROM table_27332 WHERE "Episode No." = '3-04' |
### Instruction:
CREATE TABLE table_203_707 (
id number,
"rank" number,
"npc" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- the total number of medals won by australia was how... | SELECT "total" FROM table_203_707 WHERE "npc" = 'australia' |
### Instruction:
CREATE TABLE table_80309 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Rank for a lane smaller than 3 with a nationality of Australia?
### Re... | SELECT AVG("Rank") FROM table_80309 WHERE "Lane" < '3' AND "Nationality" = 'australia' |
### Instruction:
CREATE TABLE table_18638067_1 (
actor_actress VARCHAR,
film_title_used_in_nomination VARCHAR,
category VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was nominated for best supporting actor in the movie Going My Way?
### Response:
| SELECT actor_actress FROM table_18638067_1 WHERE film_title_used_in_nomination = "Going My Way" AND category = "Best Supporting Actor" |
### Instruction:
CREATE TABLE table_78772 (
"Date" text,
"Round" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real,
"Scorers" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What round was the game against Watford?
### R... | SELECT "Round" FROM table_78772 WHERE "Opponent" = 'watford' |
### Instruction:
CREATE TABLE table_18414 (
"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 times was frank m. clark the incumbent?
### ... | SELECT COUNT("Result") FROM table_18414 WHERE "Incumbent" = 'Frank M. Clark' |
### Instruction:
CREATE TABLE table_31708 (
"Call sign" text,
"Frequency MHz" real,
"City of license" text,
"ERP W" text,
"Class" text,
"FCC info" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the city of license for call sign of k215es
... | SELECT "City of license" FROM table_31708 WHERE "Call sign" = 'k215es' |
### Instruction:
CREATE TABLE table_62571 (
"Actor in original production" text,
"Actor required" text,
"GamePlan" text,
"FlatSpin" text,
"RolePlay" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the actor in the original production when Troy... | SELECT "Actor in original production" FROM table_62571 WHERE "GamePlan" = 'troy stephens' |
### Instruction:
CREATE TABLE table_name_67 (
school VARCHAR,
ihsaa_class VARCHAR,
enrollment_08_09 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the School that has the IHSAA Class of a, and the Enrollment 08-09 off 244?
### Response:... | SELECT school FROM table_name_67 WHERE ihsaa_class = "a" AND enrollment_08_09 = 244 |
### Instruction:
CREATE TABLE table_45606 (
"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.
-- How did the match end when his record was 15-11?
... | SELECT "Method" FROM table_45606 WHERE "Record" = '15-11' |
### Instruction:
CREATE TABLE table_78351 (
"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 tournament was held on 21 May 2006?
### Response:
| SELECT "Tournament" FROM table_78351 WHERE "Date" = '21 may 2006' |
### Instruction:
CREATE TABLE table_49471 (
"Game" text,
"Date" text,
"Home team" text,
"Result" text,
"Road team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Road team has a Home team of portland, and a Date of may 31?
### Response:
| SELECT "Road team" FROM table_49471 WHERE "Home team" = 'portland' AND "Date" = 'may 31' |
### Instruction:
CREATE TABLE table_76905 (
"Class" text,
"Wheel arrangement" text,
"Fleet number(s)" text,
"Year made" text,
"Quantity made" text,
"Quantity preserved" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the wheel arrangement... | SELECT "Wheel arrangement" FROM table_76905 WHERE "Year made" = '1890' |
### Instruction:
CREATE TABLE table_73947 (
"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.
-- How many judges were there for the eliminated... | SELECT "Judges" FROM table_73947 WHERE "Result" = 'Eliminated' |
### Instruction:
CREATE TABLE table_14893 (
"Rank" real,
"Mountain Peak" text,
"State" text,
"Mountain Range" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where does Mount Chamberlin, located in Alaska, rank on the chart?
### Re... | SELECT SUM("Rank") FROM table_14893 WHERE "State" = 'alaska' AND "Mountain Peak" = 'mount chamberlin' |
### Instruction:
CREATE TABLE table_55367 (
"Title" text,
"Original story author" text,
"Director" text,
"Original U.S. air-date" text,
"Original Canadian air-date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the author of ' j... | SELECT "Original story author" FROM table_55367 WHERE "Title" = ' jerry was a man ' |
### Instruction:
CREATE TABLE table_47702 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was the visitor the Boston Bruins, and the record was 4 0 1?
### Response:
| SELECT "Date" FROM table_47702 WHERE "Visitor" = 'boston bruins' AND "Record" = '4–0–1' |
### Instruction:
CREATE TABLE table_203_285 (
id number,
"year" number,
"location" text,
"gold" text,
"silver" text,
"bronze" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how long is the time between the times the championship was held in mosc... | SELECT MAX("year") - MIN("year") FROM table_203_285 WHERE "location" = 'moscow' |
### Instruction:
CREATE TABLE table_42572 (
"Match" real,
"Date" text,
"Home/Away" text,
"Opponent team" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Home/Away was on April 27, 2008?
### Response:
| SELECT "Home/Away" FROM table_42572 WHERE "Date" = 'april 27, 2008' |
### Instruction:
CREATE TABLE table_43454 (
"School Year" text,
"Class A" text,
"Class AA" text,
"Class AAA" text,
"Class AAAA" text,
"Class AAAAA" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What School Year has a Class AAAA of Dickinson?
... | SELECT "School Year" FROM table_43454 WHERE "Class AAAA" = 'dickinson' |
### Instruction:
CREATE TABLE table_204_540 (
id number,
"name" text,
"town" text,
"deanery" text,
"vicariate" text,
"founded" number,
"original ethnic community" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- name the only multi ethnic pari... | SELECT "name" FROM table_204_540 WHERE "original ethnic community" = 'multi-ethnic' |
### Instruction:
CREATE TABLE table_78751 (
"Opposing Teams" text,
"Against" real,
"Date" text,
"Venue" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the status test match with an opposing team of south africa?
### Respons... | SELECT "Date" FROM table_78751 WHERE "Status" = 'test match' AND "Opposing Teams" = 'south africa' |
### Instruction:
CREATE TABLE table_48784 (
"Date" text,
"Opponents" text,
"H / A" text,
"Result F \u2013 A" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the H/A on 5 August 1990?
### Response:
| SELECT "H / A" FROM table_48784 WHERE "Date" = '5 august 1990' |
### Instruction:
CREATE TABLE table_52208 (
"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.
-- Which date did richmond play as... | SELECT "Date" FROM table_52208 WHERE "Away team" = 'richmond' |
### Instruction:
CREATE TABLE table_30001 (
"Entry Date [A ]" text,
"Single" text,
"Artist" text,
"Peak" real,
"Peak Reached [A ]" text,
"Weeks in top 10" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How long has the longest song spent in the ... | SELECT MAX("Weeks in top 10") FROM table_30001 |
### Instruction:
CREATE TABLE table_1745 (
"Official Name" text,
"Status" text,
"Area km 2" text,
"Population" real,
"Census Ranking" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the minimum population of the parish with a 750.51 km area?
... | SELECT MIN("Population") FROM table_1745 WHERE "Area km 2" = '750.51' |
### Instruction:
CREATE TABLE table_74873 (
"Name" text,
"Hanzi" text,
"Origin" text,
"Launch" text,
"Owner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Hanzi of Phoenix Television Chinese that launched in 1996?
### Response:
| SELECT "Hanzi" FROM table_74873 WHERE "Launch" = '1996' AND "Name" = 'phoenix television chinese' |
### Instruction:
CREATE TABLE table_29289372_1 (
pop_density__per_km²_ VARCHAR,
area__km²_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 82.74 is the area in kilometers squared what is the pop.density (per km2)?
### Response:
| SELECT pop_density__per_km²_ FROM table_29289372_1 WHERE area__km²_ = "82.74" |
### Instruction:
CREATE TABLE table_8936 (
"Name" text,
"Gain" real,
"Loss" real,
"Long" real,
"Avg/G" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When Thomas Clayton had a gain less than 71, what was the highest long value?
### Response:
| SELECT MAX("Long") FROM table_8936 WHERE "Name" = 'thomas clayton' AND "Gain" < '71' |
### Instruction:
CREATE TABLE table_27228 (
"Season" text,
"Date" text,
"Home team" text,
"Result" text,
"Away team" text,
"Stadium" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who as the home team for game on 5 october 2011?
### Response:
| SELECT "Home team" FROM table_27228 WHERE "Date" = '5 October 2011' |
### Instruction:
CREATE TABLE table_13648 (
"Round" real,
"Dates" text,
"Rally Name" text,
"Rally HQ" text,
"Support Category" text,
"Surface" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many rounds have a Surface of wintry asphalt?
###... | SELECT COUNT("Round") FROM table_13648 WHERE "Surface" = 'wintry asphalt' |
### Instruction:
CREATE TABLE table_20195 (
"Player" text,
"No." real,
"Nationality" text,
"Position" text,
"Years in Orlando" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the school/club team for kevin ollie
##... | SELECT "School/Club Team" FROM table_20195 WHERE "Player" = 'Kevin Ollie' |
### Instruction:
CREATE TABLE table_42705 (
"Rank" text,
"Country" text,
"Wins" real,
"Winners" real,
"First title" real,
"Last title" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which First title has Wins smaller than 8 and in Canada?
### ... | SELECT COUNT("First title") FROM table_42705 WHERE "Wins" < '8' AND "Country" = 'canada' |
### Instruction:
CREATE TABLE table_54467 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text,
"Streak" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the streak on April 12?
### Response:
| SELECT "Streak" FROM table_54467 WHERE "Date" = 'april 12' |
### Instruction:
CREATE TABLE table_74901 (
"Round" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Winning team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Round was the Winning Team Engstler Motorsport Maurer Motorsport?
### ... | SELECT "Round" FROM table_74901 WHERE "Winning team" = 'engstler motorsport maurer motorsport' |
### Instruction:
CREATE TABLE table_70025 (
"Season" text,
"Competition" text,
"Round" text,
"Club" text,
"Home" text,
"Away" text,
"Aggregate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which round did Dundee United end in?
### Respon... | SELECT "Round" FROM table_70025 WHERE "Club" = 'dundee united' |
### Instruction:
CREATE TABLE table_name_8 (
not_outs INTEGER,
runs VARCHAR,
average VARCHAR,
matches VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Not Outs with an average lower than 31.25, fewer than 13 matches, and fewer than 3... | SELECT MIN(not_outs) FROM table_name_8 WHERE average < 31.25 AND matches < 13 AND runs < 327 |
### Instruction:
CREATE TABLE table_44759 (
"Name" text,
"WSU Year(s)" text,
"Position" text,
"Team" text,
"Pro Year(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Name, when WSU Year(s) is 1981-82?
### Response:
| SELECT "Name" FROM table_44759 WHERE "WSU Year(s)" = '1981-82' |
### Instruction:
CREATE TABLE table_71589 (
"Year" real,
"Team" text,
"Co-Drivers" text,
"Class" text,
"Laps" real,
"Pos." text,
"Class Pos." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many laps were done in 2012?
### Response:
| SELECT SUM("Laps") FROM table_71589 WHERE "Year" = '2012' |
### Instruction:
CREATE TABLE table_204_371 (
id number,
"team" text,
"competition" text,
"category" text,
"appearances\nstart" number,
"appearances\nsub" number,
"goals" number,
"team record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... | SELECT SUM("goals") FROM table_204_371 |
### Instruction:
CREATE TABLE table_58564 (
"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.
-- Where does St Kilda play?
###... | SELECT "Venue" FROM table_58564 WHERE "Home team" = 'st kilda' |
### Instruction:
CREATE TABLE table_28190363_1 (
network VARCHAR,
judges VARCHAR,
presenter_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many networks are there whose version of the shows includes judges tba and the presenter is Arbana Osmani?
... | SELECT COUNT(network) FROM table_28190363_1 WHERE judges = "TBA" AND presenter_s_ = "Arbana Osmani" |
### Instruction:
CREATE TABLE table_2919 (
"Week" real,
"Date" text,
"Opponent" text,
"Final Score" text,
"Result" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What week has an attendance of 10402
### Re... | SELECT MIN("Week") FROM table_2919 WHERE "Attendance" = '10402' |
### Instruction:
CREATE TABLE table_16412 (
"Romaji title" text,
"Japanese title" text,
"Release date" text,
"Reference" text,
"Oricon" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what are the title in japanese where the reference is kids-430?
... | SELECT "Japanese title" FROM table_16412 WHERE "Reference" = 'KIDS-430' |
### Instruction:
CREATE TABLE table_33770 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"TV Time" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was there a game against the Indianapolis c... | SELECT "Date" FROM table_33770 WHERE "Opponent" = 'indianapolis colts' |
### Instruction:
CREATE TABLE table_37188 (
"Ship" text,
"Hull No." text,
"Builder" text,
"Home Port" text,
"Commissioned\u2013 Decommissioned" text,
"NVR page" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the home port for kansas city
... | SELECT "Home Port" FROM table_37188 WHERE "Ship" = 'kansas city' |
### Instruction:
CREATE TABLE table_79307 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Notes have a Competition of world championships, and a Position of 2nd?
### Re... | SELECT "Notes" FROM table_79307 WHERE "Competition" = 'world championships' AND "Position" = '2nd' |
### Instruction:
CREATE TABLE table_203_758 (
id number,
"no." number,
"dub no." number,
"english dubbed title / english subbed title\noriginal japanese title" text,
"original air date" text,
"english air date" text
)
-- Using valid SQLite, answer the following questions for the tables provide... | SELECT COUNT(DISTINCT "dub no.") FROM table_203_758 |
### Instruction:
CREATE TABLE table_41384 (
"Publication" text,
"Country" text,
"Accolade" text,
"Year" real,
"Rank" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which accolade has USA as the country, with a year less than 2009?
### Response:
| SELECT "Accolade" FROM table_41384 WHERE "Country" = 'usa' AND "Year" < '2009' |
### Instruction:
CREATE TABLE table_75269 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who manufactured the motorcycle that did 24 laps and 9 grids?
### Response:
| SELECT "Manufacturer" FROM table_75269 WHERE "Laps" = '24' AND "Grid" = '9' |
### Instruction:
CREATE TABLE table_19929 (
"Series Ep." text,
"Episode" real,
"Segment A" text,
"Segment B" text,
"Segment C" text,
"Segment D" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is listed in segment b when segment c is artific... | SELECT "Segment B" FROM table_19929 WHERE "Segment C" = 'Artificial Flowers' |
### Instruction:
CREATE TABLE table_69740 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Score that has a Home of montreal canadiens on april 11?
### Response:
| SELECT "Score" FROM table_69740 WHERE "Home" = 'montreal canadiens' AND "Date" = 'april 11' |
### Instruction:
CREATE TABLE table_3468 (
"Player" text,
"Number Of Selections" real,
"First Team" real,
"Second Team" real,
"Season MVP" real,
"Final Four MVP" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is first team when dimitris diam... | SELECT COUNT("First Team") FROM table_3468 WHERE "Player" = 'Dimitris Diamantidis' |
### Instruction:
CREATE TABLE table_203_204 (
id number,
"year" number,
"film" text,
"language" text,
"actors" text,
"music" text,
"banner" text,
"note" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which film was the first to be direct... | SELECT "film" FROM table_203_204 ORDER BY "year" LIMIT 1 |
### Instruction:
CREATE TABLE table_22510 (
"Province, Community" text,
"Contestant" text,
"Age" real,
"Height" text,
"Hometown" text,
"Geographical Regions" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When toronto is the hometown how many he... | SELECT COUNT("Height") FROM table_22510 WHERE "Hometown" = 'Toronto' |
### Instruction:
CREATE TABLE table_74377 (
"Rk" real,
"Name" text,
"Country" text,
"Matches Played" real,
"Matches Won" real,
"Points" real,
"Prize Money (USD)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many countries had 21 points... | SELECT COUNT("Country") FROM table_74377 WHERE "Points" = '21' |
### Instruction:
CREATE TABLE table_59497 (
"Opposing Teams" text,
"Against" real,
"Date" text,
"Venue" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Opposing Teams is on 06/02/1988?
### Response:
| SELECT "Opposing Teams" FROM table_59497 WHERE "Date" = '06/02/1988' |
### Instruction:
CREATE TABLE table_74314 (
"Track no." real,
"Track" text,
"Original Artist" text,
"Soloist(s)" text,
"Vocal Percussionist" text,
"Arranger(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the vocal percussionist for Se... | SELECT "Vocal Percussionist" FROM table_74314 WHERE "Track" = 'Sex Bomb' |
### Instruction:
CREATE TABLE table_4404 (
"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.
-- What was the record at WEC 24?
##... | SELECT "Record" FROM table_4404 WHERE "Event" = 'wec 24' |
### Instruction:
CREATE TABLE table_667 (
"Year" real,
"Finish position" text,
"1st day" text,
"2nd day" text,
"3rd day" text,
"4th Day" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the 3rd day with finbeingh position being 16th
### R... | SELECT "3rd day" FROM table_667 WHERE "Finish position" = '16th' |
### Instruction:
CREATE TABLE table_64612 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"TV Time" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance on november 2, 2003?
### Response:
| SELECT "Attendance" FROM table_64612 WHERE "Date" = 'november 2, 2003' |
### Instruction:
CREATE TABLE table_73696 (
"Player" text,
"Starts" real,
"Cuts made" real,
"Best finish" text,
"Money list rank" real,
"Earnings ($)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the minimum number of cuts made for Hun... | SELECT MIN("Cuts made") FROM table_73696 WHERE "Player" = 'Hunter Mahan' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.