instruction
stringlengths 212
6.3k
| output
stringlengths 6
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_name_28 (
winner VARCHAR,
jockey VARCHAR,
owner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which winner has a jockery containing jerry bailey and the owner of overbrook farm?
### Response:
|
SELECT winner FROM table_name_28 WHERE jockey = "jerry bailey" AND owner = "overbrook farm"
|
### Instruction:
CREATE TABLE table_2409041_4 (
no_in_series VARCHAR,
no_in_season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of number in the season for 11
### Response:
|
SELECT COUNT(no_in_series) FROM table_2409041_4 WHERE no_in_season = 11
|
### Instruction:
CREATE TABLE table_178381_1 (
church_name VARCHAR,
location_of_the_church VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the name of the church in Stavang?
### Response:
|
SELECT church_name FROM table_178381_1 WHERE location_of_the_church = "Stavang"
|
### Instruction:
CREATE TABLE table_24285393_1 (
maximum_elevation VARCHAR,
country_or_region VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the maximum elevation in netherlands?
### Response:
|
SELECT maximum_elevation FROM table_24285393_1 WHERE country_or_region = "Netherlands"
|
### Instruction:
CREATE TABLE table_name_68 (
min_press___mbar__ VARCHAR,
deaths VARCHAR,
storm_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Min press has none Death and seven Storm names?
### Response:
|
SELECT min_press___mbar__ FROM table_name_68 WHERE deaths = "none" AND storm_name = "seven"
|
### Instruction:
CREATE TABLE table_11604804_5 (
location VARCHAR,
nickname VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the number of location of nickname cbsua formerly known cssac?
### Response:
|
SELECT COUNT(location) FROM table_11604804_5 WHERE nickname = "CBSUA formerly known CSSAC"
|
### Instruction:
CREATE TABLE table_30121082_1 (
barony VARCHAR,
area__acres__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the Baronies when the area (in acres) is 276?
### Response:
|
SELECT barony FROM table_30121082_1 WHERE area__acres__ = 276
|
### Instruction:
CREATE TABLE table_23274514_7 (
date VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of date for w 107 97 (ot)
### Response:
|
SELECT COUNT(date) FROM table_23274514_7 WHERE score = "W 107–97 (OT)"
|
### Instruction:
CREATE TABLE table_19001175_1 (
points VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the points for thierry tassin category:articles with hcards
### Response:
|
SELECT points FROM table_19001175_1 WHERE name = "Thierry Tassin Category:Articles with hCards"
|
### Instruction:
CREATE TABLE table_1059743_1 (
play_off VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games had a score value of 813.5 in post-season play?
### Response:
|
SELECT COUNT(play_off) FROM table_1059743_1 WHERE points = "813.5"
|
### Instruction:
CREATE TABLE table_20745685_1 (
opponent VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent on February 28, 1991
### Response:
|
SELECT opponent FROM table_20745685_1 WHERE date = "February 28, 1991"
|
### Instruction:
CREATE TABLE table_120778_2 (
voted_yes INTEGER,
percent_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the minimum voted yes where percent no is 68.2
### Response:
|
SELECT MIN(voted_yes) FROM table_120778_2 WHERE percent_no = "68.2"
|
### Instruction:
CREATE TABLE table_13677808_1 (
environment VARCHAR,
overall__average_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the environment rating of the country with an overall average rating of 4.7?
### Response:
|
SELECT environment FROM table_13677808_1 WHERE overall__average_ = "4.7"
|
### Instruction:
CREATE TABLE table_name_66 (
constructor VARCHAR,
time_retired VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who built the car that has a Time/Retired of 1:36:38.887?
### Response:
|
SELECT constructor FROM table_name_66 WHERE time_retired = "1:36:38.887"
|
### Instruction:
CREATE TABLE table_203_418 (
id number,
"#" number,
"player" text,
"position" text,
"height" number,
"current club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total amount of players ?
### Response:
|
SELECT COUNT("player") FROM table_203_418
|
### Instruction:
CREATE TABLE table_name_56 (
points INTEGER,
team_chassis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of points team Alfa Romeo 184T won?
### Response:
|
SELECT SUM(points) FROM table_name_56 WHERE team_chassis = "alfa romeo 184t"
|
### Instruction:
CREATE TABLE table_2679061_11 (
nationality VARCHAR,
nhl_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many players were drafted by the Philadelphia Flyers?
### Response:
|
SELECT COUNT(nationality) FROM table_2679061_11 WHERE nhl_team = "Philadelphia Flyers"
|
### Instruction:
CREATE TABLE table_name_51 (
priority_entry_rights_to_derby VARCHAR,
race_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Priority-entry-rights to Derby in rank 4?
### Response:
|
SELECT priority_entry_rights_to_derby FROM table_name_51 WHERE NOT race_name = 4
|
### Instruction:
CREATE TABLE products (
product_price VARCHAR,
product_id VARCHAR
)
CREATE TABLE complaints (
product_price VARCHAR,
product_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the prices of products which has never received a single complaint.
### Response:
|
SELECT product_price FROM products WHERE NOT product_id IN (SELECT product_id FROM complaints)
|
### Instruction:
CREATE TABLE table_76938 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the T8 Place Player?
### Response:
|
SELECT "Player" FROM table_76938 WHERE "Place" = 't8'
|
### Instruction:
CREATE TABLE table_name_37 (
runner_s__up VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is Runner(s)-up that has a Date of may 24, 1999?
### Response:
|
SELECT runner_s__up FROM table_name_37 WHERE date = "may 24, 1999"
|
### Instruction:
CREATE TABLE table_name_23 (
overall INTEGER,
pick VARCHAR,
college VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the overall sum of the game with a pick less than 8 from the college of western michigan?
### Response:
|
SELECT SUM(overall) FROM table_name_23 WHERE pick < 8 AND college = "western michigan"
|
### Instruction:
CREATE TABLE table_name_21 (
rank INTEGER,
name VARCHAR,
goals VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When Oscar M guez had over 107 goals, what was the lowest he ranked?
### Response:
|
SELECT MIN(rank) FROM table_name_21 WHERE name = "oscar míguez" AND goals > 107
|
### Instruction:
CREATE TABLE table_17625749_3 (
try_bonus VARCHAR,
tries_against VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the try bonus when the tries against are 17?
### Response:
|
SELECT try_bonus FROM table_17625749_3 WHERE tries_against = "17"
|
### Instruction:
CREATE TABLE table_24126518_2 (
attendance INTEGER,
final_score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the least attendance for l 36 1
### Response:
|
SELECT MIN(attendance) FROM table_24126518_2 WHERE final_score = "L 36–1"
|
### Instruction:
CREATE TABLE table_23286158_8 (
team VARCHAR,
location_attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the team at the rose garden 20,565
### Response:
|
SELECT team FROM table_23286158_8 WHERE location_attendance = "Rose Garden 20,565"
|
### Instruction:
CREATE TABLE table_name_70 (
gold VARCHAR,
bronze VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of Gold medals for the Nation with more than 1 Bronze and more the 4 Total medals?
### Response:
|
SELECT COUNT(gold) FROM table_name_70 WHERE bronze > 1 AND total > 4
|
### Instruction:
CREATE TABLE table_23799417_1 (
no_in_series VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many series had a production code of 202?
### Response:
|
SELECT COUNT(no_in_series) FROM table_23799417_1 WHERE production_code = 202
|
### Instruction:
CREATE TABLE table_name_40 (
ties INTEGER,
goals_for VARCHAR,
wins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many ties do teams with 25 Goals For and more than 5 wins have?
### Response:
|
SELECT SUM(ties) FROM table_name_40 WHERE goals_for = 25 AND wins > 5
|
### Instruction:
CREATE TABLE table_name_82 (
home_run INTEGER,
opposing_pitcher VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When Efrain Valdez was pitching, what was the highest home run?
### Response:
|
SELECT MAX(home_run) FROM table_name_82 WHERE opposing_pitcher = "efrain valdez"
|
### Instruction:
CREATE TABLE table_12086015_7 (
nationality VARCHAR,
year_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of nationality in 1992?
### Response:
|
SELECT COUNT(nationality) FROM table_12086015_7 WHERE year_s_ = "1992"
|
### Instruction:
CREATE TABLE table_name_19 (
round INTEGER,
name VARCHAR,
overall VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- With an Overall larger than 107, in what Round was Jim Duncan picked?
### Response:
|
SELECT SUM(round) FROM table_name_19 WHERE name = "jim duncan" AND overall > 107
|
### Instruction:
CREATE TABLE table_name_86 (
latitude VARCHAR,
year_named VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Latitude of the Alajen Vallis named after 1997?
### Response:
|
SELECT latitude FROM table_name_86 WHERE year_named > 1997 AND name = "alajen vallis"
|
### Instruction:
CREATE TABLE table_name_59 (
athlete VARCHAR,
notes VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has a time of 7:26.85 and notes of sc/d?
### Response:
|
SELECT athlete FROM table_name_59 WHERE notes = "sc/d" AND time = "7:26.85"
|
### Instruction:
CREATE TABLE table_name_79 (
country VARCHAR,
population__2011_est_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which country has a population of 3,221,216?
### Response:
|
SELECT country FROM table_name_79 WHERE population__2011_est_ = "3,221,216"
|
### Instruction:
CREATE TABLE table_27734286_1 (
record VARCHAR,
high_points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What record has c. j. miles (20) in the high points?
### Response:
|
SELECT record FROM table_27734286_1 WHERE high_points = "C. J. Miles (20)"
|
### Instruction:
CREATE TABLE table_name_32 (
points INTEGER,
performer VARCHAR,
draw VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Points has a Performer of rob burke band and a Draw larger than 1?
### Response:
|
SELECT AVG(points) FROM table_name_32 WHERE performer = "rob burke band" AND draw > 1
|
### Instruction:
CREATE TABLE table_13183076_3 (
original_air_date VARCHAR,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Original air date for the episode written by Peter Ocko?
### Response:
|
SELECT original_air_date FROM table_13183076_3 WHERE written_by = "Peter Ocko"
|
### Instruction:
CREATE TABLE table_2226817_2 (
no_in_series VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many number of series have a production code of 1.11?
### Response:
|
SELECT no_in_series FROM table_2226817_2 WHERE production_code = "1.11"
|
### Instruction:
CREATE TABLE table_28677723_10 (
music VARCHAR,
tor_fløysvik VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many music entries are there when tor floysvik is 3?
### Response:
|
SELECT COUNT(music) FROM table_28677723_10 WHERE tor_fløysvik = 3
|
### Instruction:
CREATE TABLE table_6397 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date was game 3 played?
### Response:
|
SELECT "Date" FROM table_6397 WHERE "Game" = '3'
|
### Instruction:
CREATE TABLE table_name_51 (
league_goals INTEGER,
fa_cup_goals INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the sum of league goals when the fa cup goals is more than 0?
### Response:
|
SELECT SUM(league_goals) FROM table_name_51 WHERE fa_cup_goals > 0
|
### Instruction:
CREATE TABLE table_1266602_1 (
crew_chief VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the total number of crew chiefs of the Fas Lane Racing team?
### Response:
|
SELECT COUNT(crew_chief) FROM table_1266602_1 WHERE team = "FAS Lane Racing"
|
### Instruction:
CREATE TABLE table_name_86 (
status VARCHAR,
against VARCHAR,
opposing_teams VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the status for an against below 22 with an opposing team of Australia?
### Response:
|
SELECT status FROM table_name_86 WHERE against < 22 AND opposing_teams = "australia"
|
### Instruction:
CREATE TABLE table_name_11 (
venue VARCHAR,
year VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHich Venue has a Year larger than 2003, and a Position of 10th?
### Response:
|
SELECT venue FROM table_name_11 WHERE year > 2003 AND position = "10th"
|
### Instruction:
CREATE TABLE table_name_74 (
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is 1990, when 1997 is '1R', and when Tournament is 'Hamburg'?
### Response:
|
SELECT 1990 FROM table_name_74 WHERE 1997 = "1r" AND tournament = "hamburg"
|
### Instruction:
CREATE TABLE table_name_86 (
player VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Player has a Score of 74-67-74-71=286?
### Response:
|
SELECT player FROM table_name_86 WHERE score = 74 - 67 - 74 - 71 = 286
|
### Instruction:
CREATE TABLE table_name_71 (
overall INTEGER,
college VARCHAR,
pick VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When Kansas State had a pick of over 35, what's the highest Overall pick found?
### Response:
|
SELECT MAX(overall) FROM table_name_71 WHERE college = "kansas state" AND pick > 35
|
### Instruction:
CREATE TABLE table_2528382_1 (
additional_info VARCHAR,
music_director VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which song directed by datta naik had the ending stranza written by Johnny Walker?
### Response:
|
SELECT additional_info FROM table_2528382_1 WHERE music_director = "Datta Naik"
|
### Instruction:
CREATE TABLE table_10015132_14 (
school_club_team VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school did Patrick O'Bryant play for?
### Response:
|
SELECT school_club_team FROM table_10015132_14 WHERE player = "Patrick O'Bryant"
|
### Instruction:
CREATE TABLE table_name_65 (
title VARCHAR,
termination_of_mission VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the title with termination of mission of february 24, 1828
### Response:
|
SELECT title FROM table_name_65 WHERE termination_of_mission = "february 24, 1828"
|
### Instruction:
CREATE TABLE table_name_65 (
expected_end_date VARCHAR,
trial_start_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Expected End Date, when Trial Start Date is Nov 2007?
### Response:
|
SELECT expected_end_date FROM table_name_65 WHERE trial_start_date = "nov 2007"
|
### Instruction:
CREATE TABLE table_name_63 (
surface VARCHAR,
opponent_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the surface where the opponent was Nathalie Dechy Meilen Tu?
### Response:
|
SELECT surface FROM table_name_63 WHERE opponent_in_the_final = "nathalie dechy meilen tu"
|
### Instruction:
CREATE TABLE table_name_85 (
score VARCHAR,
location VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score of the game on June 25 at the mohegan sun arena?
### Response:
|
SELECT score FROM table_name_85 WHERE location = "mohegan sun arena" AND date = "june 25"
|
### Instruction:
CREATE TABLE table_name_7 (
binomial VARCHAR,
binary VARCHAR,
fibonacci VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Binary of (log n), and a Fibonacci of (1) has what binomial?
### Response:
|
SELECT binomial FROM table_name_7 WHERE binary = "θ(log n)" AND fibonacci = "θ(1)"
|
### Instruction:
CREATE TABLE table_name_35 (
rank VARCHAR,
goals VARCHAR,
scorer VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Rank has Goals larger than 10, and a Scorer of choi sang-kuk?
### Response:
|
SELECT rank FROM table_name_35 WHERE goals > 10 AND scorer = "choi sang-kuk"
|
### Instruction:
CREATE TABLE table_name_23 (
name VARCHAR,
type VARCHAR,
number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the name for the locomotive with a type of 2-8-0 and a number of 20?
### Response:
|
SELECT name FROM table_name_23 WHERE type = "2-8-0" AND number = 20
|
### Instruction:
CREATE TABLE table_12206918_2 (
name VARCHAR,
titles VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the title winner in the ring light heavyweight (175) division?
### Response:
|
SELECT name FROM table_12206918_2 WHERE titles = "The Ring Light heavyweight (175)"
|
### Instruction:
CREATE TABLE table_11680175_1 (
year VARCHAR,
eichstädt VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many years where Eichst dt had a number of 939?
### Response:
|
SELECT COUNT(year) FROM table_11680175_1 WHERE eichstädt = 939
|
### Instruction:
CREATE TABLE table_18018214_3 (
goals_scored VARCHAR,
club VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many goals were scored by club team fm (losc) vilnius
### Response:
|
SELECT goals_scored FROM table_18018214_3 WHERE club = "FM (LOSC) Vilnius"
|
### Instruction:
CREATE TABLE table_name_62 (
percentage_republicans VARCHAR,
democratic__republican VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the percent of republicans with 7/6 democrat/republican?
### Response:
|
SELECT percentage_republicans FROM table_name_62 WHERE democratic__republican = "7/6"
|
### Instruction:
CREATE TABLE table_21584646_10 (
champion VARCHAR,
runner_up VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many champions are shown for the runner-up of stefan edberg?
### Response:
|
SELECT COUNT(champion) FROM table_21584646_10 WHERE runner_up = "Stefan Edberg"
|
### Instruction:
CREATE TABLE table_name_66 (
award VARCHAR,
result VARCHAR,
film VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Award, when Result is 'Nominated', and when Film is 'Sankranthi'?
### Response:
|
SELECT award FROM table_name_66 WHERE result = "nominated" AND film = "sankranthi"
|
### Instruction:
CREATE TABLE table_name_26 (
cardinalatial_order_and_title VARCHAR,
elevated VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the cardinalatial order of the elector elevated circa 1116?
### Response:
|
SELECT cardinalatial_order_and_title FROM table_name_26 WHERE elevated = "circa 1116"
|
### Instruction:
CREATE TABLE table_name_61 (
race_name VARCHAR,
winning_driver VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the race name where stirling moss won on 16 april
### Response:
|
SELECT race_name FROM table_name_61 WHERE winning_driver = "stirling moss" AND date = "16 april"
|
### Instruction:
CREATE TABLE table_1140119_5 (
constructor VARCHAR,
race_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Would built the winning car in the IV J.C.C. Jersey Road Race?
### Response:
|
SELECT constructor FROM table_1140119_5 WHERE race_name = "IV J.C.C. Jersey Road Race"
|
### Instruction:
CREATE TABLE table_12033013_3 (
directed_by VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who directed the episode with a production code 3ADK-03?
### Response:
|
SELECT directed_by FROM table_12033013_3 WHERE production_code = "3ADK-03"
|
### Instruction:
CREATE TABLE table_15187735_12 (
netflix VARCHAR,
segment_d VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Netflix where Segment D is pressure gauges ?
### Response:
|
SELECT netflix FROM table_15187735_12 WHERE segment_d = "Pressure Gauges"
|
### Instruction:
CREATE TABLE table_21313498_1 (
written_by VARCHAR,
no_in_season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in the number of episode in season is 11, who was the writer?
### Response:
|
SELECT written_by FROM table_21313498_1 WHERE no_in_season = 11
|
### Instruction:
CREATE TABLE table_name_50 (
finish VARCHAR,
manager VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the finish when the manager is tom kotchman and the record is 40-36?
### Response:
|
SELECT finish FROM table_name_50 WHERE manager = "tom kotchman" AND record = "40-36"
|
### Instruction:
CREATE TABLE table_14903355_2 (
men_doubles VARCHAR,
womens_singles VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the men doubles for els baert
### Response:
|
SELECT men_doubles FROM table_14903355_2 WHERE womens_singles = "Els Baert"
|
### Instruction:
CREATE TABLE table_1342331_6 (
result VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result in the election in which Ralph R. Eltse was the incumbent?
### Response:
|
SELECT result FROM table_1342331_6 WHERE incumbent = "Ralph R. Eltse"
|
### Instruction:
CREATE TABLE table_name_59 (
round INTEGER,
overall VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest round for an offensive guard when the overall is smaller than 150?
### Response:
|
SELECT MIN(round) FROM table_name_59 WHERE overall < 150 AND position = "offensive guard"
|
### Instruction:
CREATE TABLE table_29135051_3 (
broadcast_date VARCHAR,
singer_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many broadcaste dates features the overtones
### Response:
|
SELECT COUNT(broadcast_date) FROM table_29135051_3 WHERE singer_s_ = "The Overtones"
|
### Instruction:
CREATE TABLE table_12807904_3 (
won VARCHAR,
try_bonus VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- HOW MANY GAMES HAD A WIN WITH A BONUS OF 11
### Response:
|
SELECT won FROM table_12807904_3 WHERE try_bonus = "11"
|
### Instruction:
CREATE TABLE table_1602620_1 (
type VARCHAR,
term_began VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What type had a beginning term of December 8, 1980
### Response:
|
SELECT type FROM table_1602620_1 WHERE term_began = "December 8, 1980"
|
### Instruction:
CREATE TABLE table_15872814_5 (
date VARCHAR,
high_points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the dates of the games where Jalen Rose (32) had the highest points?
### Response:
|
SELECT date FROM table_15872814_5 WHERE high_points = "Jalen Rose (32)"
|
### Instruction:
CREATE TABLE table_1341897_45 (
result VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the election in which Walter E. Rogers was the incumbent?
### Response:
|
SELECT result FROM table_1341897_45 WHERE incumbent = "Walter E. Rogers"
|
### Instruction:
CREATE TABLE Person (
name VARCHAR
)
CREATE TABLE PersonFriend (
name VARCHAR,
friend VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the name of persons who are friends with Bob.
### Response:
|
SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend = 'Bob'
|
### Instruction:
CREATE TABLE table_10020178_1 (
name VARCHAR,
crest_length__meters_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the 375 crest length?
### Response:
|
SELECT name FROM table_10020178_1 WHERE crest_length__meters_ = 375
|
### Instruction:
CREATE TABLE table_name_13 (
artist VARCHAR,
spoofed_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the Artist for the Spoofed Title of the moron downer jr. show?
### Response:
|
SELECT artist FROM table_name_13 WHERE spoofed_title = "the moron downer jr. show"
|
### Instruction:
CREATE TABLE table_name_91 (
polling_firm VARCHAR,
t_papadopoulos VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which polling firm put T. Papadopoulos at 31%?
### Response:
|
SELECT polling_firm FROM table_name_91 WHERE t_papadopoulos = "31%"
|
### Instruction:
CREATE TABLE table_name_69 (
score VARCHAR,
to_par VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Score has a To par of 3, and a Player of santiago luna?
### Response:
|
SELECT score FROM table_name_69 WHERE to_par = "–3" AND player = "santiago luna"
|
### Instruction:
CREATE TABLE table_name_90 (
date VARCHAR,
week VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the attendance less than 44,851 during the first 4 weeks of the season?
### Response:
|
SELECT date FROM table_name_90 WHERE week < 4 AND attendance = "44,851"
|
### Instruction:
CREATE TABLE table_22815568_1 (
status VARCHAR,
poverty_rate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the status of the county that has a 14.7% poverty rate?
### Response:
|
SELECT status FROM table_22815568_1 WHERE poverty_rate = "14.7%"
|
### Instruction:
CREATE TABLE table_12232526_2 (
class VARCHAR,
note VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the class where note is reportedly still active as of 2012?
### Response:
|
SELECT class FROM table_12232526_2 WHERE note = "Reportedly still active as of 2012"
|
### Instruction:
CREATE TABLE table_name_56 (
round_2 VARCHAR,
round_4 VARCHAR,
round_3 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Round 2 when Round 4 is Double and Round 3 is Single?
### Response:
|
SELECT round_2 FROM table_name_56 WHERE round_4 = "double" AND round_3 = "single"
|
### Instruction:
CREATE TABLE table_name_17 (
league VARCHAR,
play_off VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which League that has no playoffs in the Year of 2008 09?
### Response:
|
SELECT league FROM table_name_17 WHERE play_off = "–" AND year = "2008–09"
|
### Instruction:
CREATE TABLE table_19897294_16 (
original_air_date VARCHAR,
family_families VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the original air date for the potter family
### Response:
|
SELECT original_air_date FROM table_19897294_16 WHERE family_families = "The Potter Family"
|
### Instruction:
CREATE TABLE table_69282 (
"Name" text,
"Class" text,
"Hometown" text,
"Boarded" text,
"Position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who boarded first class?
### Response:
|
SELECT "Boarded" FROM table_69282 WHERE "Class" = 'first'
|
### Instruction:
CREATE TABLE table_221375_1 (
parishes VARCHAR,
province_of_1936 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the parishes for beira baixa province
### Response:
|
SELECT COUNT(parishes) FROM table_221375_1 WHERE province_of_1936 = "Beira Baixa Province"
|
### Instruction:
CREATE TABLE table_name_24 (
name VARCHAR,
location VARCHAR,
release_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name in the UK, with a release date of December 1966?
### Response:
|
SELECT name FROM table_name_24 WHERE location = "uk" AND release_date = "december 1966"
|
### Instruction:
CREATE TABLE table_18335117_3 (
original_air_date VARCHAR,
no_overall VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 15 is the number overall what is the original air date?
### Response:
|
SELECT original_air_date FROM table_18335117_3 WHERE no_overall = 15
|
### Instruction:
CREATE TABLE table_29329432_1 (
no INTEGER,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the least number for production code 3x6266
### Response:
|
SELECT MIN(no) FROM table_29329432_1 WHERE production_code = "3X6266"
|
### Instruction:
CREATE TABLE table_45877 (
"Region" text,
"Host" text,
"Venue" text,
"City" text,
"State" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which city is in Georgia?
### Response:
|
SELECT "City" FROM table_45877 WHERE "State" = 'georgia'
|
### Instruction:
CREATE TABLE table_name_20 (
round VARCHAR,
nationality VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the round number when nationality was United States, and player is Jeffrey Foss?
### Response:
|
SELECT COUNT(round) FROM table_name_20 WHERE nationality = "united states" AND player = "jeffrey foss"
|
### Instruction:
CREATE TABLE table_32557 (
"Week" text,
"Date" text,
"Location" text,
"Opponent" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When does week 1 start?
### Response:
|
SELECT "Date" FROM table_32557 WHERE "Week" = '1'
|
### Instruction:
CREATE TABLE table_name_71 (
years_for_grizzlies VARCHAR,
school_club_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the years when the grizzles had a player who attended UCLA?
### Response:
|
SELECT years_for_grizzlies FROM table_name_71 WHERE school_club_team = "ucla"
|
### Instruction:
CREATE TABLE table_1745843_6 (
part_3 VARCHAR,
verb_meaning VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different part 3 verbs are there that mean to freeze?
### Response:
|
SELECT COUNT(part_3) FROM table_1745843_6 WHERE verb_meaning = "to freeze"
|
### Instruction:
CREATE TABLE table_28848697_4 (
goals_against VARCHAR,
goals_scored VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the goals against listed when the goals scored is 30?
### Response:
|
SELECT goals_against FROM table_28848697_4 WHERE goals_scored = 30
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.