instruction
stringlengths 212
6.3k
| output
stringlengths 6
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_16201038_5 (
missouri_vs VARCHAR,
overall_record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who are the opponents of Missouri that have an overall record of MU, 3-1?
### Response:
|
SELECT missouri_vs FROM table_16201038_5 WHERE overall_record = "MU, 3-1"
|
### Instruction:
CREATE TABLE table_24192190_1 (
depth VARCHAR,
time__utc_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 11:40:26 is the time (utc) what is the depth?
### Response:
|
SELECT depth FROM table_24192190_1 WHERE time__utc_ = "11:40:26"
|
### Instruction:
CREATE TABLE table_22801331_1 (
opponents INTEGER,
cowboys_points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the fewest points opponents have scored when the Cowboys score 36?
### Response:
|
SELECT MIN(opponents) FROM table_22801331_1 WHERE cowboys_points = 36
|
### Instruction:
CREATE TABLE table_name_36 (
drawn INTEGER,
league_pos VARCHAR,
lost VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the drawn result with a league position of 15th and a lost result that is more than 17?
### Response:
|
SELECT SUM(drawn) FROM table_name_36 WHERE league_pos = "15th" AND lost > 17
|
### Instruction:
CREATE TABLE table_4349 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of Bridgeview, Illinois?
### Response:
|
SELECT "Result" FROM table_4349 WHERE "Venue" = 'bridgeview, illinois'
|
### Instruction:
CREATE TABLE table_name_23 (
height INTEGER,
year_born VARCHAR,
current_club VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How tall was the member of Nymburk, who was born in 1982?
### Response:
|
SELECT MAX(height) FROM table_name_23 WHERE year_born = 1982 AND current_club = "nymburk"
|
### Instruction:
CREATE TABLE table_name_3 (
birth_date VARCHAR,
weight__kg_ VARCHAR,
world_rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the birth date when the weight (kg) is 100 and the world rank is 2?
### Response:
|
SELECT birth_date FROM table_name_3 WHERE weight__kg_ = "100" AND world_rank = "2"
|
### Instruction:
CREATE TABLE table_name_12 (
dist__f_ INTEGER,
jockey VARCHAR,
runners VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total dist with Johnny Murtagh and less than 26 runners?
### Response:
|
SELECT SUM(dist__f_) FROM table_name_12 WHERE jockey = "johnny murtagh" AND runners < 26
|
### Instruction:
CREATE TABLE table_201_25 (
id number,
"party" text,
"leader" text,
"from" text,
"to" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which party has had the most group leaders ?
### Response:
|
SELECT "party" FROM table_201_25 GROUP BY "party" ORDER BY COUNT("leader") DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_name_47 (
production_year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average 2006 value for wheat with a 2005 value greater than 7340?
### Response:
|
SELECT AVG(2006) FROM table_name_47 WHERE production_year = "wheat" AND 2005 > 7340
|
### Instruction:
CREATE TABLE table_name_29 (
rank VARCHAR,
total VARCHAR,
silver VARCHAR,
bronze VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Rank, when Silver is less than 6, when Bronze is greater than 4, and when Total is 10?
### Response:
|
SELECT rank FROM table_name_29 WHERE silver < 6 AND bronze > 4 AND total = 10
|
### Instruction:
CREATE TABLE table_9230 (
"Club" text,
"Location" text,
"Manager" text,
"Kit maker" text,
"Shirt sponsor" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is nac breda club located?
### Response:
|
SELECT "Location" FROM table_9230 WHERE "Club" = 'nac breda'
|
### Instruction:
CREATE TABLE table_5994 (
"Player" text,
"Team" text,
"Date" text,
"Opponent" text,
"Venue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the venue where Chuck Klein played?
### Response:
|
SELECT "Venue" FROM table_5994 WHERE "Player" = 'chuck klein'
|
### Instruction:
CREATE TABLE table_name_96 (
position VARCHAR,
name VARCHAR,
signed VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the position when signed is yes, round is less than 24 and name is charlie hough?
### Response:
|
SELECT position FROM table_name_96 WHERE signed = "yes" AND round < 24 AND name = "charlie hough"
|
### Instruction:
CREATE TABLE table_53229 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What company built the car driven by Tony Brooks?
### Response:
|
SELECT "Constructor" FROM table_53229 WHERE "Driver" = 'tony brooks'
|
### Instruction:
CREATE TABLE table_26340 (
"Team #1" text,
"Points" text,
"Team #2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the points for zamora
### Response:
|
SELECT "Points" FROM table_26340 WHERE "Team #1" = 'Zamora'
|
### Instruction:
CREATE TABLE table_name_55 (
name VARCHAR,
nationality VARCHAR,
rank VARCHAR,
lane VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which one has a rank bigger than 2, lane of 1, and is from Hong Kong?
### Response:
|
SELECT name FROM table_name_55 WHERE rank > 2 AND lane = 1 AND nationality = "hong kong"
|
### Instruction:
CREATE TABLE table_name_61 (
date_of_birth VARCHAR,
pos VARCHAR,
height VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Date of Birth of the CB Player with a Height of m (ft 4in)?
### Response:
|
SELECT date_of_birth FROM table_name_61 WHERE pos = "cb" AND height = "m (ft 4in)"
|
### Instruction:
CREATE TABLE table_15187735_4 (
episode INTEGER,
netflix VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the first episode with a netflix episode code of s02e20?
### Response:
|
SELECT MIN(episode) FROM table_15187735_4 WHERE netflix = "S02E20"
|
### Instruction:
CREATE TABLE table_name_59 (
goal_difference INTEGER,
club VARCHAR,
played VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest goal difference for the club ud alzira, with a played larger than 38?
### Response:
|
SELECT MIN(goal_difference) FROM table_name_59 WHERE club = "ud alzira" AND played > 38
|
### Instruction:
CREATE TABLE table_name_44 (
mandate_end VARCHAR,
office VARCHAR,
name_a VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did Prime Minister Agathe Uwilingiyimana's mandate end?
### Response:
|
SELECT mandate_end FROM table_name_44 WHERE office = "prime minister" AND name_a = "agathe uwilingiyimana"
|
### Instruction:
CREATE TABLE table_name_24 (
score VARCHAR,
decision VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the game that had a record of 26 13 4 2 and a decision of Joseph?
### Response:
|
SELECT score FROM table_name_24 WHERE decision = "joseph" AND record = "26–13–4–2"
|
### Instruction:
CREATE TABLE table_name_99 (
rank VARCHAR,
laps VARCHAR,
qual VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the rank when the laps are fewer than 137 and the qual is 116.470?
### Response:
|
SELECT rank FROM table_name_99 WHERE laps < 137 AND qual = "116.470"
|
### Instruction:
CREATE TABLE table_name_75 (
week INTEGER,
winning_team VARCHAR,
event VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many weeks have a Winning team of yellow team, and an Event of foos it or lose it?
### Response:
|
SELECT SUM(week) FROM table_name_75 WHERE winning_team = "yellow team" AND event = "foos it or lose it"
|
### Instruction:
CREATE TABLE table_name_98 (
programming VARCHAR,
aspect VARCHAR,
psip_short_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Programming has an Aspect of 4:3 and a PSIP Short Name of metvla?
### Response:
|
SELECT programming FROM table_name_98 WHERE aspect = "4:3" AND psip_short_name = "metvla"
|
### Instruction:
CREATE TABLE table_68835 (
"City" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which city has an IATA of AUH?
### Response:
|
SELECT "City" FROM table_68835 WHERE "IATA" = 'auh'
|
### Instruction:
CREATE TABLE table_26036389_1 (
passes_through___district_s VARCHAR,
mdr_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What district does the road with a MDR number of 47 pass through?
### Response:
|
SELECT passes_through___district_s FROM table_26036389_1 WHERE mdr_no = 47
|
### Instruction:
CREATE TABLE table_21377473_7 (
stadium VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 1 - 1 leckie 90+3' is the score what is the stadium?
### Response:
|
SELECT stadium FROM table_21377473_7 WHERE score = "1 - 1 Leckie 90+3'"
|
### Instruction:
CREATE TABLE table_14057 (
"Gene" text,
"Route of administration" text,
"Phase" text,
"Subject number" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which gene has the subject number 21?
### Response:
|
SELECT "Gene" FROM table_14057 WHERE "Subject number" = '21'
|
### Instruction:
CREATE TABLE table_33496 (
"Date" text,
"Name" text,
"Party" text,
"Province" text,
"Details" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the details for John Buchanan?
### Response:
|
SELECT "Details" FROM table_33496 WHERE "Name" = 'john buchanan'
|
### Instruction:
CREATE TABLE table_24399615_3 (
viewers INTEGER,
airdate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many viewers were there for airdate is 22 october 2009?
### Response:
|
SELECT MAX(viewers) FROM table_24399615_3 WHERE airdate = "22 October 2009"
|
### Instruction:
CREATE TABLE table_23619492_3 (
paula_radcliffe___gbr__ VARCHAR,
world_record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of african record
### Response:
|
SELECT COUNT(paula_radcliffe___gbr__) FROM table_23619492_3 WHERE world_record = "African record"
|
### Instruction:
CREATE TABLE table_58896 (
"Year" real,
"Film" text,
"Result" text,
"Category" text,
"Actor" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What film was Dianne Wiest in?
### Response:
|
SELECT "Film" FROM table_58896 WHERE "Actor" = 'dianne wiest'
|
### Instruction:
CREATE TABLE table_29572583_19 (
new_points INTEGER,
status VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is listed in new points when status is second round lost to xavier malisse?
### Response:
|
SELECT MIN(new_points) FROM table_29572583_19 WHERE status = "Second round lost to Xavier Malisse"
|
### Instruction:
CREATE TABLE table_name_7 (
round INTEGER,
time VARCHAR,
event VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average round of the match in the Hero's 9 event with a time of 5:00?
### Response:
|
SELECT AVG(round) FROM table_name_7 WHERE time = "5:00" AND event = "hero's 9"
|
### Instruction:
CREATE TABLE table_203_51 (
id number,
"channel" text,
"definition" text,
"organisation" text,
"ownership" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what number of organizations have private ownership ?
### Response:
|
SELECT COUNT("organisation") FROM table_203_51 WHERE "ownership" = 'private'
|
### Instruction:
CREATE TABLE Student (
FacID VARCHAR,
advisor VARCHAR
)
CREATE TABLE Faculty_participates_in (
FacID VARCHAR,
advisor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show the ids of all the faculty members who participate in an activity and advise a student.
### Response:
|
SELECT FacID FROM Faculty_participates_in INTERSECT SELECT advisor FROM Student
|
### Instruction:
CREATE TABLE table_name_21 (
location VARCHAR,
promotor VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which location has the promotor Frank Moloney, and the opponent Gennadiy Rasalev?
### Response:
|
SELECT location FROM table_name_21 WHERE promotor = "frank moloney" AND opponent = "gennadiy rasalev"
|
### Instruction:
CREATE TABLE table_name_12 (
code_name VARCHAR,
fsb___ht__mhz_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the code name when the FSB / HT (MHz) is 100 (fsb)?
### Response:
|
SELECT code_name FROM table_name_12 WHERE fsb___ht__mhz_ = "100 (fsb)"
|
### Instruction:
CREATE TABLE table_54066 (
"Round" real,
"Pick" text,
"Player" text,
"Position" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player is the 24 pick?
### Response:
|
SELECT "Player" FROM table_54066 WHERE "Pick" = '24'
|
### Instruction:
CREATE TABLE table_59517 (
"Opposing Teams" text,
"Against" real,
"Date" text,
"Venue" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date has an against of 7?
### Response:
|
SELECT "Date" FROM table_59517 WHERE "Against" = '7'
|
### Instruction:
CREATE TABLE table_15709 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which result has a Venue of ulsan?
### Response:
|
SELECT "Result" FROM table_15709 WHERE "Venue" = 'ulsan'
|
### Instruction:
CREATE TABLE table_42364 (
"City" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which country has an IATA of EVN?
### Response:
|
SELECT "Country" FROM table_42364 WHERE "IATA" = 'evn'
|
### Instruction:
CREATE TABLE table_2004733_2 (
population__2000_ INTEGER,
barangay VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people lived in bulac in the year 2000?
### Response:
|
SELECT MAX(population__2000_) FROM table_2004733_2 WHERE barangay = "Bulac"
|
### Instruction:
CREATE TABLE table_name_70 (
pick INTEGER,
school_club_team VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the pick for the Maryland-Eastern Shore team with a round lower than 2?
### Response:
|
SELECT SUM(pick) FROM table_name_70 WHERE school_club_team = "maryland-eastern shore" AND round < 2
|
### Instruction:
CREATE TABLE table_name_8 (
year VARCHAR,
time VARCHAR,
avg_run VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total years with average runs less than 4.75 and a time of 14.26?
### Response:
|
SELECT COUNT(year) FROM table_name_8 WHERE time = 14.26 AND avg_run < 4.75
|
### Instruction:
CREATE TABLE table_51160 (
"Actor" text,
"Character" text,
"Title/Rank" text,
"Series" text,
"Years" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What series had the title rank of various?
### Response:
|
SELECT "Series" FROM table_51160 WHERE "Title/Rank" = 'various'
|
### Instruction:
CREATE TABLE table_64862 (
"Year" text,
"Game" text,
"Genre" text,
"Platform(s)" text,
"Developer(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the genre of the Mass Effect game?
### Response:
|
SELECT "Genre" FROM table_64862 WHERE "Game" = 'mass effect'
|
### Instruction:
CREATE TABLE table_16278894_1 (
population_census_2009 VARCHAR,
county VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the population in Kisumu county as of 2009?
### Response:
|
SELECT population_census_2009 FROM table_16278894_1 WHERE county = "Kisumu"
|
### Instruction:
CREATE TABLE member (
Name VARCHAR,
Member_ID VARCHAR
)
CREATE TABLE round (
Member_ID VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show the names of members in ascending order of their rank in rounds.
### Response:
|
SELECT T1.Name FROM member AS T1 JOIN round AS T2 ON T1.Member_ID = T2.Member_ID ORDER BY Rank_in_Round
|
### Instruction:
CREATE TABLE table_name_48 (
director_s_ VARCHAR,
date VARCHAR,
recipient VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the director of the film that Sister Films received an award for on 2/3/05?
### Response:
|
SELECT director_s_ FROM table_name_48 WHERE date = "2/3/05" AND recipient = "sister films"
|
### Instruction:
CREATE TABLE table_49601 (
"Building" text,
"Location" text,
"Height" text,
"Floors" real,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Status has a Building of the rhombus?
### Response:
|
SELECT "Status" FROM table_49601 WHERE "Building" = 'the rhombus'
|
### Instruction:
CREATE TABLE table_name_52 (
decile INTEGER,
area VARCHAR,
roll VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the lowest Decile that has the Area of matakohe, and the Roll larger than 86?
### Response:
|
SELECT MIN(decile) FROM table_name_52 WHERE area = "matakohe" AND roll > 86
|
### Instruction:
CREATE TABLE table_204_249 (
id number,
"km" number,
"municipality" text,
"location" text,
"interescting highway" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- including each municipality how many km total are there ?
### Response:
|
SELECT SUM("km") FROM table_204_249
|
### Instruction:
CREATE TABLE table_35211 (
"Pos." real,
"Car #" real,
"Driver" text,
"Make" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest position for driver Kyle Busch?
### Response:
|
SELECT MIN("Pos.") FROM table_35211 WHERE "Driver" = 'kyle busch'
|
### Instruction:
CREATE TABLE table_29458735_5 (
county VARCHAR,
division VARCHAR,
regiment VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is he name of the county where the 2nd division and the 41st regiment was
### Response:
|
SELECT county FROM table_29458735_5 WHERE division = "2nd division" AND regiment = "41st regiment"
|
### Instruction:
CREATE TABLE table_name_83 (
city VARCHAR,
previous_counference VARCHAR,
ihsaa_class VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What city has a team in IHSAA class 3a, and previous conference of lake?
### Response:
|
SELECT city FROM table_name_83 WHERE previous_counference = "lake" AND ihsaa_class = "3a"
|
### Instruction:
CREATE TABLE table_name_94 (
date VARCHAR,
leading_scorer VARCHAR,
visitor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- While the Hornets were visiting, what date was Deron Williams (29) the leading scorer?
### Response:
|
SELECT date FROM table_name_94 WHERE leading_scorer = "deron williams (29)" AND visitor = "hornets"
|
### Instruction:
CREATE TABLE table_53065 (
"Rank" real,
"Rider" text,
"Team" text,
"Speed" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest rank for Peter Symes?
### Response:
|
SELECT MAX("Rank") FROM table_53065 WHERE "Rider" = 'peter symes'
|
### Instruction:
CREATE TABLE table_name_86 (
grid INTEGER,
rider VARCHAR,
laps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Grid is the highest one that has a Rider of colin edwards, and Laps smaller than 28?
### Response:
|
SELECT MAX(grid) FROM table_name_86 WHERE rider = "colin edwards" AND laps < 28
|
### Instruction:
CREATE TABLE table_name_23 (
lost INTEGER,
points_1 VARCHAR,
goals_for VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the fewest losses for teams with points of 53 and more than 73 goals for?
### Response:
|
SELECT MIN(lost) FROM table_name_23 WHERE points_1 = "53" AND goals_for > 73
|
### Instruction:
CREATE TABLE table_55392 (
"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 home team of the game on February 3?
### Response:
|
SELECT "Home" FROM table_55392 WHERE "Date" = 'february 3'
|
### Instruction:
CREATE TABLE table_37060 (
"Player" text,
"Team" text,
"Score" text,
"Versus" text,
"Year" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the team that played in 2006?
### Response:
|
SELECT "Team" FROM table_37060 WHERE "Year" = '2006'
|
### Instruction:
CREATE TABLE table_204_642 (
id number,
"team" text,
"domestic tournament" text,
"position" text,
"appearance" text,
"qualified" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number of teams ?
### Response:
|
SELECT COUNT(DISTINCT "team") FROM table_204_642
|
### Instruction:
CREATE TABLE table_203_129 (
id number,
"finalist" text,
"age" number,
"from" text,
"dress colour" text,
"status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- the first person eliminated was who ?
### Response:
|
SELECT "finalist" FROM table_203_129 WHERE id = 1
|
### Instruction:
CREATE TABLE table_name_84 (
area_km_2 INTEGER,
population VARCHAR,
official_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest area for locations named Centreville having populations over 532?
### Response:
|
SELECT MAX(area_km_2) FROM table_name_84 WHERE population > 532 AND official_name = "centreville"
|
### Instruction:
CREATE TABLE table_name_49 (
home VARCHAR,
time VARCHAR,
geust VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Home, when Time is 18:00, and when Geust is Servette FC (CHL)?
### Response:
|
SELECT home FROM table_name_49 WHERE time = "18:00" AND geust = "servette fc (chl)"
|
### Instruction:
CREATE TABLE table_name_93 (
independence_league_ticket VARCHAR,
prohibition_ticket VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When Coleridge A. Hart ran under the Prohibition ticket who ran under the Independence League ticket?
### Response:
|
SELECT independence_league_ticket FROM table_name_93 WHERE prohibition_ticket = "coleridge a. hart"
|
### Instruction:
CREATE TABLE table_79578 (
"Pick" real,
"Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The New York Jets picked someone from what college?
### Response:
|
SELECT "College" FROM table_79578 WHERE "Team" = 'new york jets'
|
### Instruction:
CREATE TABLE table_1473672_3 (
college_junior_club_team VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which colle/junior/club team did Michel Boudreau play for?
### Response:
|
SELECT college_junior_club_team FROM table_1473672_3 WHERE player = "Michel Boudreau"
|
### Instruction:
CREATE TABLE table_name_7 (
player VARCHAR,
place VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the player with a t6 place and a 72-68-72=212 score?
### Response:
|
SELECT player FROM table_name_7 WHERE place = "t6" AND score = 72 - 68 - 72 = 212
|
### Instruction:
CREATE TABLE table_203_643 (
id number,
"year" number,
"award" text,
"group" text,
"result" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the first award he was nominated for ?
### Response:
|
SELECT "award" FROM table_203_643 WHERE id = 1
|
### Instruction:
CREATE TABLE table_name_89 (
winner VARCHAR,
_number_of_weeks VARCHAR,
third_place VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won when robert kudelski finished with under 13 weeks?
### Response:
|
SELECT winner FROM table_name_89 WHERE _number_of_weeks < 13 AND third_place = "robert kudelski"
|
### Instruction:
CREATE TABLE table_11411 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the average Laps for grid of 9
### Response:
|
SELECT AVG("Laps") FROM table_11411 WHERE "Grid" = '9'
|
### Instruction:
CREATE TABLE table_name_29 (
rank INTEGER,
name VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Rank that a Name of thomas morgenstern, and Points larger than 288.7?
### Response:
|
SELECT SUM(rank) FROM table_name_29 WHERE name = "thomas morgenstern" AND points > 288.7
|
### Instruction:
CREATE TABLE table_1729366_2 (
championship VARCHAR,
opponents_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which championship had the final opponents of nathalie dechy andy ram?
### Response:
|
SELECT championship FROM table_1729366_2 WHERE opponents_in_the_final = "Nathalie Dechy Andy Ram"
|
### Instruction:
CREATE TABLE table_name_47 (
class VARCHAR,
wins VARCHAR,
points VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which class corresponds to more than 2 points, wins greater than 0, and a year earlier than 1973?
### Response:
|
SELECT class FROM table_name_47 WHERE points > 2 AND year < 1973 AND wins > 0
|
### Instruction:
CREATE TABLE table_57958 (
"Season" text,
"Level" text,
"Goals" text,
"Points" real,
"Domestic Cup" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which level is quarterfinals domestic cup?
### Response:
|
SELECT "Level" FROM table_57958 WHERE "Domestic Cup" = 'quarterfinals'
|
### Instruction:
CREATE TABLE table_name_5 (
money___$__ VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much money does the player with a score of 74-71-76-76=297 have?
### Response:
|
SELECT money___$__ FROM table_name_5 WHERE score = 74 - 71 - 76 - 76 = 297
|
### Instruction:
CREATE TABLE table_name_58 (
player VARCHAR,
mlb_team VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Player, when MLB Team is 'Florida Marlins', and when Round is less than 15?
### Response:
|
SELECT player FROM table_name_58 WHERE mlb_team = "florida marlins" AND round < 15
|
### Instruction:
CREATE TABLE table_23662356_3 (
total_points_earned INTEGER,
average VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many total points were earned from the couple that averaged 29.0 points?
### Response:
|
SELECT MAX(total_points_earned) FROM table_23662356_3 WHERE average = "29.0"
|
### Instruction:
CREATE TABLE table_23215145_2 (
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2006-2007 points minimum is the team is Overmach Parma?
### Response:
|
SELECT MIN(2006 AS _07_points) FROM table_23215145_2 WHERE team = "Overmach Parma"
|
### Instruction:
CREATE TABLE table_name_72 (
genre VARCHAR,
developer VARCHAR,
publisher VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Genre was published by Atari and developed by NuFX in 1991?
### Response:
|
SELECT genre FROM table_name_72 WHERE publisher = "atari" AND year = 1991 AND developer = "nufx"
|
### Instruction:
CREATE TABLE table_name_92 (
date VARCHAR,
opponent_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date has kimberly po nathalie tauziat as the opponent in the final?
### Response:
|
SELECT date FROM table_name_92 WHERE opponent_in_the_final = "kimberly po nathalie tauziat"
|
### Instruction:
CREATE TABLE table_68847 (
"Round" real,
"Name" text,
"Position" text,
"School" text,
"Signed" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the position for robert johnson?
### Response:
|
SELECT "Position" FROM table_68847 WHERE "Name" = 'robert johnson'
|
### Instruction:
CREATE TABLE table_42953 (
"Year" real,
"Actor" text,
"Award" text,
"Motion Picture" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which actor won in 1966?
### Response:
|
SELECT "Actor" FROM table_42953 WHERE "Year" = '1966'
|
### Instruction:
CREATE TABLE table_176521_2 (
official_name VARCHAR,
area_km_2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the official name(s) of places with an area of 304.06 km2?
### Response:
|
SELECT official_name FROM table_176521_2 WHERE area_km_2 = "304.06"
|
### Instruction:
CREATE TABLE table_23799 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number for new mexico
### Response:
|
SELECT MIN("Pick #") FROM table_23799 WHERE "College" = 'New Mexico'
|
### Instruction:
CREATE TABLE table_12002388_1 (
playoffs VARCHAR,
league VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the playoff result for theteam in the apsl in 1992?
### Response:
|
SELECT playoffs FROM table_12002388_1 WHERE league = "APSL" AND year = 1992
|
### Instruction:
CREATE TABLE table_name_4 (
constructor VARCHAR,
driver VARCHAR,
grid VARCHAR,
laps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who made the car that Alberto Ascari went more than 35 laps on a grid less than 7?
### Response:
|
SELECT constructor FROM table_name_4 WHERE grid < 7 AND laps > 35 AND driver = "alberto ascari"
|
### Instruction:
CREATE TABLE table_38529 (
"Year" real,
"Tournament" text,
"Venue" text,
"Result" text,
"Event" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result in 1995?
### Response:
|
SELECT "Result" FROM table_38529 WHERE "Year" = '1995'
|
### Instruction:
CREATE TABLE table_name_39 (
lifetime_india_distributor_share VARCHAR,
year INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of Lifetime India Distributor share earlier than 2009?
### Response:
|
SELECT COUNT(lifetime_india_distributor_share) FROM table_name_39 WHERE year < 2009
|
### Instruction:
CREATE TABLE table_204_699 (
id number,
"district" text,
"name" text,
"party" text,
"residence" text,
"first served" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the first term year represented in the chart ?
### Response:
|
SELECT MIN("first served") FROM table_204_699
|
### Instruction:
CREATE TABLE table_204_208 (
id number,
"year" text,
"title" text,
"role" text,
"episodes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which was the only title where he was a narrator ?
### Response:
|
SELECT "title" FROM table_204_208 WHERE "role" = 'narrator'
|
### Instruction:
CREATE TABLE table_22644589_4 (
event VARCHAR,
compulsory_dance__cd_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what even was the compulsory dance scored 23.75?
### Response:
|
SELECT event FROM table_22644589_4 WHERE compulsory_dance__cd_ = "23.75"
|
### Instruction:
CREATE TABLE table_171236_2 (
official_name VARCHAR,
area_km_2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the official name of the place with an Area KM 2 of 295.07
### Response:
|
SELECT official_name FROM table_171236_2 WHERE area_km_2 = "295.07"
|
### Instruction:
CREATE TABLE table_name_55 (
to_par VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the to par of the player with a 72-71-65-69=277 score?
### Response:
|
SELECT to_par FROM table_name_55 WHERE score = 72 - 71 - 65 - 69 = 277
|
### Instruction:
CREATE TABLE table_name_27 (
laps INTEGER,
grid VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had the lowest laps on a grid smaller than 16 with a time of +21.689?
### Response:
|
SELECT MIN(laps) FROM table_name_27 WHERE grid < 16 AND time = "+21.689"
|
### Instruction:
CREATE TABLE table_12834315_2 (
barrel_length VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what are all the barrel lengths whith the name ar-15a3 competition hbar
### Response:
|
SELECT barrel_length FROM table_12834315_2 WHERE name = "AR-15A3 Competition HBAR"
|
### Instruction:
CREATE TABLE table_21756039_1 (
regular_season_results VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the regular season results for the year 2011-2012?
### Response:
|
SELECT regular_season_results FROM table_21756039_1 WHERE year = "2011-2012"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.