instruction
stringlengths 212
6.3k
| output
stringlengths 6
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_17355716_10 (
score VARCHAR,
high_points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the score of the match with high points carlos boozer (20)
### Response:
|
SELECT score FROM table_17355716_10 WHERE high_points = "Carlos Boozer (20)"
|
### Instruction:
CREATE TABLE table_name_15 (
original_title VARCHAR,
film_title_used_in_nomination VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Original Title, when Film Title Used In Nomination is 'Monga'?
### Response:
|
SELECT original_title FROM table_name_15 WHERE film_title_used_in_nomination = "monga"
|
### Instruction:
CREATE TABLE table_name_44 (
height_ft__m_ VARCHAR,
floors VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How tall is the building built in 1985 with 22 floors?
### Response:
|
SELECT height_ft__m_ FROM table_name_44 WHERE floors = 22 AND year = 1985
|
### Instruction:
CREATE TABLE table_1134091_4 (
date_successor_seated VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the successor seated when the district was California 10th?
### Response:
|
SELECT date_successor_seated FROM table_1134091_4 WHERE district = "California 10th"
|
### Instruction:
CREATE TABLE table_12314 (
"Name" text,
"Country" text,
"City" text,
"Mission's Country" text,
"Start Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has the city Santiago?
### Response:
|
SELECT "Name" FROM table_12314 WHERE "City" = 'santiago'
|
### Instruction:
CREATE TABLE table_name_79 (
pts INTEGER,
year VARCHAR,
chassis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest pts after 1952 with connaught type a?
### Response:
|
SELECT MAX(pts) FROM table_name_79 WHERE year > 1952 AND chassis = "connaught type a"
|
### Instruction:
CREATE TABLE table_name_42 (
artist VARCHAR,
issue VARCHAR,
spoofed_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the artist for Spoofed title Genteel Ben in an issue later than 74?
### Response:
|
SELECT artist FROM table_name_42 WHERE issue > 74 AND spoofed_title = "genteel ben"
|
### Instruction:
CREATE TABLE table_name_38 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the value in 2013 when it is 1R in 2007 and 2009?
### Response:
|
SELECT 2013 FROM table_name_38 WHERE 2007 = "1r" AND 2009 = "1r"
|
### Instruction:
CREATE TABLE table_28697228_4 (
total_offense INTEGER,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of total offense when the opponentis Penn State?
### Response:
|
SELECT MAX(total_offense) FROM table_28697228_4 WHERE opponent = "Penn State"
|
### Instruction:
CREATE TABLE table_name_14 (
score VARCHAR,
player VARCHAR,
place VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Score for T9 United States Player Kirk Triplett?
### Response:
|
SELECT score FROM table_name_14 WHERE place = "t9" AND country = "united states" AND player = "kirk triplett"
|
### Instruction:
CREATE TABLE table_name_59 (
cuts_made INTEGER,
events VARCHAR,
wins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average number of cuts made for events with under 4 entries and more than 0 wins?
### Response:
|
SELECT AVG(cuts_made) FROM table_name_59 WHERE events < 4 AND wins > 0
|
### Instruction:
CREATE TABLE table_1594772_2 (
team__a_ VARCHAR,
match_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Namethe team for feb 27, 1996
### Response:
|
SELECT team__a_ FROM table_1594772_2 WHERE match_date = "Feb 27, 1996"
|
### Instruction:
CREATE TABLE table_27956_3 (
national_rank VARCHAR,
percentage_change_yoy VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of rank for percentage change yoy 13.1%
### Response:
|
SELECT COUNT(national_rank) FROM table_27956_3 WHERE percentage_change_yoy = "13.1%"
|
### Instruction:
CREATE TABLE table_26130295_3 (
final_four_mvp INTEGER,
first_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what would be final four mvp maximum when first team is 1
### Response:
|
SELECT MAX(final_four_mvp) FROM table_26130295_3 WHERE first_team = 1
|
### Instruction:
CREATE TABLE table_1850339_2 (
air_force___navy_score VARCHAR,
season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the Air Force - Navy score in the 2018 season?
### Response:
|
SELECT air_force___navy_score FROM table_1850339_2 WHERE season = 2018
|
### Instruction:
CREATE TABLE table_name_37 (
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 Villanova?
### Response:
|
SELECT years_for_grizzlies FROM table_name_37 WHERE school_club_team = "villanova"
|
### Instruction:
CREATE TABLE table_name_50 (
earnings__ INTEGER,
wins VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player has the lowest earnings and has at least 4 wins and is ranked higher than 4?
### Response:
|
SELECT MIN(earnings__) AS $__ FROM table_name_50 WHERE wins = 4 AND rank > 4
|
### Instruction:
CREATE TABLE table_46482 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the player who placed t10?
### Response:
|
SELECT "Player" FROM table_46482 WHERE "Place" = 't10'
|
### Instruction:
CREATE TABLE table_name_96 (
weeks_on_top VARCHAR,
issue_date_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- With an issue date(s) of 12 September, what is in the column for Weeks on Top?
### Response:
|
SELECT weeks_on_top FROM table_name_96 WHERE issue_date_s_ = "12 september"
|
### Instruction:
CREATE TABLE table_23512864_4 (
speaker VARCHAR,
chief_minister VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the speaker if the chief minister is M.G. Ramachandran?
### Response:
|
SELECT speaker FROM table_23512864_4 WHERE chief_minister = "M.G. Ramachandran"
|
### Instruction:
CREATE TABLE table_12451376_2 (
original_airdate VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of the original airdate with the production code 208.
### Response:
|
SELECT COUNT(original_airdate) FROM table_12451376_2 WHERE production_code = 208
|
### Instruction:
CREATE TABLE table_8460 (
"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 Country that has a Player of Scott Hoch?
### Response:
|
SELECT "Country" FROM table_8460 WHERE "Player" = 'scott hoch'
|
### Instruction:
CREATE TABLE table_name_85 (
championship INTEGER,
league_cup VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest championship that has 1 as the league cup, and 17 as the total?
### Response:
|
SELECT MAX(championship) FROM table_name_85 WHERE league_cup = 1 AND total = "17"
|
### Instruction:
CREATE TABLE table_27094070_4 (
overall_total INTEGER,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the overall total for the Omaha Nighthawks?
### Response:
|
SELECT MIN(overall_total) FROM table_27094070_4 WHERE team = "Omaha Nighthawks"
|
### Instruction:
CREATE TABLE table_name_19 (
interview VARCHAR,
country VARCHAR,
swimsuit VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the interview number in Louisiana, and the swimsuit number is more than 9.1?
### Response:
|
SELECT COUNT(interview) FROM table_name_19 WHERE country = "louisiana" AND swimsuit > 9.1
|
### Instruction:
CREATE TABLE table_name_74 (
popular_votes VARCHAR,
office VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of popular votes for mn attorney general in 1994
### Response:
|
SELECT COUNT(popular_votes) FROM table_name_74 WHERE office = "mn attorney general" AND year = 1994
|
### Instruction:
CREATE TABLE table_12962773_1 (
player VARCHAR,
position VARCHAR,
current_club VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's player with position being forward and current club being real madrid
### Response:
|
SELECT player FROM table_12962773_1 WHERE position = "Forward" AND current_club = "Real Madrid"
|
### Instruction:
CREATE TABLE table_25042332_27 (
region VARCHAR,
automatic_washing_machine VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the region for automatic washing machine being 60.9%
### Response:
|
SELECT region FROM table_25042332_27 WHERE automatic_washing_machine = "60.9%"
|
### Instruction:
CREATE TABLE table_name_95 (
us_hot_100 VARCHAR,
us_r VARCHAR,
b VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which U.S. Hot has 13 as the U.S. R&B?
### Response:
|
SELECT us_hot_100 FROM table_name_95 WHERE us_r & b = "13"
|
### Instruction:
CREATE TABLE table_name_60 (
pct__percentage INTEGER,
goals_against INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Pct %, when Goals Against is less than 229?
### Response:
|
SELECT MAX(pct__percentage) FROM table_name_60 WHERE goals_against < 229
|
### Instruction:
CREATE TABLE table_11622924_1 (
purse__$__ VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much was the prize in the tournament where the winning score was 289 (9)?
### Response:
|
SELECT purse__$__ FROM table_11622924_1 WHERE score = "289 (9)"
|
### Instruction:
CREATE TABLE table_name_26 (
opponent VARCHAR,
surface VARCHAR,
partner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Opponent had a Surface of hard, and a Partner of maria elena camerin?
### Response:
|
SELECT opponent FROM table_name_26 WHERE surface = "hard" AND partner = "maria elena camerin"
|
### Instruction:
CREATE TABLE table_19260_1 (
total VARCHAR,
_percentage_core_moldova VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total for % core moldova for 4.36%
### Response:
|
SELECT total FROM table_19260_1 WHERE _percentage_core_moldova = "4.36_percentage"
|
### Instruction:
CREATE TABLE table_17933600_2 (
outgoing_manage VARCHAR,
incoming_manager VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the outgoing manager when the incoming manager was jo o pereira?
### Response:
|
SELECT outgoing_manage FROM table_17933600_2 WHERE incoming_manager = "JoΓ£o Pereira"
|
### Instruction:
CREATE TABLE table_13201 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score for 4-1?
### Response:
|
SELECT "Score" FROM table_13201 WHERE "Record" = '4-1'
|
### Instruction:
CREATE TABLE table_name_66 (
date_of_death VARCHAR,
date_of_birth VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did the person born 24 September 1851 pass away?
### Response:
|
SELECT date_of_death FROM table_name_66 WHERE date_of_birth = "24 september 1851"
|
### Instruction:
CREATE TABLE table_66692 (
"Date" text,
"Course" text,
"Distance" text,
"Type" text,
"Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who won on 29 may?
### Response:
|
SELECT "Winner" FROM table_66692 WHERE "Date" = '29 may'
|
### Instruction:
CREATE TABLE table_27713030_11 (
team VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent for the game with a score of w 94 88 (ot)?
### Response:
|
SELECT team FROM table_27713030_11 WHERE score = "W 94β88 (OT)"
|
### Instruction:
CREATE TABLE table_name_8 (
rider VARCHAR,
rank VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Rank smaller than 5, and a Time of 31 03.093 is what rider?
### Response:
|
SELECT rider FROM table_name_8 WHERE rank < 5 AND time = "31β 03.093"
|
### Instruction:
CREATE TABLE table_name_84 (
col__m_ VARCHAR,
rank VARCHAR,
summit VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the col (m) ranked more than 4 with a summit of Kawaikini?
### Response:
|
SELECT col__m_ FROM table_name_84 WHERE rank > 4 AND summit = "kawaikini"
|
### Instruction:
CREATE TABLE table_18600760_19 (
latitude VARCHAR,
water__sqmi_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the latitude in the township where wate is 0.288
### Response:
|
SELECT latitude FROM table_18600760_19 WHERE water__sqmi_ = "0.288"
|
### Instruction:
CREATE TABLE table_247955_2 (
to_par VARCHAR,
runner_s__up VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of to par when runner-up was Jonathan Kaye?
### Response:
|
SELECT COUNT(to_par) FROM table_247955_2 WHERE runner_s__up = "Jonathan Kaye"
|
### Instruction:
CREATE TABLE table_name_33 (
manufacture VARCHAR,
opened_in VARCHAR,
type VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the manufacturer of the mini jet red baron ride that opened before 2001?
### Response:
|
SELECT manufacture FROM table_name_33 WHERE opened_in < 2001 AND type = "mini jet red baron"
|
### Instruction:
CREATE TABLE table_22347090_4 (
directed_by VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who directed the episode that has 3x6752 listed as the production code?
### Response:
|
SELECT directed_by FROM table_22347090_4 WHERE production_code = "3X6752"
|
### Instruction:
CREATE TABLE table_name_67 (
year INTEGER,
award VARCHAR,
nominee VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the year Bernadette Peters was a nominee for the Tony award?
### Response:
|
SELECT SUM(year) FROM table_name_67 WHERE award = "tony award" AND nominee = "bernadette peters"
|
### Instruction:
CREATE TABLE table_name_77 (
saka_era VARCHAR,
months_in_malayalam_era VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE SAKA ERA WITH MONTHS IN MEDAM?
### Response:
|
SELECT saka_era FROM table_name_77 WHERE months_in_malayalam_era = "medam"
|
### Instruction:
CREATE TABLE table_22705586_1 (
name VARCHAR,
date_of_birth VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the date of birth for 27/07/86
### Response:
|
SELECT name FROM table_22705586_1 WHERE date_of_birth = "27/07/86"
|
### Instruction:
CREATE TABLE table_name_62 (
year VARCHAR,
points VARCHAR,
chassis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the year for points less than 20 and chassis of dallara 3087
### Response:
|
SELECT year FROM table_name_62 WHERE points < 20 AND chassis = "dallara 3087"
|
### Instruction:
CREATE TABLE table_name_68 (
jankovic INTEGER,
round VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest result for Jankovic at Indian Wells and round of SF?
### Response:
|
SELECT MAX(jankovic) FROM table_name_68 WHERE round = "sf" AND tournament = "indian wells"
|
### Instruction:
CREATE TABLE table_11970261_2 (
evening_gown VARCHAR,
swimsuit VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the evening gown with swimsuit being 9.134
### Response:
|
SELECT evening_gown FROM table_11970261_2 WHERE swimsuit = "9.134"
|
### Instruction:
CREATE TABLE table_27986200_3 (
aggregate_score VARCHAR,
proceed_to_quarter_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the aggregate score for Montauban?
### Response:
|
SELECT aggregate_score FROM table_27986200_3 WHERE proceed_to_quarter_final = "Montauban"
|
### Instruction:
CREATE TABLE table_name_26 (
round INTEGER,
res VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average round of the match with a draw result and a record of 4-4-1?
### Response:
|
SELECT AVG(round) FROM table_name_26 WHERE res = "draw" AND record = "4-4-1"
|
### Instruction:
CREATE TABLE table_65292 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result for week 2?
### Response:
|
SELECT "Result" FROM table_65292 WHERE "Week" = '2'
|
### Instruction:
CREATE TABLE table_54972 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the constructor for grid of 8
### Response:
|
SELECT "Constructor" FROM table_54972 WHERE "Grid" = '8'
|
### Instruction:
CREATE TABLE table_63084 (
"Rank" real,
"Athletes" text,
"Country" text,
"Time" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the time for Brazil?
### Response:
|
SELECT "Time" FROM table_63084 WHERE "Country" = 'brazil'
|
### Instruction:
CREATE TABLE table_21258_1 (
crude_death_rate VARCHAR,
deaths VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Among deaths 106 000 how many is crude rate.
### Response:
|
SELECT crude_death_rate FROM table_21258_1 WHERE deaths = "106 000"
|
### Instruction:
CREATE TABLE table_name_67 (
player VARCHAR,
place VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the T8 Place Player with a Score of 68-74=142?
### Response:
|
SELECT player FROM table_name_67 WHERE place = "t8" AND score = 68 - 74 = 142
|
### Instruction:
CREATE TABLE table_name_79 (
player VARCHAR,
nationality VARCHAR,
overall VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Player has a Nationality of united states, and an Overall of 61 (from boston)?
### Response:
|
SELECT player FROM table_name_79 WHERE nationality = "united states" AND overall = "61 (from boston)"
|
### Instruction:
CREATE TABLE table_name_93 (
d_44_β VARCHAR,
d_41_β VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the D 44 for when it has D 41 of r 41 +
### Response:
|
SELECT d_44_β FROM table_name_93 WHERE d_41_β = "r 41 +"
|
### Instruction:
CREATE TABLE table_name_70 (
points INTEGER,
touchdowns VARCHAR,
extra_points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Points have Touchdowns larger than 0, and an Extra points smaller than 0?
### Response:
|
SELECT SUM(points) FROM table_name_70 WHERE touchdowns > 0 AND extra_points < 0
|
### Instruction:
CREATE TABLE table_name_55 (
against INTEGER,
peel VARCHAR,
byes VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Against has a Peel of waroona, and a Byes larger than 0?
### Response:
|
SELECT MAX(against) FROM table_name_55 WHERE peel = "waroona" AND byes > 0
|
### Instruction:
CREATE TABLE table_name_46 (
nation VARCHAR,
total VARCHAR,
silver VARCHAR,
gold VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which nation has a Silver of 1, a Gold of 0, and a Total of 1?
### Response:
|
SELECT nation FROM table_name_46 WHERE silver = "1" AND gold = "0" AND total = "1"
|
### Instruction:
CREATE TABLE table_13183076_3 (
original_air_date VARCHAR,
directed_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Original air date for the episode directed by Tricia Brock?
### Response:
|
SELECT original_air_date FROM table_13183076_3 WHERE directed_by = "Tricia Brock"
|
### Instruction:
CREATE TABLE table_name_17 (
song_sung VARCHAR,
artist VARCHAR,
week VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which song was sung by Artist Luther Vandross in the Week Top 20?
### Response:
|
SELECT song_sung FROM table_name_17 WHERE artist = "luther vandross" AND week = "top 20"
|
### Instruction:
CREATE TABLE table_name_59 (
primary_language_s_ VARCHAR,
director VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Primary Language(s), when Director is 'Ilgar Safat Category:Articles With hCards'?
### Response:
|
SELECT primary_language_s_ FROM table_name_59 WHERE director = "ilgar safat category:articles with hcards"
|
### Instruction:
CREATE TABLE table_name_50 (
album VARCHAR,
label VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the name of the album from 2012 with a Hammer Music / Nail Records label?
### Response:
|
SELECT album FROM table_name_50 WHERE label = "hammer music / nail records" AND year = 2012
|
### Instruction:
CREATE TABLE table_74621 (
"Region" text,
"Year" real,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Candlelight Records format?
### Response:
|
SELECT "Format" FROM table_74621 WHERE "Label" = 'candlelight records'
|
### Instruction:
CREATE TABLE table_29785324_5 (
lok_sabha VARCHAR,
constituency_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Lok Sabha are in the one with 216 constituents?
### Response:
|
SELECT lok_sabha FROM table_29785324_5 WHERE constituency_no = 216
|
### Instruction:
CREATE TABLE table_68975 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Format is listed that has a Region of China?
### Response:
|
SELECT "Format" FROM table_68975 WHERE "Region" = 'china'
|
### Instruction:
CREATE TABLE table_name_75 (
type VARCHAR,
date VARCHAR,
ship VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What type has a Date of 8 dec 16, and a Ship of duchess of cornwall?
### Response:
|
SELECT type FROM table_name_75 WHERE date = "8 dec 16" AND ship = "duchess of cornwall"
|
### Instruction:
CREATE TABLE table_name_15 (
age__as_of_1_february_2014_ VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the age of Fred Gibson?
### Response:
|
SELECT age__as_of_1_february_2014_ FROM table_name_15 WHERE name = "fred gibson"
|
### Instruction:
CREATE TABLE table_name_55 (
frequency_mhz INTEGER,
erp_w INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the frequency MHz of the ERP W's greater than 250?
### Response:
|
SELECT AVG(frequency_mhz) FROM table_name_55 WHERE erp_w > 250
|
### Instruction:
CREATE TABLE table_name_39 (
fastest_lap VARCHAR,
constructor VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who ran the fastest lap in the team that competed in Zolder, in which Ferrari was the Constructor?
### Response:
|
SELECT fastest_lap FROM table_name_39 WHERE constructor = "ferrari" AND location = "zolder"
|
### Instruction:
CREATE TABLE table_64951 (
"Rank" text,
"Rider" text,
"Team" text,
"Speed" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Tom Silver's rank?
### Response:
|
SELECT "Rank" FROM table_64951 WHERE "Rider" = 'tom silver'
|
### Instruction:
CREATE TABLE table_name_63 (
attendance VARCHAR,
game_site VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance at the Meadowlands against the New England Patriots?
### Response:
|
SELECT attendance FROM table_name_63 WHERE game_site = "the meadowlands" AND opponent = "new england patriots"
|
### Instruction:
CREATE TABLE table_18823880_10 (
mult VARCHAR,
sspec_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When slblw(b1) is the sspec number what is the mult.?
### Response:
|
SELECT mult FROM table_18823880_10 WHERE sspec_number = "SLBLW(B1)"
|
### Instruction:
CREATE TABLE table_name_9 (
record VARCHAR,
game VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the Record that has the Game larger than 15, and the Opponent of edmonton oilers?
### Response:
|
SELECT record FROM table_name_9 WHERE game > 15 AND opponent = "edmonton oilers"
|
### Instruction:
CREATE TABLE table_23183195_2 (
road_record VARCHAR,
overall_record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the road record for the team with an overall record of 22-11?
### Response:
|
SELECT road_record FROM table_23183195_2 WHERE overall_record = "22-11"
|
### Instruction:
CREATE TABLE table_name_30 (
year__ceremony_ VARCHAR,
result VARCHAR,
actor_actress VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was holly hunter a nominee?
### Response:
|
SELECT year__ceremony_ FROM table_name_30 WHERE result = "nominee" AND actor_actress = "holly hunter"
|
### Instruction:
CREATE TABLE table_name_12 (
population__2006_ INTEGER,
mother_tongue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people ha Romanian as their mother tongue in 2006?
### Response:
|
SELECT MAX(population__2006_) FROM table_name_12 WHERE mother_tongue = "romanian"
|
### Instruction:
CREATE TABLE table_14479 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What engine scored 17 points?
### Response:
|
SELECT "Engine" FROM table_14479 WHERE "Points" = '17'
|
### Instruction:
CREATE TABLE table_name_76 (
democratic_ticket VARCHAR,
workers_ticket VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name on the Democratic ticket when the Workers ticket is franklin p. brill?
### Response:
|
SELECT democratic_ticket FROM table_name_76 WHERE workers_ticket = "franklin p. brill"
|
### Instruction:
CREATE TABLE table_204_508 (
id number,
"no." number,
"race title" text,
"track" text,
"date" text,
"tv" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many races were there on the chart ?
### Response:
|
SELECT COUNT("race title") FROM table_204_508
|
### Instruction:
CREATE TABLE table_27050336_7 (
delegate VARCHAR,
committee VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- where committee is environmental matters and district is 36 please specify all the delegate name
### Response:
|
SELECT delegate FROM table_27050336_7 WHERE committee = "Environmental Matters" AND district = "36"
|
### Instruction:
CREATE TABLE table_26032940_2 (
main_cast VARCHAR,
airdate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the cast on the 3/23/1963 episode?
### Response:
|
SELECT main_cast FROM table_26032940_2 WHERE airdate = "3/23/1963"
|
### Instruction:
CREATE TABLE table_171320_3 (
region_1 VARCHAR,
region_4 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the region 1 where region 4 for april 2, 2009
### Response:
|
SELECT region_1 FROM table_171320_3 WHERE region_4 = "April 2, 2009"
|
### Instruction:
CREATE TABLE table_name_78 (
title VARCHAR,
series__number VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the title for the production code less than 706 with series number more than 175
### Response:
|
SELECT title FROM table_name_78 WHERE series__number > 175 AND production_code < 706
|
### Instruction:
CREATE TABLE table_name_43 (
score VARCHAR,
tie_no VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score when the Tie no is replay, and the away team is York City?
### Response:
|
SELECT score FROM table_name_43 WHERE tie_no = "replay" AND away_team = "york city"
|
### Instruction:
CREATE TABLE table_name_84 (
score VARCHAR,
points VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Score has Points of 88, and a Record of 38 22 12?
### Response:
|
SELECT score FROM table_name_84 WHERE points = 88 AND record = "38β22β12"
|
### Instruction:
CREATE TABLE table_15187735_21 (
segment_a VARCHAR,
series_ep VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the titles of segment a for series episode 21-12?
### Response:
|
SELECT segment_a FROM table_15187735_21 WHERE series_ep = "21-12"
|
### Instruction:
CREATE TABLE table_12936521_2 (
nickname VARCHAR,
institution VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the nickname of the University of Massachusetts Lowell (UMass Lowell)?
### Response:
|
SELECT nickname FROM table_12936521_2 WHERE institution = "University of Massachusetts Lowell (UMass Lowell)"
|
### Instruction:
CREATE TABLE table_name_65 (
result VARCHAR,
notes VARCHAR,
event VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the result with notes of quarter-finals and event of adcc 2001 absolute
### Response:
|
SELECT result FROM table_name_65 WHERE notes = "quarter-finals" AND event = "adcc 2001 absolute"
|
### Instruction:
CREATE TABLE table_20140132_1 (
head_coach VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the head coach of the team who's venue is Lokomotiv?
### Response:
|
SELECT head_coach FROM table_20140132_1 WHERE venue = "Lokomotiv"
|
### Instruction:
CREATE TABLE table_name_30 (
genre VARCHAR,
english_title__chinese_title_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What genre is revolving doors of vengeance ?
### Response:
|
SELECT genre FROM table_name_30 WHERE english_title__chinese_title_ = "revolving doors of vengeance ι
εΊι’¨ι²"
|
### Instruction:
CREATE TABLE table_name_62 (
decile INTEGER,
authority VARCHAR,
roll VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average decile of the school with a state authority and a roll number of 888?
### Response:
|
SELECT AVG(decile) FROM table_name_62 WHERE authority = "state" AND roll = 888
|
### Instruction:
CREATE TABLE table_name_59 (
position VARCHAR,
throws VARCHAR,
dob VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Position has Throws of r, and a DOB of 12 february 1983?
### Response:
|
SELECT position FROM table_name_59 WHERE throws = "r" AND dob = "12 february 1983"
|
### Instruction:
CREATE TABLE table_1901751_1 (
original_west_end_performer VARCHAR,
character VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the original west end performer for the character Neville Craven?
### Response:
|
SELECT original_west_end_performer FROM table_1901751_1 WHERE character = "Neville Craven"
|
### Instruction:
CREATE TABLE table_name_37 (
losses VARCHAR,
goal_difference VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of losses when the goal difference was -8, and position is smaller than 10?
### Response:
|
SELECT COUNT(losses) FROM table_name_37 WHERE goal_difference = -8 AND position < 10
|
### Instruction:
CREATE TABLE table_22265716_1 (
director VARCHAR,
film_title_used_in_nomination VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who directed the film with the title three summer days?
### Response:
|
SELECT director FROM table_22265716_1 WHERE film_title_used_in_nomination = "Three Summer Days"
|
### Instruction:
CREATE TABLE table_317 (
"Player" text,
"Position" text,
"School" text,
"Hometown" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is longview high school
### Response:
|
SELECT "Hometown" FROM table_317 WHERE "School" = 'Longview High School'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.