instruction
stringlengths 231
6.3k
| output
stringlengths 2
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_9040 (
"Plan" text,
"Downstream" text,
"Upstream" text,
"Up:Down Ratio" real,
"Monthly Cap" text,
"Price" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the upstream with a 150 gb monthly cap?
### Response:
|
SELECT "Upstream" FROM table_9040 WHERE "Monthly Cap" = '150 gb'
|
### Instruction:
CREATE TABLE table_61585 (
"Minister" text,
"Party" text,
"Governments" text,
"Term start" text,
"Term end" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the minister of the labor party and had 26 goverments?
### Response:
|
SELECT "Minister" FROM table_61585 WHERE "Party" = 'labor party' AND "Governments" = '26'
|
### Instruction:
CREATE TABLE shop (
Shop_Name VARCHAR,
Shop_ID VARCHAR
)
CREATE TABLE stock (
Shop_ID VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show names of shops that have more than one kind of device in stock.
### Response:
|
SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID HAVING COUNT(*) > 1
|
### Instruction:
CREATE TABLE table_73007 (
"No. overall" real,
"Title" text,
"Director" text,
"Writer" text,
"Original air date" text,
"Production code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did the episodes first air that had a production code of 107?
### Response:
|
SELECT "Original air date" FROM table_73007 WHERE "Production code" = '107'
|
### Instruction:
CREATE TABLE table_18664 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many incumbent with first elected being 1932
### Response:
|
SELECT COUNT("Incumbent") FROM table_18664 WHERE "First elected" = '1932'
|
### Instruction:
CREATE TABLE table_1461 (
"Season" text,
"Winner" text,
"Winning Song" text,
"Winning Song (English Title)" text,
"Debut Album" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the debut album for the artist with the winning song kemenangan hati?
### Response:
|
SELECT "Debut Album" FROM table_1461 WHERE "Winning Song" = 'Kemenangan Hati'
|
### Instruction:
CREATE TABLE table_name_98 (
touchdowns INTEGER,
points VARCHAR,
extra_points VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Touchdowns is the lowest one that has Extra points smaller than 14, and a Player of white, and Points smaller than 5?
### Response:
|
SELECT MIN(touchdowns) FROM table_name_98 WHERE extra_points < 14 AND player = "white" AND points < 5
|
### Instruction:
CREATE TABLE table_14242137_4 (
season VARCHAR,
oberliga_bayern VARCHAR,
oberliga_südwest VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the season for spvgg bayreuth and fsv salmrohr
### Response:
|
SELECT season FROM table_14242137_4 WHERE oberliga_bayern = "SpVgg Bayreuth" AND oberliga_südwest = "FSV Salmrohr"
|
### Instruction:
CREATE TABLE table_50316 (
"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 is the Opponent of the game in 1989?
### Response:
|
SELECT "Opponent" FROM table_50316 WHERE "Date" = '1989'
|
### Instruction:
CREATE TABLE table_204_855 (
id number,
"year" number,
"date" text,
"winner" text,
"result" text,
"loser" text,
"attendance" number,
"location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which date was attended by the most people ?
### Response:
|
SELECT "date" FROM table_204_855 ORDER BY "attendance" DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_204_813 (
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.
-- in what cities did the competitor participate in the olympics ?
### Response:
|
SELECT "venue" FROM table_204_813 WHERE "competition" = 'olympic games'
|
### Instruction:
CREATE TABLE table_59226 (
"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 Statue, when Venue is 'Stadio Flaminio , Rome'?
### Response:
|
SELECT "Status" FROM table_59226 WHERE "Venue" = 'stadio flaminio , rome'
|
### Instruction:
CREATE TABLE table_18589 (
"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 were the candidates when Sid Simpson was the incumbent?
### Response:
|
SELECT "Candidates" FROM table_18589 WHERE "Incumbent" = 'Sid Simpson'
|
### Instruction:
CREATE TABLE table_41229 (
"Location" text,
"Aircraft" text,
"Tail number" text,
"Aircraft damage" text,
"Fatalities" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what location were the fatalities unknown for the Ju-52 aircraft?
### Response:
|
SELECT "Location" FROM table_41229 WHERE "Fatalities" = 'unknown' AND "Aircraft" = 'ju-52'
|
### Instruction:
CREATE TABLE table_name_76 (
rank INTEGER,
lane VARCHAR,
notes VARCHAR,
time___sec__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank when time is 11.15 and lane is bigger than 7 with notes Q, PB?
### Response:
|
SELECT SUM(rank) FROM table_name_76 WHERE notes = "q, pb" AND time___sec__ = 11.15 AND lane > 7
|
### Instruction:
CREATE TABLE table_36800 (
"Player" text,
"Attempts" real,
"Yards" real,
"Average" real,
"Long" real,
"Touchdowns" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the least amount of yards when the average is less than 2.6?
### Response:
|
SELECT MIN("Yards") FROM table_36800 WHERE "Average" < '2.6'
|
### Instruction:
CREATE TABLE table_50930 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player is from Australia, and has a place of t9?
### Response:
|
SELECT "Player" FROM table_50930 WHERE "Place" = 't9' AND "Country" = 'australia'
|
### Instruction:
CREATE TABLE table_name_13 (
tropical_lows INTEGER,
season VARCHAR,
tropical_cyclones VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest number for tropical Lows for the 1990 91 season with more than 10 tropical cyclones?
### Response:
|
SELECT MAX(tropical_lows) FROM table_name_13 WHERE season = "1990–91" AND tropical_cyclones > 10
|
### Instruction:
CREATE TABLE table_63041 (
"Heat" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest heat of the athlete from spain with a lane less than 7?
### Response:
|
SELECT MAX("Heat") FROM table_63041 WHERE "Nationality" = 'spain' AND "Lane" < '7'
|
### Instruction:
CREATE TABLE table_name_9 (
uefa_champions_league INTEGER,
la_liga VARCHAR,
copa_del_rey VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which UEFA Champions League has a La Liga of 17, and a Copa del Rey larger than 0?
### Response:
|
SELECT MIN(uefa_champions_league) FROM table_name_9 WHERE la_liga = 17 AND copa_del_rey > 0
|
### Instruction:
CREATE TABLE table_42578 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Competition with a Result of win with a Score that is 1-0?
### Response:
|
SELECT "Competition" FROM table_42578 WHERE "Result" = 'win' AND "Score" = '1-0'
|
### Instruction:
CREATE TABLE table_5619 (
"Crop" text,
"Area" text,
"Output (2007)" text,
"% of national" text,
"Main location(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Main Location(s) has an Area of 19,800 HA?
### Response:
|
SELECT "Main location(s)" FROM table_5619 WHERE "Area" = '19,800 ha'
|
### Instruction:
CREATE TABLE table_48864 (
"Lane" real,
"Name" text,
"Country" text,
"Mark" text,
"React" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has a react smaller than 0.149 and a lane smaller than 6?
### Response:
|
SELECT "Name" FROM table_48864 WHERE "React" < '0.149' AND "Lane" < '6'
|
### Instruction:
CREATE TABLE table_59752 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( \u00a3 )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the To par when Lanny Wadkins is the player?
### Response:
|
SELECT "To par" FROM table_59752 WHERE "Player" = 'lanny wadkins'
|
### Instruction:
CREATE TABLE table_23297 (
"#" real,
"Player" text,
"Age" real,
"Australian Open" real,
"French Open" real,
"Wimbledon" real,
"US Open" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won the US Open in 1937?
### Response:
|
SELECT "Player" FROM table_23297 WHERE "US Open" = '1937'
|
### Instruction:
CREATE TABLE table_22883 (
"Performer" text,
"Performances" real,
"Category" text,
"First performance" text,
"Last performance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the first performance of the last performance on 03/29/1957
### Response:
|
SELECT "First performance" FROM table_22883 WHERE "Last performance" = '03/29/1957'
|
### Instruction:
CREATE TABLE table_name_76 (
first_elected VARCHAR,
district VARCHAR,
result VARCHAR,
party VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much First elected has a Result of re-elected, and a Party of republican, and a District of illinois 4?
### Response:
|
SELECT COUNT(first_elected) FROM table_name_76 WHERE result = "re-elected" AND party = "republican" AND district = "illinois 4"
|
### Instruction:
CREATE TABLE table_69704 (
"Date" text,
"Opponents" text,
"Result F\u2013A" text,
"Attendance" real,
"Group position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Date of 1 october 2003 had what attendance?
### Response:
|
SELECT "Attendance" FROM table_69704 WHERE "Date" = '1 october 2003'
|
### Instruction:
CREATE TABLE table_21976 (
"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.
-- How many million viewers watched the episode that runs 25:55 minutes?
### Response:
|
SELECT "Viewers (in millions)" FROM table_21976 WHERE "Run time" = '25:55'
|
### Instruction:
CREATE TABLE table_48224 (
"Rank" real,
"Player" text,
"Years" text,
"Games" real,
"Reb. Avg." real,
"Total Rebounds" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games have rebounds larger than 1048?
### Response:
|
SELECT COUNT("Games") FROM table_48224 WHERE "Total Rebounds" > '1048'
|
### Instruction:
CREATE TABLE table_204_771 (
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 is the total numbers of medals won by ecuador ?
### Response:
|
SELECT "total" FROM table_204_771 WHERE "nation" = 'ecuador'
|
### Instruction:
CREATE TABLE table_68665 (
"Year" real,
"Team" text,
"Co-Drivers" text,
"Class" text,
"Laps" real,
"Pos." text,
"Class Pos." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of laps for 23rd position
### Response:
|
SELECT COUNT("Laps") FROM table_68665 WHERE "Pos." = '23rd'
|
### Instruction:
CREATE TABLE table_name_12 (
pop_density__per_km2_ INTEGER,
district VARCHAR,
s_barangay VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest population density for the district of Santa Cruz and a Barangay larger than 82?
### Response:
|
SELECT MIN(pop_density__per_km2_) FROM table_name_12 WHERE district = "santa cruz" AND s_barangay > 82
|
### Instruction:
CREATE TABLE table_16988 (
"Institution" text,
"Location" text,
"Founded" real,
"Type" text,
"Enrollment" real,
"Joined" text,
"Nickname" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what are the locations that joined in 2008
### Response:
|
SELECT "Location" FROM table_16988 WHERE "Joined" = '2008'
|
### Instruction:
CREATE TABLE table_31947 (
"Outcome" text,
"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.
-- Tell me the date for johanna konta
### Response:
|
SELECT "Date" FROM table_31947 WHERE "Opponent in the final" = 'johanna konta'
|
### Instruction:
CREATE TABLE table_27672 (
"Season" real,
"Series" text,
"Team Name" text,
"Races" real,
"Wins" real,
"Points" text,
"Final Placing" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team was Sigachev on when he had 38 points?
### Response:
|
SELECT "Team Name" FROM table_27672 WHERE "Points" = '38'
|
### Instruction:
CREATE TABLE table_29997 (
"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.
-- How many different nationalities is pick number 179?
### Response:
|
SELECT COUNT("Nationality") FROM table_29997 WHERE "Pick" = '179'
|
### Instruction:
CREATE TABLE table_42033 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Event" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Venue has a Notes of 2:28:31?
### Response:
|
SELECT "Venue" FROM table_42033 WHERE "Notes" = '2:28:31'
|
### Instruction:
CREATE TABLE table_12391 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Player has a To par less than 15 and a Total of 149?
### Response:
|
SELECT "Player" FROM table_12391 WHERE "To par" < '15' AND "Total" = '149'
|
### Instruction:
CREATE TABLE table_67704 (
"Years" text,
"Coach" text,
"Seasons" real,
"Wins" real,
"Losses" real,
"Ties" text,
"Pct." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Notre Dame coach lost 15 games?
### Response:
|
SELECT "Coach" FROM table_67704 WHERE "Losses" = '15'
|
### Instruction:
CREATE TABLE table_1153 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game Site" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of game sites for chicago bears
### Response:
|
SELECT COUNT("Game Site") FROM table_1153 WHERE "Opponent" = 'Chicago Bears'
|
### Instruction:
CREATE TABLE table_14469 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On which date were the 2003 Toronto Blue Jays 54-55?
### Response:
|
SELECT "Date" FROM table_14469 WHERE "Record" = '54-55'
|
### Instruction:
CREATE TABLE table_name_75 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which 2012 has a 2007 of 1r, and a 2008 of 1r, and a 2013 of 2r?
### Response:
|
SELECT 2012 FROM table_name_75 WHERE 2007 = "1r" AND 2008 = "1r" AND 2013 = "2r"
|
### Instruction:
CREATE TABLE table_10404 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many were in attendance for the loss of rekar (4 5)?
### Response:
|
SELECT SUM("Attendance") FROM table_10404 WHERE "Loss" = 'rekar (4–5)'
|
### Instruction:
CREATE TABLE table_23287 (
"Draw" real,
"Artist" text,
"Song" text,
"Jury votes" real,
"Televotes" real,
"Total votes" real,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Salva Ortega's result?
### Response:
|
SELECT "Result" FROM table_23287 WHERE "Artist" = 'Salva Ortega'
|
### Instruction:
CREATE TABLE table_35676 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What score has devin brown (24) as the leading scorer?
### Response:
|
SELECT "Score" FROM table_35676 WHERE "Leading scorer" = 'devin brown (24)'
|
### Instruction:
CREATE TABLE table_65506 (
"Club" text,
"League/Division" text,
"Home Ground" text,
"Location" text,
"Position in 2012-13" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Location has a Home Ground of Mong kok stadium?
### Response:
|
SELECT "Location" FROM table_65506 WHERE "Home Ground" = 'mong kok stadium'
|
### Instruction:
CREATE TABLE table_106 (
"Name of lava dome" text,
"Country" text,
"Volcanic area" text,
"Composition" text,
"Last eruption or growth episode" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What countries have had eruptions of growth episodes in 1986?
### Response:
|
SELECT "Country" FROM table_106 WHERE "Last eruption or growth episode" = '1986'
|
### Instruction:
CREATE TABLE table_name_85 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of 2010 for when 2009 is less than 14, 2008 is less than 15 and 2005 is 3
### Response:
|
SELECT COUNT(2010) FROM table_name_85 WHERE 2009 < 14 AND 2008 < 15 AND 2005 = 3
|
### Instruction:
CREATE TABLE table_2623 (
"Name" text,
"#" real,
"Position" text,
"Height" text,
"Weight" real,
"Year" text,
"Home Town" text,
"High School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which highschool has senior (rs) for the year?
### Response:
|
SELECT "High School" FROM table_2623 WHERE "Year" = 'Senior (RS)'
|
### Instruction:
CREATE TABLE table_name_77 (
name_of_horse VARCHAR,
year_inducted VARCHAR,
broodmare_sire VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What horse was induced in 2011 with a sire of cowboy p-12?
### Response:
|
SELECT name_of_horse FROM table_name_77 WHERE year_inducted = 2011 AND broodmare_sire = "cowboy p-12"
|
### 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.
-- which lyricist has the largest amount of tracks ?
### Response:
|
SELECT "lyrics" FROM table_203_574 GROUP BY "lyrics" ORDER BY COUNT("track number") DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_10477224_1 (
sepal_width VARCHAR,
sepal_length VARCHAR,
petal_width VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the sepal width when sepal length is 6.5 and petal width is 2.2
### Response:
|
SELECT sepal_width FROM table_10477224_1 WHERE sepal_length = "6.5" AND petal_width = "2.2"
|
### Instruction:
CREATE TABLE table_203_398 (
id number,
"year" number,
"vidhan sabha" text,
"members of legislative assembly" text,
"winning party" text,
"nearest contesting party" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many total times has the jnp been the winning party ?
### Response:
|
SELECT COUNT(*) FROM table_203_398 WHERE "winning party" = 'jnp'
|
### Instruction:
CREATE TABLE table_70180 (
"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 is the name of the player that is pick #69?
### Response:
|
SELECT "Player" FROM table_70180 WHERE "Pick #" = '69'
|
### Instruction:
CREATE TABLE table_56727 (
"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 date of the friendly match, ending in a result of 1-1?
### Response:
|
SELECT "Date" FROM table_56727 WHERE "Competition" = 'friendly match' AND "Result" = '1-1'
|
### Instruction:
CREATE TABLE table_21625 (
"Series #" real,
"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 season episode is directed by Skipp Sudduth?
### Response:
|
SELECT "Season #" FROM table_21625 WHERE "Directed by" = 'Skipp Sudduth'
|
### Instruction:
CREATE TABLE table_71119 (
"Country" text,
"Film title used in nomination" text,
"Language" text,
"Original title" text,
"Director" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the original title of the film for which Dersu Uzala was nominated?
### Response:
|
SELECT "Original title" FROM table_71119 WHERE "Film title used in nomination" = 'dersu uzala'
|
### Instruction:
CREATE TABLE table_12445 (
"Mininera DFL" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of losses when draws are larger than 0?
### Response:
|
SELECT COUNT("Losses") FROM table_12445 WHERE "Draws" > '0'
|
### Instruction:
CREATE TABLE table_11667521_17 (
team_classification VARCHAR,
points_classification VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT TEAM CLASSIFIED IN THE STAGE WHERE BRADLEY WIGGINS WON THE POINTS CLASSIFICATION ?
### Response:
|
SELECT team_classification FROM table_11667521_17 WHERE points_classification = "Bradley Wiggins"
|
### Instruction:
CREATE TABLE table_46609 (
"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 the part 2 is bl ot?
### Response:
|
SELECT "Verb meaning" FROM table_46609 WHERE "Part 2" = 'blēot'
|
### Instruction:
CREATE TABLE table_14567 (
"Week" real,
"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.
-- Who was the host team when the Miami Dolphins were the visiting team?
### Response:
|
SELECT "Host team" FROM table_14567 WHERE "Visiting team" = 'miami dolphins'
|
### Instruction:
CREATE TABLE table_21346 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real,
"Competition" text,
"Man of the Match" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the opponent for 4th
### Response:
|
SELECT "Opponent" FROM table_21346 WHERE "Date" = '4th'
|
### Instruction:
CREATE TABLE table_66050 (
"Game" text,
"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 location and attendance at the game when the record was 9-6?
### Response:
|
SELECT "Location/Attendance" FROM table_66050 WHERE "Record" = '9-6'
|
### Instruction:
CREATE TABLE table_47544 (
"Elector" text,
"Nationality" text,
"Order" text,
"Title" text,
"Elevated" text,
"Elevator" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Title of Elector Giovanni Boccamazza?
### Response:
|
SELECT "Title" FROM table_47544 WHERE "Elector" = 'giovanni boccamazza'
|
### Instruction:
CREATE TABLE table_name_27 (
rank_by_average INTEGER,
average VARCHAR,
number_of_dances VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the highest rank by average of a couple who had an average of 25.3 and had more than 10 dances?
### Response:
|
SELECT MAX(rank_by_average) FROM table_name_27 WHERE average = 25.3 AND number_of_dances > 10
|
### Instruction:
CREATE TABLE table_36624 (
"Fraction" text,
"Ellipsis" text,
"Vinculum" text,
"Dots" text,
"Parentheses" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the value for parentheses with a dots value of 0.\dot{6}?
### Response:
|
SELECT "Parentheses" FROM table_36624 WHERE "Dots" = '0.\dot{6}'
|
### Instruction:
CREATE TABLE table_204_164 (
id number,
"branding" text,
"callsign" text,
"frequency" text,
"power (kw)" text,
"location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number of stations with frequencies above 100 mhz ?
### Response:
|
SELECT COUNT("branding") FROM table_204_164 WHERE "frequency" > 100
|
### Instruction:
CREATE TABLE table_2376 (
"Title/Subject" text,
"Public Office" text,
"Artist" text,
"Date Painted/Created" text,
"Medium" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the public office of the subject whose sculpture was created in 1954?
### Response:
|
SELECT "Public Office" FROM table_2376 WHERE "Date Painted/Created" = '1954'
|
### Instruction:
CREATE TABLE table_76643 (
"Target/Approach" text,
"Candidate Name" text,
"Trial Phase" text,
"Trial Start Date" text,
"Expected End Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Trial Start Date, when Candidate Name is Notes?
### Response:
|
SELECT "Trial Start Date" FROM table_76643 WHERE "Candidate Name" = 'notes'
|
### Instruction:
CREATE TABLE table_47427 (
"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 is the winning score for the B.C. Open 1 tournament?
### Response:
|
SELECT "Winning score" FROM table_47427 WHERE "Tournament" = 'b.c. open 1'
|
### Instruction:
CREATE TABLE table_34811 (
"Year of Issue" real,
"Description" text,
"Weight" text,
"Diameter" text,
"Thickness" text,
"Edge" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Thickness has a Diameter of 21.9mm?
### Response:
|
SELECT "Thickness" FROM table_34811 WHERE "Diameter" = '21.9mm'
|
### Instruction:
CREATE TABLE table_54061 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the laps of aprilia with a grid of 10?
### Response:
|
SELECT "Laps" FROM table_54061 WHERE "Manufacturer" = 'aprilia' AND "Grid" = '10'
|
### Instruction:
CREATE TABLE table_37911 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Loss of francis (4 9) has what highest attendance figure?
### Response:
|
SELECT MAX("Attendance") FROM table_37911 WHERE "Loss" = 'francis (4–9)'
|
### Instruction:
CREATE TABLE table_name_55 (
year INTEGER,
sets VARCHAR,
aces VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the most recent year that samantha stosur was the opponent with 20 aces and having played more than 2 sets?
### Response:
|
SELECT MAX(year) FROM table_name_55 WHERE aces = 20 AND opponent = "samantha stosur" AND sets > 2
|
### Instruction:
CREATE TABLE table_32462 (
"Name" text,
"City" text,
"Years as tallest" text,
"Metres" real,
"Feet" real,
"Floors" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many metres tall is the building that is larger than 850 feet tall?
### Response:
|
SELECT "Metres" FROM table_32462 WHERE "Feet" > '850'
|
### Instruction:
CREATE TABLE table_203_808 (
id number,
"rank" number,
"peak name" text,
"elevation" text,
"location" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what are the total amount of mountains located in ruma , bandarban ?
### Response:
|
SELECT COUNT("peak name") FROM table_203_808 WHERE "location" = 'ruma,bandarban'
|
### Instruction:
CREATE TABLE table_50898 (
"Round" text,
"St Kilda Saints" text,
"Opposition" text,
"Their Score" text,
"Margin" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Margin that has a Round of 13. (h)?
### Response:
|
SELECT AVG("Margin") FROM table_50898 WHERE "Round" = '13. (h)'
|
### Instruction:
CREATE TABLE table_71114 (
"Year" text,
"Start" text,
"Qual" text,
"Rank" text,
"Finish" text,
"Laps" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest laps with a 142.744 qual?
### Response:
|
SELECT MIN("Laps") FROM table_71114 WHERE "Qual" = '142.744'
|
### Instruction:
CREATE TABLE table_53917 (
"Number & Name" text,
"Description" text,
"Livery" text,
"Owner(s)" text,
"Date" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the number & name for the description peckett 0-4-0st?
### Response:
|
SELECT "Number & Name" FROM table_53917 WHERE "Description" = 'peckett 0-4-0st'
|
### Instruction:
CREATE TABLE table_80423 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score for the game that has an attendance of 5,298?
### Response:
|
SELECT "Score" FROM table_80423 WHERE "Attendance" = '5,298'
|
### Instruction:
CREATE TABLE table_name_34 (
year_s__won VARCHAR,
player VARCHAR,
total VARCHAR,
to_par VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what year(s) did Raymond Floyd have a total of less than 291 and a To par of +10?
### Response:
|
SELECT year_s__won FROM table_name_34 WHERE total < 291 AND to_par = "+10" AND player = "raymond floyd"
|
### Instruction:
CREATE TABLE table_47627 (
"Year" real,
"Winner" text,
"Runners-up" text,
"Aggregate" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2nd leg when San Pedro was the winner?
### Response:
|
SELECT "2nd leg" FROM table_47627 WHERE "Winner" = 'san pedro'
|
### Instruction:
CREATE TABLE ALBUM (
Title VARCHAR,
AlbumId VARCHAR
)
CREATE TABLE TRACK (
AlbumID VARCHAR,
AlbumId VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show the album names, ids and the number of tracks for each album.
### Response:
|
SELECT T1.Title, T2.AlbumID, COUNT(*) FROM ALBUM AS T1 JOIN TRACK AS T2 ON T1.AlbumID = T2.AlbumID GROUP BY T2.AlbumID
|
### Instruction:
CREATE TABLE table_name_85 (
year_made INTEGER,
iwcr_no VARCHAR,
year_withdrawn VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the mean Year when the IWCR number was 5 and the Year withdrawn was bigger than 1926?
### Response:
|
SELECT AVG(year_made) FROM table_name_85 WHERE iwcr_no = "5" AND year_withdrawn > 1926
|
### Instruction:
CREATE TABLE table_28146 (
"Camera" text,
"Filter" text,
"Wavelength" text,
"Total exposure time" text,
"Exposures" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the camera used when the wavelength is 814nm (i-band)?
### Response:
|
SELECT "Camera" FROM table_28146 WHERE "Wavelength" = '814nm (I-band)'
|
### Instruction:
CREATE TABLE table_73123 (
"Number One(s)" real,
"Artist(s)" text,
"Song(s) \u2014 Weeks" text,
"Issue Years" real,
"Whole Weeks" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the longest number of weeks any 1 song was at number #1?
### Response:
|
SELECT MAX("Whole Weeks") FROM table_73123
|
### Instruction:
CREATE TABLE table_18266 (
"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 have Mac Sweeney as incumbent?
### Response:
|
SELECT COUNT("Candidates") FROM table_18266 WHERE "Incumbent" = 'Mac Sweeney'
|
### Instruction:
CREATE TABLE table_42093 (
"Office" text,
"Democratic ticket" text,
"Republican ticket" text,
"American Labor ticket" text,
"Socialist ticket" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Republican ran against the American Labor candidate Matthew J. Merritt?
### Response:
|
SELECT "Republican ticket" FROM table_42093 WHERE "American Labor ticket" = 'matthew j. merritt'
|
### Instruction:
CREATE TABLE table_64498 (
"Japanese Title" text,
"Romaji Title" text,
"TV Station" text,
"Episodes" real,
"Average Ratings" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the tv station when the average ratings is 19.5%?
### Response:
|
SELECT "TV Station" FROM table_64498 WHERE "Average Ratings" = '19.5%'
|
### Instruction:
CREATE TABLE table_41321 (
"Draw" real,
"Song" text,
"Performer" text,
"Points" real,
"Rank" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Points has a Performer of rob burke band and a Draw larger than 1?
### Response:
|
SELECT AVG("Points") FROM table_41321 WHERE "Performer" = 'rob burke band' AND "Draw" > '1'
|
### Instruction:
CREATE TABLE table_40556 (
"Season" text,
"Winner" text,
"Score" text,
"Runner-up" text,
"Losing Semifinalists" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Score during the Season in which the Winner was C.F. Atlante?
### Response:
|
SELECT "Score" FROM table_40556 WHERE "Winner" = 'c.f. atlante'
|
### Instruction:
CREATE TABLE table_77394 (
"Game" real,
"Date" text,
"Score" text,
"Location" text,
"Time" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score at Tiger Stadium on October 12?
### Response:
|
SELECT "Score" FROM table_77394 WHERE "Location" = 'tiger stadium' AND "Date" = 'october 12'
|
### Instruction:
CREATE TABLE table_74089 (
"Year" real,
"Title" text,
"Format" text,
"Studio" text,
"Release Date" text,
"Copyright Information" text,
"Catalog Number" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the studio for catalog number 81063
### Response:
|
SELECT "Studio" FROM table_74089 WHERE "Catalog Number" = '81063'
|
### Instruction:
CREATE TABLE table_45544 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Record has a Game of 61?
### Response:
|
SELECT "Record" FROM table_45544 WHERE "Game" = '61'
|
### Instruction:
CREATE TABLE table_40986 (
"Class" real,
"Date" text,
"Builder" text,
"No. built" real,
"1919 nos." text,
"LMS Class" text,
"LMS nos." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On which date was the class 157?
### Response:
|
SELECT "Date" FROM table_40986 WHERE "Class" = '157'
|
### Instruction:
CREATE TABLE table_37115 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What outcome has yvonne vermaak as the opponent?
### Response:
|
SELECT "Outcome" FROM table_37115 WHERE "Opponent" = 'yvonne vermaak'
|
### Instruction:
CREATE TABLE table_25971 (
"Rank" real,
"Runs" real,
"Player" text,
"Matches" real,
"Innings" real,
"Not Out" real,
"Average" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the innings is 68, what is the average?
### Response:
|
SELECT "Average" FROM table_25971 WHERE "Innings" = '68'
|
### Instruction:
CREATE TABLE table_name_90 (
location VARCHAR,
result VARCHAR,
winner VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Location, when the Winner is the Baltimore Colts, when the Year is before 1972, and when the Result is 14-6?
### Response:
|
SELECT location FROM table_name_90 WHERE winner = "baltimore colts" AND year < 1972 AND result = "14-6"
|
### Instruction:
CREATE TABLE table_80339 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the region of the release of a CD with catalog 32xa-119?
### Response:
|
SELECT "Region" FROM table_80339 WHERE "Format" = 'cd' AND "Catalog" = '32xa-119'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.