instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_23281862_6 (
location_attendance VARCHAR,
high_points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the game in which Carl Landry (25) did the most high points played?
### Response:
| SELECT location_attendance FROM table_23281862_6 WHERE high_points = "Carl Landry (25)" |
### Instruction:
CREATE TABLE table_38216 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which competition was in Dubai?
### Response:
| SELECT "Competition" FROM table_38216 WHERE "Venue" = 'dubai' |
### Instruction:
CREATE TABLE table_74646 (
"Entrant" text,
"Constructor" text,
"Chassis" text,
"Engine" text,
"Driver" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What chassis does the shadow built car use?
### Response:
| SELECT "Chassis" FROM table_74646 WHERE "Constructor" = 'shadow' |
### Instruction:
CREATE TABLE table_13595 (
"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 the to par of player hunter mahan?
### Response:
| SELECT "To par" FROM table_13595 WHERE "Player" = 'hunter mahan' |
### Instruction:
CREATE TABLE table_40637 (
"Year" real,
"Award" text,
"Category" text,
"Nomination" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which award is in the category of best music video?
### Response:
| SELECT "Award" FROM table_40637 WHERE "Category" = 'best music video' |
### Instruction:
CREATE TABLE table_28243323_1 (
basis_for_team_song VARCHAR,
writer_composer VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the team song written by ken walther?
### Response:
| SELECT basis_for_team_song FROM table_28243323_1 WHERE writer_composer = "Ken Walther" |
### Instruction:
CREATE TABLE table_name_6 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average 2007 value for a 2006 of 2.8 and 2009 under 20?
### Response:
| SELECT AVG(2007) FROM table_name_6 WHERE 2009 < 20 AND 2006 = 2.8 |
### Instruction:
CREATE TABLE table_name_88 (
margin VARCHAR,
year VARCHAR,
runner_s__up VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What margin was in after 1981, and was Roberto De Vicenzo runner-up?
### Response:
| SELECT margin FROM table_name_88 WHERE year > 1981 AND runner_s__up = "roberto de vicenzo" |
### Instruction:
CREATE TABLE table_name_13 (
winner VARCHAR,
runner_up VARCHAR,
season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Winner has a Runner-up of larne, and a Season of 2003 04?
### Response:
| SELECT winner FROM table_name_13 WHERE runner_up = "larne" AND season = "2003–04" |
### Instruction:
CREATE TABLE table_67432 (
"Ranking" real,
"Nationality" text,
"Name" text,
"Years" text,
"Goals" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What years had a ranking of 1?
### Response:
| SELECT "Years" FROM table_67432 WHERE "Ranking" = '1' |
### Instruction:
CREATE TABLE table_name_16 (
first_us_tour_cast VARCHAR,
original_broadway_cast VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What shows as the First US Tour Cast when the Original Broadway Cast was Sarah Bolt?
### Response:
| SELECT first_us_tour_cast FROM table_name_16 WHERE original_broadway_cast = "sarah bolt" |
### Instruction:
CREATE TABLE table_8194 (
"Date" text,
"Home" text,
"Score" text,
"Away" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date for the game where Platense was the home side?
### Response:
| SELECT "Date" FROM table_8194 WHERE "Home" = 'platense' |
### Instruction:
CREATE TABLE table_27734577_7 (
team VARCHAR,
location_attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every team with location attendance of Philips Arena 12,140?
### Response:
| SELECT team FROM table_27734577_7 WHERE location_attendance = "Philips Arena 12,140" |
### Instruction:
CREATE TABLE table_8710 (
"Developer(s)" text,
"Release date" text,
"Required OS" text,
"Payment" text,
"Type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Release date has a Type of 2d?
### Response:
| SELECT "Release date" FROM table_8710 WHERE "Type" = '2d' |
### Instruction:
CREATE TABLE table_69816 (
"Country" text,
"Chart" text,
"Period" text,
"Peak position" text,
"Sales" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the sales with peak position of #24
### Response:
| SELECT "Sales" FROM table_69816 WHERE "Peak position" = '#24' |
### Instruction:
CREATE TABLE table_44671 (
"Date" text,
"Time" text,
"Home" text,
"Geust" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Geust, when Result is 0:9?
### Response:
| SELECT "Geust" FROM table_44671 WHERE "Result" = '0:9' |
### Instruction:
CREATE TABLE table_11527 (
"Round" real,
"Pick" real,
"Player" text,
"Position" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position does tim barnett play?
### Response:
| SELECT "Position" FROM table_11527 WHERE "Player" = 'tim barnett' |
### Instruction:
CREATE TABLE table_62201 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the result 0 3?
### Response:
| SELECT "Date" FROM table_62201 WHERE "Result" = '0–3' |
### Instruction:
CREATE TABLE table_23563375_11 (
against VARCHAR,
w_l VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was played against when there was a loss and in the gi po round?
### Response:
| SELECT against FROM table_23563375_11 WHERE w_l = "Loss" AND round = "GI PO" |
### Instruction:
CREATE TABLE table_37511 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Attendance on Week 8?
### Response:
| SELECT AVG("Attendance") FROM table_37511 WHERE "Week" = '8' |
### Instruction:
CREATE TABLE table_17061 (
"Player" text,
"Position" text,
"School" text,
"Hometown" text,
"MLB Draft" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The catcher went to what school?
### Response:
| SELECT "School" FROM table_17061 WHERE "Position" = 'Catcher' |
### Instruction:
CREATE TABLE products (
code number,
name text,
price number,
manufacturer number
)
CREATE TABLE manufacturers (
code number,
name text,
headquarter text,
founder text,
revenue number
)
-- Using valid SQLite, answer the following questions for the tables provided ... | SELECT name, price FROM products |
### Instruction:
CREATE TABLE table_name_92 (
david_norris VARCHAR,
michael_d_higgins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the David Norris with a Michael D. Higgins that is 46.2%?
### Response:
| SELECT david_norris FROM table_name_92 WHERE michael_d_higgins = "46.2%" |
### Instruction:
CREATE TABLE table_name_99 (
total INTEGER,
country VARCHAR,
to_par VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Total is the lowest one that has a Country of united states, and a To par of +12?
### Response:
| SELECT MIN(total) FROM table_name_99 WHERE country = "united states" AND to_par = "+12" |
### Instruction:
CREATE TABLE table_name_75 (
streak VARCHAR,
location_attendance VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Streak is in new orleans arena and a Record of 31 33?
### Response:
| SELECT streak FROM table_name_75 WHERE location_attendance = "new orleans arena" AND record = "31–33" |
### Instruction:
CREATE TABLE table_name_45 (
first_elected VARCHAR,
result VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was first elected as the result of a retired republican gain in the district of ohio 21?
### Response:
| SELECT first_elected FROM table_name_45 WHERE result = "retired republican gain" AND district = "ohio 21" |
### Instruction:
CREATE TABLE table_868 (
"Draft Year" real,
"Player" text,
"Position" text,
"Round" real,
"Overall" real,
"NFL Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What kicker was drafted?
### Response:
| SELECT "Player" FROM table_868 WHERE "Position" = 'Kicker' |
### Instruction:
CREATE TABLE table_64377 (
"Rank" real,
"Show" text,
"Episode" text,
"Number of Viewers" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Episode has a Rank of 1?
### Response:
| SELECT "Episode" FROM table_64377 WHERE "Rank" = '1' |
### Instruction:
CREATE TABLE table_12033013_1 (
written_by VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHO WROTE THE STORY WITH THE PRODUCTION CODE OF 1ADK-03
### Response:
| SELECT written_by FROM table_12033013_1 WHERE production_code = "1ADK-03" |
### Instruction:
CREATE TABLE table_name_45 (
ages VARCHAR,
ofsted VARCHAR,
school VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Ages have an Ofsted larger than 106172, and a School of oakgrove school?
### Response:
| SELECT ages FROM table_name_45 WHERE ofsted > 106172 AND school = "oakgrove school" |
### Instruction:
CREATE TABLE table_name_88 (
feature VARCHAR,
starts VARCHAR,
wins VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many features did Adam Carroll win 6 times when the start was larger than 32?
### Response:
| SELECT COUNT(feature) FROM table_name_88 WHERE wins = 6 AND driver = "adam carroll" AND starts > 32 |
### Instruction:
CREATE TABLE table_2490289_1 (
pc_demo VARCHAR,
c64_demo VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What won best pc demo when tower power (camelot) won best c64 demo?
### Response:
| SELECT pc_demo FROM table_2490289_1 WHERE c64_demo = "Tower Power (Camelot)" |
### Instruction:
CREATE TABLE table_name_35 (
fumbles INTEGER,
avg VARCHAR,
yards VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the lowest fumble with an average of less than 5.7 and 236 yards?
### Response:
| SELECT MIN(fumbles) FROM table_name_35 WHERE avg < 5.7 AND yards = 236 |
### Instruction:
CREATE TABLE table_25730123_2 (
field_goals INTEGER,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the least amount of field goals when Frederick L. Conklin played?
### Response:
| SELECT MIN(field_goals) FROM table_25730123_2 WHERE player = "Frederick L. Conklin" |
### Instruction:
CREATE TABLE table_name_73 (
competition_or_tour VARCHAR,
ground VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In which competition or tour was nordsj lland the opponent with a hr Ground?
### Response:
| SELECT competition_or_tour FROM table_name_73 WHERE ground = "hr" AND opponent = "nordsjælland" |
### Instruction:
CREATE TABLE table_name_14 (
nationality VARCHAR,
team VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the nationality of Montreal Impact with Justin Mapp Category:articles with hcards as the player?
### Response:... | SELECT nationality FROM table_name_14 WHERE team = "montreal impact" AND player = "justin mapp category:articles with hcards" |
### Instruction:
CREATE TABLE table_45583 (
"State" text,
"Type" text,
"Name" text,
"Title" text,
"Royal house" text,
"From" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year is Zhong from?
### Response:
| SELECT "From" FROM table_45583 WHERE "Name" = 'zhong' |
### Instruction:
CREATE TABLE table_4324 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the lowest year for 12th position
### Response:
| SELECT MIN("Year") FROM table_4324 WHERE "Position" = '12th' |
### Instruction:
CREATE TABLE table_name_44 (
title VARCHAR,
last_issue VARCHAR,
first_issue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title that was first published in February 2009 and is still ongoing?
### Response:
| SELECT title FROM table_name_44 WHERE last_issue = "ongoing" AND first_issue = "february 2009" |
### Instruction:
CREATE TABLE table_name_50 (
population__2010_11_01_ VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the population as of 11-01-2010 for Bayan County?
### Response:
| SELECT population__2010_11_01_ FROM table_name_50 WHERE name = "bayan county" |
### Instruction:
CREATE TABLE table_name_58 (
pick VARCHAR,
player VARCHAR,
nfl_club VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Pick has a Player of chuck bryant, and an NFL Club of san diego chargers?
### Response:
| SELECT pick FROM table_name_58 WHERE player = "chuck bryant" AND nfl_club = "san diego chargers" |
### Instruction:
CREATE TABLE table_76664 (
"Round #" real,
"Pick" real,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which pick came from Pittsburgh?
### Response:
| SELECT COUNT("Pick") FROM table_76664 WHERE "College" = 'pittsburgh' |
### Instruction:
CREATE TABLE table_name_70 (
march INTEGER,
record VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What day has a record of 25 30 13 and less than 63 points?
### Response:
| SELECT AVG(march) FROM table_name_70 WHERE record = "25–30–13" AND points < 63 |
### Instruction:
CREATE TABLE table_39878 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was the release that was Wrongun as the label?
### Response:
| SELECT "Date" FROM table_39878 WHERE "Label" = 'wrongun' |
### Instruction:
CREATE TABLE table_12005 (
"Year" text,
"Name" text,
"Film" text,
"Song" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which film took place in 2000?
### Response:
| SELECT "Film" FROM table_12005 WHERE "Year" = '2000' |
### Instruction:
CREATE TABLE table_name_7 (
division VARCHAR,
team VARCHAR,
apps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of Division(s), when Team is Chongqing Lifan, and when Apps is greater than 9?
### Response:
| SELECT COUNT(division) FROM table_name_7 WHERE team = "chongqing lifan" AND apps > 9 |
### Instruction:
CREATE TABLE table_47354 (
"Date" text,
"Time" text,
"Opponent" text,
"Location" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the September 22 game played?
### Response:
| SELECT "Location" FROM table_47354 WHERE "Date" = 'september 22' |
### Instruction:
CREATE TABLE table_5129 (
"Race" text,
"Length" text,
"Class" text,
"Circuit" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the length of the race on August 15?
### Response:
| SELECT "Length" FROM table_5129 WHERE "Date" = 'august 15' |
### Instruction:
CREATE TABLE table_name_29 (
points INTEGER,
opponent VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total Points for the Opponent of @ New Jersey Devils and a Game bigger than 7?
### Response:
| SELECT SUM(points) FROM table_name_29 WHERE opponent = "@ new jersey devils" AND game > 7 |
### Instruction:
CREATE TABLE table_29215 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What college did the player who played DE go to?
### Response:
| SELECT "College" FROM table_29215 WHERE "Position" = 'DE' |
### Instruction:
CREATE TABLE table_63350 (
"House" text,
"Abbr." text,
"Type" text,
"Colour" text,
"Boarding/Day" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which type has a color of Dark Blue?
### Response:
| SELECT "Type" FROM table_63350 WHERE "Colour" = 'dark blue' |
### Instruction:
CREATE TABLE table_1341843_10 (
candidates VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was featured in the election of charles edward bennett redistricted from 2nd?
### Response:
| SELECT candidates FROM table_1341843_10 WHERE incumbent = "Charles Edward Bennett Redistricted from 2nd" |
### Instruction:
CREATE TABLE table_25271777_1 (
index INTEGER,
forcible_rape VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the largest index the year/s forcible rapes numbered 1084?
### Response:
| SELECT MAX(index) FROM table_25271777_1 WHERE forcible_rape = 1084 |
### Instruction:
CREATE TABLE table_80385 (
"Team" text,
"Manager" text,
"Captain" text,
"Kit manufacturer" text,
"Shirt sponsor" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which manager has Manchester City as the team?
### Response:
| SELECT "Manager" FROM table_80385 WHERE "Team" = 'manchester city' |
### Instruction:
CREATE TABLE table_79635 (
"Year" real,
"Title" text,
"US Country" text,
"RIAA" text,
"Label" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What label had the album after 1978?
### Response:
| SELECT "Label" FROM table_79635 WHERE "Year" > '1978' |
### Instruction:
CREATE TABLE table_9715 (
"Date" text,
"City" text,
"Event" text,
"Winner" text,
"Prize" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Winner of the Event in Panama City?
### Response:
| SELECT "Winner" FROM table_9715 WHERE "City" = 'panama city' |
### Instruction:
CREATE TABLE table_79074 (
"Number" real,
"Year Start" real,
"Year End" real,
"Name" text,
"Home Club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Year Start has a Number of 28?
### Response:
| SELECT MAX("Year Start") FROM table_79074 WHERE "Number" = '28' |
### Instruction:
CREATE TABLE table_48350 (
"Year" real,
"Award" text,
"Category" text,
"Nomination" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which award is for the category Best New Artist?
### Response:
| SELECT "Award" FROM table_48350 WHERE "Category" = 'best new artist' |
### Instruction:
CREATE TABLE table_23248940_10 (
high_rebounds VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people had high rebounds during the game with a record of 34-32?
### Response:
| SELECT COUNT(high_rebounds) FROM table_23248940_10 WHERE record = "34-32" |
### Instruction:
CREATE TABLE products (
code number,
name text,
price number,
manufacturer number
)
CREATE TABLE manufacturers (
code number,
name text,
headquarter text,
founder text,
revenue number
)
-- Using valid SQLite, answer the following questions for the tables provided ... | SELECT founder FROM manufacturers WHERE name = 'Sony' |
### Instruction:
CREATE TABLE table_name_64 (
high_score VARCHAR,
strike_rate VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Matthew Hoggard's high score when he had a strike rate of n/a?
### Response:
| SELECT high_score FROM table_name_64 WHERE strike_rate = "n/a" AND player = "matthew hoggard" |
### Instruction:
CREATE TABLE table_name_73 (
screen_size__inch_ VARCHAR,
intro_year VARCHAR,
model VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the size of the screen that came out in 2006 and is iliad
### Response:
| SELECT screen_size__inch_ FROM table_name_73 WHERE intro_year = "2006" AND model = "iliad" |
### Instruction:
CREATE TABLE table_18324 (
"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.
-- When was the earliest first election?
### Response:
| SELECT MIN("First elected") FROM table_18324 |
### Instruction:
CREATE TABLE table_name_74 (
number_of_deputies INTEGER,
percentage_of_votes VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of deputies with 94.2% of the votes?
### Response:
| SELECT SUM(number_of_deputies) FROM table_name_74 WHERE percentage_of_votes = "94.2%" |
### Instruction:
CREATE TABLE table_7381 (
"Pick" real,
"Player" text,
"Country of origin*" text,
"PBA team" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What pick was play Jason Webb?
### Response:
| SELECT MAX("Pick") FROM table_7381 WHERE "Player" = 'jason webb' |
### Instruction:
CREATE TABLE table_18974269_1 (
player VARCHAR,
original_season VARCHAR,
gender VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the female contestant on the Original season of Fresh Meat?
### Response:
| SELECT player FROM table_18974269_1 WHERE original_season = "Fresh Meat" AND gender = "Female" |
### Instruction:
CREATE TABLE table_name_51 (
games INTEGER,
goals VARCHAR,
goal_ratio VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What lowest games have 20 goals and a Goal Ratio smaller than 0.14?
### Response:
| SELECT MIN(games) FROM table_name_51 WHERE goals = 20 AND goal_ratio < 0.14 |
### Instruction:
CREATE TABLE table_63472 (
"Rank" real,
"Time" text,
"Athlete" text,
"Date" text,
"Place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What athlete has a Grenoble place?
### Response:
| SELECT "Athlete" FROM table_63472 WHERE "Place" = 'grenoble' |
### Instruction:
CREATE TABLE table_name_2 (
engine VARCHAR,
driver VARCHAR,
class VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What c class engine did philipp eng and team hs technik motorsport use?
### Response:
| SELECT engine FROM table_name_2 WHERE class = "c" AND team = "hs technik motorsport" AND driver = "philipp eng" |
### Instruction:
CREATE TABLE table_5838 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Save" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which score has a save of Smith (25)?
### Response:
| SELECT "Score" FROM table_5838 WHERE "Save" = 'smith (25)' |
### Instruction:
CREATE TABLE table_18277458_2 (
ticket_sold___available VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many tickets are sold for the Carver-Hawkeye Arena?
### Response:
| SELECT ticket_sold___available FROM table_18277458_2 WHERE venue = "Carver-Hawkeye Arena" |
### Instruction:
CREATE TABLE table_name_6 (
number_of_electorates__2009_ INTEGER,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the electorates in 2009 for Modi Nagar?
### Response:
| SELECT AVG(number_of_electorates__2009_) FROM table_name_6 WHERE name = "modi nagar" |
### Instruction:
CREATE TABLE table_52986 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Grid did Alain Prost drive on?
### Response:
| SELECT SUM("Grid") FROM table_52986 WHERE "Driver" = 'alain prost' |
### Instruction:
CREATE TABLE table_76114 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Player has a College that is alberta?
### Response:
| SELECT "Player" FROM table_76114 WHERE "College" = 'alberta' |
### Instruction:
CREATE TABLE table_203_157 (
id number,
"year" number,
"film" text,
"role" text,
"language" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was neha 's last film ?
### Response:
| SELECT "film" FROM table_203_157 ORDER BY id DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_18600760_13 (
ansi_code VARCHAR,
latitude VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many places associated with latitude 48.247662?
### Response:
| SELECT COUNT(ansi_code) FROM table_18600760_13 WHERE latitude = "48.247662" |
### Instruction:
CREATE TABLE table_52334 (
"Rank" real,
"Airline" text,
"Country" text,
"Remarks" text,
"Alliance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the airline for rank of 4
### Response:
| SELECT "Airline" FROM table_52334 WHERE "Rank" = '4' |
### Instruction:
CREATE TABLE table_name_89 (
draws INTEGER,
goals_against VARCHAR,
wins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most draws when goals against is more than 56 and wins is more than 14
### Response:
| SELECT MAX(draws) FROM table_name_89 WHERE goals_against > 56 AND wins > 14 |
### Instruction:
CREATE TABLE table_name_53 (
acquisition_via VARCHAR,
position VARCHAR,
school_club_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How did the School/Club Team of Manuel Luis Quezon acquire their Forward?
### Response:
| SELECT acquisition_via FROM table_name_53 WHERE position = "forward" AND school_club_team = "manuel luis quezon" |
### Instruction:
CREATE TABLE table_15851155_1 (
enrollment INTEGER,
school VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the minimum enrollment for montana tech of the university of montana
### Response:
| SELECT MIN(enrollment) FROM table_15851155_1 WHERE school = "Montana Tech of the University of Montana" |
### Instruction:
CREATE TABLE table_79928 (
"Election" text,
"Votes" real,
"Vote %" real,
"Seats" real,
"Place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the vote % for seats of 9
### Response:
| SELECT "Vote %" FROM table_79928 WHERE "Seats" = '9' |
### Instruction:
CREATE TABLE table_9281 (
"Date" text,
"Opponent" text,
"Score" text,
"Result" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Record has a Date of june 26?
### Response:
| SELECT "Record" FROM table_9281 WHERE "Date" = 'june 26' |
### Instruction:
CREATE TABLE table_71428 (
"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.
-- Name the language for trotta
### Response:
| SELECT "Language" FROM table_71428 WHERE "Original title" = 'trotta' |
### Instruction:
CREATE TABLE table_79889 (
"Category" text,
"Film" text,
"Director(s)" text,
"Country" text,
"Nominating Festival" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What film was filmed in Spain?
### Response:
| SELECT "Film" FROM table_79889 WHERE "Country" = 'spain' |
### Instruction:
CREATE TABLE table_name_52 (
score VARCHAR,
date VARCHAR,
home VARCHAR,
decision VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score on December 3 when Detroit was the home team and Legace took the decision?
### Respo... | SELECT score FROM table_name_52 WHERE home = "detroit" AND decision = "legace" AND date = "december 3" |
### Instruction:
CREATE TABLE table_14952 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the visitor of the game on March 7?
### Response:
| SELECT "Visitor" FROM table_14952 WHERE "Date" = 'march 7' |
### Instruction:
CREATE TABLE table_42714 (
"State" text,
"Type" text,
"Name" text,
"Title" text,
"Royal house" text,
"From" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title for YI?
### Response:
| SELECT "Title" FROM table_42714 WHERE "Name" = 'yi' |
### Instruction:
CREATE TABLE table_name_7 (
capital VARCHAR,
area_in_1000km²__1930_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- tell me the name of the capital with an area of 20,4.
### Response:
| SELECT capital FROM table_name_7 WHERE area_in_1000km²__1930_ = "20,4" |
### Instruction:
CREATE TABLE table_name_39 (
points INTEGER,
equipment VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Points, when Equipment was 'Zabel-BSU', and when Position was 42?
### Response:
| SELECT SUM(points) FROM table_name_39 WHERE equipment = "zabel-bsu" AND position = 42 |
### Instruction:
CREATE TABLE table_46031 (
"Type" text,
"Name" text,
"Title" text,
"Royal house" text,
"From" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What royal house did Shaokang belong to?
### Response:
| SELECT "Royal house" FROM table_46031 WHERE "Name" = 'shaokang' |
### Instruction:
CREATE TABLE table_75063 (
"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 date of the game that had a visitor of Chicago?
### Response:
| SELECT "Date" FROM table_75063 WHERE "Visitor" = 'chicago' |
### Instruction:
CREATE TABLE table_name_12 (
began_operation INTEGER,
length__km_ VARCHAR,
stations VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average operation beginning with a length of ampang and over 27 stations?
### Response:
| SELECT AVG(began_operation) FROM table_name_12 WHERE length__km_ = "ampang" AND stations > 27 |
### Instruction:
CREATE TABLE table_17467578_1 (
original_airdate VARCHAR,
episode__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the original air date of episode 8? Answer: Dec. 21, 2006
### Response:
| SELECT COUNT(original_airdate) FROM table_17467578_1 WHERE episode__number = 8 |
### Instruction:
CREATE TABLE table_204_981 (
id number,
"ep#" number,
"title" text,
"broadcast date" text,
"written by" text,
"directed by" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many episodes are there total ?
### Response:
| SELECT COUNT("ep#") FROM table_204_981 |
### Instruction:
CREATE TABLE table_17035 (
"Player" text,
"Position" text,
"School" text,
"Hometown" text,
"MLB Draft" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position does Matt Hobgood play?
### Response:
| SELECT "Position" FROM table_17035 WHERE "Player" = 'Matt Hobgood' |
### Instruction:
CREATE TABLE table_name_71 (
home_team VARCHAR,
date VARCHAR,
tie_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the home team on 8 January 1946 with a tie no of 4?
### Response:
| SELECT home_team FROM table_name_71 WHERE date = "8 january 1946" AND tie_no = "4" |
### Instruction:
CREATE TABLE table_35362 (
"Year" real,
"Pick" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the pick in 2004?
### Response:
| SELECT "Pick" FROM table_35362 WHERE "Year" = '2004' |
### Instruction:
CREATE TABLE table_27214 (
"Number" real,
"Name" text,
"Titles" text,
"Date" text,
"Opponent" text,
"Result" text,
"Defenses" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most number
### Response:
| SELECT MAX("Number") FROM table_27214 |
### Instruction:
CREATE TABLE table_204_937 (
id number,
"rank" number,
"lane" number,
"athlete" text,
"time" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- name the only athlete from sri lanka .
### Response:
| SELECT "athlete" FROM table_204_937 WHERE "athlete" = 'sri' |
### Instruction:
CREATE TABLE table_27615445_1 (
audition_venue VARCHAR,
guest_fourth_judge VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the audition venue where Peninha was the guest fourth judge?
### Response:
| SELECT audition_venue FROM table_27615445_1 WHERE guest_fourth_judge = "Peninha" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.