instruction
stringlengths 212
6.3k
| output
stringlengths 6
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_14934885_1 (
performer_1 VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was perfomer one on 30 January 1988?
### Response:
|
SELECT performer_1 FROM table_14934885_1 WHERE date = "30 January 1988"
|
### Instruction:
CREATE TABLE table_name_36 (
successes INTEGER,
launches VARCHAR,
failures VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of successful launches associated with over 1 launch and under 0 fails?
### Response:
|
SELECT MAX(successes) FROM table_name_36 WHERE launches > 1 AND failures < 0
|
### Instruction:
CREATE TABLE table_name_20 (
laps INTEGER,
grid VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the low lap total for henri pescarolo with a grad larger than 6?
### Response:
|
SELECT MIN(laps) FROM table_name_20 WHERE grid > 6 AND driver = "henri pescarolo"
|
### Instruction:
CREATE TABLE table_name_58 (
draws INTEGER,
team VARCHAR,
losses VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Draws have a Team of annandale, and Losses smaller than 13?
### Response:
|
SELECT SUM(draws) FROM table_name_58 WHERE team = "annandale" AND losses < 13
|
### Instruction:
CREATE TABLE table_name_69 (
opponent_in_the_final VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who played the final match on November 23, 1998?
### Response:
|
SELECT opponent_in_the_final FROM table_name_69 WHERE date = "november 23, 1998"
|
### Instruction:
CREATE TABLE table_name_73 (
total_points INTEGER,
details VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the match that had detail of 2001 nrl grand final, what was the lowest total points?
### Response:
|
SELECT MIN(total_points) FROM table_name_73 WHERE details = "2001 nrl grand final"
|
### Instruction:
CREATE TABLE table_10706879_3 (
fastest_lap VARCHAR,
rd VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many fastest laps were there for a rd that equals 10?
### Response:
|
SELECT COUNT(fastest_lap) FROM table_10706879_3 WHERE rd = 10
|
### Instruction:
CREATE TABLE table_15405904_1 (
won INTEGER,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the team is ypiranga-sp what is the number of won games?
### Response:
|
SELECT MIN(won) FROM table_15405904_1 WHERE team = "Ypiranga-SP"
|
### Instruction:
CREATE TABLE table_name_7 (
place INTEGER,
name VARCHAR,
until VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What place did R. Wenzel, who was active after 1934, have?
### Response:
|
SELECT SUM(place) FROM table_name_7 WHERE name = "r. wenzel" AND until > 1934
|
### Instruction:
CREATE TABLE table_24725951_1 (
episode VARCHAR,
celebrities VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which episode had celebrities Nick Hewer and Saira Khan in them?
### Response:
|
SELECT episode FROM table_24725951_1 WHERE celebrities = "Nick Hewer and Saira Khan"
|
### Instruction:
CREATE TABLE table_18734298_1 (
no_in_series VARCHAR,
directed_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many series were directed by Rob Renzetti?
### Response:
|
SELECT COUNT(no_in_series) FROM table_18734298_1 WHERE directed_by = "Rob Renzetti"
|
### Instruction:
CREATE TABLE table_name_65 (
notes VARCHAR,
rank VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the notes when the time was 7:42.92 and the rank is more than 1?
### Response:
|
SELECT notes FROM table_name_65 WHERE rank > 1 AND time = "7:42.92"
|
### Instruction:
CREATE TABLE table_204_631 (
id number,
"#" number,
"title" text,
"english translation" text,
"original album" text,
"length" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many titles are listed ?
### Response:
|
SELECT COUNT("title") FROM table_204_631
|
### Instruction:
CREATE TABLE table_name_31 (
time INTEGER,
athlete VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest time for athlete torri edwards, and a rank larger than 6?
### Response:
|
SELECT MAX(time) FROM table_name_31 WHERE athlete = "torri edwards" AND rank > 6
|
### Instruction:
CREATE TABLE table_name_84 (
organisation VARCHAR,
year VARCHAR,
award VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the organisation when the year is less than 2005 and the award is the best variety show host?
### Response:
|
SELECT organisation FROM table_name_84 WHERE year < 2005 AND award = "best variety show host"
|
### Instruction:
CREATE TABLE table_15056103_1 (
playoffs VARCHAR,
regular_season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the playoff result when they finished 5th, north in the regular sesason?
### Response:
|
SELECT playoffs FROM table_15056103_1 WHERE regular_season = "5th, North"
|
### Instruction:
CREATE TABLE table_name_70 (
regular_season_champion_s_ VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHich Regular Season Champions has a Year of 1943 44?
### Response:
|
SELECT regular_season_champion_s_ FROM table_name_70 WHERE year = "1943–44"
|
### Instruction:
CREATE TABLE table_67164 (
"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 score of Australia?
### Response:
|
SELECT "Score" FROM table_67164 WHERE "Country" = 'australia'
|
### 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.
-- Which classrooms are used by grade 4?
### Response:
|
SELECT DISTINCT classroom FROM list WHERE grade = 4
|
### Instruction:
CREATE TABLE table_name_63 (
round INTEGER,
pick VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What round was jerry corcoran drafted in as pick number 114?
### Response:
|
SELECT MAX(round) FROM table_name_63 WHERE pick > 114 AND player = "jerry corcoran"
|
### Instruction:
CREATE TABLE table_name_27 (
opponents_in_the_final VARCHAR,
outcome VARCHAR,
surface VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the opponents for runner-up and surface of grass
### Response:
|
SELECT opponents_in_the_final FROM table_name_27 WHERE outcome = "runner-up" AND surface = "grass"
|
### Instruction:
CREATE TABLE table_name_74 (
game VARCHAR,
record VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games have a Record of 7 6 3, and Points smaller than 17?
### Response:
|
SELECT COUNT(game) FROM table_name_74 WHERE record = "7–6–3" AND points < 17
|
### Instruction:
CREATE TABLE table_name_63 (
name_ VARCHAR,
b_ VARCHAR,
Pwin_percentage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the person with a PWin% of .696?
### Response:
|
SELECT name_ AS "b_" FROM table_name_63 WHERE Pwin_percentage = 0.696
|
### Instruction:
CREATE TABLE table_name_88 (
source VARCHAR,
country VARCHAR,
transfer_fee VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the source of an ENG transfer that paid a 1.5m transfer fee?
### Response:
|
SELECT source FROM table_name_88 WHERE country = "eng" AND transfer_fee = "£1.5m"
|
### Instruction:
CREATE TABLE table_name_40 (
density__per_km²_ INTEGER,
no_munic VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Density of 53 No. munic.?
### Response:
|
SELECT AVG(density__per_km²_) FROM table_name_40 WHERE no_munic = 53
|
### Instruction:
CREATE TABLE table_name_49 (
laps INTEGER,
finish VARCHAR,
start VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the smallest amount of Laps that had a finish of 7 with a start of 6?
### Response:
|
SELECT MIN(laps) FROM table_name_49 WHERE finish = "7" AND start = "6"
|
### Instruction:
CREATE TABLE table_255829_1 (
population__2007_ VARCHAR,
municipality VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2007 population of Gigmoto?
### Response:
|
SELECT COUNT(population__2007_) FROM table_255829_1 WHERE municipality = "Gigmoto"
|
### Instruction:
CREATE TABLE table_1341598_10 (
candidates VARCHAR,
first_elected VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the candidate in election where the incumbent was first elected in 1980?
### Response:
|
SELECT candidates FROM table_1341598_10 WHERE first_elected = 1980
|
### Instruction:
CREATE TABLE table_2259285_1 (
winning_pct__percentage VARCHAR,
goals_for VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the winning % when there were 322 goals?
### Response:
|
SELECT winning_pct__percentage FROM table_2259285_1 WHERE goals_for = 322
|
### Instruction:
CREATE TABLE table_name_12 (
laps INTEGER,
rider VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of laps that max biaggi rode on a grid larger than 2?
### Response:
|
SELECT MAX(laps) FROM table_name_12 WHERE rider = "max biaggi" AND grid > 2
|
### Instruction:
CREATE TABLE table_name_40 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What 2009 has 3r as the 1999, and w as 2002?
### Response:
|
SELECT 2009 FROM table_name_40 WHERE 1999 = "3r" AND 2002 = "w"
|
### Instruction:
CREATE TABLE table_name_32 (
model_number VARCHAR,
order_part_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which model number has an order part number of TMDML44BKX5LD?
### Response:
|
SELECT model_number FROM table_name_32 WHERE order_part_number = "tmdml44bkx5ld"
|
### Instruction:
CREATE TABLE table_269920_3 (
l2_cache__mb_ VARCHAR,
model VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the L2 cache for the 7140N model?
### Response:
|
SELECT l2_cache__mb_ FROM table_269920_3 WHERE model = "7140N"
|
### Instruction:
CREATE TABLE table_name_71 (
date VARCHAR,
score VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of the tournament in Scotland with a score of 270 ( 18)?
### Response:
|
SELECT date FROM table_name_71 WHERE score = "270 (–18)" AND location = "scotland"
|
### Instruction:
CREATE TABLE table_name_25 (
record VARCHAR,
location_attendance VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the record on April 12 when the location was The Omni?
### Response:
|
SELECT record FROM table_name_25 WHERE location_attendance = "the omni" AND date = "april 12"
|
### Instruction:
CREATE TABLE table_27069503_2 (
overall VARCHAR,
conf_record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the overall record for the Pandas when their conference record was 4-1-1?
### Response:
|
SELECT overall FROM table_27069503_2 WHERE conf_record = "4-1-1"
|
### Instruction:
CREATE TABLE table_name_24 (
manner_of_departure VARCHAR,
outgoing_manager VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the manner of departure for the outgoing manager, miguel brindisi?
### Response:
|
SELECT manner_of_departure FROM table_name_24 WHERE outgoing_manager = "miguel brindisi"
|
### Instruction:
CREATE TABLE table_19112_3 (
world_rank VARCHAR,
market_value__billion_$_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the world rank for market value 17.2
### Response:
|
SELECT world_rank FROM table_19112_3 WHERE market_value__billion_$_ = "17.2"
|
### Instruction:
CREATE TABLE table_24798489_2 (
original_airdate VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many dates originally aired episodes located in Philadelphia, pennsylvania?
### Response:
|
SELECT COUNT(original_airdate) FROM table_24798489_2 WHERE location = "Philadelphia, Pennsylvania"
|
### Instruction:
CREATE TABLE table_13150274_1 (
client VARCHAR,
area_of_operation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Whose address of operation was the Echirax Concession?
### Response:
|
SELECT client FROM table_13150274_1 WHERE area_of_operation = "EchiraX Concession"
|
### Instruction:
CREATE TABLE table_name_68 (
democratic_ticket VARCHAR,
liberal_ticket VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who ran under the Democratic ticket when Edward R. Dudley ran under the Liberal ticket?
### Response:
|
SELECT democratic_ticket FROM table_name_68 WHERE liberal_ticket = "edward r. dudley"
|
### Instruction:
CREATE TABLE table_name_16 (
ngc_number VARCHAR,
constellation VARCHAR,
object_type VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the NGC number for leo of irregular galaxy
### Response:
|
SELECT ngc_number FROM table_name_16 WHERE constellation = "leo" AND object_type = "irregular galaxy"
|
### Instruction:
CREATE TABLE table_name_68 (
name VARCHAR,
qual_2 VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had a Qualifying 2 time over 58.669 for Team Australia?
### Response:
|
SELECT name FROM table_name_68 WHERE qual_2 > 58.669 AND team = "team australia"
|
### Instruction:
CREATE TABLE table_21862 (
"Country" text,
"Transfers In" real,
"Transfers Out" real,
"Internal Transfers" real,
"Total Transfers" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the least internal transfers
### Response:
|
SELECT MIN("Internal Transfers") FROM table_21862
|
### Instruction:
CREATE TABLE table_17157367_1 (
model VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number of model wehre the status is named geneva?
### Response:
|
SELECT COUNT(model) FROM table_17157367_1 WHERE "status" = "status" AND name = "GenEva"
|
### Instruction:
CREATE TABLE table_name_1 (
us_ac VARCHAR,
label_and_cat_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the US AC of the label and cat# reprise 19466?
### Response:
|
SELECT us_ac FROM table_name_1 WHERE label_and_cat_number = "reprise 19466"
|
### Instruction:
CREATE TABLE table_54623 (
"Pitcher" text,
"Date" text,
"Team" text,
"Result" text,
"Site" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the date for rockies
### Response:
|
SELECT "Date" FROM table_54623 WHERE "Team" = 'rockies'
|
### Instruction:
CREATE TABLE table_51562 (
"Country" text,
"Date" text,
"Label" text,
"Format" text,
"Catalogue #" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which date was for Japan?
### Response:
|
SELECT "Date" FROM table_51562 WHERE "Country" = 'japan'
|
### Instruction:
CREATE TABLE table_25042332_27 (
fixed_telephone_line VARCHAR,
vehicle VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the fixed telephone line for 25.6% vehicle
### Response:
|
SELECT fixed_telephone_line FROM table_25042332_27 WHERE vehicle = "25.6%"
|
### Instruction:
CREATE TABLE table_name_60 (
region VARCHAR,
catalog__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the region for the album with a catalog number of 7567-83061-2?
### Response:
|
SELECT region FROM table_name_60 WHERE catalog__number = "7567-83061-2"
|
### Instruction:
CREATE TABLE table_name_24 (
place_of_birth VARCHAR,
committee VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the delegate belonging to the Judiciary committee of district 43 born?
### Response:
|
SELECT place_of_birth FROM table_name_24 WHERE committee = "judiciary" AND district = 43
|
### Instruction:
CREATE TABLE table_name_59 (
surface VARCHAR,
outcome VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the surface of the tournament with a runner-up outcome and dudi sela as the opponent?
### Response:
|
SELECT surface FROM table_name_59 WHERE outcome = "runner-up" AND opponent = "dudi sela"
|
### Instruction:
CREATE TABLE table_name_16 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result in 2007 when the 2011 was F and 2009 was W?
### Response:
|
SELECT 2007 FROM table_name_16 WHERE 2011 = "f" AND 2009 = "w"
|
### Instruction:
CREATE TABLE table_name_1 (
season VARCHAR,
match VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What season had the Roma-Napoli match on 12 September 1993?
### Response:
|
SELECT season FROM table_name_1 WHERE match = "roma-napoli" AND date = "12 september 1993"
|
### Instruction:
CREATE TABLE table_name_59 (
leading_lady VARCHAR,
director VARCHAR,
title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the leading lady in The Lonely Trail for Joseph Kane?
### Response:
|
SELECT leading_lady FROM table_name_59 WHERE director = "joseph kane" AND title = "the lonely trail"
|
### Instruction:
CREATE TABLE table_name_48 (
visitor VARCHAR,
home VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What visiting team played at the home of the Chicago Black Hawks with a record of 1-1?
### Response:
|
SELECT visitor FROM table_name_48 WHERE home = "chicago black hawks" AND record = "1-1"
|
### Instruction:
CREATE TABLE table_name_47 (
laps VARCHAR,
pos VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many laps were driven by the racer who earned 4th place in 2013?
### Response:
|
SELECT COUNT(laps) FROM table_name_47 WHERE pos = "4th" AND year > 2013
|
### Instruction:
CREATE TABLE table_27184837_1 (
australasia VARCHAR,
americas VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times did Australasia received a program if the Americas received 115 program?
### Response:
|
SELECT COUNT(australasia) FROM table_27184837_1 WHERE americas = 115
|
### Instruction:
CREATE TABLE table_1342013_37 (
first_elected INTEGER,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the minumim first elected for alvin bush
### Response:
|
SELECT MIN(first_elected) FROM table_1342013_37 WHERE incumbent = "Alvin Bush"
|
### Instruction:
CREATE TABLE table_name_92 (
position INTEGER,
points VARCHAR,
draws VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which position has 50+12 points and fewer than 10 draws?
### Response:
|
SELECT MAX(position) FROM table_name_92 WHERE points = "50+12" AND draws < 10
|
### Instruction:
CREATE TABLE table_15315816_1 (
year VARCHAR,
tournament_location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When are all years that tournament location is Western Turnpike Golf Course?
### Response:
|
SELECT year FROM table_15315816_1 WHERE tournament_location = "Western Turnpike Golf Course"
|
### Instruction:
CREATE TABLE table_23486853_6 (
game INTEGER,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the game number when the opposing team was the Buffalo Sabres?
### Response:
|
SELECT MIN(game) FROM table_23486853_6 WHERE opponent = "Buffalo Sabres"
|
### Instruction:
CREATE TABLE table_name_6 (
year_won INTEGER,
finish VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which year won has a Finish of t24, and a Country of england?
### Response:
|
SELECT AVG(year_won) FROM table_name_6 WHERE finish = "t24" AND country = "england"
|
### Instruction:
CREATE TABLE table_name_40 (
caps VARCHAR,
position VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of Caps Aca Ratuva, a flanker, has?
### Response:
|
SELECT COUNT(caps) FROM table_name_40 WHERE position = "flanker" AND player = "aca ratuva"
|
### Instruction:
CREATE TABLE table_name_74 (
gold INTEGER,
silver VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of the gold medals of the nation with 4 silvers and more than 6 total medals?
### Response:
|
SELECT SUM(gold) FROM table_name_74 WHERE silver = 4 AND total > 6
|
### Instruction:
CREATE TABLE table_name_11 (
time_elapsed VARCHAR,
closest_approach VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Time elapsed has 14 February 2011 as the Closest approach?
### Response:
|
SELECT time_elapsed FROM table_name_11 WHERE closest_approach = "14 february 2011"
|
### Instruction:
CREATE TABLE table_17503169_1 (
republican VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the republican candidate in the race with incumbent thelma drake?
### Response:
|
SELECT republican FROM table_17503169_1 WHERE incumbent = "Thelma Drake"
|
### Instruction:
CREATE TABLE table_name_96 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2012 with A in 2009 and 2r in 2010?
### Response:
|
SELECT 2012 FROM table_name_96 WHERE 2009 = "a" AND 2010 = "2r"
|
### Instruction:
CREATE TABLE table_name_59 (
english_country_name VARCHAR,
english_capital_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the English name of the country that has Ramallah as its capital?
### Response:
|
SELECT english_country_name FROM table_name_59 WHERE english_capital_name = "ramallah"
|
### Instruction:
CREATE TABLE parties (
payment_method_code VARCHAR,
party_phone VARCHAR,
party_email VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the payment method and phone of the party with email '[email protected]'.
### Response:
|
SELECT payment_method_code, party_phone FROM parties WHERE party_email = "[email protected]"
|
### Instruction:
CREATE TABLE table_name_40 (
mascot VARCHAR,
year_left VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the mascot in Huntington after the year 2000?
### Response:
|
SELECT mascot FROM table_name_40 WHERE year_left > 2000 AND location = "huntington"
|
### Instruction:
CREATE TABLE table_25818630_1 (
constituency VARCHAR,
result___votes VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many values for constituency for the vote result of 162?
### Response:
|
SELECT COUNT(constituency) FROM table_25818630_1 WHERE result___votes = 162
|
### Instruction:
CREATE TABLE table_name_85 (
winner VARCHAR,
points_classification VARCHAR,
stage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the winner of Stage 12 with a Points Classification of Francesco Moser?
### Response:
|
SELECT winner FROM table_name_85 WHERE points_classification = "francesco moser" AND stage = "12"
|
### Instruction:
CREATE TABLE table_name_95 (
pole VARCHAR,
flap VARCHAR,
podium VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the Flap is less than 15 and the podium is larger than 11, what is the pole?
### Response:
|
SELECT pole FROM table_name_95 WHERE flap < 15 AND podium > 11
|
### Instruction:
CREATE TABLE table_name_96 (
iucn VARCHAR,
est VARCHAR,
reserve VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the IUCN for the gales point reserve when the Est. is 1998?
### Response:
|
SELECT iucn FROM table_name_96 WHERE est = 1998 AND reserve = "gales point"
|
### Instruction:
CREATE TABLE table_12454156_1 (
losing_hand VARCHAR,
winning_hand VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the losing hand where the winning hand was 7h 7s?
### Response:
|
SELECT losing_hand FROM table_12454156_1 WHERE winning_hand = "7h 7s"
|
### Instruction:
CREATE TABLE table_1342370_41 (
result VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result in the election where the incumbent was Finis J. Garrett?
### Response:
|
SELECT result FROM table_1342370_41 WHERE incumbent = "Finis J. Garrett"
|
### Instruction:
CREATE TABLE table_name_93 (
launch_date VARCHAR,
deorbit_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did the ATV that deorbited on 29 september 2008, launch?
### Response:
|
SELECT launch_date FROM table_name_93 WHERE deorbit_date = "29 september 2008"
|
### Instruction:
CREATE TABLE table_25721_3 (
total_viewers VARCHAR,
airdate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many episodes aired on 25 october 2012?
### Response:
|
SELECT COUNT(total_viewers) FROM table_25721_3 WHERE airdate = "25 October 2012"
|
### Instruction:
CREATE TABLE table_name_83 (
year INTEGER,
outcome VARCHAR,
championship VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many years have runner-up as the outcome, and indian wells as the championship?
### Response:
|
SELECT SUM(year) FROM table_name_83 WHERE outcome = "runner-up" AND championship = "indian wells"
|
### Instruction:
CREATE TABLE table_17781886_1 (
game_site VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the December 12, 1965 game?
### Response:
|
SELECT game_site FROM table_17781886_1 WHERE date = "December 12, 1965"
|
### Instruction:
CREATE TABLE table_name_96 (
name VARCHAR,
year_built VARCHAR,
city VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of a building in Courbevoie built before 1973?
### Response:
|
SELECT name FROM table_name_96 WHERE year_built < 1973 AND city = "courbevoie"
|
### Instruction:
CREATE TABLE table_28342423_1 (
aircraft_type VARCHAR,
geschwader_base VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the aircraft type for furstenau/vorden
### Response:
|
SELECT aircraft_type FROM table_28342423_1 WHERE geschwader_base = "Furstenau/Vorden"
|
### Instruction:
CREATE TABLE table_22383603_1 (
season VARCHAR,
finish__incl_championship_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What season ended on April 18?
### Response:
|
SELECT season FROM table_22383603_1 WHERE finish__incl_championship_ = "April 18"
|
### Instruction:
CREATE TABLE table_18600760_12 (
land___sqmi__ VARCHAR,
township VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the land (sqmi) in lansing township?
### Response:
|
SELECT land___sqmi__ FROM table_18600760_12 WHERE township = "Lansing"
|
### Instruction:
CREATE TABLE table_18600760_15 (
longitude VARCHAR,
latitude VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the longitude with a latitude of 47.985154?
### Response:
|
SELECT longitude FROM table_18600760_15 WHERE latitude = "47.985154"
|
### Instruction:
CREATE TABLE table_16390001_2 (
average VARCHAR,
swimsuit VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the average for contestants with a swimsuit score of 8.266?
### Response:
|
SELECT average FROM table_16390001_2 WHERE swimsuit = "8.266"
|
### Instruction:
CREATE TABLE table_name_65 (
number_of_fixtures INTEGER,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Number of fixtures when the rounds shows quarter-finals?
### Response:
|
SELECT SUM(number_of_fixtures) FROM table_name_65 WHERE round = "quarter-finals"
|
### Instruction:
CREATE TABLE table_name_14 (
time VARCHAR,
team_s_ VARCHAR,
artist_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How long is the XXX track used by the Minnesota Vikings?
### Response:
|
SELECT time FROM table_name_14 WHERE team_s_ = "minnesota vikings" AND artist_s_ = "xxx"
|
### Instruction:
CREATE TABLE table_26757_4 (
proto_slavic VARCHAR,
macedonian VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When (r ba) is the macedonian what is the proto-slavic?
### Response:
|
SELECT proto_slavic FROM table_26757_4 WHERE macedonian = "риба (ríba)"
|
### Instruction:
CREATE TABLE table_name_59 (
co_drivers VARCHAR,
team VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the co-driver for Toyota Racing after the year 2012?
### Response:
|
SELECT co_drivers FROM table_name_59 WHERE team = "toyota racing" AND year > 2012
|
### Instruction:
CREATE TABLE table_name_30 (
overall INTEGER,
position VARCHAR,
pick__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which cornerback has the lowest overall and a pick number smaller than 16?
### Response:
|
SELECT MIN(overall) FROM table_name_30 WHERE position = "cornerback" AND pick__number < 16
|
### Instruction:
CREATE TABLE table_name_72 (
lost INTEGER,
team VARCHAR,
goals_for VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Kirkby Town's lowest lost with more than 83 goals?
### Response:
|
SELECT MIN(lost) FROM table_name_72 WHERE team = "kirkby town" AND goals_for > 83
|
### Instruction:
CREATE TABLE table_name_41 (
year INTEGER,
venue VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the most recent race at Kyalami with Keke Rosberg competing?
### Response:
|
SELECT MAX(year) FROM table_name_41 WHERE venue = "kyalami" AND driver = "keke rosberg"
|
### Instruction:
CREATE TABLE table_name_64 (
pat_robertson VARCHAR,
george_hw_bush VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- At what percent was Pat Robertson when George H.W. Bush had 76%?
### Response:
|
SELECT pat_robertson FROM table_name_64 WHERE george_hw_bush = "76%"
|
### Instruction:
CREATE TABLE table_name_17 (
record VARCHAR,
location_attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Record, when Location Attendance is 'TD Banknorth Garden 18,624'?
### Response:
|
SELECT record FROM table_name_17 WHERE location_attendance = "td banknorth garden 18,624"
|
### Instruction:
CREATE TABLE table_269920_3 (
tdp__w_ INTEGER,
model VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the TDP for the 7130N model?
### Response:
|
SELECT MIN(tdp__w_) FROM table_269920_3 WHERE model = "7130N"
|
### Instruction:
CREATE TABLE table_22669044_9 (
team VARCHAR,
location_attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the team for united center 22,147
### Response:
|
SELECT team FROM table_22669044_9 WHERE location_attendance = "United Center 22,147"
|
### Instruction:
CREATE TABLE table_name_36 (
league_cup INTEGER,
championship VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many league cups associated with under 10 championships and a total of under 3?
### Response:
|
SELECT SUM(league_cup) FROM table_name_36 WHERE championship < 10 AND total < 3
|
### Instruction:
CREATE TABLE table_23963073_1 (
artist VARCHAR,
date_of_publication VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the artist who worked on the stories published in 1966?
### Response:
|
SELECT artist FROM table_23963073_1 WHERE date_of_publication = 1966
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.