instruction
stringlengths 231
6.3k
| output
stringlengths 2
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_71438 (
"Election" text,
"1st Member" text,
"1st Party" text,
"2nd Member" text,
"2nd Party" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 1st party with Charles Isaac Elton as the 2nd member?
### Response:
|
SELECT "1st Party" FROM table_71438 WHERE "2nd Member" = 'charles isaac elton'
|
### Instruction:
CREATE TABLE table_55461 (
"Year" real,
"Player" text,
"Position" text,
"College/Country" text,
"WNBA Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Regarding players before 2000, what is the USC player's position?
### Response:
|
SELECT "Position" FROM table_55461 WHERE "Year" < '2000' AND "College/Country" = 'usc'
|
### Instruction:
CREATE TABLE table_21535453_1 (
source VARCHAR,
terry_mcauliffe VARCHAR,
dates_administered VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the source of the poll that gave McAuliffe 30% on June 8?
### Response:
|
SELECT source FROM table_21535453_1 WHERE terry_mcauliffe = "30%" AND dates_administered = "June 8"
|
### Instruction:
CREATE TABLE table_29112 (
"Series #" real,
"Season #" real,
"Title" text,
"Director" text,
"Writer" text,
"Original Airdate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many episodes are directed by ricardo mendez matta?
### Response:
|
SELECT COUNT("Season #") FROM table_29112 WHERE "Director" = 'Ricardo Mendez Matta'
|
### Instruction:
CREATE TABLE table_69060 (
"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.
-- What is the total of Frequency MHz with a Class of b1?
### Response:
|
SELECT SUM("Frequency MHz") FROM table_69060 WHERE "Class" = 'b1'
|
### Instruction:
CREATE TABLE table_20975 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Falcons points" real,
"Opponents" real,
"Record" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the date for game 9
### Response:
|
SELECT "Date" FROM table_20975 WHERE "Game" = '9'
|
### Instruction:
CREATE TABLE table_30110 (
"Player" text,
"Matches" real,
"Overs" text,
"Wickets" real,
"Average" text,
"Economy" text,
"BBI" text,
"4wi" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the fewest number of wickets recorded?
### Response:
|
SELECT MIN("Wickets") FROM table_30110
|
### Instruction:
CREATE TABLE table_35500 (
"Date" text,
"Home Team" text,
"Score" text,
"Away Team" text,
"Venue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score at Spartan Stadium when San Jose was the Home team?
### Response:
|
SELECT "Score" FROM table_35500 WHERE "Home Team" = 'san jose' AND "Venue" = 'spartan stadium'
|
### Instruction:
CREATE TABLE table_43604 (
"Outcome" text,
"Date" text,
"Championship" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the score on 22 february 1993?
### Response:
|
SELECT "Score" FROM table_43604 WHERE "Date" = '22 february 1993'
|
### Instruction:
CREATE TABLE table_27502 (
"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 episode number in the series is 'tough love'?
### Response:
|
SELECT MAX("No. in series") FROM table_27502 WHERE "Title" = 'Tough Love'
|
### Instruction:
CREATE TABLE table_19683 (
"Position" real,
"Team" text,
"Played" real,
"Wins" real,
"Draws" real,
"Losses" real,
"Scored" real,
"Conceded" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games were played?
### Response:
|
SELECT MIN("Played") FROM table_19683
|
### Instruction:
CREATE TABLE table_55886 (
"Software" text,
"Latest stable date (version)" text,
"Cost ( USD )" text,
"Open source" text,
"License" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the software with the latest stable date of 0.6.1
### Response:
|
SELECT "Software" FROM table_55886 WHERE "Latest stable date (version)" = '0.6.1'
|
### Instruction:
CREATE TABLE table_23872 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Tar Heels points" real,
"Opponents" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games were against Furman?
### Response:
|
SELECT MAX("Game") FROM table_23872 WHERE "Opponent" = 'Furman'
|
### Instruction:
CREATE TABLE table_8168 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Date" text,
"Crowd" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was the away team from Adelaide?
### Response:
|
SELECT "Date" FROM table_8168 WHERE "Away team" = 'adelaide'
|
### Instruction:
CREATE TABLE table_58142 (
"Player" text,
"Nationality" text,
"Position" text,
"Years for Jazz" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the nationality of the guard who plays at Utah?
### Response:
|
SELECT "Nationality" FROM table_58142 WHERE "Position" = 'guard' AND "School/Club Team" = 'utah'
|
### Instruction:
CREATE TABLE table_62007 (
"Name" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Winning constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What kind of the Winning driver has a Circuit of saint-rapha l?
### Response:
|
SELECT "Winning driver" FROM table_62007 WHERE "Circuit" = 'saint-raphaël'
|
### Instruction:
CREATE TABLE table_51427 (
"Player" text,
"Height" text,
"School" text,
"Hometown" text,
"College" text,
"NBA Draft" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the player that went to st. benedict's prep?
### Response:
|
SELECT "Player" FROM table_51427 WHERE "School" = 'st. benedict''s prep'
|
### Instruction:
CREATE TABLE table_66747 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Time" text,
"Att." real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent with the time 3:59?
### Response:
|
SELECT "Opponent" FROM table_66747 WHERE "Time" = '3:59'
|
### Instruction:
CREATE TABLE table_68437 (
"Season" real,
"Date" text,
"Location" text,
"Race" text,
"Place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What place result was the 1996 season at Lake Louise, Canada?
### Response:
|
SELECT "Place" FROM table_68437 WHERE "Season" = '1996' AND "Location" = 'lake louise, canada'
|
### Instruction:
CREATE TABLE table_203_61 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- the total number of medals won by south africa was how many ?
### Response:
|
SELECT "total" FROM table_203_61 WHERE "nation" = 'south africa'
|
### Instruction:
CREATE TABLE table_78059 (
"Track" real,
"Recorded" text,
"Catalogue" text,
"Release Date" text,
"Song Title" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the track that has the catalogue of apbo 0280
### Response:
|
SELECT "Track" FROM table_78059 WHERE "Catalogue" = 'apbo 0280'
|
### Instruction:
CREATE TABLE table_70458 (
"Episode No." real,
"Airdate" text,
"Total Viewers" real,
"Share" text,
"BBC One Weekly Ranking" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date did the episode with a weekly ranking of 14 air?
### Response:
|
SELECT "Airdate" FROM table_70458 WHERE "BBC One Weekly Ranking" = '14'
|
### Instruction:
CREATE TABLE table_57911 (
"Year" real,
"Title" text,
"Original channel" text,
"Role" text,
"Note" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the title when the year is after 2011 and the original channel is nhk?
### Response:
|
SELECT "Title" FROM table_57911 WHERE "Year" > '2011' AND "Original channel" = 'nhk'
|
### Instruction:
CREATE TABLE table_name_87 (
date VARCHAR,
opponent VARCHAR,
result VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of the match with a result of ud 12/12 between Pernell Whitaker and James Mcgirt?
### Response:
|
SELECT date FROM table_name_87 WHERE result = "ud 12/12" AND name = "pernell whitaker" AND opponent = "james mcgirt"
|
### Instruction:
CREATE TABLE table_46278 (
"Club" text,
"Champions" real,
"Runners-up" real,
"3rd-Place" real,
"4th-Place" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Runners-Up, when Champions is less than 0?
### Response:
|
SELECT MAX("Runners-up") FROM table_46278 WHERE "Champions" < '0'
|
### Instruction:
CREATE TABLE table_203_98 (
id number,
"title" text,
"year" number,
"director" text,
"budget" text,
"gross (worldwide)" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which morgan creek film grossed the most worldwide ?
### Response:
|
SELECT "title" FROM table_203_98 ORDER BY "gross (worldwide)" DESC LIMIT 1
|
### 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_204_215 (
id number,
"airline" text,
"destination(s)" text,
"aircraft scheduled" text,
"service date(s)" text,
"comments" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- does allegiant air fly to dallas or las vegas ?
### Response:
|
SELECT "destination(s)" FROM table_204_215 WHERE "airline" = 'allegiant air'
|
### Instruction:
CREATE TABLE table_204_607 (
id number,
"season" number,
"date" text,
"location" text,
"discipline" text,
"place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the finishing place of the last race in december 2010 ?
### Response:
|
SELECT "place" FROM table_204_607 WHERE "date" = 12 AND "date" = 2010
|
### Instruction:
CREATE TABLE table_39988 (
"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 was the resolution for the match that ended by Submission (armbar)?
### Response:
|
SELECT "Res." FROM table_39988 WHERE "Method" = 'submission (armbar)'
|
### Instruction:
CREATE TABLE table_203_695 (
id number,
"draw" number,
"artist" text,
"song" text,
"points" number,
"place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in the irish national final for the eurovision song contest in 1990 , the artist singing which song received third place ?
### Response:
|
SELECT "artist" FROM table_203_695 WHERE "place" = 3
|
### Instruction:
CREATE TABLE table_23846 (
"Parish" text,
"Obama%" text,
"Obama#" real,
"McCain%" text,
"McCain#" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was McCain's percentage when Obama had 64.39% of the vote?
### Response:
|
SELECT "McCain%" FROM table_23846 WHERE "Obama%" = '64.39%'
|
### Instruction:
CREATE TABLE table_name_3 (
speed VARCHAR,
construction_begun VARCHAR,
expected_start_of_revenue_services VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Speed when Construction begun in 2010, and an Expected start of revenue services of 2015?
### Response:
|
SELECT speed FROM table_name_3 WHERE construction_begun = "2010" AND expected_start_of_revenue_services = 2015
|
### Instruction:
CREATE TABLE table_30238 (
"Round" text,
"Clubs remaining" real,
"Clubs involved" real,
"Winners from previous round" text,
"New entries this round" text,
"Leagues entering at this round" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many clubs were involved in the second round?
### Response:
|
SELECT "Clubs involved" FROM table_30238 WHERE "Round" = 'Second round'
|
### Instruction:
CREATE TABLE table_80391 (
"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 loss of the Brewers game when the record was 46-48?
### Response:
|
SELECT "Loss" FROM table_80391 WHERE "Record" = '46-48'
|
### Instruction:
CREATE TABLE table_42382 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Event" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many years was the 400 m event in the olympic games?
### Response:
|
SELECT COUNT("Year") FROM table_42382 WHERE "Competition" = 'olympic games' AND "Event" = '400 m'
|
### Instruction:
CREATE TABLE table_26074 (
"Round" text,
"Clubs remaining" real,
"Clubs involved" real,
"Winners from previous round" text,
"New entries this round" text,
"Leagues entering at this round" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which round had 24 new entries?
### Response:
|
SELECT "Round" FROM table_26074 WHERE "New entries this round" = '24'
|
### Instruction:
CREATE TABLE table_77063 (
"Team" text,
"Location" text,
"Venue" text,
"Capacity" real,
"Position in 2005" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the Venue that has the Position in 2005 of 8?
### Response:
|
SELECT "Venue" FROM table_77063 WHERE "Position in 2005" = '8'
|
### Instruction:
CREATE TABLE table_2072 (
"#" real,
"Volume line" text,
"Volume title" text,
"Creators" text,
"Material collected" text,
"Publication date" text,
"ISBN" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the umbr of creators for flash of two worlds
### Response:
|
SELECT COUNT("Creators") FROM table_2072 WHERE "Volume title" = 'Flash of Two Worlds'
|
### Instruction:
CREATE TABLE table_6902 (
"Year" text,
"Playoff round" text,
"Venue" text,
"Winner" text,
"Result" text,
"Loser" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Loser when the winner was los angeles lakers (10)?
### Response:
|
SELECT "Loser" FROM table_6902 WHERE "Winner" = 'los angeles lakers (10)'
|
### Instruction:
CREATE TABLE table_28161 (
"Village" text,
"Area km\u00b2" text,
"Population (2000 census )" real,
"Region" text,
"Pop. Density" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many places named asan-maina?
### Response:
|
SELECT COUNT("Region") FROM table_28161 WHERE "Village" = 'Asan-Maina'
|
### 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?
### Response:
|
SELECT "Round" FROM table_70025 WHERE "Club" = 'dundee united'
|
### Instruction:
CREATE TABLE table_80084 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who used Gordini Straight-6 in 1956?
### Response:
|
SELECT "Entrant" FROM table_80084 WHERE "Engine" = 'gordini straight-6' AND "Year" = '1956'
|
### Instruction:
CREATE TABLE Person (
name varchar(20),
age INTEGER,
city TEXT,
gender TEXT,
job TEXT
)
CREATE TABLE PersonFriend (
name varchar(20),
friend varchar(20),
year INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people are under 40 for each gender. Plot them as bar chart.
### Response:
|
SELECT gender, COUNT(*) FROM Person WHERE age < 40 GROUP BY gender
|
### Instruction:
CREATE TABLE table_47598 (
"Rank" text,
"Team" text,
"Run 1" text,
"Run 2" text,
"Run 3" text,
"Final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which run 2 with final of 5:24.47?
### Response:
|
SELECT "Run 2" FROM table_47598 WHERE "Final" = '5:24.47'
|
### Instruction:
CREATE TABLE table_name_95 (
tenure VARCHAR,
cause_of_death VARCHAR,
badge_serial_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Tenure of the Officer who died in a helicopter accident with Badge/Serial Number 16805?
### Response:
|
SELECT tenure FROM table_name_95 WHERE cause_of_death = "helicopter accident" AND badge_serial_number = "16805"
|
### Instruction:
CREATE TABLE table_68179 (
"Year" real,
"Winner" text,
"Jockey" text,
"Trainer" text,
"Owner" text,
"Distance (Miles)" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the trainer when Crowd Pleaser won?
### Response:
|
SELECT "Trainer" FROM table_68179 WHERE "Winner" = 'crowd pleaser'
|
### Instruction:
CREATE TABLE table_72423 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who ran in the election where Claude Fuller was the incumbent?
### Response:
|
SELECT "Candidates" FROM table_72423 WHERE "Incumbent" = 'Claude Fuller'
|
### Instruction:
CREATE TABLE table_6174 (
"Date" text,
"Tournament" text,
"Location" text,
"Winner" text,
"Score" text,
"1st prize ( $ )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many 1st prizes have a Date of aug 17?
### Response:
|
SELECT COUNT("1st prize ( $ )") FROM table_6174 WHERE "Date" = 'aug 17'
|
### Instruction:
CREATE TABLE table_19042 (
"Episode" text,
"Original Air Date" text,
"Viewers (millions)" text,
"Presenter" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What episode of the Pride of Britain Awards had an audience of 6.06 million viewers?
### Response:
|
SELECT "Episode" FROM table_19042 WHERE "Viewers (millions)" = '6.06'
|
### Instruction:
CREATE TABLE PersonFriend (
name varchar(20),
friend varchar(20),
year INTEGER
)
CREATE TABLE Person (
name varchar(20),
age INTEGER,
city TEXT,
gender TEXT,
job TEXT
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is minimum age for different job title, sort in descending by the X.
### Response:
|
SELECT job, MIN(age) FROM Person GROUP BY job ORDER BY job DESC
|
### Instruction:
CREATE TABLE table_23235767_4 (
year VARCHAR,
opponent_in_the_final VARCHAR,
surface VARCHAR,
championship VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the year for clay for boston and guillermo vilas
### Response:
|
SELECT year FROM table_23235767_4 WHERE surface = "Clay" AND championship = "Boston" AND opponent_in_the_final = "Guillermo Vilas"
|
### Instruction:
CREATE TABLE table_18037 (
"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.
-- Where did they play the San Diego Chargers?
### Response:
|
SELECT "Game site" FROM table_18037 WHERE "Opponent" = 'San Diego Chargers'
|
### Instruction:
CREATE TABLE table_43732 (
"Internet Plan" text,
"Downstream" text,
"Upstream" text,
"Bandwidth Included" text,
"Price" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the plan that has a downstream rate of 4,096 kbit?
### Response:
|
SELECT "Internet Plan" FROM table_43732 WHERE "Downstream" = '4,096 kbit'
|
### Instruction:
CREATE TABLE table_69480 (
"Call sign" text,
"Frequency MHz" real,
"City of license" text,
"ERP W" real,
"Class" text,
"FCC info" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the call sign is wpib, what is lowest ERP W?
### Response:
|
SELECT MIN("ERP W") FROM table_69480 WHERE "Call sign" = 'wpib'
|
### Instruction:
CREATE TABLE table_60255 (
"Opposing Teams" text,
"Against" real,
"Date" text,
"Venue" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number against on 12/04/1969?
### Response:
|
SELECT MAX("Against") FROM table_60255 WHERE "Date" = '12/04/1969'
|
### Instruction:
CREATE TABLE table_9647 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Round" real,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Round, when Method is 'submission (reverse armbar)'?
### Response:
|
SELECT "Round" FROM table_9647 WHERE "Method" = 'submission (reverse armbar)'
|
### Instruction:
CREATE TABLE table_name_52 (
city_of_license VARCHAR,
frequency_mhz VARCHAR,
call_sign VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What city of license has a Frequency under 107.7, and a call sign of w247aq?
### Response:
|
SELECT city_of_license FROM table_name_52 WHERE frequency_mhz < 107.7 AND call_sign = "w247aq"
|
### Instruction:
CREATE TABLE table_name_71 (
part_number_s_ VARCHAR,
l3_cache VARCHAR,
sspec_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Part number(s) has a L3 cache of 8 mb and a sSpec number of sr0pl(e1)?
### Response:
|
SELECT part_number_s_ FROM table_name_71 WHERE l3_cache = "8 mb" AND sspec_number = "sr0pl(e1)"
|
### Instruction:
CREATE TABLE table_9054 (
"Outcome" text,
"Date" real,
"Championship" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the surface tye during the match with the opponent of richard fromberg?
### Response:
|
SELECT "Surface" FROM table_9054 WHERE "Opponent" = 'richard fromberg'
|
### Instruction:
CREATE TABLE table_6001 (
"Stage" text,
"Winner" text,
"General classification" text,
"Points classification" text,
"Mountains classification" text,
"Combination classification" text,
"Team classification" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Combination classification has a Stage of 14?
### Response:
|
SELECT "Combination classification" FROM table_6001 WHERE "Stage" = '14'
|
### Instruction:
CREATE TABLE table_40650 (
"Rank" real,
"Name" text,
"Years" text,
"Matches" real,
"Goals" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Jimmy Jones' rank when the matches were smaller than 285?
### Response:
|
SELECT MAX("Rank") FROM table_40650 WHERE "Name" = 'jimmy jones' AND "Matches" < '285'
|
### Instruction:
CREATE TABLE table_51681 (
"Race" text,
"Date" text,
"Location" text,
"Pole Position" text,
"Fastest Lap" text,
"Race Winner" text,
"Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the constructor for zolder
### Response:
|
SELECT "Constructor" FROM table_51681 WHERE "Location" = 'zolder'
|
### Instruction:
CREATE TABLE table_34648 (
"Date" text,
"Tournament Name" text,
"Location" text,
"Partner" text,
"Score in Final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Score in Final on February 19, 1989?
### Response:
|
SELECT "Score in Final" FROM table_34648 WHERE "Date" = 'february 19, 1989'
|
### Instruction:
CREATE TABLE table_37964 (
"Callsign" text,
"Area served" text,
"Frequency" text,
"Band" text,
"On-air ID" text,
"Purpose" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the frequency with on-air ID of 1way fm
### Response:
|
SELECT "Frequency" FROM table_37964 WHERE "On-air ID" = '1way fm'
|
### Instruction:
CREATE TABLE table_204_994 (
id number,
"date" text,
"time" text,
"opponent#" text,
"rank#" text,
"site" text,
"tv" text,
"result" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the largest attendance on the chart
### Response:
|
SELECT MAX("attendance") FROM table_204_994
|
### 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_name_19 (
scoring_rank VARCHAR,
year VARCHAR,
events_played VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Scoring rank when there are less than 21 events played with a rank of n/a in years less than 2011?
### Response:
|
SELECT scoring_rank FROM table_name_19 WHERE events_played < 21 AND rank = "n/a" AND year < 2011
|
### Instruction:
CREATE TABLE table_15288 (
"First game" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Percentage" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the earliest first game with 11 played and 12 games lost?
### Response:
|
SELECT MIN("First game") FROM table_15288 WHERE "Played" > '11' AND "Lost" = '12'
|
### Instruction:
CREATE TABLE table_55137 (
"Year" real,
"Award" text,
"Category" text,
"Nominated work" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which category was the berlin file up to win in 2013?
### Response:
|
SELECT "Category" FROM table_55137 WHERE "Year" = '2013' AND "Nominated work" = 'the berlin file'
|
### Instruction:
CREATE TABLE table_37095 (
"Games" real,
"Drawn" real,
"Lost" real,
"Points difference" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the fewest losses associated with more than 13 points and fewer than 8 games?
### Response:
|
SELECT MIN("Lost") FROM table_37095 WHERE "Points" > '13' AND "Games" < '8'
|
### Instruction:
CREATE TABLE table_70076 (
"Goal" text,
"Location" text,
"Lineup" text,
"Assist/pass" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Assist/pass has a Goal of 5?
### Response:
|
SELECT "Assist/pass" FROM table_70076 WHERE "Goal" = '5'
|
### Instruction:
CREATE TABLE table_34384 (
"Rank" real,
"Name" text,
"Nation" text,
"Points" real,
"Places" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the average rank of Wolfgang Schwarz with greater than 13 places?
### Response:
|
SELECT AVG("Rank") FROM table_34384 WHERE "Name" = 'wolfgang schwarz' AND "Places" > '13'
|
### Instruction:
CREATE TABLE table_14292 (
"Pick" real,
"Player" text,
"Country of origin*" text,
"PBA team" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the country of origin for the player who plays on Tondena 65 Rhum?
### Response:
|
SELECT "Country of origin*" FROM table_14292 WHERE "PBA team" = 'tondena 65 rhum'
|
### Instruction:
CREATE TABLE table_204_652 (
id number,
"title" text,
"year" number,
"director" text,
"country" text,
"genre" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the number of films in this category that came from france during this year ?
### Response:
|
SELECT COUNT("title") FROM table_204_652 WHERE "country" = 'france'
|
### Instruction:
CREATE TABLE table_73077 (
"Round" text,
"Clubs remaining" real,
"Clubs involved" real,
"Winners from previous round" text,
"New entries this round" text,
"Leagues entering this round" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the new entries this round for third round
### Response:
|
SELECT "New entries this round" FROM table_73077 WHERE "Round" = 'Third round'
|
### Instruction:
CREATE TABLE table_name_83 (
date VARCHAR,
outcome VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Date of the game with an Outcome of runner-up and Score of 5 7, 3 6, 6 3, 2 6?
### Response:
|
SELECT date FROM table_name_83 WHERE outcome = "runner-up" AND score = "5–7, 3–6, 6–3, 2–6"
|
### Instruction:
CREATE TABLE table_80331 (
"Member" text,
"Party" text,
"Electorate" text,
"State" text,
"Term in office" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which party had a member from the state of Vic and an Electorate called Wannon?
### Response:
|
SELECT "Party" FROM table_80331 WHERE "State" = 'vic' AND "Electorate" = 'wannon'
|
### Instruction:
CREATE TABLE table_70175 (
"Pick #" text,
"Player" text,
"Position" text,
"Nationality" text,
"NHL team" text,
"College/junior/club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team has a right wing position listed?
### Response:
|
SELECT "College/junior/club team" FROM table_70175 WHERE "Position" = 'right wing'
|
### Instruction:
CREATE TABLE table_32973 (
"Year" real,
"Sportsperson" text,
"Nation of birth" text,
"Team" text,
"Competition , federation , or league" text,
"Sport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team has a year listed of 2008?
### Response:
|
SELECT "Team" FROM table_32973 WHERE "Year" = '2008'
|
### Instruction:
CREATE TABLE table_49083 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Date has a Record of 36 11 7?
### Response:
|
SELECT "Date" FROM table_49083 WHERE "Record" = '36–11–7'
|
### Instruction:
CREATE TABLE table_55430 (
"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 record for the game with an attendance of 35,305?
### Response:
|
SELECT "Record" FROM table_55430 WHERE "Attendance" = '35,305'
|
### Instruction:
CREATE TABLE table_53461 (
"Area in m\u00b2" text,
"Completion" text,
"City" text,
"Country" text,
"Denomination" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the country with area of 3,170 in m ?
### Response:
|
SELECT "Country" FROM table_53461 WHERE "Area in m\u00b2" = '3,170'
|
### Instruction:
CREATE TABLE table_name_40 (
total_goals VARCHAR,
fa_cup_goals VARCHAR,
total_apps VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times is the total apps 1 and the fa cup goals less than 0 for bob mountain?
### Response:
|
SELECT COUNT(total_goals) FROM table_name_40 WHERE total_apps = "1" AND name = "bob mountain" AND fa_cup_goals < 0
|
### Instruction:
CREATE TABLE table_203_3 (
id number,
"province" text,
"capital" text,
"population" number,
"density" text,
"municipalities" text,
"legal districts" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many municipalities exist in the province of cadiz ?
### Response:
|
SELECT "municipalities" FROM table_203_3 WHERE "province" = 'cadiz'
|
### Instruction:
CREATE TABLE table_1302 (
"Date" text,
"Cover model" text,
"Centerfold model" text,
"Interview subject" text,
"20 Questions" text,
"Pictorials" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of pictorials for 5-85
### Response:
|
SELECT COUNT("Pictorials") FROM table_1302 WHERE "Date" = '5-85'
|
### Instruction:
CREATE TABLE table_76971 (
"Result" text,
"Race" text,
"Distance" text,
"Weight" real,
"Winner or 2nd" text,
"Pos'n" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the race when the winner of 2nd was Voleuse?
### Response:
|
SELECT "Race" FROM table_76971 WHERE "Winner or 2nd" = 'voleuse'
|
### Instruction:
CREATE TABLE table_1275 (
"Con- gress" text,
"District" text,
"Vacator" text,
"Election date" text,
"Successor" text,
"Took seat" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of districts for december 1799
### Response:
|
SELECT COUNT("District") FROM table_1275 WHERE "Election date" = 'December 1799'
|
### Instruction:
CREATE TABLE table_50370 (
"Start Date/Time" text,
"Duration" text,
"End Time" text,
"Spacecraft" text,
"Crew" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What crew's EVA started on 20 February 20:09?
### Response:
|
SELECT "Crew" FROM table_50370 WHERE "Start Date/Time" = '20 february 20:09'
|
### Instruction:
CREATE TABLE table_46742 (
"Country" text,
"Amateur Era" real,
"Open Era" real,
"All-time" real,
"First title" real,
"Last title" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of All-Time, when Amateur Era is less than 0?
### Response:
|
SELECT SUM("All-time") FROM table_46742 WHERE "Amateur Era" < '0'
|
### Instruction:
CREATE TABLE table_30818 (
"Pick" text,
"Player" text,
"Position" text,
"Nationality" text,
"NHL team" text,
"College/junior/club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who did Edmonton Oilers get for their draft pick?
### Response:
|
SELECT "Player" FROM table_30818 WHERE "NHL team" = 'Edmonton Oilers'
|
### Instruction:
CREATE TABLE table_204_683 (
id number,
"no." number,
"constituency" text,
"winner candidate" text,
"party" text,
"votes" number,
"margin" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many votes were there for the constituency of danta ?
### Response:
|
SELECT "votes" FROM table_204_683 WHERE "constituency" = 'danta'
|
### Instruction:
CREATE TABLE table_16918 (
"Institution" text,
"Nickname" text,
"Status" text,
"Founded" real,
"Color" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the number of location of nickname cbsua formerly known cssac?
### Response:
|
SELECT COUNT("Location") FROM table_16918 WHERE "Nickname" = 'CBSUA formerly known CSSAC'
|
### Instruction:
CREATE TABLE table_48726 (
"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 week number when a game was played on November 19, 1967?
### Response:
|
SELECT MIN("Week") FROM table_48726 WHERE "Date" = 'november 19, 1967'
|
### Instruction:
CREATE TABLE table_80004 (
"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.
-- How many deciles have Years of 9 13?
### Response:
|
SELECT COUNT("Decile") FROM table_80004 WHERE "Years" = '9–13'
|
### Instruction:
CREATE TABLE table_14135 (
"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.
-- Which week was the December 21, 2003 game?
### Response:
|
SELECT "Week" FROM table_14135 WHERE "Date" = 'december 21, 2003'
|
### Instruction:
CREATE TABLE table_30923 (
"Stage" real,
"Winner" text,
"General classification" text,
"Mountains Classification" text,
"Points classification" text,
"Sprints Classification" text,
"Team Classification" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the points classification for levi leipheimer
### Response:
|
SELECT "Points classification" FROM table_30923 WHERE "General classification" = 'Levi Leipheimer'
|
### Instruction:
CREATE TABLE table_20896 (
"Player" text,
"Team" text,
"Matches" real,
"Wickets" real,
"Average" text,
"Best Bowling" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the best bowling score when the average was 23.33?
### Response:
|
SELECT "Best Bowling" FROM table_20896 WHERE "Average" = '23.33'
|
### Instruction:
CREATE TABLE table_41579 (
"Name" text,
"Japanese" text,
"Date of designation" text,
"Date of reclassification" text,
"Region" text,
"Prefecture" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHich Japanese has a Prefecture of iwate?
### Response:
|
SELECT "Japanese" FROM table_41579 WHERE "Prefecture" = 'iwate'
|
### Instruction:
CREATE TABLE table_38560 (
"Position" real,
"Pilot" text,
"Country" text,
"Glider" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest position with less than 7 points piloted by Didier Hauss?
### Response:
|
SELECT MIN("Position") FROM table_38560 WHERE "Points" < '7' AND "Pilot" = 'didier hauss'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.