instruction
stringlengths 231
6.3k
| output
stringlengths 2
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_8709 (
"Developer(s)" text,
"Release date" text,
"Required OS" text,
"Payment" text,
"Type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Type has a Release date of november 30, 1997?
### Response:
|
SELECT "Type" FROM table_8709 WHERE "Release date" = 'november 30, 1997'
|
### Instruction:
CREATE TABLE table_77027 (
"Nation" text,
"Model" text,
"Length" text,
"Barrel length" text,
"Weight" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Weight, when Length is 1168mm / 46 in?
### Response:
|
SELECT "Weight" FROM table_77027 WHERE "Length" = '1168mm / 46 in'
|
### Instruction:
CREATE TABLE table_name_74 (
touchdowns INTEGER,
points VARCHAR,
position VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest number of touchdowns for left halfback WIllie Heston who has more than 15 points?
### Response:
|
SELECT MIN(touchdowns) FROM table_name_74 WHERE position = "left halfback" AND player = "willie heston" AND points > 15
|
### Instruction:
CREATE TABLE table_41435 (
"Date" text,
"Location" text,
"Country" text,
"Event" text,
"Winner" text,
"Runner-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Runner-up, when Event is Mancora Peru Classic?
### Response:
|
SELECT "Runner-up" FROM table_41435 WHERE "Event" = 'mancora peru classic'
|
### 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_38009 (
"Round" real,
"Pick" real,
"Player" text,
"Position" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What player from New Mexico plays the WR position?
### Response:
|
SELECT "Player" FROM table_38009 WHERE "Position" = 'wr' AND "School/Club Team" = 'new mexico'
|
### Instruction:
CREATE TABLE table_1273 (
"School" text,
"Nickname" text,
"Colors" text,
"League" text,
"Class" text,
"Division" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what division will you find the team nicknamed the Silver Eagles
### Response:
|
SELECT "Division" FROM table_1273 WHERE "Nickname" = 'Silver Eagles'
|
### Instruction:
CREATE TABLE table_29018 (
"Pick #" real,
"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.
-- What is the nationality of Bob Essensa?
### Response:
|
SELECT "Nationality" FROM table_29018 WHERE "Player" = 'Bob Essensa'
|
### Instruction:
CREATE TABLE table_34331 (
"Volume:Issue" text,
"Issue date" text,
"Weeks on numbe one" text,
"Song" text,
"Artist(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Artist's song is listed as ' missing '?
### Response:
|
SELECT "Artist(s)" FROM table_34331 WHERE "Song" = ' missing '
|
### Instruction:
CREATE TABLE table_55429 (
"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 was the attendance for the game that has a record of 1-1?
### Response:
|
SELECT "Attendance" FROM table_55429 WHERE "Record" = '1-1'
|
### Instruction:
CREATE TABLE table_78998 (
"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.
-- What was the class for Appleton, Wisconsin?
### Response:
|
SELECT "Class" FROM table_78998 WHERE "City of license" = 'appleton, wisconsin'
|
### Instruction:
CREATE TABLE table_14040 (
"Award" text,
"Organization" text,
"Work" text,
"Category" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Best Feature Film at the Macabro Film Festival?
### Response:
|
SELECT "Result" FROM table_14040 WHERE "Award" = 'best feature film' AND "Organization" = 'macabro film festival'
|
### Instruction:
CREATE TABLE table_42390 (
"Year" real,
"Result" real,
"World Rank" text,
"Location" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was Steve Williams in Zurich and his result was 10.07?
### Response:
|
SELECT "Date" FROM table_42390 WHERE "Location" = 'zurich' AND "Result" = '10.07'
|
### Instruction:
CREATE TABLE table_65319 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What attendance has October 16, 2005 as the date?
### Response:
|
SELECT "Attendance" FROM table_65319 WHERE "Date" = 'october 16, 2005'
|
### Instruction:
CREATE TABLE table_1108394_43 (
_percentage VARCHAR,
total VARCHAR,
queens VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the % with total value of 249887 and queens value of 6.8%
### Response:
|
SELECT _percentage FROM table_1108394_43 WHERE total = 249887 AND queens = "6.8_percentage"
|
### Instruction:
CREATE TABLE table_7953 (
"Type" text,
"Name" text,
"Title" text,
"Royal house" text,
"From" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the type of Leader for the Royal House of Baasha, who is named Elah.
### Response:
|
SELECT "Type" FROM table_7953 WHERE "Royal house" = 'baasha' AND "Name" = 'elah'
|
### Instruction:
CREATE TABLE table_18733 (
"School" text,
"Location" text,
"Founded" real,
"Affiliation" text,
"Mascot" text,
"Division" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many teams have the titans as a mascot?
### Response:
|
SELECT COUNT("Affiliation") FROM table_18733 WHERE "Mascot" = 'Titans'
|
### Instruction:
CREATE TABLE table_59846 (
"Date" text,
"Ship" text,
"Nationality" text,
"Tonnage" real,
"Fate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the tonnage on 30 march 1943?
### Response:
|
SELECT AVG("Tonnage") FROM table_59846 WHERE "Date" = '30 march 1943'
|
### Instruction:
CREATE TABLE table_171236_2 (
area_km_2 VARCHAR,
census_ranking VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Area KM 2 of the place that has a Census ranking of 1,016 of 5,008?
### Response:
|
SELECT area_km_2 FROM table_171236_2 WHERE census_ranking = "1,016 of 5,008"
|
### Instruction:
CREATE TABLE table_2196 (
"Episode" text,
"First broadcast" text,
"Rufus guest" text,
"Marcus guest" text,
"Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the resulting score for the episodes where Rufus's guest is Sean Lock?
### Response:
|
SELECT "Winner" FROM table_2196 WHERE "Rufus guest" = 'Sean Lock'
|
### Instruction:
CREATE TABLE table_52311 (
"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.
-- What is the name of the school in Hillcrest?
### Response:
|
SELECT "Name" FROM table_52311 WHERE "Area" = 'hillcrest'
|
### Instruction:
CREATE TABLE table_71929 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What event was Donald Ouimet involved?
### Response:
|
SELECT "Event" FROM table_71929 WHERE "Opponent" = 'donald ouimet'
|
### Instruction:
CREATE TABLE table_69884 (
"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.
-- What date has 2:48 as the time?
### Response:
|
SELECT "Date" FROM table_69884 WHERE "Time" = '2:48'
|
### Instruction:
CREATE TABLE table_63699 (
"Draw" real,
"Language" text,
"Artist" text,
"Song" text,
"English translation" text,
"Place" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest draw number when 23 points are scored?
### Response:
|
SELECT MAX("Draw") FROM table_63699 WHERE "Points" = '23'
|
### Instruction:
CREATE TABLE table_name_98 (
date VARCHAR,
surface VARCHAR,
opponent_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When has a Surface of clay, and an Opponent in the final of andr s g mez javier s nchez?
### Response:
|
SELECT date FROM table_name_98 WHERE surface = "clay" AND opponent_in_the_final = "andrés gómez javier sánchez"
|
### Instruction:
CREATE TABLE table_50273 (
"City" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the ICAO in France with an IATA of Ory?
### Response:
|
SELECT "ICAO" FROM table_50273 WHERE "Country" = 'france' AND "IATA" = 'ory'
|
### 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?
### Response:
|
SELECT MAX(goals_against) FROM table_name_96 WHERE club = "dallas burn" AND ga_average > 1.46
|
### Instruction:
CREATE TABLE table_15574 (
"Date" text,
"Visiting Team" text,
"Final Score" text,
"Host Team" text,
"Stadium" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- At what stadium was the game with the final score of 9-23 played?
### Response:
|
SELECT "Stadium" FROM table_15574 WHERE "Final Score" = '9-23'
|
### Instruction:
CREATE TABLE table_68473 (
"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 played as Team 2 against Team 1 SC Gagnoa?
### Response:
|
SELECT "Team 2" FROM table_68473 WHERE "Team 1" = 'sc gagnoa'
|
### Instruction:
CREATE TABLE table_name_34 (
score VARCHAR,
runner_up VARCHAR,
country VARCHAR,
champion VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score of the match played in England where Peter McEvoy was the champion and Paul McKellar was runner-up?
### Response:
|
SELECT score FROM table_name_34 WHERE country = "england" AND champion = "peter mcevoy" AND runner_up = "paul mckellar"
|
### Instruction:
CREATE TABLE table_name_92 (
country VARCHAR,
to_par VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which country has a to par less than 19 and a score of 75-79-77-73=304?
### Response:
|
SELECT country FROM table_name_92 WHERE to_par < 19 AND score = 75 - 79 - 77 - 73 = 304
|
### Instruction:
CREATE TABLE table_46079 (
"Name" text,
"Born-Died" text,
"Term start" text,
"Term end" text,
"Political Party" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Born-Died, when Name is Maliq Bushati?
### Response:
|
SELECT "Born-Died" FROM table_46079 WHERE "Name" = 'maliq bushati'
|
### Instruction:
CREATE TABLE table_18259 (
"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's the result with district being louisiana 2
### Response:
|
SELECT "Result" FROM table_18259 WHERE "District" = 'Louisiana 2'
|
### Instruction:
CREATE TABLE table_193 (
"Round" real,
"Grand Prix" text,
"Pole Position" text,
"Fastest Lap" text,
"Winning Driver" text,
"Winning Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the report for round 3?
### Response:
|
SELECT "Report" FROM table_193 WHERE "Round" = '3'
|
### Instruction:
CREATE TABLE table_203_682 (
id number,
"year" number,
"goalkeeper" text,
"defenders" text,
"midfielders" text,
"forwards" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how long did jamie swanner play as goal keeper ?
### Response:
|
SELECT COUNT("year") FROM table_203_682 WHERE "goalkeeper" = 'jamie swanner'
|
### Instruction:
CREATE TABLE table_17087 (
"Player" text,
"Position" text,
"School" text,
"Hometown" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Running back Aaron Green went to Nebraska and what high school?
### Response:
|
SELECT "School" FROM table_17087 WHERE "Position" = 'Running back' AND "College" = 'Nebraska'
|
### Instruction:
CREATE TABLE table_204_426 (
id number,
"year" text,
"division" number,
"league" text,
"regular season" text,
"playoffs" text,
"open cup" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in what year only did they compete in division 5
### Response:
|
SELECT "year" FROM table_204_426 WHERE "division" = 5
|
### Instruction:
CREATE TABLE table_202_191 (
id number,
"party" text,
"votes" number,
"%" number,
"seats" number,
"+/-" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- after the election , how many seats did the liberal democratic league win ?
### Response:
|
SELECT "seats" FROM table_202_191 WHERE "party" = 'liberal democratic league'
|
### 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_39555 (
"Paul McCartney" text,
"Stuart" text,
"McIntosh" text,
"Whitten" text,
"Linda McCartney" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Linda McCartney has a Stuart of electric guitar?
### Response:
|
SELECT "Linda McCartney" FROM table_39555 WHERE "Stuart" = 'electric guitar'
|
### Instruction:
CREATE TABLE table_29104 (
"Series #" real,
"Season #" real,
"Title" text,
"Director" text,
"Writer" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What episode number in the series is 'millennium'?
### Response:
|
SELECT MIN("Series #") FROM table_29104 WHERE "Title" = 'Millennium'
|
### Instruction:
CREATE TABLE table_58464 (
"Number & Name" text,
"Description" text,
"Livery" text,
"Owner(s)" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of the British Rail class 111 tslrb description?
### Response:
|
SELECT "Date" FROM table_58464 WHERE "Description" = 'british rail class 111 tslrb'
|
### Instruction:
CREATE TABLE table_34036 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest number for bronze with a rank of 19?
### Response:
|
SELECT MAX("Bronze") FROM table_34036 WHERE "Rank" = '19'
|
### Instruction:
CREATE TABLE table_204_109 (
id number,
"district" text,
"incumbent" text,
"party" text,
"first\nelected" text,
"result" text,
"candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the last party on this chart ?
### Response:
|
SELECT "party" FROM table_204_109 ORDER BY id DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_64998 (
"Date" text,
"Title" text,
"Peak Position" real,
"Weeks" text,
"Sales" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Peak Position has a Date of 10 june 1998?
### Response:
|
SELECT "Peak Position" FROM table_64998 WHERE "Date" = '10 june 1998'
|
### Instruction:
CREATE TABLE table_32622 (
"Stage" text,
"Date" text,
"Route" text,
"Terrain" text,
"Length" text,
"Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which stage took the tour through Boulogne-Billancourt?
### Response:
|
SELECT "Stage" FROM table_32622 WHERE "Route" = 'boulogne-billancourt'
|
### Instruction:
CREATE TABLE table_58166 (
"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 qual 1 for the best of 1:18.067?
### Response:
|
SELECT "Qual 1" FROM table_58166 WHERE "Best" = '1:18.067'
|
### Instruction:
CREATE TABLE table_name_36 (
clean_ VARCHAR,
_jerk VARCHAR,
bodyweight VARCHAR,
total__kg_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Clean & jerk for the bodyweight less than 76.55, and the Total (kg) of ?
### Response:
|
SELECT clean_ & _jerk FROM table_name_36 WHERE bodyweight < 76.55 AND total__kg_ = "–"
|
### Instruction:
CREATE TABLE table_2562572_5 (
population__2002_ INTEGER,
population__2011_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the least population for 2002 for 2011 being 9564
### Response:
|
SELECT MIN(population__2002_) FROM table_2562572_5 WHERE population__2011_ = 9564
|
### Instruction:
CREATE TABLE table_16007 (
"Nomination" text,
"Actors Name" text,
"Film Name" text,
"Director" text,
"Country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Srdjan Dragojevic worked on a film which earned what nomination?
### Response:
|
SELECT "Nomination" FROM table_16007 WHERE "Director" = 'Srdjan Dragojevic'
|
### Instruction:
CREATE TABLE table_name_11 (
opponent VARCHAR,
date VARCHAR,
city VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team was opponen in baltimore, at 2:00pm, on 4/06/08?
### Response:
|
SELECT opponent FROM table_name_11 WHERE city = "baltimore" AND time = "2:00pm" AND date = "4/06/08"
|
### Instruction:
CREATE TABLE table_203_759 (
id number,
"year" number,
"company" text,
"number of members affected" number,
"duration of strike" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number of verizon workers affected by a strike ?
### Response:
|
SELECT SUM("number of members affected") FROM table_203_759 WHERE "company" = 'verizon'
|
### Instruction:
CREATE TABLE table_name_35 (
d_47 VARCHAR,
d_48 VARCHAR,
d_42 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the D 47 when it has a D 48 of d 49 and D 42 of r 42
### Response:
|
SELECT d_47 FROM table_name_35 WHERE d_48 = "d 49" AND d_42 = "r 42"
|
### Instruction:
CREATE TABLE table_33896 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Competition on September 29, 2003?
### Response:
|
SELECT "Competition" FROM table_33896 WHERE "Date" = 'september 29, 2003'
|
### Instruction:
CREATE TABLE table_17257687_1 (
episode_number VARCHAR,
event_4 VARCHAR,
event_1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On which episode number is event 4 The Wall and event 1 the Pendulum?
### Response:
|
SELECT COUNT(episode_number) FROM table_17257687_1 WHERE event_4 = "The Wall" AND event_1 = "Pendulum"
|
### Instruction:
CREATE TABLE table_14975 (
"Rank" text,
"Event" text,
"Place" text,
"Name" text,
"Prize" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won the event with a top prize of $2,434,061?
### Response:
|
SELECT "Name" FROM table_14975 WHERE "Prize" = '$2,434,061'
|
### Instruction:
CREATE TABLE table_10053 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country is player jay haas, who is in t10 place, from?
### Response:
|
SELECT "Country" FROM table_10053 WHERE "Place" = 't10' AND "Player" = 'jay haas'
|
### Instruction:
CREATE TABLE table_27308 (
"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 party for pennsylvania 10
### Response:
|
SELECT "Party" FROM table_27308 WHERE "District" = 'Pennsylvania 10'
|
### Instruction:
CREATE TABLE table_31279 (
"Week" real,
"Date" text,
"Kickoff" text,
"Opponent" text,
"Final score" text,
"Team record" text,
"Game site" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what week was the first game played?
### Response:
|
SELECT MIN("Week") FROM table_31279
|
### Instruction:
CREATE TABLE table_11849 (
"Tournament" text,
"Winner" text,
"Runner-up" text,
"Score" text,
"Third Place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who wins with a score 7 6(4), 6 4
### Response:
|
SELECT "Winner" FROM table_11849 WHERE "Score" = '7–6(4), 6–4'
|
### Instruction:
CREATE TABLE table_60780 (
"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's the 1st leg of team 1 alajuelense?
### Response:
|
SELECT "1st leg" FROM table_60780 WHERE "Team 1" = 'alajuelense'
|
### Instruction:
CREATE TABLE table_40918 (
"Title" text,
"Director" text,
"Producer" text,
"Production Cost" text,
"Singapore Gross" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the directed by 1991, what was the gross in Singapore?
### Response:
|
SELECT "Singapore Gross" FROM table_40918 WHERE "Director" = '1991'
|
### Instruction:
CREATE TABLE table_57019 (
"Race Name" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the race name that the driver Innes Ireland won?
### Response:
|
SELECT "Race Name" FROM table_57019 WHERE "Winning driver" = 'innes ireland'
|
### Instruction:
CREATE TABLE table_name_60 (
pal_b VARCHAR,
g VARCHAR,
h VARCHAR,
pal_i VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the PAL B, G, H for the PAL I 4.43361875mhz?
### Response:
|
SELECT pal_b, g, h FROM table_name_60 WHERE pal_i = "4.43361875mhz"
|
### Instruction:
CREATE TABLE table_75711 (
"Parish" text,
"Type" text,
"Area (Hectare)" real,
"Population (2001)" real,
"Pop Density /Hectare" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the area for Worth Parish?
### Response:
|
SELECT "Area (Hectare)" FROM table_75711 WHERE "Parish" = 'worth'
|
### 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?
### Response:
|
SELECT "Name" FROM table_41367 WHERE "Terminated" = 'march 1993'
|
### 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_56254 (
"Played in" text,
"Matches" text,
"Lost" text,
"Drawn" text,
"Points for" text,
"Points against" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the match that had 119 points for played?
### Response:
|
SELECT "Played in" FROM table_56254 WHERE "Points for" = '119'
|
### Instruction:
CREATE TABLE table_78073 (
"Player" text,
"Pos." text,
"From" text,
"School/Country" text,
"Rebs" real,
"Asts" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has the high assists in 2000?
### Response:
|
SELECT MAX("Asts") FROM table_78073 WHERE "From" = '2000'
|
### Instruction:
CREATE TABLE table_name_51 (
hydroelectricity INTEGER,
total VARCHAR,
solar VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the minimum hydroelectricity with a less than 116.4 total, and a greater than 18.637 solar?
### Response:
|
SELECT MIN(hydroelectricity) FROM table_name_51 WHERE total < 116.4 AND solar > 18.637
|
### Instruction:
CREATE TABLE table_54560 (
"Name" text,
"Current version" text,
"System" text,
"Platform" text,
"License" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What platform is nds4droid on for the nintendo ds?
### Response:
|
SELECT "Platform" FROM table_54560 WHERE "System" = 'nintendo ds' AND "Name" = 'nds4droid'
|
### Instruction:
CREATE TABLE table_204_539 (
id number,
"date" text,
"name" text,
"moving from" text,
"moving to" text,
"fee" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- kamani hill was the first person to be transferred to which team ?
### Response:
|
SELECT "moving to" FROM table_204_539 WHERE "name" = 'kamani hill'
|
### Instruction:
CREATE TABLE table_67634 (
"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.
-- Which name has a Roll of 270?
### Response:
|
SELECT "Name" FROM table_67634 WHERE "Roll" = '270'
|
### Instruction:
CREATE TABLE table_12487 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Results" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which district has an incumbent of Sanford Bishop?
### Response:
|
SELECT "District" FROM table_12487 WHERE "Incumbent" = 'sanford bishop'
|
### Instruction:
CREATE TABLE table_name_72 (
competition VARCHAR,
date VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Competition, when Date is 'January 11, 1996', when Venue is 'San Diego , United States'?
### Response:
|
SELECT competition FROM table_name_72 WHERE date = "january 11, 1996" AND venue = "san diego , united states"
|
### Instruction:
CREATE TABLE table_name_18 (
opponents_in_the_final VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Opponents in the final have a Score of 4 6, 6 4, 2 6, 4 6?
### Response:
|
SELECT opponents_in_the_final FROM table_name_18 WHERE score = "4–6, 6–4, 2–6, 4–6"
|
### Instruction:
CREATE TABLE table_6095 (
"Week of" text,
"Tournament" text,
"Winner" text,
"Runner-up" text,
"Semi-finalists" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the winner in the event with a runner-up of Alberto Mancini?
### Response:
|
SELECT "Winner" FROM table_6095 WHERE "Runner-up" = 'alberto mancini'
|
### Instruction:
CREATE TABLE table_59101 (
"Original NFL team" text,
"Player" text,
"Pos." text,
"College" text,
"Conf." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who's the original team for Rashied Davis Category:articles with hcards?
### Response:
|
SELECT "Original NFL team" FROM table_59101 WHERE "Player" = 'rashied davis category:articles with hcards'
|
### 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?
### Response:
|
SELECT "Location" FROM table_8861 WHERE "Wrestler" = 'chris jones'
|
### Instruction:
CREATE TABLE table_name_84 (
laps INTEGER,
grid VARCHAR,
time VARCHAR,
rider VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many laps had a time stat of accident for the rider carmelo morales when the grid was more than 25?
### Response:
|
SELECT SUM(laps) FROM table_name_84 WHERE time = "accident" AND rider = "carmelo morales" AND grid > 25
|
### Instruction:
CREATE TABLE table_23102 (
"Season #" real,
"Episode #" real,
"Title" text,
"Director(s)" text,
"Writer(s)" text,
"Original Air Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the episode number 2 originally aired?
### Response:
|
SELECT "Original Air Date" FROM table_23102 WHERE "Episode #" = '2'
|
### Instruction:
CREATE TABLE table_name_99 (
attendance INTEGER,
venue VARCHAR,
scorers VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of people in attendance when venue shows A, and Di Matteo, M. Hughes were the scorers?
### Response:
|
SELECT SUM(attendance) FROM table_name_99 WHERE venue = "a" AND scorers = "di matteo, m. hughes"
|
### Instruction:
CREATE TABLE table_5683 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Venue" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which week had an attendance of 53,677?
### Response:
|
SELECT COUNT("Week") FROM table_5683 WHERE "Attendance" = '53,677'
|
### Instruction:
CREATE TABLE table_203_789 (
id number,
"season" text,
"team" text,
"country" text,
"division" number,
"apps" number,
"goals" number,
"assists" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the last team played for ?
### Response:
|
SELECT "team" FROM table_203_789 ORDER BY id DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_28652521_1 (
description VARCHAR,
storage_case VARCHAR,
for_shank_type VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are all the different descriptions for the buttonholer with cardboard box for storage and a low shank type?
### Response:
|
SELECT description FROM table_28652521_1 WHERE storage_case = "cardboard box" AND for_shank_type = "low"
|
### Instruction:
CREATE TABLE table_15511178_3 (
race VARCHAR,
winning_team VARCHAR,
pole_position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which race was the winning team mathiasen motorsports and the pole belonged to jonathan bomarito
### Response:
|
SELECT race FROM table_15511178_3 WHERE winning_team = "Mathiasen Motorsports" AND pole_position = "Jonathan Bomarito"
|
### Instruction:
CREATE TABLE table_203_677 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what tournament did anton lyuboslavskiy first place in ?
### Response:
|
SELECT "competition" FROM table_203_677 WHERE "position" = 1
|
### Instruction:
CREATE TABLE table_37640 (
"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.
-- What was the score when the visitor was pittsburgh?
### Response:
|
SELECT "Score" FROM table_37640 WHERE "Visitor" = 'pittsburgh'
|
### Instruction:
CREATE TABLE table_204_309 (
id number,
"model" text,
"released" number,
"usage" text,
"features" text,
"storage" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- the most recent version to be released was in 1989 , what was it called ?
### Response:
|
SELECT "model" FROM table_204_309 WHERE "released" = 1989
|
### Instruction:
CREATE TABLE table_44371 (
"Class" text,
"Part 1" text,
"Part 2" text,
"Part 3" text,
"Part 4" text,
"Verb meaning" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is part 1 when the class is 7d?
### Response:
|
SELECT "Part 1" FROM table_44371 WHERE "Class" = '7d'
|
### Instruction:
CREATE TABLE table_78869 (
"Show" text,
"Network (Last Aired)" text,
"Last aired" real,
"Network (New/Returning)" text,
"Returning" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did a show last aired in 2002 return?
### Response:
|
SELECT "Returning" FROM table_78869 WHERE "Last aired" = '2002'
|
### Instruction:
CREATE TABLE table_41169 (
"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.
-- Who was the leading scorer against the visiting team Bulls?
### Response:
|
SELECT "Leading scorer" FROM table_41169 WHERE "Visitor" = 'bulls'
|
### Instruction:
CREATE TABLE table_46632 (
"Nominative" text,
"Ergative" text,
"Dative" text,
"Genitive" text,
"Instrumental" text,
"Adverbial" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the ergative for the dative chven?
### Response:
|
SELECT "Ergative" FROM table_46632 WHERE "Dative" = 'chven'
|
### Instruction:
CREATE TABLE table_22425 (
"Candidate" text,
"Office running for" text,
"Running with (in team)" text,
"Won or lost" text,
"Votes given" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the running with for elizabeth falco
### Response:
|
SELECT "Running with (in team)" FROM table_22425 WHERE "Candidate" = 'Elizabeth Falco'
|
### Instruction:
CREATE TABLE table_name_17 (
fa_cup INTEGER,
premier_league VARCHAR,
league_cup VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest FA cup with 1 league cup, less than 12 total and 1 premier league?
### Response:
|
SELECT MIN(fa_cup) FROM table_name_17 WHERE league_cup = 1 AND total < 12 AND premier_league = 1
|
### Instruction:
CREATE TABLE table_78066 (
"Theatre" text,
"Current show" text,
"Classification" text,
"Capacity" real,
"Opening date" text,
"Closing date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What opening date has a capacity of 100?
### Response:
|
SELECT "Opening date" FROM table_78066 WHERE "Capacity" = '100'
|
### Instruction:
CREATE TABLE table_71692 (
"Year" real,
"Class" text,
"Vehicle" text,
"Position" text,
"Stages won" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the class that that won 2 stages and has a position of DNF?
### Response:
|
SELECT "Class" FROM table_71692 WHERE "Stages won" = '2' AND "Position" = 'dnf'
|
### Instruction:
CREATE TABLE table_65561 (
"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 Tournament had Jack Nicklaus as Runner(s)-up?
### Response:
|
SELECT "Tournament" FROM table_65561 WHERE "Runner(s)-up" = 'jack nicklaus'
|
### 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 Indiana?
### Response:
|
SELECT "Affiliation" FROM table_30141 WHERE "State" = 'Indiana'
|
### Instruction:
CREATE TABLE table_74110 (
"Year (Ceremony)" text,
"English title" text,
"Spanish title" text,
"Director" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the English title of Ladrones Y Mentirosos?
### Response:
|
SELECT "English title" FROM table_74110 WHERE "Spanish title" = 'Ladrones y mentirosos'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.