instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_204_905 (
id number,
"team" text,
"wins" number,
"losses" number,
"win %" number,
"gb" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the only team to win more than 100 games ?
### Response:
| SELECT "team" FROM table_204_905 WHERE "wins" > 100 |
### Instruction:
CREATE TABLE table_13788 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest week that has carolina panthers as the opponent?
### Response:
| SELECT MAX("Week") FROM table_13788 WHERE "Opponent" = 'carolina panthers' |
### Instruction:
CREATE TABLE table_70991 (
"Year" text,
"Venue" text,
"Winners" text,
"2nd place" text,
"3rd place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won when Karol Z bik came in 2nd?
### Response:
| SELECT "Winners" FROM table_70991 WHERE "2nd place" = 'karol ząbik' |
### Instruction:
CREATE TABLE table_29226 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the position of cfl team saskatchewan (7)?
### Response:
| SELECT "Position" FROM table_29226 WHERE "CFL Team" = 'Saskatchewan (7)' |
### Instruction:
CREATE TABLE table_204_243 (
id number,
"year" number,
"album" text,
"song" text,
"duration" text,
"artist" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in which years did he release more than 2 albums ?
### Response:
| SELECT "year" FROM table_204_243 GROUP BY "year" HAVING COUNT("album") > 2 |
### Instruction:
CREATE TABLE table_name_10 (
runner_s__up VARCHAR,
margin_of_victory VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the runner(s)-up for the Lady Carling Open with 3 strokes margin of victory?
### Response:
| SELECT runner_s__up FROM table_name_10 WHERE margin_of_victory = "3 strokes" AND tournament = "lady carling open" |
### Instruction:
CREATE TABLE table_67253 (
"Institution" text,
"Location" text,
"Nickname" text,
"Current Conference" text,
"Classification" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the nickname of the school located in Manchester, Ne... | SELECT "Nickname" FROM table_67253 WHERE "Location" = 'manchester, new hampshire' |
### Instruction:
CREATE TABLE table_76883 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games have a score of 85-92?
### Response:
| SELECT COUNT("Game") FROM table_76883 WHERE "Score" = '85-92' |
### Instruction:
CREATE TABLE table_48531 (
"Class" text,
"Part 1" text,
"Part 2" text,
"Part 3" text,
"Part 4" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Part 4, when Part 2 is 'batt'?
### Response:
| SELECT "Part 4" FROM table_48531 WHERE "Part 2" = 'batt' |
### Instruction:
CREATE TABLE table_204_155 (
id number,
"rank" number,
"heat" number,
"athlete" text,
"nationality" text,
"time" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which country ranks the least ?
### Response:
| SELECT "nationality" FROM table_204_155 ORDER BY "rank" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_23575917_4 (
davids_team VARCHAR,
lees_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is on the David's Team for the episode with the Lees Team of Jack Dee and Peter Serafinowicz
### Response:
| SELECT davids_team FROM table_23575917_4 WHERE lees_team = "Jack Dee and Peter Serafinowicz" |
### Instruction:
CREATE TABLE table_32895 (
"Region" text,
"Host" text,
"Venue" text,
"City" text,
"State" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What venue is located in Indiana and hosted at Purdue University?
### Response:
| SELECT "Venue" FROM table_32895 WHERE "State" = 'indiana' AND "Host" = 'purdue university' |
### Instruction:
CREATE TABLE table_name_20 (
race VARCHAR,
date VARCHAR,
event VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Race has a Date of 31st may 1953, and an Event of grand prix de l'albigeois final?
### Response:
| SELECT race FROM table_name_20 WHERE date = "31st may 1953" AND event = "grand prix de l'albigeois final" |
### Instruction:
CREATE TABLE employees (
department_id VARCHAR
)
CREATE TABLE departments (
department_name VARCHAR,
department_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- display the department name and number of employees in each of the departm... | SELECT T2.department_name, COUNT(*) FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id GROUP BY T2.department_name |
### Instruction:
CREATE TABLE table_32197 (
"Round" real,
"Overall" real,
"Player" text,
"Position" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which was the lowest overall that Wisconsin's team managed?
### Response:
| SELECT MIN("Overall") FROM table_32197 WHERE "School/Club Team" = 'wisconsin' |
### Instruction:
CREATE TABLE table_name_69 (
rank INTEGER,
year_opened VARCHAR,
main_span_metres VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest rank from the year greater than 2010 with 430 main span metres?
### Response:
| SELECT MAX(rank) FROM table_name_69 WHERE year_opened > 2010 AND main_span_metres = "430" |
### Instruction:
CREATE TABLE table_53812 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the record of the team from chicago?
##... | SELECT "Record" FROM table_53812 WHERE "Home" = 'chicago' |
### Instruction:
CREATE TABLE table_19995378_1 (
no_in_season VARCHAR,
us_viewers__millions_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many episodes with different series numbers were seen by 8.69 people in the US?
### Response:
| SELECT COUNT(no_in_season) FROM table_19995378_1 WHERE us_viewers__millions_ = "8.69" |
### Instruction:
CREATE TABLE table_name_8 (
points INTEGER,
time_retired VARCHAR,
laps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many average points did the player with a time/retired of +16.789 and have more laps than 68 have?
### Response:
| SELECT AVG(points) FROM table_name_8 WHERE time_retired = "+16.789" AND laps > 68 |
### Instruction:
CREATE TABLE table_name_54 (
constructor VARCHAR,
rounds VARCHAR,
chassis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the constructor on the team with 8 rounds and a chassis of 156 158 1512?
### Response:
| SELECT constructor FROM table_name_54 WHERE rounds = "8" AND chassis = "156 158 1512" |
### Instruction:
CREATE TABLE table_14037 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the score when the away team is tottenham hotspur?
### Response:
| SELECT "Score" FROM table_14037 WHERE "Away team" = 'tottenham hotspur' |
### Instruction:
CREATE TABLE table_name_63 (
hdr_output___exr_ VARCHAR,
_hdr VARCHAR,
_logluv_ VARCHAR,
_etc_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the HDR Output that has a name of name?
### Response:
| SELECT hdr_output___exr_, _hdr, _logluv_, _etc_ FROM table_name_63 WHERE "name" = "name" |
### Instruction:
CREATE TABLE table_204_344 (
id number,
"player" text,
"games played" number,
"field goals" number,
"free throws" number,
"points" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total amount of free throws by ralf ... | SELECT "free throws" FROM table_204_344 WHERE "player" = 'ralf woods' |
### Instruction:
CREATE TABLE table_77724 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Record when Buffalo is at Home?
###... | SELECT "Record" FROM table_77724 WHERE "Home" = 'buffalo' |
### Instruction:
CREATE TABLE table_name_74 (
time VARCHAR,
opponent VARCHAR,
res VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the time of the match with a win result, more than 2 rounds, and Makoto Ishikawa as the opponent?
... | SELECT time FROM table_name_74 WHERE res = "win" AND round > 2 AND opponent = "makoto ishikawa" |
### Instruction:
CREATE TABLE table_53595 (
"Date" text,
"Tournament" text,
"Round" text,
"Ground" text,
"Opponent" text,
"Score 1" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which ground's round was 33?
### Response:
| SELECT "Ground" FROM table_53595 WHERE "Round" = '33' |
### Instruction:
CREATE TABLE table_12359 (
"Model" text,
"Chassis code" text,
"Production time" text,
"Number built" real,
"Engine" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the chassis code for the 280s model?
### Response:
| SELECT "Chassis code" FROM table_12359 WHERE "Model" = '280s' |
### Instruction:
CREATE TABLE table_203_14 (
id number,
"#" number,
"date" text,
"venue" text,
"opponent" text,
"score" text,
"result" text,
"competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- when was his last match ?
### Res... | SELECT "date" FROM table_203_14 ORDER BY id DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_73145 (
"Tournament" text,
"Also currently known as" text,
"City" text,
"Country" text,
"Court surface" text,
"Defending champion" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What tournament is in katowice?... | SELECT "Tournament" FROM table_73145 WHERE "City" = 'Katowice' |
### Instruction:
CREATE TABLE table_203_526 (
id number,
"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.
-- how many teams were in the play offs ?
### Response:
| SELECT COUNT("team 1") + COUNT("team 2") FROM table_203_526 |
### Instruction:
CREATE TABLE table_name_72 (
altitude__meters_ VARCHAR,
range VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Altitude (meters) associated with a rank smaller than 10, and the range M hlig-Hofmann Mountains?
##... | SELECT COUNT(altitude__meters_) FROM table_name_72 WHERE range = "mühlig-hofmann mountains" AND rank < 10 |
### Instruction:
CREATE TABLE table_name_1 (
second INTEGER,
first VARCHAR,
total VARCHAR,
premier VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Second, when Total is less than 70, when Premier is less than 20, and when First is g... | SELECT SUM(second) FROM table_name_1 WHERE total < 70 AND premier < 20 AND first > 18 |
### Instruction:
CREATE TABLE assignedto (
scientist number,
project text
)
CREATE TABLE scientists (
ssn number,
name text
)
CREATE TABLE projects (
code text,
name text,
hours number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the nam... | SELECT name FROM projects WHERE hours > (SELECT AVG(hours) FROM projects) |
### Instruction:
CREATE TABLE table_14499 (
"Name" text,
"Years" text,
"Gender" text,
"Area" text,
"Authority" text,
"Decile" real,
"Roll" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what area is Morven School?
### Response:
| SELECT "Area" FROM table_14499 WHERE "Name" = 'morven school' |
### Instruction:
CREATE TABLE table_79057 (
"Player" text,
"Round" real,
"Pick" real,
"Position" text,
"NFL Club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest pick that has arizona cardinals as the NFL club?
### Response:
| SELECT MIN("Pick") FROM table_79057 WHERE "NFL Club" = 'arizona cardinals' |
### Instruction:
CREATE TABLE table_22747 (
"Player" text,
"Original Season" text,
"Gender" text,
"Eliminated" text,
"Placing" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the gender of the contestant on RR: South Pacific season?
### Re... | SELECT "Gender" FROM table_22747 WHERE "Original Season" = 'RR: South Pacific' |
### Instruction:
CREATE TABLE table_4069 (
"Category" text,
"Player" text,
"Team" text,
"Games played" real,
"Totals" text,
"Average" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the games played when the category is points per game?
... | SELECT MIN("Games played") FROM table_4069 WHERE "Category" = 'Points per game' |
### Instruction:
CREATE TABLE customers (
customer_details VARCHAR,
customer_id VARCHAR
)
CREATE TABLE policies (
customer_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the name of the customer that has been involved in the most policies.
###... | SELECT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id GROUP BY t2.customer_details ORDER BY COUNT(*) DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_50356 (
"Team" text,
"Head Coach" text,
"Team Captain" text,
"Kitmaker" text,
"Shirt sponsor" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the kitmaker for the team whose team captain is Robert Enke?
##... | SELECT "Kitmaker" FROM table_50356 WHERE "Team Captain" = 'robert enke' |
### Instruction:
CREATE TABLE table_44811 (
"Date" text,
"Score" text,
"Set 1" text,
"Set 2" text,
"Set 3" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was the total 75 45?
### Response:
| SELECT "Date" FROM table_44811 WHERE "Total" = '75–45' |
### Instruction:
CREATE TABLE table_19853 (
"Category" text,
"Type" text,
"Attribute" text,
"Description" text,
"Bubbles" text,
"Cancelable" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many descriptions are there when the attribute is 'on... | SELECT COUNT("Description") FROM table_19853 WHERE "Attribute" = 'ondragstart' |
### Instruction:
CREATE TABLE table_71553 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What venue was the 11 September 2012 game?
### Response:
| SELECT "Venue" FROM table_71553 WHERE "Date" = '11 september 2012' |
### Instruction:
CREATE TABLE table_203_611 (
id number,
"player" text,
"hr" number,
"date reached 500 hr" text,
"team" text,
"seasons played" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which player has the highest number of career home runs... | SELECT "player" FROM table_203_611 ORDER BY "hr" DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_20632 (
"#" real,
"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.
-- Name the most attendance for number 4
### Response:... | SELECT MAX("Attendance") FROM table_20632 WHERE "#" = '4' |
### Instruction:
CREATE TABLE table_name_75 (
socket VARCHAR,
release_price___usd__ VARCHAR,
turbo VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which socket goes with the item with release price of $378 and turbo of 6/6/8/9?
### Response:
| SELECT socket FROM table_name_75 WHERE release_price___usd__ = "$378" AND turbo = "6/6/8/9" |
### Instruction:
CREATE TABLE table_name_34 (
genre VARCHAR,
developer VARCHAR,
japanese_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What genre is the Banpresto game tittled Ranma : netsuretsu kakutouhen?
### Response:
| SELECT genre FROM table_name_34 WHERE developer = "banpresto" AND japanese_title = "ranma ½: netsuretsu kakutouhen" |
### Instruction:
CREATE TABLE table_53028 (
"Name" text,
"Real Name" text,
"Birthdate" text,
"Costume Role" text,
"Defining characteristics" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the member with a costume Role of monster... | SELECT "Name" FROM table_53028 WHERE "Costume Role" = 'monster' |
### Instruction:
CREATE TABLE table_35636 (
"Date" text,
"City" text,
"Opponent" text,
"Results\u00b9" text,
"Type of game" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the results on September 7?
### Response:
| SELECT "Results\u00b9" FROM table_35636 WHERE "Date" = 'september 7' |
### Instruction:
CREATE TABLE table_19533 (
"Year" real,
"Division" real,
"League" text,
"Regular Season" text,
"Playoffs" text,
"Open Cup" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What regular seasons occurred in 2011?
### Response:
| SELECT "Regular Season" FROM table_19533 WHERE "Year" = '2011' |
### Instruction:
CREATE TABLE table_name_26 (
runner_up VARCHAR,
winning_score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the runner-up when the winning score is 16 (68-70-65-65=268)?
### Response:
| SELECT runner_up FROM table_name_26 WHERE winning_score = −16(68 - 70 - 65 - 65 = 268) |
### Instruction:
CREATE TABLE table_4068 (
"Category" text,
"Player" text,
"Team" text,
"Games played" real,
"Totals" text,
"Average" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the player when the category is listed as fi... | SELECT "Player" FROM table_4068 WHERE "Category" = 'Field goal percentage' |
### Instruction:
CREATE TABLE table_36161 (
"Round" real,
"Player" text,
"Position" text,
"Nationality" text,
"College/Junior/Club Team (League)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Jeremy Duchesne's position?
### Response:
| SELECT "Position" FROM table_36161 WHERE "Player" = 'jeremy duchesne' |
### Instruction:
CREATE TABLE table_8509 (
"White" text,
"Black" text,
"Year" real,
"Result" text,
"Moves" real,
"Tournament" text,
"Opening" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year had 32 moves?
### Response:
| SELECT SUM("Year") FROM table_8509 WHERE "Moves" = '32' |
### Instruction:
CREATE TABLE table_22582663_1 (
seats_contested VARCHAR,
party_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many akhil bharatiya rashtriya azad hind party seats were contested?
### Response:
| SELECT seats_contested FROM table_22582663_1 WHERE party_name = "Akhil Bharatiya Rashtriya Azad Hind Party" |
### Instruction:
CREATE TABLE table_66983 (
"Ship" text,
"Pennant number" text,
"Laid down" text,
"Launched" text,
"Completed" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name what was completed on 12 april 1934
### Response:
| SELECT "Completed" FROM table_66983 WHERE "Launched" = '12 april 1934' |
### Instruction:
CREATE TABLE table_50859 (
"Internet Plan" text,
"Downstream" text,
"Upstream" text,
"Bandwidth Included" text,
"Price" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Bandwidth Included, when Internet Plan is '8mb'?
### Re... | SELECT "Bandwidth Included" FROM table_50859 WHERE "Internet Plan" = '8mb' |
### Instruction:
CREATE TABLE table_name_9 (
round VARCHAR,
mwehl_team VARCHAR,
nhl_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What round did the MWEHL team, Detroit Honeybaked, and the NHL Team Columbus Blue Jackets play?
### Response:
| SELECT round FROM table_name_9 WHERE mwehl_team = "detroit honeybaked" AND nhl_team = "columbus blue jackets" |
### Instruction:
CREATE TABLE table_61966 (
"Rank" text,
"Height" text,
"Name" text,
"Road number" text,
"Type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the dead end type ranked 22?
### Response:
| SELECT "Name" FROM table_61966 WHERE "Type" = 'dead end' AND "Rank" = '22' |
### Instruction:
CREATE TABLE table_name_4 (
network VARCHAR,
games VARCHAR,
title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which network had unknown games and a title of hvem kan sl ylvis hvem kan sl aamodt & kjus?
### Response:
| SELECT network FROM table_name_4 WHERE games = "unknown" AND title = "hvem kan slå ylvis hvem kan slå aamodt & kjus" |
### Instruction:
CREATE TABLE table_name_58 (
affiliation VARCHAR,
owned_since VARCHAR,
channel___tv___rf__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What affiliation has an owned since larger than 1991, and also has a channel (tv/rf) of 42?
### R... | SELECT affiliation FROM table_name_58 WHERE owned_since > 1991 AND channel___tv___rf__ = "42" |
### Instruction:
CREATE TABLE table_40244 (
"Call sign" text,
"Frequency MHz" text,
"City of license" text,
"ERP W" real,
"FCC info" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What call sign has ERP W greater than 197?
### Response:
| SELECT "Call sign" FROM table_40244 WHERE "ERP W" > '197' |
### Instruction:
CREATE TABLE table_name_98 (
laps INTEGER,
time_retired VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of laps with a +1:23.297 time/retired and a grid larger than 4?
### Response:
| SELECT MAX(laps) FROM table_name_98 WHERE time_retired = "+1:23.297" AND grid > 4 |
### Instruction:
CREATE TABLE table_48238 (
"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, when the Catalog is SM 2965-05?
### Response:
| SELECT "Region" FROM table_48238 WHERE "Catalog" = 'sm 2965-05' |
### Instruction:
CREATE TABLE table_name_88 (
league INTEGER,
fa_cup VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest value for League Cup when the League number is greater than 1, no FA Cups, and Brian Deane scoring?
#... | SELECT MIN(league) AS Cup FROM table_name_88 WHERE league > 1 AND name = "brian deane" AND fa_cup < 1 |
### Instruction:
CREATE TABLE table_19149550_7 (
london_borough VARCHAR,
black_caribbean_population VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where are the london borough with the black caribbean population of 17974?
### Response:
| SELECT london_borough FROM table_19149550_7 WHERE black_caribbean_population = 17974 |
### Instruction:
CREATE TABLE table_62543 (
"Time" text,
"Show Name" text,
"Local/Networked" text,
"Ad Freq" text,
"News Freq" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How often are there ads during American Top 40?
### Response:
| SELECT "Ad Freq" FROM table_62543 WHERE "Show Name" = 'american top 40' |
### Instruction:
CREATE TABLE table_204_258 (
id number,
"location" text,
"frequency" number,
"call sign" text,
"network" text,
"call sign meaning" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- name the only station from minot public radio .
... | SELECT "call sign" FROM table_204_258 WHERE "call sign meaning" = 'minot public radio' |
### Instruction:
CREATE TABLE table_59183 (
"Elimination" text,
"Wrestler" text,
"Eliminated by" text,
"Elimination Move" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What time is listed against the Wrestler Jimmy Rave?
### Response... | SELECT "Time" FROM table_59183 WHERE "Wrestler" = 'jimmy rave' |
### Instruction:
CREATE TABLE table_76797 (
"Rank" real,
"Value" text,
"Name" text,
"Source of wealth" text,
"2007 Rank" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What source of wealth has a value of 5726m?
### Response:
| SELECT "Source of wealth" FROM table_76797 WHERE "Value" = '£5726m' |
### Instruction:
CREATE TABLE table_60545 (
"Name" text,
"Pos." text,
"Height" text,
"Weight" text,
"Date of Birth" text,
"Club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Eftychia Karagianni Pos.?
### Response:
| SELECT "Pos." FROM table_60545 WHERE "Name" = 'eftychia karagianni' |
### Instruction:
CREATE TABLE table_name_30 (
home VARCHAR,
date VARCHAR,
geust VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the home team of the match on 21.10.07, which had bsc young boys (asl) as the geust?
### Response:
| SELECT home FROM table_name_30 WHERE date = "21.10.07" AND geust = "bsc young boys (asl)" |
### Instruction:
CREATE TABLE table_name_79 (
week_7_oct_12 VARCHAR,
week_9_oct_26 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Week 7 Oct 12 has a Week 9 Oct 26 of tulsa (7-0)?
### Response:
| SELECT week_7_oct_12 FROM table_name_79 WHERE week_9_oct_26 = "tulsa (7-0)" |
### Instruction:
CREATE TABLE table_50887 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won in 1991?
### Response:
| SELECT "Player" FROM table_50887 WHERE "Year(s) won" = '1991' |
### Instruction:
CREATE TABLE table_name_25 (
games INTEGER,
goals VARCHAR,
league VARCHAR,
manager VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most games for eredivisie when jurrie koolhof is manager when goals are less than 10
### Res... | SELECT MAX(games) FROM table_name_25 WHERE league = "eredivisie" AND manager = "jurrie koolhof" AND goals < 10 |
### Instruction:
CREATE TABLE table_1388 (
"Frequency" text,
"Station" text,
"Operator" text,
"Language" text,
"Genre" text,
"Coverage Area" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the station where the language is tam... | SELECT "Station" FROM table_1388 WHERE "Language" = 'Tamil Malay' |
### Instruction:
CREATE TABLE table_24790 (
"Year (Ceremony)" text,
"English Title" text,
"Vietnamese title" text,
"Director" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every ceremony year for the result of nominee?
### ... | SELECT "Year (Ceremony)" FROM table_24790 WHERE "Result" = 'Nominee' |
### Instruction:
CREATE TABLE table_28715942_5 (
arranger_s_ VARCHAR,
vocal_percussionist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the arranger when the vocal percussionist is Alexei Kalveks and Dave Brennan?
### Response:
| SELECT arranger_s_ FROM table_28715942_5 WHERE vocal_percussionist = "Alexei Kalveks and Dave Brennan" |
### Instruction:
CREATE TABLE table_15906 (
"Member" text,
"Headquarters" text,
"Classification" text,
"Chapters" real,
"Founded" text,
"UCCFS" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the members listed with the sorority classifi... | SELECT "Member" FROM table_15906 WHERE "Classification" = 'Sorority' |
### Instruction:
CREATE TABLE table_1242 (
"Year" real,
"Division" real,
"League" text,
"Regular Season" text,
"Playoffs" text,
"Open Cup" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the regular season from year 2012?
### Response:... | SELECT "Regular Season" FROM table_1242 WHERE "Year" = '2012' |
### Instruction:
CREATE TABLE table_18220102_1 (
award_winning_film VARCHAR,
opening_film VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many award-winning films have the opening film of encounters at the end of the world?
### Response:
| SELECT COUNT(award_winning_film) FROM table_18220102_1 WHERE opening_film = "Encounters at the End of the World" |
### Instruction:
CREATE TABLE table_67883 (
"City" text,
"Province/Region" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what city is RJSN located?
### Response:
| SELECT "City" FROM table_67883 WHERE "ICAO" = 'rjsn' |
### Instruction:
CREATE TABLE table_5510 (
"RBIs" real,
"Player" text,
"Team" text,
"Date" text,
"Opponent" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player is associated with the date July 6, 1949?
### Response:
| SELECT "Player" FROM table_5510 WHERE "Date" = 'july 6, 1949' |
### Instruction:
CREATE TABLE table_59276 (
"Year" real,
"Place" text,
"Gold" text,
"Silver" text,
"Bronze" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what Place was the Silver won by vladimir vesselov ( urs )?
### Response:
| SELECT "Place" FROM table_59276 WHERE "Silver" = 'vladimir vesselov ( urs )' |
### Instruction:
CREATE TABLE table_24613895_1 (
number_of_believers INTEGER,
name_in_syriac VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most number of believers for
### Response:
| SELECT MAX(number_of_believers) FROM table_24613895_1 WHERE name_in_syriac = "ܓܘܝܠܢ" |
### Instruction:
CREATE TABLE table_9928 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE DATE WITH AN AWAY TEAM OF BURTON ALBION?
### Response:
| SELECT "Date" FROM table_9928 WHERE "Away team" = 'burton albion' |
### Instruction:
CREATE TABLE table_15651 (
"Date" text,
"Round" text,
"Opponents" text,
"Result F\u2013A" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the round for southampton opponents
### Response:
| SELECT "Round" FROM table_15651 WHERE "Opponents" = 'southampton' |
### Instruction:
CREATE TABLE table_28178756_1 (
date VARCHAR,
team VARCHAR,
race_time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what day did joe gibbs racing record a time of 1:53:26?
### Response:
| SELECT date FROM table_28178756_1 WHERE team = "Joe Gibbs Racing" AND race_time = "1:53:26" |
### Instruction:
CREATE TABLE table_79186 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For which tie was Scunthorpe United the away team?
### Response:
| SELECT "Tie no" FROM table_79186 WHERE "Away team" = 'scunthorpe united' |
### Instruction:
CREATE TABLE table_name_58 (
raion__district__or_city VARCHAR,
bessarabian_bulgarians VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What city or Raion (district) has 8,600 Bessarabian Bulgarians?
### Response:
| SELECT raion__district__or_city FROM table_name_58 WHERE bessarabian_bulgarians = "8,600" |
### Instruction:
CREATE TABLE table_61241 (
"Date" text,
"Opponent#" text,
"Site" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the results for the game with 82,113 attending?
### Response:
| SELECT "Result" FROM table_61241 WHERE "Attendance" = '82,113' |
### Instruction:
CREATE TABLE table_506 (
"Institution" text,
"Main Campus Location" text,
"Founded" real,
"Mascot" text,
"School Colors" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the mascot for the instition of Kansas city Kansas commu... | SELECT "Mascot" FROM table_506 WHERE "Institution" = 'Kansas City Kansas Community College' |
### Instruction:
CREATE TABLE table_15412 (
"Name" text,
"Entered Office" text,
"Left Office" text,
"Party" text,
"First Minister" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Left Office of cabinet secretary for culture and external a... | SELECT "Name" FROM table_15412 WHERE "Left Office" = 'cabinet secretary for culture and external affairs' |
### Instruction:
CREATE TABLE table_65143 (
"Round" real,
"Pick" real,
"Player" text,
"Nationality" text,
"College/Junior/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is tom cassidy's nationality?
### Response:
| SELECT "Nationality" FROM table_65143 WHERE "Player" = 'tom cassidy' |
### Instruction:
CREATE TABLE table_71509 (
"Date" text,
"Visiting Team" text,
"Final Score" text,
"Host Team" text,
"Stadium" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- At what stadium did the Green Bay Packers play an away game?
### Response... | SELECT "Stadium" FROM table_71509 WHERE "Visiting Team" = 'green bay packers' |
### Instruction:
CREATE TABLE table_34303 (
"Round" real,
"Pick" real,
"Player" text,
"Nationality" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest round of the player from UCLA?
### Response:
| SELECT MIN("Round") FROM table_34303 WHERE "School/Club Team" = 'ucla' |
### Instruction:
CREATE TABLE table_name_48 (
race VARCHAR,
course VARCHAR,
jockey VARCHAR,
margin VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the race when the jockey is frankie dettori, the margin is more than 3 and the course is yarmout... | SELECT race FROM table_name_48 WHERE jockey = "frankie dettori" AND margin > 3 AND course = "yarmouth" |
### Instruction:
CREATE TABLE table_65525 (
"Country" text,
"Builder" text,
"Location" text,
"Ship" text,
"Class / type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the builder of Gannet from the United Kingdom?
### Response:
| SELECT "Builder" FROM table_65525 WHERE "Country" = 'united kingdom' AND "Ship" = 'gannet' |
### Instruction:
CREATE TABLE table_55035 (
"Outcome" text,
"Date" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which outcome has a Opponent of fernando verdasco?
### Response:
| SELECT "Outcome" FROM table_55035 WHERE "Opponent" = 'fernando verdasco' |
### Instruction:
CREATE TABLE table_204_62 (
id number,
"year" number,
"winner" text,
"second" text,
"third" text,
"starters" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which horse finished first in the breeders cup in 1985 ?
### Respons... | SELECT "winner" FROM table_204_62 WHERE "year" = 1985 |
### Instruction:
CREATE TABLE table_1368649_9 (
grand_final_dual_television_commentator VARCHAR,
year_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many grand final dual television commentators were there in 1961?
### Response:
| SELECT COUNT(grand_final_dual_television_commentator) FROM table_1368649_9 WHERE year_s_ = 1961 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.