instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_name_2 (
rules VARCHAR,
location VARCHAR,
event VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which rule has The Event of n/a, The Result of loss, and The Location of winsford england?
### Respon... | SELECT rules FROM table_name_2 WHERE event = "n/a" AND result = "loss" AND location = "winsford england" |
### Instruction:
CREATE TABLE table_name_92 (
silver INTEGER,
gold VARCHAR,
total VARCHAR,
bronze VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the sum of silver when total is mor ethan 1, bronze is 1 and gold is les than 0
### Response:
| SELECT SUM(silver) FROM table_name_92 WHERE total > 1 AND bronze = 1 AND gold < 0 |
### Instruction:
CREATE TABLE table_204_948 (
id number,
"year" number,
"award" text,
"category" text,
"film" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times , total , was the result won
### Response:
| SELECT COUNT(*) FROM table_204_948 WHERE "result" = 'won' |
### Instruction:
CREATE TABLE table_44831 (
"Game" text,
"Date" text,
"Team" text,
"Score" text,
"Location Attendance" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Score of Game 4?
### Response:
| SELECT "Score" FROM table_44831 WHERE "Game" = '4' |
### Instruction:
CREATE TABLE table_6440 (
"Location" text,
"Culture" text,
"# found" text,
"Ball diameter" text,
"Period" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the Ball Diameter with the Culture of Olmec?
### Response:
| SELECT "Ball diameter" FROM table_6440 WHERE "Culture" = 'olmec' |
### Instruction:
CREATE TABLE table_13340 (
"Name" text,
"Platform" text,
"Indication" text,
"Status" text,
"Collaboration" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What did the phase 2b status target?
### Response:
| SELECT "Indication" FROM table_13340 WHERE "Status" = 'phase 2b' |
### Instruction:
CREATE TABLE table_name_64 (
poles INTEGER,
season VARCHAR,
podiums VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Poles, when Season is greater than 2004, and when Podiums is less than 1?
### Response:
| SELECT SUM(poles) FROM table_name_64 WHERE season < 2004 AND podiums < 1 |
### Instruction:
CREATE TABLE table_name_76 (
city VARCHAR,
venue VARCHAR,
year VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What city had a score of 20 in aigburth after 1907?
### Response:
| SELECT city FROM table_name_76 WHERE year > 1907 AND score > 20 AND venue = "aigburth" |
### Instruction:
CREATE TABLE table_name_89 (
district VARCHAR,
result VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- wWhich district has a retired republican hold with an incumbent of rufus p. spalding?
### Response:
| SELECT district FROM table_name_89 WHERE result = "retired republican hold" AND incumbent = "rufus p. spalding" |
### Instruction:
CREATE TABLE table_name_41 (
points INTEGER,
entrant VARCHAR,
chassis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of all the points won by Peter Whitehead in an alta f2 Chassis?
### Response:
| SELECT SUM(points) FROM table_name_41 WHERE entrant = "peter whitehead" AND chassis = "alta f2" |
### Instruction:
CREATE TABLE table_65081 (
"Actor" text,
"Character" text,
"Soap Opera" text,
"Years" text,
"Duration" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the character with the duration of 11 years?
### Response:
| SELECT "Character" FROM table_65081 WHERE "Duration" = '11 years' |
### Instruction:
CREATE TABLE table_7471 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the lowest points in 2004?
### Response:
| SELECT MIN("Points") FROM table_7471 WHERE "Year" = '2004' |
### Instruction:
CREATE TABLE table_26040604_1 (
die_size__mm_2__ INTEGER,
sm_count VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the minimum die size for an SM count of exactly 2?
### Response:
| SELECT MIN(die_size__mm_2__) FROM table_26040604_1 WHERE sm_count = 2 |
### Instruction:
CREATE TABLE table_33964 (
"Element" text,
"Wood" text,
"Fire" text,
"Earth" text,
"Metal" text,
"Water" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which fire has dry metal?
### Response:
| SELECT "Fire" FROM table_33964 WHERE "Metal" = 'dry' |
### Instruction:
CREATE TABLE table_name_69 (
rectifier VARCHAR,
det_pre_amp VARCHAR,
_number_tubes VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the rectifier for Det/Pre-amp of x and # tubes of 4
### Response:
| SELECT rectifier FROM table_name_69 WHERE det_pre_amp = "x" AND _number_tubes = "4" |
### Instruction:
CREATE TABLE table_25800134_12 (
director VARCHAR,
airdate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people directed the episode that aired on February 5, 1968?
### Response:
| SELECT COUNT(director) FROM table_25800134_12 WHERE airdate = "February 5, 1968" |
### Instruction:
CREATE TABLE table_49415 (
"Game" real,
"November" real,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What day in November has the game less than 12?
### Response:
| SELECT "November" FROM table_49415 WHERE "Game" < '12' |
### Instruction:
CREATE TABLE table_46119 (
"School" text,
"Location" text,
"Founded" real,
"Affiliation" text,
"Nickname" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school is in Radford, Va?
### Response:
| SELECT "School" FROM table_46119 WHERE "Location" = 'radford, va' |
### Instruction:
CREATE TABLE table_name_33 (
floors INTEGER,
rank VARCHAR,
building VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest amount of floors after rank 1 in the Trillium (residential) building?
### Response:
| SELECT MIN(floors) FROM table_name_33 WHERE rank > 1 AND building = "the trillium (residential)" |
### Instruction:
CREATE TABLE table_name_3 (
opponent VARCHAR,
streak VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the opponent when the streak is won 9 on april 13, 1990?
### Response:
| SELECT opponent FROM table_name_3 WHERE streak = "won 9" AND date = "april 13, 1990" |
### Instruction:
CREATE TABLE table_76213 (
"Rank" real,
"Title" text,
"Studio" text,
"Director" text,
"Gross" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Studio, when Title is 'Do Not Disturb'?
### Response:
| SELECT "Studio" FROM table_76213 WHERE "Title" = 'do not disturb' |
### Instruction:
CREATE TABLE table_2761641_1 (
assists_per_game VARCHAR,
points_per_game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many assists per game did he have when he had 6.8 points per game?
### Response:
| SELECT assists_per_game FROM table_2761641_1 WHERE points_per_game = "6.8" |
### Instruction:
CREATE TABLE table_72727 (
"Series #" real,
"Season #" real,
"Title" text,
"Directed by:" text,
"Written by:" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest number of series?
### Re... | SELECT MIN("Series #") FROM table_72727 |
### Instruction:
CREATE TABLE table_25730123_2 (
player VARCHAR,
extra_points VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the player/s when there were 20 points with less than 1.0 extra point .
### Response:
| SELECT player FROM table_25730123_2 WHERE extra_points < 1.0 AND points = 20 |
### Instruction:
CREATE TABLE table_80272 (
"Round" real,
"Name" text,
"Position" text,
"School" text,
"Signed" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the player taken in round 23?
### Response:
| SELECT "Name" FROM table_80272 WHERE "Round" = '23' |
### Instruction:
CREATE TABLE table_37088 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Save" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what team played on april 21
### Response:
| SELECT "Opponent" FROM table_37088 WHERE "Date" = 'april 21' |
### Instruction:
CREATE TABLE table_17481974_1 (
episode__number VARCHAR,
original_airdate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the numbers of episodes that were broadcast on September 1, 2003
### Response:
| SELECT episode__number FROM table_17481974_1 WHERE original_airdate = "September 1, 2003" |
### Instruction:
CREATE TABLE table_41503 (
"Number" real,
"Name" text,
"Builder" text,
"Type" text,
"Date" text,
"Works number" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date for Orangeville?
### Response:
| SELECT "Date" FROM table_41503 WHERE "Name" = 'orangeville' |
### Instruction:
CREATE TABLE table_4436 (
"Pick #" real,
"MLS team" text,
"Player" text,
"Position" text,
"Affiliation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the affiliation for diego walsh
### Response:
| SELECT "Affiliation" FROM table_4436 WHERE "Player" = 'diego walsh' |
### Instruction:
CREATE TABLE table_name_92 (
school_club_team VARCHAR,
years_in_orlando VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which School/Club Team has a Years in Orlando of 1997 1998?
### Response:
| SELECT school_club_team FROM table_name_92 WHERE years_in_orlando = "1997–1998" |
### Instruction:
CREATE TABLE table_name_9 (
fa_cup INTEGER,
league VARCHAR,
malaysia_cup VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest FA cup that has a league greater than 0, with a Malaysia cup greater than 5?
### Response:
| SELECT MIN(fa_cup) FROM table_name_9 WHERE league > 0 AND malaysia_cup > 5 |
### Instruction:
CREATE TABLE table_204_776 (
id number,
"site" text,
"date(s)" text,
"designated" number,
"location" text,
"description" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the first historical site on the list ?
### Respo... | SELECT "site" FROM table_204_776 WHERE id = 1 |
### Instruction:
CREATE TABLE table_9893 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score for game 38?
### Response:
| SELECT "Score" FROM table_9893 WHERE "Game" = '38' |
### Instruction:
CREATE TABLE table_name_44 (
tally VARCHAR,
opposition VARCHAR,
county VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the tally in Kilkenny county with 10 as the total and opposition of Waterford?
### Respons... | SELECT tally FROM table_name_44 WHERE county = "kilkenny" AND total = 10 AND opposition = "waterford" |
### Instruction:
CREATE TABLE table_77369 (
"Movie Title" text,
"Year" real,
"Role" text,
"Director" text,
"Producer" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who were the producers in 1961?
### Response:
| SELECT "Producer" FROM table_77369 WHERE "Year" = '1961' |
### Instruction:
CREATE TABLE table_name_70 (
avg_g VARCHAR,
effic VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the avg/g of Rhines, Chris, who has an effic greater than 73.95?
### Response:
| SELECT avg_g FROM table_name_70 WHERE effic > 73.95 AND name = "rhines, chris" |
### Instruction:
CREATE TABLE table_name_10 (
partner VARCHAR,
score_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the partner in the final with a score of 2 6, 7 6, 7 6?
### Response:
| SELECT partner FROM table_name_10 WHERE score_in_the_final = "2–6, 7–6, 7–6" |
### Instruction:
CREATE TABLE table_204_723 (
id number,
"year" number,
"film" text,
"role" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- tell me the only year with a critically acclaimed role .
### Response:
| SELECT "year" FROM table_204_723 WHERE "notes" = 'critically acclaimed role' |
### Instruction:
CREATE TABLE table_name_99 (
lived_when___mya__ VARCHAR,
discovery___publication_of_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me lived for name of 1994/2003
### Response:
| SELECT lived_when___mya__ FROM table_name_99 WHERE discovery___publication_of_name = "1994/2003" |
### Instruction:
CREATE TABLE table_62839 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result when the score was 5-1?
### Response:
| SELECT "Result" FROM table_62839 WHERE "Score" = '5-1' |
### Instruction:
CREATE TABLE table_name_45 (
branding VARCHAR,
frequency VARCHAR,
coverage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the branding for the station with a frequency of 93.1mhz and a coverage of Zamboanga?
### Response:
| SELECT branding FROM table_name_45 WHERE frequency = "93.1mhz" AND coverage = "zamboanga" |
### Instruction:
CREATE TABLE table_46713 (
"Season" text,
"Competition" text,
"Round" text,
"Club" text,
"1st Leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What competition has the club villareal?
### Response:
| SELECT "Competition" FROM table_46713 WHERE "Club" = 'villareal' |
### Instruction:
CREATE TABLE table_4730 (
"Network" text,
"Origin of Programming" text,
"Language" text,
"Genre" text,
"Service" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Language for Network PTC Punjabi?
### Response:
| SELECT "Language" FROM table_4730 WHERE "Network" = 'ptc punjabi' |
### Instruction:
CREATE TABLE table_19359427_6 (
date_of_appointment VARCHAR,
position_in_table VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the new manager of the team on 21st position appointed?
### Response:
| SELECT date_of_appointment FROM table_19359427_6 WHERE position_in_table = "21st" |
### Instruction:
CREATE TABLE table_203_646 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many competitions did kazakhstan compete in ?
### Response:
| SELECT COUNT("competition") FROM table_203_646 |
### Instruction:
CREATE TABLE table_18304058_2 (
team_name VARCHAR,
sports VARCHAR,
schools VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the team from the Elverado Trico school in football?
### Response:
| SELECT team_name FROM table_18304058_2 WHERE sports = "Football" AND schools = "Elverado Trico" |
### Instruction:
CREATE TABLE table_name_27 (
gain INTEGER,
long VARCHAR,
avg_g VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many gains have a long greater than 8, with avg/g of 124.9?
### Response:
| SELECT SUM(gain) FROM table_name_27 WHERE long > 8 AND avg_g = 124.9 |
### Instruction:
CREATE TABLE table_24115349_6 (
turnout__percentage VARCHAR,
brown__percentage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the turnout percentage in the place that had 44.6% vote for brown?
### Response:
| SELECT turnout__percentage FROM table_24115349_6 WHERE brown__percentage = "44.6%" |
### Instruction:
CREATE TABLE table_16405 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the pick number of regina?
### Response:
| SELECT "Pick #" FROM table_16405 WHERE "College" = 'Regina' |
### Instruction:
CREATE TABLE table_32047 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Event" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where did the Paris Marathon occur?
### Response:
| SELECT "Venue" FROM table_32047 WHERE "Competition" = 'paris marathon' |
### Instruction:
CREATE TABLE table_73197 (
"LMS No." real,
"WD No." real,
"Builder" text,
"Serial No." real,
"Date built" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the builder for serial number being 377
### Response:
| SELECT "Builder" FROM table_73197 WHERE "Serial No." = '377' |
### Instruction:
CREATE TABLE table_59409 (
"Year" real,
"Gold" text,
"Silver" text,
"Bronze" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won Silver in 2000?
### Response:
| SELECT "Silver" FROM table_59409 WHERE "Year" = '2000' |
### Instruction:
CREATE TABLE table_74916 (
"Pick #" real,
"Round" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Position of Pick #321?
### Response:
| SELECT "Position" FROM table_74916 WHERE "Pick #" = '321' |
### Instruction:
CREATE TABLE table_name_41 (
reservoir_capacity VARCHAR,
impounded_body_of_water VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Reservoir capacity has an Impounded body of water of tumut two pondage?
### Response:
| SELECT reservoir_capacity FROM table_name_41 WHERE impounded_body_of_water = "tumut two pondage" |
### Instruction:
CREATE TABLE table_74838 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Region has a Catalog of kem 072?
### Response:
| SELECT "Region" FROM table_74838 WHERE "Catalog" = 'kem 072' |
### Instruction:
CREATE TABLE table_name_79 (
floors INTEGER,
building_type VARCHAR,
sr_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the least floors when the building type is residential and the sr no is 8?
### Response:
| SELECT MIN(floors) FROM table_name_79 WHERE building_type = "residential" AND sr_no = 8 |
### Instruction:
CREATE TABLE table_167354_2 (
rank_07_11 VARCHAR,
world_ranking VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many figures are there for Rank 07-11 when the world ranking is 4?
### Response:
| SELECT COUNT(rank_07_11) FROM table_167354_2 WHERE world_ranking = "4" |
### Instruction:
CREATE TABLE table_22570439_1 (
us_viewers__millions_ VARCHAR,
series__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many u.s. viewers (million) have a series # 83?
### Response:
| SELECT us_viewers__millions_ FROM table_22570439_1 WHERE series__number = 83 |
### Instruction:
CREATE TABLE table_name_2 (
music VARCHAR,
score VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Music for the Dance that Scored 25 (9, 8, 8) and a Result of bottom 2?
### Response:
| SELECT music FROM table_name_2 WHERE score = "25 (9, 8, 8)" AND result = "bottom 2" |
### Instruction:
CREATE TABLE table_8851 (
"Pick" real,
"Player" text,
"Position" text,
"Nationality" text,
"Former Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Former Team has a Pick larger than 20?
### Response:
| SELECT "Former Team" FROM table_8851 WHERE "Pick" > '20' |
### Instruction:
CREATE TABLE table_59814 (
"Member" text,
"Party" text,
"Electorate" text,
"State" text,
"Term of office" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What state shows for Cunningham?
### Response:
| SELECT "State" FROM table_59814 WHERE "Electorate" = 'cunningham' |
### Instruction:
CREATE TABLE table_321 (
"Country" text,
"Interview" text,
"Swimsuit" text,
"Evening Gown" text,
"Average" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many interviews were there for Miss Virginia?
### Response:
| SELECT COUNT("Interview") FROM table_321 WHERE "Country" = 'Virginia' |
### Instruction:
CREATE TABLE table_203_676 (
id number,
"pick #" number,
"cfl team" text,
"player" text,
"position" text,
"college" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the total number of picks in round four ?
### Response... | SELECT COUNT("pick #") FROM table_203_676 |
### Instruction:
CREATE TABLE table_name_40 (
episodes INTEGER,
romaji_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the fewest episodes with the Romaji title Regatta~Kimi to Ita Eien~?
### Response:
| SELECT MIN(episodes) FROM table_name_40 WHERE romaji_title = "regatta~kimi to ita eien~" |
### Instruction:
CREATE TABLE table_11019212_1 (
saturday VARCHAR,
wednesday VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the saturday time with wednesday being 10:00-5:00
### Response:
| SELECT saturday FROM table_11019212_1 WHERE wednesday = "10:00-5:00" |
### Instruction:
CREATE TABLE table_58914 (
"Season" text,
"League" text,
"Teams" text,
"Home" text,
"Away" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What teams has 1-5 as the away?
### Response:
| SELECT "Teams" FROM table_58914 WHERE "Away" = '1-5' |
### Instruction:
CREATE TABLE table_name_8 (
team VARCHAR,
chassis VARCHAR,
champion VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team, with champion Bastian Kolmsee, used a Dallara f302 for the chassis?
### Response:
| SELECT team FROM table_name_8 WHERE chassis = "dallara f302" AND champion = "bastian kolmsee" |
### Instruction:
CREATE TABLE table_name_65 (
proposed VARCHAR,
listed VARCHAR,
county VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was proposed when the listed date was 12/16/1994 in the County of beaufort?
### Response:
| SELECT proposed FROM table_name_65 WHERE listed = "12/16/1994" AND county = "beaufort" |
### Instruction:
CREATE TABLE table_2784232_1 (
arabic_form VARCHAR,
morphological_category VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Arabic forms are there for the 1st. plur. perfect category?
### Response:
| SELECT COUNT(arabic_form) FROM table_2784232_1 WHERE morphological_category = "1st. plur. perfect" |
### Instruction:
CREATE TABLE table_27755784_11 (
date VARCHAR,
high_points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of date for stephen curry , dorell wright (27)
### Response:
| SELECT COUNT(date) FROM table_27755784_11 WHERE high_points = "Stephen Curry , Dorell Wright (27)" |
### Instruction:
CREATE TABLE table_204_139 (
id number,
"community" text,
"airport name" text,
"type" text,
"coordinates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many military exclusive airports are listed ?
### Response:
| SELECT COUNT("airport name") FROM table_204_139 WHERE "type" = 'military' |
### Instruction:
CREATE TABLE table_name_19 (
model_number VARCHAR,
frequency VARCHAR,
socket VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which model has a frequency of 750 mhz and a socket of bga2 pga2?
### Response:
| SELECT model_number FROM table_name_19 WHERE frequency = "750 mhz" AND socket = "bga2μpga2" |
### Instruction:
CREATE TABLE table_name_15 (
number VARCHAR,
builder VARCHAR,
works_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- With a works number of 40864 for the builder of Baldwin Locomotive Works, the number listed is?
### Response:
| SELECT number FROM table_name_15 WHERE builder = "baldwin locomotive works" AND works_number = 40864 |
### Instruction:
CREATE TABLE table_1500146_1 (
rhel_release_date VARCHAR,
scientific_linux_release VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When is the rhel release date when scientific linux release is 3.0.4
### Response:
| SELECT rhel_release_date FROM table_1500146_1 WHERE scientific_linux_release = "3.0.4" |
### Instruction:
CREATE TABLE table_name_63 (
match VARCHAR,
city_country VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many matches have a City/Country of karachi, pakistan, and a Year larger than 1996?
### Response:
| SELECT COUNT(match) FROM table_name_63 WHERE city_country = "karachi, pakistan" AND year > 1996 |
### Instruction:
CREATE TABLE table_178408_1 (
location_of_the_church VARCHAR,
sub_parish__sokn_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the location of the church for bremanger
### Response:
| SELECT location_of_the_church FROM table_178408_1 WHERE sub_parish__sokn_ = "Bremanger" |
### Instruction:
CREATE TABLE table_50231 (
"Year" real,
"Winner" text,
"Score" text,
"Opponent" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the winner after 2011?
### Response:
| SELECT "Winner" FROM table_50231 WHERE "Year" > '2011' |
### Instruction:
CREATE TABLE table_name_20 (
cuts_made INTEGER,
top_5 VARCHAR,
wins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of cuts made in a tournament with 0 wins and 0 top 5 placings?
### Response:
| SELECT MAX(cuts_made) FROM table_name_20 WHERE top_5 = 0 AND wins < 0 |
### Instruction:
CREATE TABLE table_name_68 (
location VARCHAR,
position_in_2012_13 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the position in 2012-13 is 13th, third division what is the location?
### Response:
| SELECT location FROM table_name_68 WHERE position_in_2012_13 = "13th, third division" |
### Instruction:
CREATE TABLE table_15647838_3 (
season INTEGER,
bowl_game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest season for a bowl game of the 1993 Independence Bowl?
### Response:
| SELECT MAX(season) FROM table_15647838_3 WHERE bowl_game = "1993 Independence Bowl" |
### Instruction:
CREATE TABLE table_name_2 (
highest_league VARCHAR,
total_seasons VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the highest league of the Nova Scotia Clippers with a total season of less than 4?
### Response:
| SELECT highest_league FROM table_name_2 WHERE total_seasons < 4 AND team = "nova scotia clippers" |
### Instruction:
CREATE TABLE table_name_21 (
venue VARCHAR,
score VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where did the competition take place at on August 3, 2005 with a score of 5-0?
### Response:
| SELECT venue FROM table_name_21 WHERE score = "5-0" AND date = "august 3, 2005" |
### Instruction:
CREATE TABLE table_1373542_1 (
asset_acquired VARCHAR,
date_announced VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- It was announced on July 2, 2006 that what asset was acquired?
### Response:
| SELECT asset_acquired FROM table_1373542_1 WHERE date_announced = "July 2, 2006" |
### Instruction:
CREATE TABLE table_46924 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What day was the away team Cardiff City?
### Response:
| SELECT "Date" FROM table_46924 WHERE "Away team" = 'cardiff city' |
### Instruction:
CREATE TABLE table_15016 (
"Country" text,
"Film title used in nomination" text,
"Language" text,
"Original name" text,
"Director" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which film was translated from portuguese?
### Respo... | SELECT "Original name" FROM table_15016 WHERE "Language" = 'portuguese' |
### Instruction:
CREATE TABLE table_name_44 (
heat INTEGER,
lane VARCHAR,
quart VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When a lane of 4 has a QUART greater than 44.62, what is the lowest HEAT?
### Response:
| SELECT MIN(heat) FROM table_name_44 WHERE lane = 4 AND quart > 44.62 |
### Instruction:
CREATE TABLE table_11019212_1 (
wednesday VARCHAR,
monday VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the wednesday time with monday being 10:00-8:00
### Response:
| SELECT wednesday FROM table_11019212_1 WHERE monday = "10:00-8:00" |
### Instruction:
CREATE TABLE table_name_91 (
attendance INTEGER,
date VARCHAR,
week VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Attendance on December 21, 1986 before Week 16?
### Response:
| SELECT SUM(attendance) FROM table_name_91 WHERE date = "december 21, 1986" AND week < 16 |
### Instruction:
CREATE TABLE table_31605 (
"Year" real,
"Team/Chassis" text,
"Engine" text,
"Tyres" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What engine was used after 1984?
### Response:
| SELECT "Engine" FROM table_31605 WHERE "Year" > '1984' |
### Instruction:
CREATE TABLE table_1007688_1 (
relapsing_fever INTEGER,
malaria VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the number of relapsing fever when malaria is 3000
### Response:
| SELECT MIN(relapsing_fever) FROM table_1007688_1 WHERE malaria = "3000" |
### Instruction:
CREATE TABLE table_68909 (
"Round" text,
"Name" text,
"Song" text,
"Score" real,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which round is a lower score than 21.5?
### Response:
| SELECT "Round" FROM table_68909 WHERE "Score" < '21.5' |
### Instruction:
CREATE TABLE table_name_66 (
name VARCHAR,
president VARCHAR,
left_office VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Name, when President is Khamtai Siphandon, and when Left Office is 1999?
### Response:
| SELECT name FROM table_name_66 WHERE president = "khamtai siphandon" AND left_office = "1999" |
### Instruction:
CREATE TABLE table_12113818_1 (
year VARCHAR,
communications_and_corporate_affairs VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was communications and corporate affairs held by Jeff Rotman?
### Response:
| SELECT year FROM table_12113818_1 WHERE communications_and_corporate_affairs = "Jeff Rotman" |
### Instruction:
CREATE TABLE table_name_62 (
commander VARCHAR,
ship VARCHAR,
complement VARCHAR,
guns VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which commander received complement larger than 240 , guns of 66 and ship of revolutie?
### Respo... | SELECT commander FROM table_name_62 WHERE complement > 240 AND guns = "66" AND ship = "revolutie" |
### Instruction:
CREATE TABLE table_237199_1 (
north_american_brands VARCHAR,
world_headquarters VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many north american brands have world headquarters in sagamihara?
### Response:
| SELECT COUNT(north_american_brands) FROM table_237199_1 WHERE world_headquarters = "Sagamihara" |
### Instruction:
CREATE TABLE table_2201724_1 (
score_in_the_final VARCHAR,
opponent_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the scores in matches against Tony Roche?
### Response:
| SELECT score_in_the_final FROM table_2201724_1 WHERE opponent_in_the_final = "Tony Roche" |
### Instruction:
CREATE TABLE table_5511 (
"RBIs" real,
"Player" text,
"Team" text,
"Date" text,
"Opponent" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which date is associated with the player Wilbert Robinson?
### Response:
| SELECT "Date" FROM table_5511 WHERE "Player" = 'wilbert robinson' |
### Instruction:
CREATE TABLE table_name_44 (
issue INTEGER,
artist VARCHAR,
spoofed_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which issue was the Spoofed title Route 67 for which Mort Drucker was the artist?
### Response:
| SELECT SUM(issue) FROM table_name_44 WHERE artist = "mort drucker" AND spoofed_title = "route 67" |
### Instruction:
CREATE TABLE table_name_39 (
sub_parish__sokn_ VARCHAR,
location_of_the_church VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Sub-Parish called that has a church located in Fresvik?
### Response:
| SELECT sub_parish__sokn_ FROM table_name_39 WHERE location_of_the_church = "fresvik" |
### Instruction:
CREATE TABLE table_name_88 (
games INTEGER,
debut_year VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest number of games Jack Gaudion, who debut in 1936, played?
### Response:
| SELECT MIN(games) FROM table_name_88 WHERE debut_year = 1936 AND player = "jack gaudion" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.