instruction
stringlengths 231
6.3k
| output
stringlengths 2
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_43743 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Time, when Laps is 22, and when Grid is 15?
### Response:
|
SELECT "Time" FROM table_43743 WHERE "Laps" = '22' AND "Grid" = '15'
|
### Instruction:
CREATE TABLE table_67852 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which opponent lost with pitcher Kinney (0-1)?
### Response:
|
SELECT "Opponent" FROM table_67852 WHERE "Loss" = 'kinney (0-1)'
|
### Instruction:
CREATE TABLE table_14177 (
"Year" real,
"Class" text,
"Vehicle" text,
"Position" text,
"Stages won" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which class had a vehicle of Nissan in 2007?
### Response:
|
SELECT "Class" FROM table_14177 WHERE "Vehicle" = 'nissan' AND "Year" = '2007'
|
### Instruction:
CREATE TABLE table_52110 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the venue when the home team was Fitzroy?
### Response:
|
SELECT "Venue" FROM table_52110 WHERE "Home team" = 'fitzroy'
|
### Instruction:
CREATE TABLE table_48218 (
"Category" text,
"Speed (km/h)" real,
"Speed (mph)" real,
"Vehicle" text,
"Pilot" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In which category is Frank Scarabino a pilot?
### Response:
|
SELECT "Category" FROM table_48218 WHERE "Pilot" = 'frank scarabino'
|
### Instruction:
CREATE TABLE table_204_700 (
id number,
"name" text,
"developer" text,
"release" text,
"type" text,
"game flow" text,
"setting" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the number of multiplayer browser games released in 2003 ?
### Response:
|
SELECT COUNT(*) FROM table_204_700 WHERE "release" = 2003
|
### Instruction:
CREATE TABLE table_63285 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"TV Time" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the week with attendance of 73,572?
### Response:
|
SELECT MAX("Week") FROM table_63285 WHERE "Attendance" = '73,572'
|
### Instruction:
CREATE TABLE table_15297 (
"First game" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Percentage" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times is there more than 0 draws and more than 0 losses?
### Response:
|
SELECT COUNT("Played") FROM table_15297 WHERE "Drawn" > '0' AND "Lost" > '0'
|
### Instruction:
CREATE TABLE table_203_121 (
id number,
"name" text,
"pos." text,
"caps" number,
"goals" number,
"club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many goals did the malm ff player -lrb- s -rrb- score ?
### Response:
|
SELECT SUM("goals") FROM table_203_121 WHERE "club" = 'malmo ff'
|
### Instruction:
CREATE TABLE table_10907 (
"Year" real,
"Class" text,
"Bike" text,
"Rank" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which rank took place prior to 2000 when the bike was bsl?
### Response:
|
SELECT "Rank" FROM table_10907 WHERE "Year" < '2000' AND "Bike" = 'bsl'
|
### Instruction:
CREATE TABLE table_49655 (
"Team" text,
"Coach" text,
"Home Ground" text,
"Location" text,
"Founded" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which coach founded the Western Strikers team after 1963?
### Response:
|
SELECT "Coach" FROM table_49655 WHERE "Founded" > '1963' AND "Team" = 'western strikers'
|
### Instruction:
CREATE TABLE table_9016 (
"Verb" text,
"2 (VF)" text,
"2 (F)" text,
"3 (F)" text,
"2/3 (P)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHICH Verb has a 2 (VF) of boltish?
### Response:
|
SELECT "Verb" FROM table_9016 WHERE "2 (VF)" = 'তুই boltish'
|
### Instruction:
CREATE TABLE table_60450 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the sum of money ($) that angela park has won?
### Response:
|
SELECT SUM("Money ( $ )") FROM table_60450 WHERE "Player" = 'angela park'
|
### Instruction:
CREATE TABLE table_64813 (
"Date" text,
"Topic of the Show" text,
"Song" text,
"Original Artist" text,
"Place/Percentage" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What song came out on March 8, 2008?
### Response:
|
SELECT "Song" FROM table_64813 WHERE "Date" = 'march 8, 2008'
|
### Instruction:
CREATE TABLE table_71718 (
"Rank" real,
"Player" text,
"Games" real,
"Goals" real,
"Goal Ratio" real,
"Debut in Europe" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest goal ratio with Goals smaller than 0?
### Response:
|
SELECT MAX("Goal Ratio") FROM table_71718 WHERE "Goals" < '0'
|
### Instruction:
CREATE TABLE table_203_561 (
id number,
"pos" number,
"team" text,
"total" number,
"high" number,
"low" number,
"average" number,
"change" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- list the top 5 teams within highest total .
### Response:
|
SELECT "team" FROM table_203_561 ORDER BY "total" DESC LIMIT 5
|
### Instruction:
CREATE TABLE table_77290 (
"Round" real,
"Pick" real,
"Player" text,
"Position" text,
"School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position did a. j. feeley play who was picked in round 5?
### Response:
|
SELECT "Position" FROM table_77290 WHERE "Round" = '5' AND "Player" = 'a. j. feeley'
|
### Instruction:
CREATE TABLE table_18558 (
"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 year was first-elected for the row of Texas 2?
### Response:
|
SELECT "First elected" FROM table_18558 WHERE "District" = 'Texas 2'
|
### Instruction:
CREATE TABLE table_65170 (
"Eliminated" text,
"Tag Team" text,
"Entered" real,
"Eliminated by" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Eliminated has a Tag Team of jindrak and cade?
### Response:
|
SELECT "Eliminated by" FROM table_65170 WHERE "Tag Team" = 'jindrak and cade'
|
### Instruction:
CREATE TABLE table_3134 (
"Rank" real,
"Team" text,
"Round1" real,
"Round2" real,
"Round3" real,
"Round4" real,
"Total points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team had 342 total points?
### Response:
|
SELECT "Team" FROM table_3134 WHERE "Total points" = '342'
|
### Instruction:
CREATE TABLE table_74273 (
"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.
-- Name the pick for matthew scorsune
### Response:
|
SELECT "Pick" FROM table_74273 WHERE "Player" = 'Matthew Scorsune'
|
### Instruction:
CREATE TABLE table_203_244 (
id number,
"pos" text,
"rider" text,
"manufacturer" text,
"time/retired" text,
"points" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many points did nobuatsu aoki earn ?
### Response:
|
SELECT "points" FROM table_203_244 WHERE "rider" = 'nobuatsu aoki'
|
### Instruction:
CREATE TABLE table_47939 (
"Tournament" text,
"Country" text,
"Location" text,
"Current Venue" text,
"Began" real,
"Court surface" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the Indian Wells Masters tournament, what was the country?
### Response:
|
SELECT "Country" FROM table_47939 WHERE "Tournament" = 'indian wells masters'
|
### Instruction:
CREATE TABLE table_18495 (
"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 is the incumbent for 1932?
### Response:
|
SELECT "Incumbent" FROM table_18495 WHERE "First elected" = '1932'
|
### Instruction:
CREATE TABLE table_232458_1 (
city___municipality VARCHAR,
pop_density__per_km²_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the city/municipality if the population is 1,388.88?
### Response:
|
SELECT city___municipality FROM table_232458_1 WHERE pop_density__per_km²_ = "1,388.88"
|
### Instruction:
CREATE TABLE person (
name text,
age number,
city text,
gender text,
job text
)
CREATE TABLE personfriend (
name text,
friend text,
year number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the name of persons who are friends with Alice for the shortest years.
### Response:
|
SELECT name FROM personfriend WHERE friend = 'Alice' AND year = (SELECT MIN(year) FROM personfriend WHERE friend = 'Alice')
|
### Instruction:
CREATE TABLE table_63405 (
"Callsign" text,
"Network" text,
"City of License" text,
"D ERP" text,
"Owner / Operator" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the city of license having a D ERP of 100kw?
### Response:
|
SELECT "City of License" FROM table_63405 WHERE "D ERP" = '100kw'
|
### Instruction:
CREATE TABLE table_name_63 (
points INTEGER,
chassis VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the average points for dallara 3087 lola t88/50 and year before 1988
### Response:
|
SELECT AVG(points) FROM table_name_63 WHERE chassis = "dallara 3087 lola t88/50" AND year < 1988
|
### Instruction:
CREATE TABLE table_19008 (
"Year (Ceremony)" text,
"Film title used in nomination" text,
"Original title" text,
"Director" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Whatis the original title for lion's den?
### Response:
|
SELECT "Original title" FROM table_19008 WHERE "Film title used in nomination" = 'Lion''s Den'
|
### Instruction:
CREATE TABLE table_45074 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average money ($) that Tom Weiskopf made?
### Response:
|
SELECT AVG("Money ( $ )") FROM table_45074 WHERE "Player" = 'tom weiskopf'
|
### Instruction:
CREATE TABLE table_13134 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Year(s) won has a Total larger than 295?
### Response:
|
SELECT "Year(s) won" FROM table_13134 WHERE "Total" > '295'
|
### Instruction:
CREATE TABLE table_72353 (
"Rank" real,
"Dismissals" real,
"Player" text,
"Innings" real,
"Catches" real,
"Stumpings" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many stumpings did the player Tim Latham have?
### Response:
|
SELECT MAX("Stumpings") FROM table_72353 WHERE "Player" = 'Tim Latham'
|
### Instruction:
CREATE TABLE table_60373 (
"Nation" text,
"Distance" text,
"Athlete" text,
"Venue" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Nation, when Date is '2004-07-22'?
### Response:
|
SELECT "Nation" FROM table_60373 WHERE "Date" = '2004-07-22'
|
### Instruction:
CREATE TABLE table_name_61 (
constellation VARCHAR,
right_ascension___j2000__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the constellation when the right ascension (j2000) is 09h51m54.0s?
### Response:
|
SELECT constellation FROM table_name_61 WHERE right_ascension___j2000__ = "09h51m54.0s"
|
### Instruction:
CREATE TABLE table_18340 (
"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 are the candidates where the district is florida 8?
### Response:
|
SELECT "Candidates" FROM table_18340 WHERE "District" = 'Florida 8'
|
### Instruction:
CREATE TABLE table_64707 (
"Group" text,
"Name" text,
"Nationality" text,
"4.00" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Marion Buisson with a 4.00 of o had what result?
### Response:
|
SELECT "Result" FROM table_64707 WHERE "4.00" = 'o' AND "Name" = 'marion buisson'
|
### Instruction:
CREATE TABLE table_23875 (
"#" text,
"Date" text,
"at/vs." text,
"Opponent" text,
"Score" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the game #7, at or versus (home or at)?
### Response:
|
SELECT "at/vs." FROM table_23875 WHERE "#" = '7'
|
### Instruction:
CREATE TABLE table_name_2 (
margin_of_victory VARCHAR,
winning_score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the margin of victory when the winning score was 14 (63-67-73-67=270)?
### Response:
|
SELECT margin_of_victory FROM table_name_2 WHERE winning_score = −14(63 - 67 - 73 - 67 = 270)
|
### Instruction:
CREATE TABLE table_18678 (
"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 was the result of the election in the Arkansas 4 district?
### Response:
|
SELECT "Result" FROM table_18678 WHERE "District" = 'Arkansas 4'
|
### Instruction:
CREATE TABLE table_35556 (
"Date" text,
"Tournament" text,
"Location" text,
"Winner" text,
"Score" text,
"1st prize ( $ )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of Ken Still (3) when he won first place?
### Response:
|
SELECT "Score" FROM table_35556 WHERE "Winner" = 'ken still (3)'
|
### Instruction:
CREATE TABLE table_204_409 (
id number,
"date" text,
"race name" text,
"location" text,
"uci rating" number,
"winner" text,
"team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the uci rating of the last race of the tour ?
### Response:
|
SELECT "uci rating" FROM table_204_409 ORDER BY id DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_73342 (
"Team" text,
"Stadium" text,
"Match played" text,
"Highest" real,
"Lowest" real,
"Average" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many match played have the highest as 32250?
### Response:
|
SELECT "Match played" FROM table_73342 WHERE "Highest" = '32250'
|
### Instruction:
CREATE TABLE table_80415 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Record" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the game that was played on week 2, what is the record?
### Response:
|
SELECT "Record" FROM table_80415 WHERE "Week" = '2'
|
### Instruction:
CREATE TABLE table_53944 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which driver has a Time/Retired of 2:45:46.2?
### Response:
|
SELECT "Driver" FROM table_53944 WHERE "Time/Retired" = '2:45:46.2'
|
### Instruction:
CREATE TABLE table_38704 (
"Game" real,
"December" real,
"Opponent" text,
"Score" text,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the earliest game with a record of 23 6 4?
### Response:
|
SELECT MIN("Game") FROM table_38704 WHERE "Record" = '23–6–4'
|
### Instruction:
CREATE TABLE table_44782 (
"Year" real,
"Month" text,
"Single" text,
"Album" text,
"Record label" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What month before 1973 is listed for the album united we stand?
### Response:
|
SELECT "Month" FROM table_44782 WHERE "Year" < '1973' AND "Album" = 'united we stand'
|
### Instruction:
CREATE TABLE table_77417 (
"Rank" text,
"Nation" text,
"Gold" text,
"Silver" text,
"Bronze" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of gold medals when the number of bronze medals is 8?
### Response:
|
SELECT "Gold" FROM table_77417 WHERE "Bronze" = '8'
|
### Instruction:
CREATE TABLE table_46613 (
"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 the Verb meaning when part 1 is alan?
### Response:
|
SELECT "Verb meaning" FROM table_46613 WHERE "Part 1" = 'alan'
|
### Instruction:
CREATE TABLE table_46866 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Score, when Competition is 'Euro 2004 Qualifier'?
### Response:
|
SELECT "Score" FROM table_46866 WHERE "Competition" = 'euro 2004 qualifier'
|
### Instruction:
CREATE TABLE table_18137 (
"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.
-- Name the incumbent for texas 22 district
### Response:
|
SELECT "Incumbent" FROM table_18137 WHERE "District" = 'Texas 22'
|
### Instruction:
CREATE TABLE table_name_20 (
syracuse VARCHAR,
utica VARCHAR,
rochester VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Syracuse, when Utica is Union Springs Shale And Limestone, and when Rochester is Union Springs Shale And Limestone?
### Response:
|
SELECT syracuse FROM table_name_20 WHERE utica = "union springs shale and limestone" AND rochester = "union springs shale and limestone"
|
### Instruction:
CREATE TABLE table_name_82 (
total_goals INTEGER,
league_cup_goals VARCHAR,
fa_cup_goals VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Total Goals have a League Cup Goals larger than 0, and FA Cup Goals larger than 0?
### Response:
|
SELECT AVG(total_goals) FROM table_name_82 WHERE league_cup_goals > 0 AND fa_cup_goals > 0
|
### Instruction:
CREATE TABLE table_name_56 (
caps INTEGER,
position VARCHAR,
date_of_birth__age_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest number of caps of the fullback player born on 13 April 1983?
### Response:
|
SELECT MIN(caps) FROM table_name_56 WHERE position = "fullback" AND date_of_birth__age_ = "13 april 1983"
|
### Instruction:
CREATE TABLE table_4814 (
"Rank" real,
"Heat : Lane" text,
"Name" text,
"Nationality" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many ranks have a ationality of canada, and a Time of dns?
### Response:
|
SELECT COUNT("Rank") FROM table_4814 WHERE "Nationality" = 'canada' AND "Time" = 'dns'
|
### Instruction:
CREATE TABLE table_16169 (
"County" text,
"Location" text,
"Street Names" text,
"Milepost" text,
"Roads Intersected" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which street is 12.2 miles long?
### Response:
|
SELECT "Street Names" FROM table_16169 WHERE "Milepost" = '12.2'
|
### Instruction:
CREATE TABLE table_1589 (
"Character" text,
"Indianapolis Concerts" text,
"Sarasota" text,
"Broadway" text,
"Brighton Cast" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the sarasota samantha sharpe
### Response:
|
SELECT "Sarasota" FROM table_1589 WHERE "Indianapolis Concerts" = 'Samantha Sharpe'
|
### Instruction:
CREATE TABLE table_22372 (
"Episode" text,
"Broadcast date" text,
"Run time" text,
"Viewers (in millions)" text,
"Archive" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the broadcast date of the 16mm t/r episode?
### Response:
|
SELECT "Broadcast date" FROM table_22372 WHERE "Archive" = '16mm t/r'
|
### Instruction:
CREATE TABLE table_203_206 (
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.
-- what country won the largest number of gold medals ?
### Response:
|
SELECT "nation" FROM table_203_206 ORDER BY "gold" DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_68320 (
"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 gold count with total less than 3 and more than 1 silver?
### Response:
|
SELECT MIN("Gold") FROM table_68320 WHERE "Total" < '3' AND "Silver" > '1'
|
### Instruction:
CREATE TABLE table_50460 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Total medals did the Nation the got 0 Bronze medals receive?
### Response:
|
SELECT AVG("Total") FROM table_50460 WHERE "Bronze" < '0'
|
### Instruction:
CREATE TABLE table_203_661 (
id number,
"year" number,
"single" text,
"peak chart positions\nus mod" number,
"peak chart positions\nuk" number,
"album" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the average chart position of their singles in the uk ?
### Response:
|
SELECT AVG("peak chart positions\nuk") FROM table_203_661
|
### Instruction:
CREATE TABLE table_64096 (
"Wrestlers" text,
"Reign" text,
"Days held" text,
"Location" text,
"Event" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What days held has 1 as the reign with eden black as the wrestlers?
### Response:
|
SELECT "Days held" FROM table_64096 WHERE "Reign" = '1' AND "Wrestlers" = 'eden black'
|
### Instruction:
CREATE TABLE table_74002 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result for the candidate first elected in 1820?
### Response:
|
SELECT "Result" FROM table_74002 WHERE "First elected" = '1820'
|
### Instruction:
CREATE TABLE table_name_54 (
opponents_in_the_final VARCHAR,
score_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who were the opponents in the final in which the score was 6 1, 1 6, 4 6?
### Response:
|
SELECT opponents_in_the_final FROM table_name_54 WHERE score_in_the_final = "6–1, 1–6, 4–6"
|
### Instruction:
CREATE TABLE table_40827 (
"AIRLINE" text,
"ICAO" text,
"IATA" text,
"CALLSIGN" text,
"COMMENCED OPERATIONS" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the callsign where the ICAO is AAR?
### Response:
|
SELECT "CALLSIGN" FROM table_40827 WHERE "ICAO" = 'aar'
|
### Instruction:
CREATE TABLE table_64462 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location/Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of the game when the record was 46-31?
### Response:
|
SELECT "Date" FROM table_64462 WHERE "Record" = '46-31'
|
### Instruction:
CREATE TABLE table_name_20 (
margin_of_victory VARCHAR,
winning_score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the Margin of victory that has the Winning score of 67-69-67-69=272?
### Response:
|
SELECT margin_of_victory FROM table_name_20 WHERE winning_score = 67 - 69 - 67 - 69 = 272
|
### Instruction:
CREATE TABLE table_71234 (
"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 total number of pop for ibaraki
### Response:
|
SELECT COUNT("Pop. \u00b9") FROM table_71234 WHERE "Prefecture" = 'ibaraki'
|
### Instruction:
CREATE TABLE table_30816 (
"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.
-- What player was picked by the New York Rangers?
### Response:
|
SELECT "Player" FROM table_30816 WHERE "NHL team" = 'New York Rangers'
|
### Instruction:
CREATE TABLE table_65024 (
"Rank" real,
"Athletes" text,
"Country" text,
"Time" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank if the person with a time of 1:40.626?
### Response:
|
SELECT SUM("Rank") FROM table_65024 WHERE "Time" = '1:40.626'
|
### Instruction:
CREATE TABLE table_6764 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Decision" text,
"Location" text,
"Attendance" real,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On May 8 what series is it?
### Response:
|
SELECT "Series" FROM table_6764 WHERE "Date" = 'may 8'
|
### Instruction:
CREATE TABLE table_33142 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date when the attendance was 73,529?
### Response:
|
SELECT "Date" FROM table_33142 WHERE "Attendance" = '73,529'
|
### Instruction:
CREATE TABLE table_38598 (
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent in the final" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What surface was used on may 13, 2007?
### Response:
|
SELECT "Surface" FROM table_38598 WHERE "Date" = 'may 13, 2007'
|
### Instruction:
CREATE TABLE table_40796 (
"Free" text,
"Free polite" text,
"Genitive 1" text,
"Genitive 2" text,
"Genitive 3" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Free polite has a Genitive 3 of *ni-da?
### Response:
|
SELECT "Free polite" FROM table_40796 WHERE "Genitive 3" = '*ni-da'
|
### Instruction:
CREATE TABLE table_29473 (
"Team" text,
"Head coach" text,
"Team captain" text,
"Kit maker" text,
"Shirt sponsor" text,
"Past Season" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many head coaches named Darius Mikaeili?
### Response:
|
SELECT COUNT("Head coach") FROM table_29473 WHERE "Team captain" = 'Darius Mikaeili'
|
### Instruction:
CREATE TABLE table_29544 (
"District" text,
"Incumbent" text,
"Party" text,
"Elected" real,
"Status" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the election with incumbent bob barr?
### Response:
|
SELECT "Result" FROM table_29544 WHERE "Incumbent" = 'Bob Barr'
|
### Instruction:
CREATE TABLE table_1179 (
"Province" text,
"Swimsuit" text,
"Evening Gown" text,
"Interview" text,
"Average" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many averages for the province with evening gown score of 8.00
### Response:
|
SELECT COUNT("Average") FROM table_1179 WHERE "Evening Gown" = '8.00'
|
### Instruction:
CREATE TABLE table_79196 (
"Rank" text,
"Capacity" real,
"City" text,
"State" text,
"Year opened" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank for the year opened in 1959 in Pennsylvania?
### Response:
|
SELECT "Rank" FROM table_79196 WHERE "Year opened" = '1959' AND "State" = 'pennsylvania'
|
### Instruction:
CREATE TABLE table_203_574 (
id number,
"track number" number,
"russian title" text,
"english title" text,
"music" text,
"lyrics" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many songs are not performed by vitas on the album smile ! ?
### Response:
|
SELECT COUNT("english title") FROM table_203_574 WHERE "music" <> 'vitas'
|
### Instruction:
CREATE TABLE table_27722 (
"Institution" text,
"Location" text,
"Nickname" text,
"Founded" real,
"Type" text,
"Enrollment" real,
"Joined" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was Piedmont College founded?
### Response:
|
SELECT MAX("Founded") FROM table_27722 WHERE "Institution" = 'Piedmont College'
|
### Instruction:
CREATE TABLE table_68934 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the opponent with decision
### Response:
|
SELECT "Opponent" FROM table_68934 WHERE "Method" = 'decision'
|
### Instruction:
CREATE TABLE table_204_787 (
id number,
"year" number,
"category" text,
"nominee(s)" text,
"episode" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many wins were after 1987 ?
### Response:
|
SELECT COUNT(*) FROM table_204_787 WHERE "result" = 'won' AND "year" > 1987
|
### Instruction:
CREATE TABLE table_name_31 (
out_of VARCHAR,
year VARCHAR,
source VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the Out of that has the Source of united nations, and the Rank larger than 47, and the Year smaller than 2003?
### Response:
|
SELECT out_of FROM table_name_31 WHERE source = "united nations" AND rank > 47 AND year < 2003
|
### Instruction:
CREATE TABLE table_450 (
"Character(s)" text,
"First Appearance" text,
"Cover Date" text,
"Publisher" text,
"Estimated Value" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the cover date where character(s) is x-men ; magneto
### Response:
|
SELECT "Cover Date" FROM table_450 WHERE "Character(s)" = 'X-Men ; Magneto'
|
### Instruction:
CREATE TABLE table_6020 (
"Rank" real,
"Rider" text,
"Manufacturer" text,
"Points" real,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Manufacturer of honda, and a Rank of 8 had what highest wins?
### Response:
|
SELECT MAX("Wins") FROM table_6020 WHERE "Manufacturer" = 'honda' AND "Rank" = '8'
|
### Instruction:
CREATE TABLE table_68182 (
"Name" text,
"From" text,
"Discipline" text,
"Events won (UK Series)" real,
"Events won (US Series)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many UK events won for the contestant that won under 1 US event?
### Response:
|
SELECT "Events won (UK Series)" FROM table_68182 WHERE "Events won (US Series)" < '1'
|
### Instruction:
CREATE TABLE table_27951 (
"meas. num." real,
"passed" text,
"YES votes" real,
"NO votes" real,
"% YES" text,
"Const. Amd.?" text,
"type" text,
"description" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the lowest measure number?
### Response:
|
SELECT MIN("meas. num.") FROM table_27951
|
### Instruction:
CREATE TABLE table_10491 (
"Date" text,
"Competition" text,
"Venue" text,
"Result" text,
"Score" text,
"Goals" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the match on 11/2/01?
### Response:
|
SELECT "Score" FROM table_10491 WHERE "Date" = '11/2/01'
|
### Instruction:
CREATE TABLE table_64911 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the time of Britta Steffen in a lane less than 4?
### Response:
|
SELECT SUM("Time") FROM table_64911 WHERE "Lane" < '4' AND "Name" = 'britta steffen'
|
### Instruction:
CREATE TABLE table_41529 (
"Player" text,
"Position" text,
"Date of Birth (Age)" text,
"Caps" text,
"Province / Club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Player, when Caps is Example, and when Position is Center?
### Response:
|
SELECT "Player" FROM table_41529 WHERE "Caps" = 'example' AND "Position" = 'center'
|
### Instruction:
CREATE TABLE table_63870 (
"Date" text,
"Venue" text,
"Score" text,
"Comp" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the report in King Baudouin Stadium Brussels, Belgium?
### Response:
|
SELECT "Report" FROM table_63870 WHERE "Venue" = 'king baudouin stadium brussels, belgium'
|
### Instruction:
CREATE TABLE table_18179 (
"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 districts was Robert Livingston incumbent in?
### Response:
|
SELECT COUNT("District") FROM table_18179 WHERE "Incumbent" = 'Robert Livingston'
|
### Instruction:
CREATE TABLE table_66170 (
"Year" real,
"Award" text,
"Nominee" text,
"Episode" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What award has a year earlier than 2004 and the episode shows ?
### Response:
|
SELECT "Award" FROM table_66170 WHERE "Year" < '2004' AND "Episode" = '—'
|
### Instruction:
CREATE TABLE table_63478 (
"District" real,
"Incumbent" text,
"2008 Status" text,
"Democratic" text,
"Republican" text,
"Green" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Republican in the district more than 4?
### Response:
|
SELECT "Republican" FROM table_63478 WHERE "District" > '4'
|
### Instruction:
CREATE TABLE table_71207 (
"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 is the 1st leg score when 2nd leg score is 3-3?
### Response:
|
SELECT "1st leg" FROM table_71207 WHERE "2nd leg" = '3-3'
|
### Instruction:
CREATE TABLE table_5382 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Save" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score of the match with a save postponed rescheduled for June 24?
### Response:
|
SELECT "Score" FROM table_5382 WHERE "Save" = 'postponed rescheduled for june 24'
|
### Instruction:
CREATE TABLE table_53411 (
"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 was the runner-up in the tournament in which Omar Camporese held third place?
### Response:
|
SELECT "Runner-up" FROM table_53411 WHERE "Third Place" = 'omar camporese'
|
### Instruction:
CREATE TABLE table_204_401 (
id number,
"rank" number,
"lane" number,
"name" text,
"nationality" text,
"react" number,
"time" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which player is from ireland ?
### Response:
|
SELECT "name" FROM table_204_401 WHERE "nationality" = 'ireland'
|
### Instruction:
CREATE TABLE table_204_779 (
id number,
"network name" text,
"flagship" text,
"programming type" text,
"owner" text,
"affiliates" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the only network owned by national polytechnic institute ?
### Response:
|
SELECT "network name" FROM table_204_779 WHERE "owner" = 'national polytechnic institute'
|
### Instruction:
CREATE TABLE table_26122 (
"Represent" text,
"Contestant" text,
"Age" real,
"Height (ft.)" text,
"Height (mtr.)" text,
"Hometown" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many contestants where from mitteldeutschland?
### Response:
|
SELECT COUNT("Age") FROM table_26122 WHERE "Represent" = 'Mitteldeutschland'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.