instruction
stringlengths 212
6.3k
| output
stringlengths 6
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_name_88 (
opponent_in_final VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the opponent in the final of the tournament on May 22, 2006?
### Response:
|
SELECT opponent_in_final FROM table_name_88 WHERE date = "may 22, 2006"
|
### Instruction:
CREATE TABLE table_261951_1 (
pop_density__per_km²_ VARCHAR,
municipality VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the population density for the city of lubang?
### Response:
|
SELECT COUNT(pop_density__per_km²_) FROM table_261951_1 WHERE municipality = "Lubang"
|
### Instruction:
CREATE TABLE table_name_7 (
contestant VARCHAR,
height VARCHAR,
hometown VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What contestant is from santo domingo este and has height smaller than 1.79?
### Response:
|
SELECT contestant FROM table_name_7 WHERE height < 1.79 AND hometown = "santo domingo este"
|
### Instruction:
CREATE TABLE table_1506950_9 (
masters VARCHAR,
pga_ch VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result at the Masters for the player who finished R16 at the PGA Ch.?
### Response:
|
SELECT masters FROM table_1506950_9 WHERE pga_ch = "R16"
|
### Instruction:
CREATE TABLE table_15568886_14 (
proto_oceanic VARCHAR,
proto_polynesian VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the proto oceanic for *fafine
### Response:
|
SELECT proto_oceanic FROM table_15568886_14 WHERE proto_polynesian = "*fafine"
|
### Instruction:
CREATE TABLE table_16670746_2 (
fastest_lap VARCHAR,
winning_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had the fastest lap when the winning team was Tom's Racing?
### Response:
|
SELECT fastest_lap FROM table_16670746_2 WHERE winning_team = "TOM'S Racing"
|
### Instruction:
CREATE TABLE table_name_64 (
kerry_number VARCHAR,
county VARCHAR,
others_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Kerry number does Taylor county have with more than 65 others#?
### Response:
|
SELECT COUNT(kerry_number) FROM table_name_64 WHERE county = "taylor" AND others_number > 65
|
### Instruction:
CREATE TABLE table_name_68 (
album VARCHAR,
label_and_cat_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which album has a label and cat# full moon/warner 28628?
### Response:
|
SELECT album FROM table_name_68 WHERE label_and_cat_number = "full moon/warner 28628"
|
### Instruction:
CREATE TABLE table_20159025_1 (
part_3 VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the time in part 3 when Heikki Kovalainen was the driver?
### Response:
|
SELECT part_3 FROM table_20159025_1 WHERE driver = "Heikki Kovalainen"
|
### Instruction:
CREATE TABLE table_name_19 (
long INTEGER,
gain VARCHAR,
loss VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the lowest Long that has the Gain of 20, and the Loss smaller than 0?
### Response:
|
SELECT MIN(long) FROM table_name_19 WHERE gain = 20 AND loss < 0
|
### Instruction:
CREATE TABLE table_name_34 (
report VARCHAR,
pole_position VARCHAR,
tyre VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Juan Manuel Fangio's reported pole position and the tire of C?
### Response:
|
SELECT report FROM table_name_34 WHERE pole_position = "juan manuel fangio" AND tyre = "c"
|
### Instruction:
CREATE TABLE table_66816 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was Steve Stricker from?
### Response:
|
SELECT "Place" FROM table_66816 WHERE "Player" = 'steve stricker'
|
### Instruction:
CREATE TABLE table_203_172 (
id number,
"title" text,
"date of creation" text,
"surname" text,
"first titular" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many total dukedoms are in portugal ?
### Response:
|
SELECT COUNT("title") FROM table_203_172
|
### Instruction:
CREATE TABLE table_25459168_2 (
fastest_lap VARCHAR,
pole_position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won the fastest lap if Anders Krohn won the pole position?
### Response:
|
SELECT fastest_lap FROM table_25459168_2 WHERE pole_position = "Anders Krohn"
|
### Instruction:
CREATE TABLE table_14863869_1 (
opponent VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List all opponents in the September 23, 1984 game?
### Response:
|
SELECT opponent FROM table_14863869_1 WHERE date = "September 23, 1984"
|
### Instruction:
CREATE TABLE table_17607663_1 (
date_withdrawn VARCHAR,
secr_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the withdraw date for secr no. 771?
### Response:
|
SELECT date_withdrawn FROM table_17607663_1 WHERE secr_no = 771
|
### Instruction:
CREATE TABLE table_name_79 (
total VARCHAR,
score_points VARCHAR,
rank_points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the total when the score points was 12 and the rank points was 15?
### Response:
|
SELECT total FROM table_name_79 WHERE score_points = "12" AND rank_points = "15"
|
### Instruction:
CREATE TABLE table_1008653_1 (
capital___endonym__ VARCHAR,
country___endonym__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the local name given to the capital of Anguilla?
### Response:
|
SELECT capital___endonym__ FROM table_1008653_1 WHERE country___endonym__ = "Anguilla"
|
### Instruction:
CREATE TABLE table_name_51 (
round INTEGER,
name VARCHAR,
overall VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name of David Kimball, and an Overall smaller than 229 is what highest round?
### Response:
|
SELECT MAX(round) FROM table_name_51 WHERE name = "david kimball" AND overall < 229
|
### Instruction:
CREATE TABLE table_229917_2 (
brief_description VARCHAR,
fatalities VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different brief descriptions are there for crashes with 0/161 fatalities?
### Response:
|
SELECT COUNT(brief_description) FROM table_229917_2 WHERE fatalities = "0/161"
|
### Instruction:
CREATE TABLE table_name_48 (
enrollment INTEGER,
location VARCHAR,
mascot VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest enrollment in Lagrange where the mascot is panthers?
### Response:
|
SELECT MAX(enrollment) FROM table_name_48 WHERE location = "lagrange" AND mascot = "panthers"
|
### Instruction:
CREATE TABLE table_27988281_1 (
production_code INTEGER,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the production code of the episode written by Jeff Filgo?
### Response:
|
SELECT MAX(production_code) FROM table_27988281_1 WHERE written_by = "Jeff Filgo"
|
### Instruction:
CREATE TABLE table_name_31 (
current_club VARCHAR,
height VARCHAR,
year_born VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What player was born in 1978 and smaller than 1.92?
### Response:
|
SELECT current_club FROM table_name_31 WHERE height < 1.92 AND year_born > 1978
|
### Instruction:
CREATE TABLE table_name_43 (
games VARCHAR,
lost VARCHAR,
goalsfor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Lost of 42, and a Goalsfor larger than 195 contains how many number of games?
### Response:
|
SELECT COUNT(games) FROM table_name_43 WHERE lost = 42 AND goalsfor > 195
|
### Instruction:
CREATE TABLE table_60634 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Brian Gay's place?
### Response:
|
SELECT "Place" FROM table_60634 WHERE "Player" = 'brian gay'
|
### Instruction:
CREATE TABLE table_name_99 (
score VARCHAR,
stadium VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score at CN Centre on April 5, 2008?
### Response:
|
SELECT score FROM table_name_99 WHERE stadium = "cn centre" AND date = "april 5, 2008"
|
### Instruction:
CREATE TABLE table_name_45 (
pct INTEGER,
pts VARCHAR,
wins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average PCT when it has a PTS smaller than 9 a wins larger than 1?
### Response:
|
SELECT AVG(pct) FROM table_name_45 WHERE pts < 9 AND wins > 1
|
### Instruction:
CREATE TABLE table_16799784_8 (
diameter__km_ VARCHAR,
longitude VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the diameter in km of the feature with a longitude of 40.2E?
### Response:
|
SELECT diameter__km_ FROM table_16799784_8 WHERE longitude = "40.2E"
|
### Instruction:
CREATE TABLE table_name_3 (
player VARCHAR,
to_par VARCHAR,
year_s__won VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player was +4 to par and won the Open in 1995?
### Response:
|
SELECT player FROM table_name_3 WHERE to_par = "+4" AND year_s__won = "1995"
|
### Instruction:
CREATE TABLE table_name_62 (
round VARCHAR,
player VARCHAR,
pick VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of rounds that had draft pick 97, duncan mccoll?
### Response:
|
SELECT COUNT(round) FROM table_name_62 WHERE player = "duncan mccoll" AND pick < 97
|
### Instruction:
CREATE TABLE table_19210674_1 (
rank VARCHAR,
hk_viewers VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How was the episode seen by 2.26 million HK viewers ranked?
### Response:
|
SELECT rank FROM table_19210674_1 WHERE hk_viewers = "2.26 million"
|
### Instruction:
CREATE TABLE table_18335117_2 (
original_air_date VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did the episodes first air that had a production code of 107?
### Response:
|
SELECT original_air_date FROM table_18335117_2 WHERE production_code = 107
|
### Instruction:
CREATE TABLE table_22822559_8 (
high_rebounds VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had the highest rebounds during the game with a record of 23-47?
### Response:
|
SELECT high_rebounds FROM table_22822559_8 WHERE record = "23-47"
|
### Instruction:
CREATE TABLE table_name_20 (
pos VARCHAR,
born VARCHAR,
height VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the position of the player born in 1984 with a height of 1.80m?
### Response:
|
SELECT pos FROM table_name_20 WHERE born = "1984" AND height = "1.80"
|
### Instruction:
CREATE TABLE table_name_3 (
opponent_in_the_final VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the opponent in the final on August 14, 2006?
### Response:
|
SELECT opponent_in_the_final FROM table_name_3 WHERE date = "august 14, 2006"
|
### Instruction:
CREATE TABLE table_name_41 (
player VARCHAR,
total VARCHAR,
to_par VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE PLAYER WITH TOTAL LESS THAN 151, TO PAR OF 8?
### Response:
|
SELECT player FROM table_name_41 WHERE total < 151 AND to_par = 8
|
### Instruction:
CREATE TABLE table_name_15 (
points INTEGER,
team VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Points has a Team of s o paulo athletic, and a Position larger than 5?
### Response:
|
SELECT SUM(points) FROM table_name_15 WHERE team = "são paulo athletic" AND position > 5
|
### Instruction:
CREATE TABLE table_22032599_1 (
result VARCHAR,
film_title_used_in_nomination VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result for Gypsy?
### Response:
|
SELECT result FROM table_22032599_1 WHERE film_title_used_in_nomination = "Gypsy"
|
### Instruction:
CREATE TABLE table_name_21 (
total INTEGER,
bronze VARCHAR,
silver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest total number of medals of the nation with less than 1 bronzes and less than 0 silver medals?
### Response:
|
SELECT MAX(total) FROM table_name_21 WHERE bronze < 1 AND silver < 0
|
### Instruction:
CREATE TABLE table_name_48 (
label VARCHAR,
year VARCHAR,
formats VARCHAR,
format VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the label for formats of cd and album and year of 2008
### Response:
|
SELECT label FROM table_name_48 WHERE formats = "cd" AND format = "album" AND year = 2008
|
### Instruction:
CREATE TABLE table_name_60 (
event VARCHAR,
method VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the event when the method was tko (punches), and the record was 7-1?
### Response:
|
SELECT event FROM table_name_60 WHERE method = "tko (punches)" AND record = "7-1"
|
### Instruction:
CREATE TABLE table_name_63 (
draws INTEGER,
season VARCHAR,
wins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Draws for a season later than 1926 with less than 0 wins?
### Response:
|
SELECT MAX(draws) FROM table_name_63 WHERE season > 1926 AND wins < 0
|
### Instruction:
CREATE TABLE table_name_6 (
to_par VARCHAR,
place VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is To Par, when Place is 'T1', and when Player is 'Joey Rassett'?
### Response:
|
SELECT to_par FROM table_name_6 WHERE place = "t1" AND player = "joey rassett"
|
### Instruction:
CREATE TABLE table_name_72 (
extranet VARCHAR,
intranet VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the intranet entry is Yes, what is the extranet entry for Microsoft Exchange server?
### Response:
|
SELECT extranet FROM table_name_72 WHERE intranet = "yes" AND name = "microsoft exchange server"
|
### Instruction:
CREATE TABLE table_1341640_11 (
first_elected INTEGER,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the earliest first elected for district georgia 1?
### Response:
|
SELECT MIN(first_elected) FROM table_1341640_11 WHERE district = "Georgia 1"
|
### Instruction:
CREATE TABLE table_2092557_12 (
us_open INTEGER,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did Shirley Fry Irvin win the US Open?
### Response:
|
SELECT MIN(us_open) FROM table_2092557_12 WHERE player = "Shirley Fry Irvin"
|
### Instruction:
CREATE TABLE table_name_85 (
block_a VARCHAR,
antonio_thomas VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the block A for antonio thomas of kondo (13:24)
### Response:
|
SELECT block_a FROM table_name_85 WHERE antonio_thomas = "kondo (13:24)"
|
### Instruction:
CREATE TABLE table_name_43 (
mls_cup INTEGER,
other VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which MLS Cup has another larger than 9, and a Total smaller than 72?
### Response:
|
SELECT AVG(mls_cup) FROM table_name_43 WHERE other > 9 AND total < 72
|
### Instruction:
CREATE TABLE table_name_49 (
goals VARCHAR,
goal_ratio VARCHAR,
games VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many goals have a goal ration less than 0.8 with 56 games?
### Response:
|
SELECT COUNT(goals) FROM table_name_49 WHERE goal_ratio < 0.8 AND games = 56
|
### Instruction:
CREATE TABLE table_name_53 (
main_language_s_ VARCHAR,
film_title_used_in_nomination VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the primary language used in the film, Black Book?
### Response:
|
SELECT main_language_s_ FROM table_name_53 WHERE film_title_used_in_nomination = "black book"
|
### Instruction:
CREATE TABLE table_name_49 (
player VARCHAR,
round VARCHAR,
school_club_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Player, when Round is '2', and when School/Club Team is 'Xavier'?
### Response:
|
SELECT player FROM table_name_49 WHERE round = 2 AND school_club_team = "xavier"
|
### Instruction:
CREATE TABLE table_name_20 (
glendale VARCHAR,
la_cañada_flintridge VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the percentage of Glendale when La Canada Flintridge is 5%?
### Response:
|
SELECT glendale FROM table_name_20 WHERE la_cañada_flintridge = "5%"
|
### Instruction:
CREATE TABLE table_name_79 (
total INTEGER,
a_score VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Total has an A Score of 6.5, and a Position larger than 5?
### Response:
|
SELECT MIN(total) FROM table_name_79 WHERE a_score = 6.5 AND position > 5
|
### Instruction:
CREATE TABLE table_name_40 (
third VARCHAR,
runner_up VARCHAR,
edition VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want to know the third with runner of paris saint-germain and edition less than 5
### Response:
|
SELECT third FROM table_name_40 WHERE runner_up = "paris saint-germain" AND edition < 5
|
### Instruction:
CREATE TABLE table_22756549_1 (
runner_up_a VARCHAR,
constituency VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the runner up for the Nagapattinam constituency?
### Response:
|
SELECT runner_up_a FROM table_22756549_1 WHERE constituency = "Nagapattinam"
|
### Instruction:
CREATE TABLE table_11662133_3 (
date_withdrawn VARCHAR,
ships_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what are all the date withdrawn for koningin beatrix
### Response:
|
SELECT date_withdrawn FROM table_11662133_3 WHERE ships_name = "Koningin Beatrix"
|
### Instruction:
CREATE TABLE table_26781017_1 (
motogp_winner VARCHAR,
circuit VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many MotoGP winners were there when the circuit was Catalunya?
### Response:
|
SELECT COUNT(motogp_winner) FROM table_26781017_1 WHERE circuit = "Catalunya"
|
### Instruction:
CREATE TABLE table_65526 (
"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 Nor?
### Response:
|
SELECT "Builder" FROM table_65526 WHERE "Ship" = 'nor'
|
### Instruction:
CREATE TABLE table_name_32 (
d_44_√ VARCHAR,
d_46_√ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the D 44 when the D 46 is r 26?
### Response:
|
SELECT d_44_√ FROM table_name_32 WHERE d_46_√ = "r 26"
|
### Instruction:
CREATE TABLE table_name_47 (
year_built INTEGER,
last_refurbished INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the earliest year built for the ship refurbished earlier than 2013?
### Response:
|
SELECT MIN(year_built) FROM table_name_47 WHERE last_refurbished < 2013
|
### Instruction:
CREATE TABLE table_name_88 (
denomination VARCHAR,
date_of_issue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the Denomination listed for the Date of Issue 12 April 2005?
### Response:
|
SELECT denomination FROM table_name_88 WHERE date_of_issue = "12 april 2005"
|
### Instruction:
CREATE TABLE table_14984126_1 (
result VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many result with date being october 25, 1964
### Response:
|
SELECT COUNT(result) FROM table_14984126_1 WHERE date = "October 25, 1964"
|
### Instruction:
CREATE TABLE table_name_18 (
team VARCHAR,
result VARCHAR,
interim_head_coach VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team lost under interim head coach, Dewayne Walker?
### Response:
|
SELECT team FROM table_name_18 WHERE result = "lost" AND interim_head_coach = "dewayne walker"
|
### Instruction:
CREATE TABLE teachers (
lastname text,
firstname text,
classroom number
)
CREATE TABLE list (
lastname text,
firstname text,
grade number,
classroom number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show me the classrooms grade 5 is using.
### Response:
|
SELECT DISTINCT classroom FROM list WHERE grade = 5
|
### Instruction:
CREATE TABLE table_name_54 (
outcome VARCHAR,
opponent VARCHAR,
surface VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Outcome has an Opponent of wendy turnbull, and a Surface of grass?
### Response:
|
SELECT outcome FROM table_name_54 WHERE opponent = "wendy turnbull" AND surface = "grass"
|
### Instruction:
CREATE TABLE table_name_14 (
poison_klesha VARCHAR,
tibetan VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the poision/klesha word for the tibetan word gti mug ma rig pa?
### Response:
|
SELECT poison_klesha FROM table_name_14 WHERE tibetan = "gti mug ma rig pa"
|
### Instruction:
CREATE TABLE table_11570261_1 (
margin VARCHAR,
runner_s__up VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the margin where runner(s)-up is phil mickelson
### Response:
|
SELECT margin FROM table_11570261_1 WHERE runner_s__up = "Phil Mickelson"
|
### Instruction:
CREATE TABLE table_19860361_3 (
pixie_and_dixie VARCHAR,
ep VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Pixie and Dixie skit in episode 7?
### Response:
|
SELECT pixie_and_dixie FROM table_19860361_3 WHERE ep = 7
|
### Instruction:
CREATE TABLE table_1876825_6 (
no_in_season INTEGER,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What season episode is written by neil thompson?
### Response:
|
SELECT MIN(no_in_season) FROM table_1876825_6 WHERE written_by = "Neil Thompson"
|
### Instruction:
CREATE TABLE table_name_23 (
player VARCHAR,
cfl_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Player has a CFL Team of montreal alouettes (via hamilton via winnipeg)?
### Response:
|
SELECT player FROM table_name_23 WHERE cfl_team = "montreal alouettes (via hamilton via winnipeg)"
|
### Instruction:
CREATE TABLE table_name_42 (
gene VARCHAR,
route_of_administration VARCHAR,
status VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which gene is ongoing and has an intramuscular route of administration?
### Response:
|
SELECT gene FROM table_name_42 WHERE route_of_administration = "intramuscular" AND status = "ongoing"
|
### Instruction:
CREATE TABLE table_19068566_1 (
written_by VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 3t7458 is the production code who are the writers?
### Response:
|
SELECT written_by FROM table_19068566_1 WHERE production_code = "3T7458"
|
### Instruction:
CREATE TABLE table_19405 (
"Nation" text,
"Total wins" real,
"Team wins" real,
"Individual wins" real,
"Individual winners" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the value for minimum total wins
### Response:
|
SELECT MIN("Total wins") FROM table_19405
|
### Instruction:
CREATE TABLE table_name_15 (
gold INTEGER,
bronze VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the highest Gold that has the Bronze larger than 3, and the Total smaller than 24?
### Response:
|
SELECT MAX(gold) FROM table_name_15 WHERE bronze > 3 AND total < 24
|
### Instruction:
CREATE TABLE table_name_31 (
song VARCHAR,
points VARCHAR,
artist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the name of the song by afro-dite that had a points total greater than 100?
### Response:
|
SELECT song FROM table_name_31 WHERE points > 100 AND artist = "afro-dite"
|
### Instruction:
CREATE TABLE table_name_37 (
frequency_mhz INTEGER,
city_of_license VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the frequency for the city of Lamar, Colorado?
### Response:
|
SELECT AVG(frequency_mhz) FROM table_name_37 WHERE city_of_license = "lamar, colorado"
|
### Instruction:
CREATE TABLE table_name_89 (
games VARCHAR,
season VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the total number of games with more than 20 points for the 1976 season?
### Response:
|
SELECT COUNT(games) FROM table_name_89 WHERE season = "1976" AND points > 20
|
### Instruction:
CREATE TABLE table_name_3 (
series VARCHAR,
opponent VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Series has an Opponent of calgary flames, and a Score of 9 4?
### Response:
|
SELECT series FROM table_name_3 WHERE opponent = "calgary flames" AND score = "9–4"
|
### Instruction:
CREATE TABLE table_name_15 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which 2006 Tournament has a 2004, and a 2002 of not tier i?
### Response:
|
SELECT 2006 FROM table_name_15 WHERE 2004 = "a" AND 2002 = "not tier i"
|
### Instruction:
CREATE TABLE table_name_69 (
date VARCHAR,
opponent_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of the match with arnaud di pasquale as the opponent in the final?
### Response:
|
SELECT date FROM table_name_69 WHERE opponent_in_the_final = "arnaud di pasquale"
|
### Instruction:
CREATE TABLE table_name_91 (
game VARCHAR,
location VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Game has a Location of Philadelphia Spectrum and an Opponent of New York Knicks?
### Response:
|
SELECT game FROM table_name_91 WHERE location = "philadelphia spectrum" AND opponent = "new york knicks"
|
### Instruction:
CREATE TABLE table_name_1 (
snatch VARCHAR,
marcin_dołęga___pol__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the snatch when Marcin Do ga ( POL ) was 430kg?
### Response:
|
SELECT snatch FROM table_name_1 WHERE marcin_dołęga___pol__ = "430kg"
|
### Instruction:
CREATE TABLE table_238124_1 (
bleeding_time VARCHAR,
condition VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the bleeding time for glanzmann's thrombasthenia?
### Response:
|
SELECT bleeding_time FROM table_238124_1 WHERE condition = "Glanzmann's thrombasthenia"
|
### Instruction:
CREATE TABLE table_name_98 (
rank VARCHAR,
total_gdp__€_bn__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which rank has a Total GDP ( bn) of 11.243??
### Response:
|
SELECT rank FROM table_name_98 WHERE total_gdp__€_bn__ = "€11.243"
|
### Instruction:
CREATE TABLE table_name_87 (
water_depth VARCHAR,
location VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the water depth in the Gulf of Mexico named Discoverer Clear Leader?
### Response:
|
SELECT water_depth FROM table_name_87 WHERE location = "gulf of mexico" AND name = "discoverer clear leader"
|
### Instruction:
CREATE TABLE table_name_55 (
high_points VARCHAR,
high_rebounds VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the High points of charles oakley , kevin willis (11)?
### Response:
|
SELECT high_points FROM table_name_55 WHERE high_rebounds = "charles oakley , kevin willis (11)"
|
### Instruction:
CREATE TABLE table_name_1 (
losses VARCHAR,
golden_rivers VARCHAR,
byes VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total losses when Hay is the golden river and there are more than 2 byes?
### Response:
|
SELECT COUNT(losses) FROM table_name_1 WHERE golden_rivers = "hay" AND byes > 2
|
### Instruction:
CREATE TABLE table_10023387_1 (
singles_w_l VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the singles w-l for kim doo-hwan
### Response:
|
SELECT singles_w_l FROM table_10023387_1 WHERE player = "Kim Doo-Hwan"
|
### Instruction:
CREATE TABLE table_21536557_2 (
name VARCHAR,
time__cet_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is every name for time(cet) of 09:03?
### Response:
|
SELECT name FROM table_21536557_2 WHERE time__cet_ = "09:03"
|
### Instruction:
CREATE TABLE table_name_95 (
extra_points_1_point INTEGER,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Extra points 1 point is the lowest one that has a Player of walter shaw?
### Response:
|
SELECT MIN(extra_points_1_point) FROM table_name_95 WHERE player = "walter shaw"
|
### Instruction:
CREATE TABLE table_171666_1 (
national_share___percentage_ VARCHAR,
administrative_division VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the national share of Guizhou's administrative division?
### Response:
|
SELECT national_share___percentage_ FROM table_171666_1 WHERE administrative_division = "Guizhou"
|
### Instruction:
CREATE TABLE table_name_10 (
nationality VARCHAR,
round VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the Nationality that has the Round smaller than 5, and the Player of bruce affleck?
### Response:
|
SELECT nationality FROM table_name_10 WHERE round < 5 AND player = "bruce affleck"
|
### Instruction:
CREATE TABLE table_17289224_1 (
team_name VARCHAR,
season VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who started in 2008 with 0 points?
### Response:
|
SELECT team_name FROM table_17289224_1 WHERE season = "2008" AND points = 0
|
### Instruction:
CREATE TABLE table_name_37 (
venue VARCHAR,
competition VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the venue when the competition is friendly on 26 may 1999?
### Response:
|
SELECT venue FROM table_name_37 WHERE competition = "friendly" AND date = "26 may 1999"
|
### Instruction:
CREATE TABLE table_12261806_2 (
young_rider_classification VARCHAR,
winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the young rider classification with laudelino cubino
### Response:
|
SELECT young_rider_classification FROM table_12261806_2 WHERE winner = "Laudelino Cubino"
|
### Instruction:
CREATE TABLE table_48242 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Label, when Region is Japan?
### Response:
|
SELECT "Label" FROM table_48242 WHERE "Region" = 'japan'
|
### Instruction:
CREATE TABLE table_22583466_5 (
s_host VARCHAR,
race_caller VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the race called by Marshall Cassidy, who was the host?
### Response:
|
SELECT s_host FROM table_22583466_5 WHERE race_caller = "Marshall Cassidy"
|
### Instruction:
CREATE TABLE table_name_40 (
score VARCHAR,
game VARCHAR,
high_points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score for the game that is less than 4 and a high points of williams (28)?
### Response:
|
SELECT score FROM table_name_40 WHERE game < 4 AND high_points = "williams (28)"
|
### Instruction:
CREATE TABLE table_30120560_1 (
area__acres__ VARCHAR,
townland VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the number of areas where the townland is brittas?
### Response:
|
SELECT COUNT(area__acres__) FROM table_30120560_1 WHERE townland = "Brittas"
|
### Instruction:
CREATE TABLE table_name_23 (
opponents VARCHAR,
surface VARCHAR,
partnering VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent on clay surface when partnered with Horacio Zeballos?
### Response:
|
SELECT opponents FROM table_name_23 WHERE surface = "clay" AND partnering = "horacio zeballos"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.