instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_15080 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Give the most points that features jordan 194 in the Chassis column.
### Response:
| SELECT MAX("Points") FROM table_15080 WHERE "Chassis" = 'jordan 194' |
### Instruction:
CREATE TABLE table_36621 (
"Fraction" text,
"Ellipsis" text,
"Vinculum" text,
"Dots" text,
"Parentheses" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What fraction has a value for dots of 0.\dot{3}?
### Response:
| SELECT "Fraction" FROM table_36621 WHERE "Dots" = '0.\dot{3}' |
### Instruction:
CREATE TABLE table_203_577 (
id number,
"tenure" text,
"coach" text,
"years" number,
"record" text,
"pct." number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what were the total number of years wallace wade was a coach ?
### Res... | SELECT "years" FROM table_203_577 WHERE "coach" = 'wallace wade' |
### Instruction:
CREATE TABLE table_34281 (
"Rank" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the sum of total for gold less than 1 and bronze of 3
### Response:
| SELECT SUM("Total") FROM table_34281 WHERE "Gold" < '1' AND "Bronze" = '3' |
### Instruction:
CREATE TABLE table_21693 (
"Winner" text,
"Country" text,
"Winter Olympics" text,
"FIS Nordic World Ski Championships" text,
"Holmenkollen" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year did Thorleif Haug win the Winter Ol... | SELECT "Winter Olympics" FROM table_21693 WHERE "Winner" = 'Thorleif Haug' |
### Instruction:
CREATE TABLE table_67823 (
"Year" text,
"Start" text,
"Qual" text,
"Rank" text,
"Finish" text,
"Laps" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the laps for qual of 144.665
### Response:
| SELECT SUM("Laps") FROM table_67823 WHERE "Qual" = '144.665' |
### Instruction:
CREATE TABLE table_12147 (
"Seat" real,
"Series 1" text,
"Series 3" text,
"Series 4" text,
"Series 5" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the series 4 with sarah newman in series 1?
### Response:
| SELECT "Series 4" FROM table_12147 WHERE "Series 1" = 'sarah newman' |
### Instruction:
CREATE TABLE table_30449 (
"Player" text,
"Cap(s)" real,
"Goal(s)" real,
"International Debut" text,
"Club(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What club did the championship player come from who had 10 goals?
### Re... | SELECT "Club(s)" FROM table_30449 WHERE "Goal(s)" = '10' |
### Instruction:
CREATE TABLE table_25425 (
"Date" text,
"Location" text,
"Opponent" text,
"Cards Points" real,
"Opp. Points" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the opponent for 11-1
### Response:
| SELECT "Opponent" FROM table_25425 WHERE "Record" = '11-1' |
### Instruction:
CREATE TABLE table_39023 (
"Country" text,
"Date" text,
"Label" text,
"Format" text,
"Catalogue #" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date with the catalogue number ptcd-1015-6?
### Response:
| SELECT "Date" FROM table_39023 WHERE "Catalogue #" = 'ptcd-1015-6' |
### Instruction:
CREATE TABLE table_24222929_3 (
original_airdate VARCHAR,
live VARCHAR,
sd_total_viewers VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did the episode that had 5.09 million total viewers (both Live and SD types) first air?
### Re... | SELECT original_airdate FROM table_24222929_3 WHERE live + sd_total_viewers = "5.09 million" |
### Instruction:
CREATE TABLE table_71701 (
"Name" text,
"Years" text,
"Gender" text,
"Area" text,
"Authority" text,
"Decile" real,
"Roll" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the authority for morrinsville college
### Respo... | SELECT "Authority" FROM table_71701 WHERE "Name" = 'morrinsville college' |
### Instruction:
CREATE TABLE table_203_790 (
id number,
"week" number,
"date" text,
"opponent" text,
"result" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many games had less than 30,000 people in attendance ?
### R... | SELECT COUNT(*) FROM table_203_790 WHERE "attendance" < 30000 |
### Instruction:
CREATE TABLE table_69354 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Time" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score on August 19?
### Response:
| SELECT "Score" FROM table_69354 WHERE "Date" = 'august 19' |
### Instruction:
CREATE TABLE table_20267 (
"Year" real,
"Division" text,
"League" text,
"Regular Season" text,
"Playoffs" text,
"Open Cup" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the playoff advancement during the year 1998?
#... | SELECT "Playoffs" FROM table_20267 WHERE "Year" = '1998' |
### Instruction:
CREATE TABLE table_name_24 (
game INTEGER,
set_4 VARCHAR,
set_3 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of the Game with a Set 4 of 25-21 and a Set 3 of 25-23?
### Response:
| SELECT SUM(game) FROM table_name_24 WHERE set_4 = "25-21" AND set_3 = "25-23" |
### Instruction:
CREATE TABLE table_30878 (
"Outcome" text,
"Year" real,
"Championship" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the parter for w/o
### Response:
| SELECT "Partner" FROM table_30878 WHERE "Score" = 'w/o' |
### Instruction:
CREATE TABLE table_51424 (
"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 score of the match on July 22, 2008?
### Response:
| SELECT "Score" FROM table_51424 WHERE "Date" = 'july 22, 2008' |
### Instruction:
CREATE TABLE table_781 (
"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 incumbent with first elected being 1924
### Re... | SELECT COUNT("Incumbent") FROM table_781 WHERE "First elected" = '1924' |
### Instruction:
CREATE TABLE table_58749 (
"South West DFL" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many byes has a draw larger than 0?
### Response:
| SELECT COUNT("Byes") FROM table_58749 WHERE "Draws" > '0' |
### Instruction:
CREATE TABLE table_14249 (
"Elector" text,
"Place of birth" text,
"Cardinalatial title" text,
"Elevated" text,
"Elevator" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is listed for the Elevator that has the Elector of Gerardo... | SELECT "Elevator" FROM table_14249 WHERE "Elector" = 'gerardo' |
### Instruction:
CREATE TABLE table_203_830 (
id number,
"year" number,
"song" text,
"chart positions\nus country" number,
"chart positions\ncan country" number,
"album" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which song had the highest u... | SELECT "song" FROM table_203_830 ORDER BY "chart positions\nus country" LIMIT 1 |
### Instruction:
CREATE TABLE table_31900 (
"Outcome" text,
"Date" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the surface for the game that had a partner of vania king?... | SELECT "Surface" FROM table_31900 WHERE "Partner" = 'vania king' |
### Instruction:
CREATE TABLE table_43395 (
"Date" text,
"Tournament" text,
"Winning score" text,
"Margin of victory" text,
"Runner(s)-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the winning score with a margin victory of 2 strokes?
... | SELECT "Winning score" FROM table_43395 WHERE "Margin of victory" = '2 strokes' |
### Instruction:
CREATE TABLE table_70478 (
"Name" text,
"Years" text,
"Gender" text,
"Area" text,
"Authority" text,
"Decile" real,
"Roll" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the years for elsthorpe school
### Response:
| SELECT "Years" FROM table_70478 WHERE "Name" = 'elsthorpe school' |
### Instruction:
CREATE TABLE table_201_18 (
id number,
"date" text,
"event" text,
"headline act(s)" text,
"supporting act(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which month is the most popular month for concerts at the old trafford cric... | SELECT "date" FROM table_201_18 GROUP BY "date" ORDER BY COUNT(*) DESC LIMIT 1 |
### Instruction:
CREATE TABLE race (
Race_ID int,
Name text,
Class text,
Date text,
Track_ID text
)
CREATE TABLE track (
Track_ID int,
Name text,
Location text,
Seating real,
Year_Opened real
)
-- Using valid SQLite, answer the following questions for the tables provided above... | SELECT Class, COUNT(Class) FROM race GROUP BY Class |
### Instruction:
CREATE TABLE table_22083044_2 (
event VARCHAR,
fastest_lap VARCHAR,
pole_position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times did Tim Macrow and Joey Foster both got the fastest lap and pole position respectively?
###... | SELECT COUNT(event) FROM table_22083044_2 WHERE fastest_lap = "Tim Macrow" AND pole_position = "Joey Foster" |
### Instruction:
CREATE TABLE table_name_96 (
goals_against INTEGER,
club VARCHAR,
ga_average VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest goals against the goalkeeper of Dallas Burn, who had a GA average larger than 1.46, had?
##... | SELECT MAX(goals_against) FROM table_name_96 WHERE club = "dallas burn" AND ga_average > 1.46 |
### Instruction:
CREATE TABLE table_78630 (
"joule" text,
"watt hour" text,
"kilowatt hour" text,
"electronvolt" text,
"calorie" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many electronvolts is 3,600 joules?
### Response:
| SELECT "electronvolt" FROM table_78630 WHERE "joule" = '3,600' |
### Instruction:
CREATE TABLE table_3704 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Replaced by" text,
"Date of appointment" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For livorno team mentio... | SELECT "Manner of departure" FROM table_3704 WHERE "Team" = 'Livorno' |
### Instruction:
CREATE TABLE table_63081 (
"Rank" text,
"Name" text,
"Height ft (m)" text,
"Floors" real,
"Year" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many floors when the rank is 73.0 72=?
### Response:
| SELECT "Floors" FROM table_63081 WHERE "Rank" = '73.0 72=' |
### Instruction:
CREATE TABLE table_38119 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What home has 136-134 as the score?
### Response:
| SELECT "Home" FROM table_38119 WHERE "Score" = '136-134' |
### Instruction:
CREATE TABLE table_71015 (
"Competing entities" text,
"First held" real,
"Current holder" text,
"Next" text,
"Held every" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the Competing entities that has the First held ... | SELECT "Competing entities" FROM table_71015 WHERE "First held" < '1970' |
### Instruction:
CREATE TABLE table_18123 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Results" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many party were listed for district oklahoma 5?
... | SELECT COUNT("Party") FROM table_18123 WHERE "District" = 'Oklahoma 5' |
### Instruction:
CREATE TABLE table_21031 (
"Institution" text,
"Location" text,
"Nickname" text,
"Founded" real,
"Enrollment" real,
"Joined" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the location for abraham baldwin agricultural colle... | SELECT "Location" FROM table_21031 WHERE "Institution" = 'Abraham Baldwin Agricultural College' |
### Instruction:
CREATE TABLE table_53366 (
"Week" real,
"Date" text,
"Opponent" text,
"Score" text,
"Result" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent in the Week 4 game?
### Res... | SELECT "Opponent" FROM table_53366 WHERE "Week" = '4' |
### Instruction:
CREATE TABLE table_30141 (
"Institution" text,
"City" text,
"State" text,
"Team Name" text,
"Affiliation" text,
"Enrollment" real,
"Home Conference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What kind of institute is in... | SELECT "Affiliation" FROM table_30141 WHERE "State" = 'Indiana' |
### Instruction:
CREATE TABLE acceptance (
submission_id number,
workshop_id number,
result text
)
CREATE TABLE workshop (
workshop_id number,
date text,
venue text,
name text
)
CREATE TABLE submission (
submission_id number,
scores number,
author text,
college text
)
-- ... | SELECT COUNT(*) FROM submission |
### Instruction:
CREATE TABLE table_79071 (
"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.
-- Name the Total of australia and a To par smaller than 7?
### Response:
| SELECT MIN("Total") FROM table_79071 WHERE "Country" = 'australia' AND "To par" < '7' |
### Instruction:
CREATE TABLE table_200_3 (
id number,
"year" number,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"breeder" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what jockey won the triple crown in 1978 ?
### Respo... | SELECT "jockey" FROM table_200_3 WHERE "year" = 1978 |
### Instruction:
CREATE TABLE table_729 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What district is F. Edward Hebert the incumbent in?
###... | SELECT "District" FROM table_729 WHERE "Incumbent" = 'F. Edward Hebert' |
### Instruction:
CREATE TABLE table_71232 (
"Capital" text,
"Prefecture" text,
"Region" text,
"Island" text,
"Pop. \u00b9" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the highest pop for tottori
### Response:
| SELECT MAX("Pop. \u00b9") FROM table_71232 WHERE "Prefecture" = 'tottori' |
### Instruction:
CREATE TABLE table_name_25 (
position VARCHAR,
crewe_alexandra_career VARCHAR,
goals VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the position when the Crewe Alexandra career is 1988 1990, with 31 goals?
### Response:
| SELECT position FROM table_name_25 WHERE crewe_alexandra_career = "1988–1990" AND goals = 31 |
### Instruction:
CREATE TABLE table_77944 (
"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 score of the match on July 29, 1990?
### Response:
| SELECT "Score" FROM table_77944 WHERE "Date" = 'july 29, 1990' |
### Instruction:
CREATE TABLE table_203_496 (
id number,
"pos" number,
"country" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many countries have more than 5 medals in to... | SELECT COUNT("country") FROM table_203_496 WHERE "total" > 5 |
### Instruction:
CREATE TABLE table_68567 (
"Station" text,
"Frequency" real,
"Network Affiliation" text,
"Format" text,
"City of License" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which city station is owned by Coyote Commun... | SELECT "City of License" FROM table_68567 WHERE "Status" = 'owned by coyote communications' |
### Instruction:
CREATE TABLE table_49690 (
"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 was the aggregate in the match with a team 1 of Dinamo Minsk?
### Response:
| SELECT "Agg." FROM table_49690 WHERE "Team 1" = 'dinamo minsk' |
### Instruction:
CREATE TABLE table_28184 (
"Country" text,
"Name of bullion coin" text,
"Fineness" text,
"Denominations (Gold weight)" text,
"Years of mintage" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are all the denominations for China?... | SELECT "Denominations (Gold weight)" FROM table_28184 WHERE "Country" = 'China' |
### Instruction:
CREATE TABLE table_name_16 (
year VARCHAR,
quarter_finalists VARCHAR,
semi_finalists VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Year has a Quarter-Finalists of 1,000, and Semi-Finalists of 1,500?
### Response:
| SELECT year FROM table_name_16 WHERE quarter_finalists = "£1,000" AND semi_finalists = "£1,500" |
### Instruction:
CREATE TABLE table_name_19 (
date INTEGER,
partner VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the most recent game that he partnered with nicklas kulti and they scored 3 6, 7 6, 6 4?
### Response:
| SELECT MAX(date) FROM table_name_19 WHERE partner = "nicklas kulti" AND score = "3–6, 7–6, 6–4" |
### Instruction:
CREATE TABLE table_48817 (
"Game" text,
"Date" text,
"Home Team" text,
"Result" text,
"Road Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the home team when Boston is the road team in game 4?
### Response:
| SELECT "Home Team" FROM table_48817 WHERE "Road Team" = 'boston' AND "Game" = 'game 4' |
### Instruction:
CREATE TABLE table_48965 (
"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.
-- Who was the first team when the second team was Kalise Gran Canaria?
### Response:
| SELECT "Team #1" FROM table_48965 WHERE "Team #2" = 'kalise gran canaria' |
### Instruction:
CREATE TABLE table_68603 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score of the game that resulted in a 15-9 record?
### R... | SELECT "Score" FROM table_68603 WHERE "Record" = '15-9' |
### Instruction:
CREATE TABLE table_203_764 (
id number,
"name" text,
"date" number,
"nation" text,
"displacement" text,
"speed" text,
"number" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the top speed ?
### ... | SELECT "speed" FROM table_203_764 ORDER BY "speed" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_27643 (
"Letters" text,
"Organization" text,
"Nickname" text,
"Founding Date" text,
"Founding University" text,
"Type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the founding date for the 'AEPI'?
... | SELECT "Founding Date" FROM table_27643 WHERE "Nickname" = 'AEPi' |
### Instruction:
CREATE TABLE table_1684 (
"Episode" text,
"First broadcast" text,
"Graemes guest" text,
"Jeremys guest" text,
"Votes (%)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in what date was aired the first broacast of the episode 1x02
... | SELECT "First broadcast" FROM table_1684 WHERE "Episode" = '1x02' |
### Instruction:
CREATE TABLE table_6135 (
"Year" real,
"Winner" text,
"Jockey" text,
"Trainer" text,
"Owner" text,
"Time" text,
"Purse" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the trainer in 2013?
### Response:
| SELECT "Trainer" FROM table_6135 WHERE "Year" = '2013' |
### Instruction:
CREATE TABLE teachers (
classroom VARCHAR,
firstname VARCHAR,
lastname VARCHAR
)
CREATE TABLE list (
classroom VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the number of students taught by TARRING LEIA.
### Response:
| SELECT COUNT(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = "TARRING" AND T2.lastname = "LEIA" |
### Instruction:
CREATE TABLE table_23117208_3 (
no_in_series INTEGER,
viewers__millions_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- when the number of spectator are 5.28 millions, which is the smallest number of the episode in series?
### Response:
| SELECT MIN(no_in_series) FROM table_23117208_3 WHERE viewers__millions_ = "5.28" |
### Instruction:
CREATE TABLE table_71113 (
"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 rank of the 150.163 qual?
### Response:
| SELECT "Rank" FROM table_71113 WHERE "Qual" = '150.163' |
### Instruction:
CREATE TABLE table_name_87 (
crest_length__meters_ VARCHAR,
year_of_construction VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the total number of crest length for year construction larger than 1957 for mattmark
... | SELECT COUNT(crest_length__meters_) FROM table_name_87 WHERE year_of_construction > 1957 AND name = "mattmark" |
### Instruction:
CREATE TABLE table_6287 (
"Round" text,
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of the game with a result of won 4-2?
### Respons... | SELECT "Date" FROM table_6287 WHERE "Result" = 'won 4-2' |
### Instruction:
CREATE TABLE table_22102 (
"Player" text,
"Alma Mater" text,
"National Lacrosse League" text,
"Major League Lacrosse" text,
"International Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List all of the NLL Toronto Rock ... | SELECT "Player" FROM table_22102 WHERE "National Lacrosse League" = 'Toronto Rock' |
### Instruction:
CREATE TABLE table_47361 (
"Date" text,
"Opponent#" text,
"Rank #" text,
"Site" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank of the match on October 19?
### Response:
| SELECT "Rank #" FROM table_47361 WHERE "Date" = 'october 19' |
### Instruction:
CREATE TABLE table_7911 (
"Team 1" text,
"Score" text,
"Team 2" text,
"1st round" text,
"2nd round" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is team 2 when team 1 is fc rouen (d1)?
### Response:
| SELECT "Team 2" FROM table_7911 WHERE "Team 1" = 'fc rouen (d1)' |
### Instruction:
CREATE TABLE table_name_35 (
game INTEGER,
high_points VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Game, when High Points is 'D. McKey (24)', and when Team is '@ Dallas Mavericks'?
### Response:
| SELECT SUM(game) FROM table_name_35 WHERE high_points = "d. mckey (24)" AND team = "@ dallas mavericks" |
### Instruction:
CREATE TABLE table_49419 (
"Team 1" text,
"Score" text,
"Team 2" text,
"1st round" text,
"2nd round" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which first round has a first team of angers sco (d1)?
### Response:
| SELECT "1st round" FROM table_49419 WHERE "Team 1" = 'angers sco (d1)' |
### Instruction:
CREATE TABLE table_70836 (
"Name" text,
"Frequency" text,
"Language" text,
"City" text,
"Website" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which city has spanish news on the website ultimahora.com ?
### Response:
| SELECT "City" FROM table_70836 WHERE "Language" = 'spanish' AND "Website" = 'ultimahora.com' |
### Instruction:
CREATE TABLE table_16353 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title written by David Ma... | SELECT "Title" FROM table_16353 WHERE "Written by" = 'David Mamet' |
### Instruction:
CREATE TABLE table_15438 (
"Week" text,
"Theme" text,
"Song choice" text,
"Original artist" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the theme for Vegas Verdicts week with a result of Advanced?
### Re... | SELECT "Theme" FROM table_15438 WHERE "Result" = 'advanced' AND "Week" = 'vegas verdicts' |
### Instruction:
CREATE TABLE table_name_91 (
points_against VARCHAR,
tries_against VARCHAR,
played VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the points against when tries against is 51 and points is 52 with played of 22
#... | SELECT points_against FROM table_name_91 WHERE played = "22" AND points = "52" AND tries_against = "51" |
### Instruction:
CREATE TABLE table_25355501_2 (
november_3 VARCHAR,
august_21_22 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is shown for november 3 when august 21-22 is august 22, 1998?
### Response:
| SELECT november_3 FROM table_25355501_2 WHERE august_21_22 = "August 22, 1998" |
### Instruction:
CREATE TABLE table_203_228 (
id number,
"#" number,
"title" text,
"songwriters" text,
"producer(s)" text,
"performer (s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many tracks in word ... life have at most two songwrite... | SELECT COUNT("title") FROM table_203_228 WHERE "songwriters" <= 2 |
### Instruction:
CREATE TABLE table_name_54 (
pick__number INTEGER,
overall VARCHAR,
position VARCHAR,
college VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Pick Number when the position was wide receiver, the college was Southern Miss ... | SELECT AVG(pick__number) FROM table_name_54 WHERE position = "wide receiver" AND college = "southern miss" AND overall < 186 |
### Instruction:
CREATE TABLE table_name_83 (
position VARCHAR,
jersey__number VARCHAR,
birthdate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the position of the player with a jersey # greater than 30 and a December 23, 1986 birthdate?
### R... | SELECT position FROM table_name_83 WHERE jersey__number > 30 AND birthdate = "december 23, 1986" |
### Instruction:
CREATE TABLE table_77617 (
"Call sign" text,
"Frequency MHz" text,
"City of license" text,
"ERP W" real,
"Class" text,
"FCC info" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the call sign for ERP W of 27
### Response:
| SELECT "Call sign" FROM table_77617 WHERE "ERP W" = '27' |
### Instruction:
CREATE TABLE table_43290 (
"Date" text,
"Home captain" text,
"Away captain" text,
"Venue" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what venues was the match with a final result of Eng by 4 wkts?
### Respons... | SELECT "Venue" FROM table_43290 WHERE "Result" = 'eng by 4 wkts' |
### Instruction:
CREATE TABLE table_55947 (
"Year" real,
"Title" text,
"Role" text,
"Studio" text,
"Director" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What title was directed by Raoul Walsh later than 1945?
### Response:
| SELECT "Title" FROM table_55947 WHERE "Director" = 'raoul walsh' AND "Year" > '1945' |
### Instruction:
CREATE TABLE table_name_95 (
league_from VARCHAR,
player VARCHAR,
position VARCHAR,
pick__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which League from has a Position of lw, a Pick # larger than 34, and a Player of bradley ... | SELECT league_from FROM table_name_95 WHERE position = "lw" AND pick__number > 34 AND player = "bradley ross" |
### Instruction:
CREATE TABLE table_70430 (
"Player" text,
"Country" text,
"Year won" real,
"Total" real,
"To par" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the year won by Australia with a to par bigger than 16?
### Response:
| SELECT COUNT("Year won") FROM table_70430 WHERE "Country" = 'australia' AND "To par" > '16' |
### Instruction:
CREATE TABLE table_49106 (
"Week" real,
"Date" text,
"Opponent" text,
"Score" text,
"Result" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Record, when Date is Oct 19?
### Respons... | SELECT "Record" FROM table_49106 WHERE "Date" = 'oct 19' |
### Instruction:
CREATE TABLE table_18031 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Record" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what week was the record 5-9?
### Respons... | SELECT MAX("Week") FROM table_18031 WHERE "Record" = '5-9' |
### Instruction:
CREATE TABLE table_62065 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Country has a Place of t10, and a Player of tony jacklin?
### Response:
| SELECT "Country" FROM table_62065 WHERE "Place" = 't10' AND "Player" = 'tony jacklin' |
### Instruction:
CREATE TABLE table_8861 (
"Wrestler" text,
"Reign" real,
"Date" text,
"Days held" text,
"Location" text,
"Event" text,
"Successful defenses" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is chris jones' location?
###... | SELECT "Location" FROM table_8861 WHERE "Wrestler" = 'chris jones' |
### Instruction:
CREATE TABLE table_41367 (
"Name" text,
"Space Agency" text,
"Launch Date" text,
"Terminated" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Name of the Space Telescope Terminated on March 1993?
### Re... | SELECT "Name" FROM table_41367 WHERE "Terminated" = 'march 1993' |
### Instruction:
CREATE TABLE table_204_550 (
id number,
"event" text,
"record" text,
"athlete" text,
"date" text,
"meet" text,
"place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many records has harmon harmon held ?
### Response:
| SELECT COUNT("record") FROM table_204_550 WHERE "athlete" = 'harmon harmon' |
### Instruction:
CREATE TABLE table_12030 (
"Race" text,
"Length" text,
"Class" text,
"Circuit" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which class was on the Las Vegas Motor Speedway for 2 hours?
### Response:
| SELECT "Class" FROM table_12030 WHERE "Length" = '2 hours' AND "Circuit" = 'las vegas motor speedway' |
### Instruction:
CREATE TABLE table_66426 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the score 3-6 4-6?
### Response:
| SELECT "Date" FROM table_66426 WHERE "Score" = '3-6 4-6' |
### Instruction:
CREATE TABLE table_name_46 (
opponent VARCHAR,
record VARCHAR,
week VARCHAR,
game_site VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Opponent has a Week larger than 3, and a Game site of mile high stadium, and a Record of 3 3?... | SELECT opponent FROM table_name_46 WHERE week > 3 AND game_site = "mile high stadium" AND record = "3–3" |
### Instruction:
CREATE TABLE table_name_48 (
days VARCHAR,
the_presenter VARCHAR,
launch_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which days were presented by Andreas Mikroutsikos and were launched on March 10, 2003?
### Response:
| SELECT days FROM table_name_48 WHERE the_presenter = "andreas mikroutsikos" AND launch_date = "march 10, 2003" |
### Instruction:
CREATE TABLE table_42224 (
"Former kingdom" text,
"Province" text,
"Hangul" text,
"Hanja" text,
"Capital" text,
"Modern equivalent" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Hanja for the sakju province?
### R... | SELECT "Hanja" FROM table_42224 WHERE "Province" = 'sakju' |
### Instruction:
CREATE TABLE table_72425 (
"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.
-- Name the candidate for south carolina 1?
### Response... | SELECT "Candidates" FROM table_72425 WHERE "District" = 'South Carolina 1' |
### Instruction:
CREATE TABLE table_28566 (
"Finished" text,
"Performance Order" real,
"Percentage of votes" text,
"Artist" text,
"Act" text,
"Semi Finals Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the percentage of votes for 3r... | SELECT "Percentage of votes" FROM table_28566 WHERE "Finished" = '3rd' |
### Instruction:
CREATE TABLE table_34998 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What score has February 10 as the date?
### Res... | SELECT "Score" FROM table_34998 WHERE "Date" = 'february 10' |
### Instruction:
CREATE TABLE table_name_73 (
nationality VARCHAR,
college_junior_club_team__league_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Nationality, when College/Junior/Club Team (League) is 'Guelph Storm ( OHL )'?
### Response:
| SELECT nationality FROM table_name_73 WHERE college_junior_club_team__league_ = "guelph storm ( ohl )" |
### Instruction:
CREATE TABLE table_60962 (
"Class" text,
"Team" text,
"Drivers" text,
"Laps" real,
"Qual Pos" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who are the drivers with 133 laps in OC class?
### Response:
| SELECT "Drivers" FROM table_60962 WHERE "Laps" = '133' AND "Class" = 'oc' |
### Instruction:
CREATE TABLE table_49568 (
"Date" text,
"H/A/N" text,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the opponent of the game when the reocrd was 0-12?
### Response:
| SELECT "Opponent" FROM table_49568 WHERE "Record" = '0-12' |
### Instruction:
CREATE TABLE table_40784 (
"Rank" text,
"Runs" text,
"Player" text,
"Match" text,
"Venue" text,
"Season" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What rank has Bill Ponsford (vic) as the player?
### Response:
| SELECT "Rank" FROM table_40784 WHERE "Player" = 'bill ponsford (vic)' |
### Instruction:
CREATE TABLE table_name_59 (
margin_of_victory VARCHAR,
winning_score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the Winning score is 68-65-65-68=266, what is the Margin of victory?
### Response:
| SELECT margin_of_victory FROM table_name_59 WHERE winning_score = 68 - 65 - 65 - 68 = 266 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.