instruction
stringlengths 212
6.3k
| output
stringlengths 6
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_name_35 (
driver VARCHAR,
time_retired VARCHAR,
constructor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What driver has a ime/Retired of +1 lap, and a Constructor of bar - honda?
### Response:
|
SELECT driver FROM table_name_35 WHERE time_retired = "+1 lap" AND constructor = "bar - honda"
|
### Instruction:
CREATE TABLE table_1342233_43 (
result VARCHAR,
candidates VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the election featuring r. ewing thomason (d) unopposed?
### Response:
|
SELECT result FROM table_1342233_43 WHERE candidates = "R. Ewing Thomason (D) Unopposed"
|
### Instruction:
CREATE TABLE table_28180840_15 (
act VARCHAR,
name_name_of_act VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of modern grannies performed?
### Response:
|
SELECT COUNT(act) FROM table_28180840_15 WHERE name_name_of_act = "Modern Grannies"
|
### Instruction:
CREATE TABLE table_name_98 (
season VARCHAR,
number_of_contestants VARCHAR,
winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What season had more than 12 contestants in which greydis gil won?
### Response:
|
SELECT season FROM table_name_98 WHERE number_of_contestants > 12 AND winner = "greydis gil"
|
### Instruction:
CREATE TABLE table_name_99 (
match INTEGER,
lost VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest match that has a lost greater than 3, and kolejarz rawicz as the team?
### Response:
|
SELECT MIN(match) FROM table_name_99 WHERE lost > 3 AND team = "kolejarz rawicz"
|
### Instruction:
CREATE TABLE table_name_21 (
opponent VARCHAR,
method VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the name of the opponent when the method was ko (slam), and record was 13 1?
### Response:
|
SELECT opponent FROM table_name_21 WHERE method = "ko (slam)" AND record = "13–1"
|
### Instruction:
CREATE TABLE table_name_41 (
league VARCHAR,
club VARCHAR,
apps VARCHAR,
goals VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which league has less than 15 apps and 0 goals with sparta prague?
### Response:
|
SELECT league FROM table_name_41 WHERE apps < 15 AND goals = 0 AND club = "sparta prague"
|
### Instruction:
CREATE TABLE table_24639086_3 (
series__number INTEGER,
season__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the series minimum if the season number is 2.08?
### Response:
|
SELECT MIN(series__number) FROM table_24639086_3 WHERE season__number = "2.08"
|
### Instruction:
CREATE TABLE table_name_89 (
notes VARCHAR,
app_l_c_e_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Notes, when App(L/C/E) is 13 (7/2/4)?
### Response:
|
SELECT notes FROM table_name_89 WHERE app_l_c_e_ = "13 (7/2/4)"
|
### Instruction:
CREATE TABLE table_name_53 (
games INTEGER,
name VARCHAR,
goals VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Games for Allofs, Klaus, with Goals less than 177?
### Response:
|
SELECT SUM(games) FROM table_name_53 WHERE name = "allofs, klaus" AND goals < 177
|
### Instruction:
CREATE TABLE table_name_99 (
year INTEGER,
entrant VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year did Austria-Marlboro BRM get more than 0 points?
### Response:
|
SELECT AVG(year) FROM table_name_99 WHERE entrant = "austria-marlboro brm" AND points > 0
|
### Instruction:
CREATE TABLE table_25800134_12 (
director VARCHAR,
airdate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who directed the episode that aired on September 25, 1967?
### Response:
|
SELECT director FROM table_25800134_12 WHERE airdate = "September 25, 1967"
|
### Instruction:
CREATE TABLE table_65906 (
"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 does Bo Bae Song play for?
### Response:
|
SELECT "Country" FROM table_65906 WHERE "Player" = 'bo bae song'
|
### Instruction:
CREATE TABLE table_name_35 (
matches VARCHAR,
rider VARCHAR,
total_points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many total matches involving dennis gavros had total points less than 167?
### Response:
|
SELECT COUNT(matches) FROM table_name_35 WHERE rider = "dennis gavros" AND total_points < 167
|
### Instruction:
CREATE TABLE table_11691212_2 (
lap_by_lap VARCHAR,
viewers VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who narrated the lap-by-lap to a 13.4 million audience?
### Response:
|
SELECT lap_by_lap FROM table_11691212_2 WHERE viewers = "13.4 million"
|
### Instruction:
CREATE TABLE table_11632 (
"Pick" real,
"Player" text,
"Team" text,
"Position" text,
"School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which pick was Bill Bray?
### Response:
|
SELECT SUM("Pick") FROM table_11632 WHERE "Player" = 'bill bray'
|
### Instruction:
CREATE TABLE table_49407 (
"State" text,
"Type" text,
"Name" text,
"Title" text,
"Royal house" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the state where the title is listed as count?
### Response:
|
SELECT "State" FROM table_49407 WHERE "Title" = 'count'
|
### Instruction:
CREATE TABLE table_name_28 (
opponent VARCHAR,
week VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent in a week below 3 on September 23, 1960?
### Response:
|
SELECT opponent FROM table_name_28 WHERE week < 3 AND date = "september 23, 1960"
|
### Instruction:
CREATE TABLE table_2490289_1 (
year VARCHAR,
pc_intro VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year did fr-08: the product ( farbrausch ) win best pc intro?
### Response:
|
SELECT year FROM table_2490289_1 WHERE pc_intro = "FR-08: The Product ( Farbrausch )"
|
### Instruction:
CREATE TABLE table_name_89 (
release_date VARCHAR,
country VARCHAR,
release_format VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many release dates have a Country of west germany, and a Release format of vinyl?
### Response:
|
SELECT COUNT(release_date) FROM table_name_89 WHERE country = "west germany" AND release_format = "vinyl"
|
### Instruction:
CREATE TABLE table_15700367_6 (
wickets INTEGER,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest number of wickets for farveez maharoof?
### Response:
|
SELECT MIN(wickets) FROM table_15700367_6 WHERE name = "Farveez Maharoof"
|
### Instruction:
CREATE TABLE table_name_5 (
score VARCHAR,
opponents_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score for the match where the opponent in the final was james cerretani todd perry?
### Response:
|
SELECT score FROM table_name_5 WHERE opponents_in_the_final = "james cerretani todd perry"
|
### Instruction:
CREATE TABLE table_9741 (
"Game" text,
"Date" text,
"Home Team" text,
"Result" text,
"Road Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the home team in game 2?
### Response:
|
SELECT "Home Team" FROM table_9741 WHERE "Game" = 'game 2'
|
### Instruction:
CREATE TABLE table_29273390_1 (
directed_by VARCHAR,
us_viewers__million_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who directed an episode with 1.19 million?
### Response:
|
SELECT directed_by FROM table_29273390_1 WHERE us_viewers__million_ = "1.19"
|
### Instruction:
CREATE TABLE table_name_41 (
city VARCHAR,
erp__analog__digital_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which City has 600kw 500kw ERP (Analog/ Digital)?
### Response:
|
SELECT city FROM table_name_41 WHERE erp__analog__digital_ = "600kw 500kw"
|
### Instruction:
CREATE TABLE table_6448 (
"Race Title" text,
"Circuit" text,
"City / State" text,
"Date" text,
"Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what day was the sandown
### Response:
|
SELECT "Date" FROM table_6448 WHERE "Race Title" = 'sandown'
|
### Instruction:
CREATE TABLE table_203_231 (
id number,
"season" text,
"tier" number,
"division" text,
"place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many years were they in tier 3
### Response:
|
SELECT COUNT("season") FROM table_203_231 WHERE "tier" = 3
|
### Instruction:
CREATE TABLE table_1976898_1 (
english_name VARCHAR,
post_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the English name of the county with a postcode 246400?
### Response:
|
SELECT english_name FROM table_1976898_1 WHERE post_code = 246400
|
### Instruction:
CREATE TABLE table_49139 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country has player Scott Verplank?
### Response:
|
SELECT "Country" FROM table_49139 WHERE "Player" = 'scott verplank'
|
### Instruction:
CREATE TABLE table_name_80 (
attendance VARCHAR,
opponent VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Attendance during the Home game where St. Johnstone was the Opponent?
### Response:
|
SELECT COUNT(attendance) FROM table_name_80 WHERE opponent = "st. johnstone" AND venue = "home"
|
### Instruction:
CREATE TABLE table_10432351_1 (
mass__m___ INTEGER,
radius__r___ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If a radius is 10, what is the lowest possible mass?
### Response:
|
SELECT MIN(mass__m___) FROM table_10432351_1 WHERE radius__r___ = 10
|
### Instruction:
CREATE TABLE table_29127804_3 (
date VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the date of the game played in the bangalore , karnataka, india location
### Response:
|
SELECT date FROM table_29127804_3 WHERE location = "Bangalore , Karnataka, India"
|
### Instruction:
CREATE TABLE table_name_38 (
historical_references VARCHAR,
podcast_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the historical reference of the episode that aired on October 23, 2005?
### Response:
|
SELECT historical_references FROM table_name_38 WHERE podcast_date = "october 23, 2005"
|
### Instruction:
CREATE TABLE table_name_88 (
hosts VARCHAR,
host_city VARCHAR,
theme VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who are the hosts from the event with a theme of codehunters and the host city of Bangkok?
### Response:
|
SELECT hosts FROM table_name_88 WHERE host_city = "bangkok" AND theme = "codehunters"
|
### Instruction:
CREATE TABLE table_name_30 (
points INTEGER,
goals_against VARCHAR,
played VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Points have Goals against of 32, and Played larger than 38?
### Response:
|
SELECT MAX(points) FROM table_name_30 WHERE goals_against = 32 AND played > 38
|
### Instruction:
CREATE TABLE table_27847088_1 (
viewers__millions_ VARCHAR,
series_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many were the viewers (in millions) of the series no. 45?
### Response:
|
SELECT viewers__millions_ FROM table_27847088_1 WHERE series_no = 45
|
### Instruction:
CREATE TABLE table_name_27 (
fa_trophy VARCHAR,
player VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many FA trophies did Ceri Williams get with a smaller total than 19?
### Response:
|
SELECT COUNT(fa_trophy) FROM table_name_27 WHERE player = "ceri williams" AND total < 19
|
### Instruction:
CREATE TABLE table_name_99 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which 2003 has a 2013 of 1r, and a 2007 of 2r?
### Response:
|
SELECT 2003 FROM table_name_99 WHERE 2013 = "1r" AND 2007 = "2r"
|
### Instruction:
CREATE TABLE table_name_47 (
score VARCHAR,
result VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Score that has a Result of 2 1 on 5 july 2007?
### Response:
|
SELECT score FROM table_name_47 WHERE result = "2–1" AND date = "5 july 2007"
|
### Instruction:
CREATE TABLE table_name_47 (
score VARCHAR,
result VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Score that has a Result of 2 2 on 04 Dec 2005?
### Response:
|
SELECT score FROM table_name_47 WHERE result = "2–2" AND date = "04 dec 2005"
|
### Instruction:
CREATE TABLE table_38186 (
"Game" text,
"Date" text,
"Home Team" text,
"Result" text,
"Road Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what game was on may 29
### Response:
|
SELECT "Result" FROM table_38186 WHERE "Date" = 'may 29'
|
### Instruction:
CREATE TABLE table_26842217_8 (
attendance VARCHAR,
site VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times was the site wallace wade stadium durham, nc?
### Response:
|
SELECT COUNT(attendance) FROM table_26842217_8 WHERE site = "Wallace Wade Stadium • Durham, NC"
|
### Instruction:
CREATE TABLE table_name_72 (
term_end VARCHAR,
governments VARCHAR,
minister VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did the term end for the term that had government 27 and Minister Tzachi Hanegbi?
### Response:
|
SELECT term_end FROM table_name_72 WHERE governments = "27" AND minister = "tzachi hanegbi"
|
### Instruction:
CREATE TABLE table_name_36 (
year INTEGER,
points VARCHAR,
chassis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the earliest year for a car with 3 points and Cooper t20 chassis?
### Response:
|
SELECT MIN(year) FROM table_name_36 WHERE points = 3 AND chassis = "cooper t20"
|
### Instruction:
CREATE TABLE table_name_37 (
date VARCHAR,
time___et__ VARCHAR,
game_site VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date is the 1:00 pm game at arrowhead stadium?
### Response:
|
SELECT date FROM table_name_37 WHERE time___et__ = "1:00 pm" AND game_site = "arrowhead stadium"
|
### Instruction:
CREATE TABLE table_name_87 (
wins INTEGER,
goals_scored VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the highest win when there were more than 64 goals scored and a position smaller than 2?
### Response:
|
SELECT MAX(wins) FROM table_name_87 WHERE goals_scored > 64 AND position < 2
|
### Instruction:
CREATE TABLE table_name_45 (
number_built VARCHAR,
chassis_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the total number built with a chassis code of w108.057?
### Response:
|
SELECT COUNT(number_built) FROM table_name_45 WHERE chassis_code = "w108.057"
|
### Instruction:
CREATE TABLE table_24989925_2 (
team_record VARCHAR,
game_site VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the team's record when they played at Rheinenergiestadion?
### Response:
|
SELECT team_record FROM table_24989925_2 WHERE game_site = "RheinEnergieStadion"
|
### Instruction:
CREATE TABLE table_name_99 (
gold INTEGER,
nation VARCHAR,
silver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Gold where the Nation is Russia (rus) and the number of silver is less than 2?
### Response:
|
SELECT AVG(gold) FROM table_name_99 WHERE nation = "russia (rus)" AND silver < 2
|
### Instruction:
CREATE TABLE table_14389 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score on May 18?
### Response:
|
SELECT "Score" FROM table_14389 WHERE "Date" = 'may 18'
|
### Instruction:
CREATE TABLE table_name_61 (
club VARCHAR,
date_of_birth VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Club of the Player with a Date of Birth of 1977-02-03?
### Response:
|
SELECT club FROM table_name_61 WHERE date_of_birth = "1977-02-03"
|
### Instruction:
CREATE TABLE table_name_80 (
year INTEGER,
date VARCHAR,
designated_home VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year had a date of TBA where the Oakland raiders were the home team?
### Response:
|
SELECT AVG(year) FROM table_name_80 WHERE date = "tba" AND designated_home = "oakland raiders"
|
### Instruction:
CREATE TABLE table_75049 (
"Stage" text,
"Time" text,
"Name" text,
"Length" text,
"Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Name of the SS11 Stage?
### Response:
|
SELECT "Name" FROM table_75049 WHERE "Stage" = 'ss11'
|
### Instruction:
CREATE TABLE table_14708760_3 (
round_1 INTEGER,
round_2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest score of round 1 where they also shot 90 in round 2
### Response:
|
SELECT MAX(round_1) FROM table_14708760_3 WHERE round_2 = 90
|
### Instruction:
CREATE TABLE table_26129220_2 (
term_limited INTEGER,
residence VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the earliest term limit for the senator who resides in Coshocton?
### Response:
|
SELECT MIN(term_limited) FROM table_26129220_2 WHERE residence = "Coshocton"
|
### Instruction:
CREATE TABLE table_202_200 (
id number,
"year" number,
"title" text,
"role" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many movies has he been from 1941-1949 .
### Response:
|
SELECT COUNT("year") FROM table_202_200
|
### Instruction:
CREATE TABLE table_44363 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What place did the player from South Africa finish?
### Response:
|
SELECT "Place" FROM table_44363 WHERE "Country" = 'south africa'
|
### Instruction:
CREATE TABLE table_name_90 (
h___a VARCHAR,
opponents VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the H/A in the semi-final round where oldham athletic were the opponents?
### Response:
|
SELECT h___a FROM table_name_90 WHERE opponents = "oldham athletic" AND round = "semi-final"
|
### Instruction:
CREATE TABLE table_27389024_2 (
original_air_date VARCHAR,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the original air date of the episode that was written by Rama Stagner?
### Response:
|
SELECT original_air_date FROM table_27389024_2 WHERE written_by = "Rama Stagner"
|
### Instruction:
CREATE TABLE table_18522916_5 (
date_of_vacancy VARCHAR,
outgoing_manager VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the date of vacancy for daniel uberti
### Response:
|
SELECT date_of_vacancy FROM table_18522916_5 WHERE outgoing_manager = "Daniel Uberti"
|
### Instruction:
CREATE TABLE table_name_20 (
attendance VARCHAR,
opponents VARCHAR,
h___a VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Attendance when Lincoln City was the Opponents with H/A of A?
### Response:
|
SELECT COUNT(attendance) FROM table_name_20 WHERE opponents = "lincoln city" AND h___a = "a"
|
### Instruction:
CREATE TABLE table_229917_2 (
fatalities VARCHAR,
brief_description VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many fatalities were there in the crash described as crashed at take-off due to engine failure?
### Response:
|
SELECT fatalities FROM table_229917_2 WHERE brief_description = "Crashed at take-off due to engine failure"
|
### Instruction:
CREATE TABLE table_name_22 (
position VARCHAR,
round VARCHAR,
school_club_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Position has a Round larger than 14, and a School/Club Team of north texas?
### Response:
|
SELECT position FROM table_name_22 WHERE round > 14 AND school_club_team = "north texas"
|
### Instruction:
CREATE TABLE table_name_11 (
water_depth VARCHAR,
entered_service VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the water depth that entered service in 2001 named Cajun Express?
### Response:
|
SELECT water_depth FROM table_name_11 WHERE entered_service = "2001" AND name = "cajun express"
|
### Instruction:
CREATE TABLE table_name_74 (
gdp___bn__ VARCHAR,
area__sq_mi_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the GDP for the region with an area of 7,263 sq. mi.?
### Response:
|
SELECT gdp___bn__ FROM table_name_74 WHERE area__sq_mi_ = "7,263"
|
### Instruction:
CREATE TABLE table_14902507_2 (
studio_analysts VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who are the studio analysts for the year 2008-09?
### Response:
|
SELECT studio_analysts FROM table_14902507_2 WHERE year = "2008-09"
|
### Instruction:
CREATE TABLE table_name_45 (
network_brand_name VARCHAR,
company_name VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the network brand name of the company vodafone group in Germany?
### Response:
|
SELECT network_brand_name FROM table_name_45 WHERE company_name = "vodafone group" AND country = "germany"
|
### Instruction:
CREATE TABLE table_18183850_12 (
outcome VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many outcomes were there when the opponent was Aleksandra Wozniak?
### Response:
|
SELECT COUNT(outcome) FROM table_18183850_12 WHERE opponent = "Aleksandra Wozniak"
|
### Instruction:
CREATE TABLE table_12715 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Charlie Wi's To par?
### Response:
|
SELECT "To par" FROM table_12715 WHERE "Player" = 'charlie wi'
|
### Instruction:
CREATE TABLE table_38812 (
"Year" real,
"Album" text,
"Record label" text,
"Info" text,
"Music" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Info has an Album of romeo?
### Response:
|
SELECT "Info" FROM table_38812 WHERE "Album" = 'romeo'
|
### Instruction:
CREATE TABLE table_name_82 (
tail_number VARCHAR,
aircraft VARCHAR,
fatalities VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What tail number was on the an-26, with 25/25 fatalities?
### Response:
|
SELECT tail_number FROM table_name_82 WHERE aircraft = "an-26" AND fatalities = "25/25"
|
### Instruction:
CREATE TABLE table_name_79 (
transfer_window VARCHAR,
country VARCHAR,
transfer_fee VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What transfer window has bra as the country, with 3.4m as the transfer fee?
### Response:
|
SELECT transfer_window FROM table_name_79 WHERE country = "bra" AND transfer_fee = "£3.4m"
|
### Instruction:
CREATE TABLE table_64431 (
"Name" text,
"Hull" real,
"Pennant number" text,
"Status" text,
"Date of commission" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What status does the boat Ajax have?
### Response:
|
SELECT "Status" FROM table_64431 WHERE "Name" = 'ajax'
|
### Instruction:
CREATE TABLE table_name_26 (
height__m_ INTEGER,
prominence__m_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest height with a prominence of 2,349?
### Response:
|
SELECT MIN(height__m_) FROM table_name_26 WHERE prominence__m_ = 2 OFFSET 349
|
### Instruction:
CREATE TABLE table_11336756_6 (
length VARCHAR,
remarks VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What unit of length is being used for the route with 'replaced by us 81' in their remarks section?
### Response:
|
SELECT length FROM table_11336756_6 WHERE remarks = "Replaced by US 81"
|
### Instruction:
CREATE TABLE table_name_79 (
city VARCHAR,
rank VARCHAR,
airport VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What city is ranked greater than 6, and the airport is St. Petersburg/Clearwater (PIE)
### Response:
|
SELECT city FROM table_name_79 WHERE rank > 6 AND airport = "st. petersburg/clearwater (pie)"
|
### Instruction:
CREATE TABLE table_name_19 (
attendance VARCHAR,
week VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Attendance has a Week smaller than 8, and an Opponent of philadelphia eagles?
### Response:
|
SELECT attendance FROM table_name_19 WHERE week < 8 AND opponent = "philadelphia eagles"
|
### Instruction:
CREATE TABLE table_11365528_2 (
location VARCHAR,
website VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which location belongs to the website, http://www.mudgeerabasoccer.com/?
### Response:
|
SELECT location FROM table_11365528_2 WHERE website = "http://www.mudgeerabasoccer.com/"
|
### Instruction:
CREATE TABLE table_1762 (
"Ending" text,
"American" text,
"British" text,
"Australian" text,
"Examples" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which examples are pronounced s in american
### Response:
|
SELECT "Examples" FROM table_1762 WHERE "American" = 'ɪs'
|
### Instruction:
CREATE TABLE table_name_46 (
japanese_name VARCHAR,
korean_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Japanese name of the Province with a Korean name of Chungcheong-Bukdo?
### Response:
|
SELECT japanese_name FROM table_name_46 WHERE korean_name = "chungcheong-bukdo"
|
### Instruction:
CREATE TABLE table_name_14 (
score VARCHAR,
december VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the Score that's got a listing of December that larger than 8 and Record of 25-8-3?
### Response:
|
SELECT score FROM table_name_14 WHERE december > 8 AND record = "25-8-3"
|
### Instruction:
CREATE TABLE table_name_79 (
organisation VARCHAR,
nominated_work_title VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the organisation when the nominated work title is n/a in the year 2005?
### Response:
|
SELECT organisation FROM table_name_79 WHERE nominated_work_title = "n/a" AND year = 2005
|
### Instruction:
CREATE TABLE table_62192 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Eduardo Romero's score?
### Response:
|
SELECT "Score" FROM table_62192 WHERE "Player" = 'eduardo romero'
|
### Instruction:
CREATE TABLE table_name_31 (
venue VARCHAR,
report VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What venue has a EAFF report on June 24, 2007?
### Response:
|
SELECT venue FROM table_name_31 WHERE report = "eaff" AND date = "june 24, 2007"
|
### Instruction:
CREATE TABLE table_name_98 (
position VARCHAR,
series VARCHAR,
season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the value for Position, when the Series is the Macau Grand Prix, and when the Season is before 2007?
### Response:
|
SELECT position FROM table_name_98 WHERE series = "macau grand prix" AND season < 2007
|
### Instruction:
CREATE TABLE table_name_91 (
score VARCHAR,
attendance VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score when the attendance is less than 83 and Raunds Town is the away team?
### Response:
|
SELECT score FROM table_name_91 WHERE attendance < 83 AND away_team = "raunds town"
|
### Instruction:
CREATE TABLE table_12419515_4 (
total_viewers__in_millions_ VARCHAR,
season__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many millions of total viewers watched season #8?
### Response:
|
SELECT total_viewers__in_millions_ FROM table_12419515_4 WHERE season__number = 8
|
### Instruction:
CREATE TABLE table_name_89 (
third_place VARCHAR,
total_wins VARCHAR,
winners VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is third-place with less than 5 total wins with china b as the winners?
### Response:
|
SELECT third_place FROM table_name_89 WHERE total_wins < 5 AND winners = "china b"
|
### Instruction:
CREATE TABLE table_202_76 (
id number,
"member" text,
"party" text,
"term" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which member of the second incarnation of the lachlan was also a nationalist ?
### Response:
|
SELECT "member" FROM table_202_76 WHERE "party" = 'nationalist'
|
### Instruction:
CREATE TABLE table_name_40 (
played INTEGER,
club VARCHAR,
losses VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Played has a Club of atl tico ceuta, and less than 11 Losses?
### Response:
|
SELECT MAX(played) FROM table_name_40 WHERE club = "atlético ceuta" AND losses < 11
|
### Instruction:
CREATE TABLE table_name_14 (
date VARCHAR,
fastest_lap VARCHAR,
race VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the date for jody scheckter being the fastest lap at the french grand prix
### Response:
|
SELECT date FROM table_name_14 WHERE fastest_lap = "jody scheckter" AND race = "french grand prix"
|
### Instruction:
CREATE TABLE table_34866 (
"Year" text,
"Title" text,
"Role" text,
"Producer" text,
"Director" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Director has a Role of melissa?
### Response:
|
SELECT "Director" FROM table_34866 WHERE "Role" = 'melissa'
|
### Instruction:
CREATE TABLE table_23248940_9 (
high_assists VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different high assists results are there for the game played on February 24?
### Response:
|
SELECT COUNT(high_assists) FROM table_23248940_9 WHERE date = "February 24"
|
### Instruction:
CREATE TABLE table_32543 (
"Region" text,
"Host" text,
"Venue" text,
"City" text,
"State" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What state is the city of Ruston in?
### Response:
|
SELECT "State" FROM table_32543 WHERE "City" = 'ruston'
|
### Instruction:
CREATE TABLE table_48896 (
"Date" text,
"Place" text,
"Race winners" text,
"GP winner" text,
"Source" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the source on 6 September?
### Response:
|
SELECT "Source" FROM table_48896 WHERE "Date" = '6 september'
|
### Instruction:
CREATE TABLE table_name_85 (
original_air_date VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Original air date for the episode with a Production code of 07-00-107?
### Response:
|
SELECT original_air_date FROM table_name_85 WHERE production_code = "07-00-107"
|
### Instruction:
CREATE TABLE table_name_45 (
goals_conceded VARCHAR,
wins VARCHAR,
draws VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of goals of the club with 4 wins and less than 0 draws?
### Response:
|
SELECT COUNT(goals_conceded) FROM table_name_45 WHERE wins = 4 AND draws < 0
|
### Instruction:
CREATE TABLE table_name_15 (
joined VARCHAR,
conference_championships VARCHAR,
nickname VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the year joined with a Conference championships of 5, and a Nickname of wolfpack?
### Response:
|
SELECT joined FROM table_name_15 WHERE conference_championships = 5 AND nickname = "wolfpack"
|
### Instruction:
CREATE TABLE table_name_15 (
paul_mccartney VARCHAR,
linda_mccartney VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Paul McCartney has a Linda McCartney of keyboards or drum?
### Response:
|
SELECT paul_mccartney FROM table_name_15 WHERE linda_mccartney = "keyboards or drum"
|
### Instruction:
CREATE TABLE table_11844 (
"Draw" real,
"Artist" text,
"Song" text,
"Points" real,
"Place" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times was the points 18?
### Response:
|
SELECT COUNT("Place") FROM table_11844 WHERE "Points" = '18'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.