instruction
stringlengths 212
6.3k
| output
stringlengths 6
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_name_65 (
type VARCHAR,
turbines VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the type of turbine having fewer than 17 units and located in County Laois?
### Response:
| SELECT type FROM table_name_65 WHERE turbines < 17 AND location = "county laois" |
### Instruction:
CREATE TABLE table_23851574_2 (
name VARCHAR,
nationality_sponsors VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which telescopes were sponsored by or originated in Belgium?
### Response:
| SELECT name FROM table_23851574_2 WHERE nationality_sponsors = "Belgium" |
### Instruction:
CREATE TABLE table_name_59 (
year INTEGER,
entrant VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year did Elf Team Tyrrell have 34 points?
### Response:
| SELECT AVG(year) FROM table_name_59 WHERE entrant = "elf team tyrrell" AND points = "34" |
### Instruction:
CREATE TABLE table_78948 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What did Taiwan score?
### Response:
| SELECT "Score" FROM table_78948 WHERE "Country" = 'taiwan' |
### Instruction:
CREATE TABLE table_name_38 (
points VARCHAR,
visitor VARCHAR,
home VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points have pittsburgh as the visitor, and philadelphia as the home?
### Response:
| SELECT COUNT(points) FROM table_name_38 WHERE visitor = "pittsburgh" AND home = "philadelphia" |
### Instruction:
CREATE TABLE table_12262182_2 (
titles VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What titles were fought for on 1997-04-12?
### Response:
| SELECT titles FROM table_12262182_2 WHERE date = "1997-04-12" |
### Instruction:
CREATE TABLE table_15700367_6 (
runs_conceded VARCHAR,
er VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many runs conceded when the earned runs was 4.96?
### Response:
| SELECT runs_conceded FROM table_15700367_6 WHERE er = "4.96" |
### Instruction:
CREATE TABLE table_27733909_7 (
team VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the team for score l 102 122 (ot)
### Response:
| SELECT team FROM table_27733909_7 WHERE score = "L 102–122 (OT)" |
### Instruction:
CREATE TABLE table_204_937 (
id number,
"rank" number,
"lane" number,
"athlete" text,
"time" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was the top finisher ?
### Response:
| SELECT "athlete" FROM table_204_937 WHERE id = 1 |
### Instruction:
CREATE TABLE table_11094950_1 (
team VARCHAR,
division VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which teams were in the central division and located in livonia?
### Response:
| SELECT team FROM table_11094950_1 WHERE division = "Central" AND location = "Livonia" |
### Instruction:
CREATE TABLE table_name_88 (
lner_1946_no VARCHAR,
order_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is order S24's LNER 1946 number?
### Response:
| SELECT lner_1946_no FROM table_name_88 WHERE order_no = "s24" |
### Instruction:
CREATE TABLE table_name_45 (
total INTEGER,
nation VARCHAR,
gold VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Total, when Nation is West Germany, and when Gold is greater than 2?
### Response:
| SELECT SUM(total) FROM table_name_45 WHERE nation = "west germany" AND gold > 2 |
### Instruction:
CREATE TABLE table_name_39 (
tujunga VARCHAR,
pasadena VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the figure for Tujunga when Pasadena is 134,941?
### Response:
| SELECT tujunga FROM table_name_39 WHERE pasadena = "134,941" |
### Instruction:
CREATE TABLE table_29499399_2 (
money_list_rank VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Jonathan Kaye's money list ranking?
### Response:
| SELECT COUNT(money_list_rank) FROM table_29499399_2 WHERE player = "Jonathan Kaye" |
### Instruction:
CREATE TABLE table_name_56 (
play_by_play VARCHAR,
year VARCHAR,
network VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who did the play-by-play before 1998 on Fox network?
### Response:
| SELECT play_by_play FROM table_name_56 WHERE year < 1998 AND network = "fox" |
### Instruction:
CREATE TABLE table_1342315_4 (
first_elected VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many first elections have Claude Fuller as incumbent?
### Response:
| SELECT COUNT(first_elected) FROM table_1342315_4 WHERE incumbent = "Claude Fuller" |
### Instruction:
CREATE TABLE table_25008327_8 (
slovak VARCHAR,
ukrainian VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What area all values for Slovak when value for Ukranian is , ?
### Response:
| SELECT slovak FROM table_25008327_8 WHERE ukrainian = "пес, собака" |
### Instruction:
CREATE TABLE table_name_35 (
losses INTEGER,
wimmera_fl VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Losses have a Wimmera FL of minyip murtoa?
### Response:
| SELECT AVG(losses) FROM table_name_35 WHERE wimmera_fl = "minyip murtoa" |
### Instruction:
CREATE TABLE table_name_79 (
event VARCHAR,
competition VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Event has a Competition of chicago marathon, and a Year larger than 2004?
### Response:
| SELECT event FROM table_name_79 WHERE competition = "chicago marathon" AND year > 2004 |
### Instruction:
CREATE TABLE table_name_6 (
money_requested__ VARCHAR,
company_or_product_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much money did gaming alerts ask for?
### Response:
| SELECT COUNT(money_requested__) AS £_ FROM table_name_6 WHERE company_or_product_name = "gaming alerts" |
### Instruction:
CREATE TABLE table_name_42 (
gold INTEGER,
silver VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest number of gold where the total is less than 3 and the silver count is 2?
### Response:
| SELECT MIN(gold) FROM table_name_42 WHERE silver = 2 AND total < 3 |
### Instruction:
CREATE TABLE table_name_70 (
games INTEGER,
rating VARCHAR,
yards VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the games average with less than 3.8 in rating and less than 9 yards?
### Response:
| SELECT AVG(games) FROM table_name_70 WHERE rating < 3.8 AND yards < 9 |
### Instruction:
CREATE TABLE table_name_24 (
rank INTEGER,
gross VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Rank is the lowest one that has a Gross of $54,215,416?
### Response:
| SELECT MIN(rank) FROM table_name_24 WHERE gross = "$54,215,416" |
### Instruction:
CREATE TABLE table_21500850_1 (
original_game VARCHAR,
artist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every original game for the artist Lynyrd Skynyrd?
### Response:
| SELECT original_game FROM table_21500850_1 WHERE artist = "Lynyrd Skynyrd" |
### Instruction:
CREATE TABLE table_name_79 (
date VARCHAR,
location VARCHAR,
result VARCHAR,
competition VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date has a result of win, in a friendly competition in Porto?
### Response:
| SELECT date FROM table_name_79 WHERE result = "win" AND competition = "friendly" AND location = "porto" |
### Instruction:
CREATE TABLE table_name_58 (
team VARCHAR,
conference VARCHAR,
school VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team has great plains as the conference, and concordia (ne) as the school?
### Response:
| SELECT team FROM table_name_58 WHERE conference = "great plains" AND school = "concordia (ne)" |
### Instruction:
CREATE TABLE table_17060277_6 (
date VARCHAR,
high_assists VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which date did Chris Duhon (13) receive high assists?
### Response:
| SELECT date FROM table_17060277_6 WHERE high_assists = "Chris Duhon (13)" |
### Instruction:
CREATE TABLE table_name_87 (
nation VARCHAR,
gold VARCHAR,
bronze VARCHAR,
silver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which nation has a Bronze and Silver smaller than 1 and a Gold larger than 1?
### Response:
| SELECT nation FROM table_name_87 WHERE bronze < 1 AND silver < 1 AND gold > 1 |
### Instruction:
CREATE TABLE table_name_90 (
score VARCHAR,
competition VARCHAR,
season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the league cup in the 2007-08 season?
### Response:
| SELECT score FROM table_name_90 WHERE competition = "league cup" AND season = "2007-08" |
### Instruction:
CREATE TABLE table_name_55 (
against INTEGER,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest Against with a Date of 18/02/1989?
### Response:
| SELECT MIN(against) FROM table_name_55 WHERE date = "18/02/1989" |
### Instruction:
CREATE TABLE Documents_to_be_destroyed (
Destroyed_by_Employee_ID VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show the employee ids and the number of documents destroyed by each employee.
### Response:
| SELECT Destroyed_by_Employee_ID, COUNT(*) FROM Documents_to_be_destroyed GROUP BY Destroyed_by_Employee_ID |
### Instruction:
CREATE TABLE table_name_14 (
director VARCHAR,
year VARCHAR,
role VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What director directed the role of shelby barret wyatt in 1935?
### Response:
| SELECT director FROM table_name_14 WHERE year = 1935 AND role = "shelby barret wyatt" |
### Instruction:
CREATE TABLE table_name_4 (
prev INTEGER,
rank VARCHAR,
rating VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest prev that has 9 as the rank, with a rating less than 2746?
### Response:
| SELECT MAX(prev) FROM table_name_4 WHERE rank = 9 AND rating < 2746 |
### Instruction:
CREATE TABLE table_name_14 (
round VARCHAR,
college VARCHAR,
overall VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum number of round with Nebraska as the college and the overall greater than 40?
### Response:
| SELECT COUNT(round) FROM table_name_14 WHERE college = "nebraska" AND overall > 40 |
### Instruction:
CREATE TABLE table_15621965_3 (
years_in_orlando VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- During what years did Chris Corchiani play in Orlando?
### Response:
| SELECT years_in_orlando FROM table_15621965_3 WHERE player = "Chris Corchiani" |
### Instruction:
CREATE TABLE table_25572068_1 (
location VARCHAR,
winning_driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the location when the winning driver was Nathana l Berthon?
### Response:
| SELECT location FROM table_25572068_1 WHERE winning_driver = "Nathanaël Berthon" |
### Instruction:
CREATE TABLE table_27114708_2 (
team VARCHAR,
replaced_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Mention all the applicable team who are replaced by gianluca atzori
### Response:
| SELECT team FROM table_27114708_2 WHERE replaced_by = "Gianluca Atzori" |
### Instruction:
CREATE TABLE table_1949746_1 (
licensee VARCHAR,
city_of_license VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When portsmouth is the city of license who is the licensee?
### Response:
| SELECT licensee FROM table_1949746_1 WHERE city_of_license = "Portsmouth" |
### Instruction:
CREATE TABLE table_12340907_1 (
cost_per_capita VARCHAR,
municipality VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the cost per capita in the Courtenay municipality?
### Response:
| SELECT cost_per_capita FROM table_12340907_1 WHERE municipality = "Courtenay" |
### Instruction:
CREATE TABLE table_15417439_1 (
length VARCHAR,
genus_species VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the genus/species arabidopsis thaliana, what are the lengths?
### Response:
| SELECT length FROM table_15417439_1 WHERE genus_species = "Arabidopsis thaliana" |
### Instruction:
CREATE TABLE table_name_16 (
cerclis_id VARCHAR,
deleted VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What CERCLIS ID is Deleted of 04/07/2008?
### Response:
| SELECT cerclis_id FROM table_name_16 WHERE deleted = "04/07/2008" |
### Instruction:
CREATE TABLE table_18018214_2 (
goals_conceded INTEGER,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the number of goals scored to equal 58.
### Response:
| SELECT MIN(goals_conceded) FROM table_18018214_2 WHERE points = 58 |
### Instruction:
CREATE TABLE table_23501776_16 (
points VARCHAR,
new_points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of points defending for 1075
### Response:
| SELECT COUNT(points) AS defending FROM table_23501776_16 WHERE new_points = 1075 |
### Instruction:
CREATE TABLE table_name_72 (
player VARCHAR,
event VARCHAR,
aces VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many players were in the event after 2011 with less than 9 aces?
### Response:
| SELECT COUNT(player) FROM table_name_72 WHERE event > 2011 AND NOT aces < 9 |
### Instruction:
CREATE TABLE table_name_46 (
opponent_in_the_final VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent in the final on 5 July 1992?
### Response:
| SELECT opponent_in_the_final FROM table_name_46 WHERE date = "5 july 1992" |
### Instruction:
CREATE TABLE table_24565004_17 (
goals¹ VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of goals for mauricio pochettino
### Response:
| SELECT COUNT(goals¹) FROM table_24565004_17 WHERE name = "Mauricio Pochettino" |
### Instruction:
CREATE TABLE table_name_83 (
annual_generation__average_gwh_ VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Annual Generation at Kawerau (Bope)?
### Response:
| SELECT annual_generation__average_gwh_ FROM table_name_83 WHERE name = "kawerau (bope)" |
### Instruction:
CREATE TABLE table_27361255_1 (
primary_conference VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many primary conferences were held in Allendale, Michigan?
### Response:
| SELECT COUNT(primary_conference) FROM table_27361255_1 WHERE location = "Allendale, Michigan" |
### Instruction:
CREATE TABLE table_14724369_1 (
directed_by VARCHAR,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people directed the show written by Chris Sheridan?
### Response:
| SELECT COUNT(directed_by) FROM table_14724369_1 WHERE written_by = "Chris Sheridan" |
### Instruction:
CREATE TABLE table_name_37 (
player VARCHAR,
position VARCHAR,
afl_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player is an offensive tackle for the New York Jets?
### Response:
| SELECT player FROM table_name_37 WHERE position = "offensive tackle" AND afl_team = "new york jets" |
### Instruction:
CREATE TABLE table_name_64 (
drawn INTEGER,
position VARCHAR,
lost VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Drawn is the highest one that has a Position smaller than 4, and a Lost smaller than 2?
### Response:
| SELECT MAX(drawn) FROM table_name_64 WHERE position < 4 AND lost < 2 |
### Instruction:
CREATE TABLE table_name_53 (
time_retired VARCHAR,
grid VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much time does it take for jean alesi and grids lesser than 5?
### Response:
| SELECT time_retired FROM table_name_53 WHERE grid < 5 AND driver = "jean alesi" |
### Instruction:
CREATE TABLE table_name_19 (
position INTEGER,
against VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Position with less than 57 against and the team is Juventus?
### Response:
| SELECT AVG(position) FROM table_name_19 WHERE against < 57 AND team = "juventus" |
### Instruction:
CREATE TABLE store (
address_id VARCHAR
)
CREATE TABLE address (
address VARCHAR,
address_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is store 1 located?
### Response:
| SELECT T2.address FROM store AS T1 JOIN address AS T2 ON T1.address_id = T2.address_id WHERE store_id = 1 |
### Instruction:
CREATE TABLE table_11604804_5 (
founded INTEGER,
nickname VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the founding of parsu cimmarons?
### Response:
| SELECT MIN(founded) FROM table_11604804_5 WHERE nickname = "ParSU Cimmarons" |
### Instruction:
CREATE TABLE table_name_3 (
result VARCHAR,
film_title_used_in_nomination VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE RESULT WITH A FILM TITLE FIREDANCER?
### Response:
| SELECT result FROM table_name_3 WHERE film_title_used_in_nomination = "firedancer" |
### Instruction:
CREATE TABLE table_16388478_4 (
away_team VARCHAR,
crowd VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the away team score for the game with a crowd of 5391?
### Response:
| SELECT away_team AS score FROM table_16388478_4 WHERE crowd = 5391 |
### Instruction:
CREATE TABLE table_name_91 (
to_par VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the to par score of the golfer that had a score of 68-70=138?
### Response:
| SELECT to_par FROM table_name_91 WHERE score = 68 - 70 = 138 |
### Instruction:
CREATE TABLE table_name_37 (
heat VARCHAR,
name VARCHAR,
lane VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total heat number of sun yang, who has a lane less than 2?
### Response:
| SELECT COUNT(heat) FROM table_name_37 WHERE name = "sun yang" AND lane < 2 |
### Instruction:
CREATE TABLE table_name_99 (
result VARCHAR,
horse VARCHAR,
event VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result of Waldemar 27 s freestyle test?
### Response:
| SELECT COUNT(result) FROM table_name_99 WHERE horse = "waldemar 27" AND event = "freestyle test" |
### Instruction:
CREATE TABLE table_134729_3 (
target_city__market VARCHAR,
city_of_license VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What market is Wessington Springs in
### Response:
| SELECT target_city__market FROM table_134729_3 WHERE city_of_license = "Wessington Springs" |
### Instruction:
CREATE TABLE table_name_31 (
president VARCHAR,
year VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the President with a Year larger than 2011, and a Date with 23 may?
### Response:
| SELECT president FROM table_name_31 WHERE year > 2011 AND date = "23 may" |
### Instruction:
CREATE TABLE table_name_51 (
losses VARCHAR,
conference VARCHAR,
season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Losses at the western conference and the 2004 05 season?
### Response:
| SELECT losses FROM table_name_51 WHERE conference = "western" AND season = "2004–05" |
### Instruction:
CREATE TABLE table_name_21 (
Lieutenant VARCHAR,
left_office VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was Lieutenant Governor to the governor that left office on January 14, 1929?
### Response:
| SELECT Lieutenant AS governor FROM table_name_21 WHERE left_office = "january 14, 1929" |
### Instruction:
CREATE TABLE table_name_95 (
draws INTEGER,
position VARCHAR,
played VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the sum of draws for position less than 15 with played more than 38
### Response:
| SELECT SUM(draws) FROM table_name_95 WHERE position < 15 AND played > 38 |
### Instruction:
CREATE TABLE table_name_3 (
score VARCHAR,
competition VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score of the friendly match competition on 24 July 2008?
### Response:
| SELECT score FROM table_name_3 WHERE competition = "friendly match" AND date = "24 july 2008" |
### Instruction:
CREATE TABLE table_name_92 (
score VARCHAR,
opponent VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which score has an Opponent of white sox, and a Record of 2-0?
### Response:
| SELECT score FROM table_name_92 WHERE opponent = "white sox" AND record = "2-0" |
### Instruction:
CREATE TABLE table_name_99 (
drawn INTEGER,
lost VARCHAR,
coach VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Drawn did Coach Francis Cummins have with less than 4 Lost?
### Response:
| SELECT SUM(drawn) FROM table_name_99 WHERE lost < 4 AND coach = "francis cummins" |
### Instruction:
CREATE TABLE table_17302440_1 (
year VARCHAR,
west_manila VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the year when West Manila has a tariff increase of 6.5?
### Response:
| SELECT year FROM table_17302440_1 WHERE west_manila = "6.5" |
### Instruction:
CREATE TABLE table_name_49 (
score VARCHAR,
opponent VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score of the game on September 13 when the Expos were the opponent?
### Response:
| SELECT score FROM table_name_49 WHERE opponent = "expos" AND date = "september 13" |
### Instruction:
CREATE TABLE table_name_22 (
date VARCHAR,
country VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When is Country of united states, and a Venue of mandalay bay resort in?
### Response:
| SELECT date FROM table_name_22 WHERE country = "united states" AND venue = "mandalay bay resort" |
### Instruction:
CREATE TABLE table_name_23 (
bronze INTEGER,
total VARCHAR,
silver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Bronze, when Total is 7, and when Silver is greater than 1?
### Response:
| SELECT AVG(bronze) FROM table_name_23 WHERE total = 7 AND silver > 1 |
### Instruction:
CREATE TABLE table_191105_3 (
subject VARCHAR,
performed_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHen jaime aff and christine langner are the performers what is the subject?
### Response:
| SELECT subject FROM table_191105_3 WHERE performed_by = "Jaime Aff and Christine Langner" |
### Instruction:
CREATE TABLE table_name_45 (
surface VARCHAR,
partner VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Surface has a Partner of jim thomas, and a Date of 2007?
### Response:
| SELECT surface FROM table_name_45 WHERE partner = "jim thomas" AND date = 2007 |
### Instruction:
CREATE TABLE table_name_38 (
l2_cache VARCHAR,
release_price___usd__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the L2 Cache for the processor with a release price of $496?
### Response:
| SELECT l2_cache FROM table_name_38 WHERE release_price___usd__ = "$496" |
### Instruction:
CREATE TABLE table_1342426_18 (
candidates VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many candidates won the election of john n. sandlin?
### Response:
| SELECT COUNT(candidates) FROM table_1342426_18 WHERE incumbent = "John N. Sandlin" |
### Instruction:
CREATE TABLE table_name_28 (
driver VARCHAR,
q1_order VARCHAR,
q1_pos VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Driver at larger than 10 with a Q1 of 18.
### Response:
| SELECT driver FROM table_name_28 WHERE q1_order > 10 AND q1_pos = 18 |
### Instruction:
CREATE TABLE table_23982399_12 (
special VARCHAR,
challenger VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the special when the challenger is dominique bouchet?
### Response:
| SELECT special FROM table_23982399_12 WHERE challenger = "Dominique Bouchet" |
### Instruction:
CREATE TABLE table_name_34 (
year INTEGER,
pts VARCHAR,
entrant VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year did Ecurie Bleue score more than 0 points?
### Response:
| SELECT AVG(year) FROM table_name_34 WHERE pts > 0 AND entrant = "ecurie bleue" |
### Instruction:
CREATE TABLE table_name_8 (
year INTEGER,
work VARCHAR,
award VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Year is the highest one that has a Work of the clone, and an Award of contigo award?
### Response:
| SELECT MAX(year) FROM table_name_8 WHERE work = "the clone" AND award = "contigo award" |
### Instruction:
CREATE TABLE table_24399615_4 (
episode_no INTEGER,
cable_rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What episode number had a cable ranking of 8?
### Response:
| SELECT MIN(episode_no) FROM table_24399615_4 WHERE cable_rank = "8" |
### Instruction:
CREATE TABLE table_name_78 (
austria VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest number for 102 when Friendly of friendly, and an Austria of greece?
### Response:
| SELECT MIN(102) FROM table_name_78 WHERE "friendly" = "friendly" AND austria = "greece" |
### Instruction:
CREATE TABLE table_15463188_17 (
name VARCHAR,
school_club_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many players are listed for the school/club team Washington?
### Response:
| SELECT COUNT(name) FROM table_15463188_17 WHERE school_club_team = "Washington" |
### Instruction:
CREATE TABLE table_name_2 (
date VARCHAR,
edition VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the 1991 world group I with the opponent of Li Fang?
### Response:
| SELECT date FROM table_name_2 WHERE edition = "1991 world group i" AND opponent = "li fang" |
### Instruction:
CREATE TABLE table_21436373_10 (
date_year VARCHAR,
type_of_record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the pre-season game record achieved?
### Response:
| SELECT date_year FROM table_21436373_10 WHERE type_of_record = "Pre-season game" |
### Instruction:
CREATE TABLE table_name_54 (
laps VARCHAR,
driver VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many laps for martin brundle with a grid of less than 10?
### Response:
| SELECT COUNT(laps) FROM table_name_54 WHERE driver = "martin brundle" AND grid < 10 |
### Instruction:
CREATE TABLE table_name_68 (
winner VARCHAR,
season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had the women's win when Norway was the winner overall in season 2001/02?
### Response:
| SELECT winner AS Women FROM table_name_68 WHERE winner = "norway" AND season = "2001/02" |
### Instruction:
CREATE TABLE table_1342315_17 (
district VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many districts for ren l. derouen?
### Response:
| SELECT COUNT(district) FROM table_1342315_17 WHERE incumbent = "René L. DeRouen" |
### Instruction:
CREATE TABLE table_20246201_9 (
states___first_place VARCHAR,
office VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many states-first place are there for the office of Governor?
### Response:
| SELECT COUNT(states___first_place) FROM table_20246201_9 WHERE office = "Governor" |
### Instruction:
CREATE TABLE table_name_83 (
apps VARCHAR,
transfer_window VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times is the transfer window, summer and the name sinclair?
### Response:
| SELECT COUNT(apps) FROM table_name_83 WHERE transfer_window = "summer" AND name = "sinclair" |
### Instruction:
CREATE TABLE table_name_10 (
city VARCHAR,
region VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What city is east region venue University Hall (University of Virginia) in?
### Response:
| SELECT city FROM table_name_10 WHERE region = "east" AND venue = "university hall (university of virginia)" |
### Instruction:
CREATE TABLE table_name_5 (
round VARCHAR,
time VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Round has a Time of n/a, in rio de janeiro , brazil?
### Response:
| SELECT round FROM table_name_5 WHERE time = "n/a" AND location = "rio de janeiro , brazil" |
### Instruction:
CREATE TABLE table_2231241_1 (
seat_no_1 VARCHAR,
mayor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is seat no 1 when the mayor was john j. seguier
### Response:
| SELECT seat_no_1 FROM table_2231241_1 WHERE mayor = "John J. Seguier" |
### Instruction:
CREATE TABLE table_name_90 (
driver VARCHAR,
engine VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the Driver, when the Engine is Chevrolet, and when the Date is October 3?
### Response:
| SELECT driver FROM table_name_90 WHERE engine = "chevrolet" AND date = "october 3" |
### Instruction:
CREATE TABLE table_22014431_3 (
total VARCHAR,
tosses_pyramids VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total if 44 is tosses/pyramids?
### Response:
| SELECT total FROM table_22014431_3 WHERE tosses_pyramids = "44" |
### Instruction:
CREATE TABLE table_name_50 (
appearances INTEGER,
club VARCHAR,
goals VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many appearances with fc igea virtus and 1 goal?
### Response:
| SELECT AVG(appearances) FROM table_name_50 WHERE club = "fc igea virtus" AND goals = 1 |
### Instruction:
CREATE TABLE table_1628792_1 (
dates VARCHAR,
margin_of_victory VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the dates for margin of victory being 5 strokes
### Response:
| SELECT COUNT(dates) FROM table_1628792_1 WHERE margin_of_victory = "5 strokes" |
### Instruction:
CREATE TABLE table_12679326_1 (
district VARCHAR,
party VARCHAR,
committee VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What district is represented by a Republican Appropriations Committee?
### Response:
| SELECT district FROM table_12679326_1 WHERE party = "Republican" AND committee = "Appropriations" |
### Instruction:
CREATE TABLE table_26681728_1 (
location VARCHAR,
score_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where did the event with a final score of 15.050 occur?
### Response:
| SELECT location FROM table_26681728_1 WHERE score_final = "15.050" |
### Instruction:
CREATE TABLE table_name_47 (
competition VARCHAR,
year VARCHAR,
notes VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What competition was held earlier than 2007 and has 7434 in the notes field?
### Response:
| SELECT competition FROM table_name_47 WHERE year < 2007 AND notes = "7434" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.