instruction
stringlengths 231
6.3k
| output
stringlengths 2
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_4838 (
"Name" text,
"Bullet" text,
"Case Length" text,
"Base" text,
"Neck" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Case Length has a Base of 14.96 (.589)?
### Response:
| SELECT "Case Length" FROM table_4838 WHERE "Base" = '14.96 (.589)' |
### Instruction:
CREATE TABLE table_76473 (
"Round" real,
"Selection" real,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Position has a Round larger than 5, and a Selection of 168?
### Response:
| SELECT "Position" FROM table_76473 WHERE "Round" > '5' AND "Selection" = '168' |
### Instruction:
CREATE TABLE table_name_78 (
bronze INTEGER,
total VARCHAR,
rank VARCHAR,
nation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Bronze, when Rank is greater than 6, when Nation is Italy (ITA), and when Total is less than 1?
### Response:
| SELECT AVG(bronze) FROM table_name_78 WHERE rank > 6 AND nation = "italy (ita)" AND total < 1 |
### Instruction:
CREATE TABLE table_16175217_1 (
country VARCHAR,
children_per_donor VARCHAR,
donor_payment VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the country where there are 8 children per donor and no data for donor payments?
### Response:
| SELECT country FROM table_16175217_1 WHERE children_per_donor = "8 children" AND donor_payment = "no data" |
### Instruction:
CREATE TABLE table_8892 (
"Position" real,
"Name" text,
"Played" real,
"Drawn" real,
"Lost" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which name was in a position less than 4 with 2 losses?
### Response:
| SELECT "Name" FROM table_8892 WHERE "Position" < '4' AND "Lost" = '2' |
### Instruction:
CREATE TABLE table_22556 (
"Date" real,
"Single" text,
"Backed with" text,
"Record label" text,
"Format" text,
"Other details" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What record label corresponds to the single 'I can't stay'?
### Response:
| SELECT "Record label" FROM table_22556 WHERE "Single" = 'I Can''t Stay' |
### Instruction:
CREATE TABLE table_15074 (
"Position" real,
"Artist" text,
"Song" text,
"Points" real,
"Place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had the smallest points in 3rd place but had a position greater than 8?
### Response:
| SELECT MIN("Points") FROM table_15074 WHERE "Place" = '3rd' AND "Position" > '8' |
### Instruction:
CREATE TABLE table_62303 (
"Team 1" text,
"Agg." text,
"Team 2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the 1st leg for Team 2, Leeds United?
### Response:
| SELECT "1st leg" FROM table_62303 WHERE "Team 2" = 'leeds united' |
### Instruction:
CREATE TABLE table_45890 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average attendance for all events held at Palmerston Park venue?
### Response:
| SELECT AVG("Attendance") FROM table_45890 WHERE "Venue" = 'palmerston park' |
### Instruction:
CREATE TABLE table_68916 (
"Year" real,
"Theme" text,
"Artist" text,
"Mintage" text,
"Issue price" real,
"Special notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What theme has a mintage of 3527?
### Response:
| SELECT "Theme" FROM table_68916 WHERE "Mintage" = '3527' |
### Instruction:
CREATE TABLE table_59108 (
"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 place of T6 that Eduardo Romero plays for?
### Response:
| SELECT "Country" FROM table_59108 WHERE "Place" = 't6' AND "Player" = 'eduardo romero' |
### Instruction:
CREATE TABLE table_18539 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the candidates for hardie scott
### Response:
| SELECT "Candidates" FROM table_18539 WHERE "Incumbent" = 'Hardie Scott' |
### Instruction:
CREATE TABLE table_74294 (
"Player" text,
"Starts" real,
"Cuts made" real,
"Best finish" text,
"Money list rank" real,
"Earnings (\u20ac)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player made exactly 26 starts?
### Response:
| SELECT "Player" FROM table_74294 WHERE "Starts" = '26' |
### Instruction:
CREATE TABLE table_67057 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which opponent has a Date of july 27?
### Response:
| SELECT "Opponent" FROM table_67057 WHERE "Date" = 'july 27' |
### Instruction:
CREATE TABLE table_train_187 (
"id" int,
"pregnancy_or_lactation" bool,
"renal_disease" bool,
"diabetic" string,
"liver_disease" bool,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- chronic liver disease
### Response:
| SELECT * FROM table_train_187 WHERE liver_disease = 1 |
### Instruction:
CREATE TABLE table_11500 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On October 25, when the visitor was Colorado, what is the score?
### Response:
| SELECT "Score" FROM table_11500 WHERE "Visitor" = 'colorado' AND "Date" = 'october 25' |
### Instruction:
CREATE TABLE table_64762 (
"Rank" real,
"Rower" text,
"Country" text,
"Time" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Rank of the rower with a Time of 8:23.02?
### Response:
| SELECT COUNT("Rank") FROM table_64762 WHERE "Time" = '8:23.02' |
### Instruction:
CREATE TABLE table_name_7 (
place_of_birth VARCHAR,
elevator VARCHAR,
elector VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the place of birth when the elevator is Nicholas IV, and elector is Napoleone Orsini Frangipani?
### Response:
| SELECT place_of_birth FROM table_name_7 WHERE elevator = "nicholas iv" AND elector = "napoleone orsini frangipani" |
### Instruction:
CREATE TABLE table_44022 (
"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 Week number on November 20, 1977?
### Response:
| SELECT SUM("Week") FROM table_44022 WHERE "Date" = 'november 20, 1977' |
### Instruction:
CREATE TABLE table_39968 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On 10 November 2007, what was the venue?
### Response:
| SELECT "Venue" FROM table_39968 WHERE "Date" = '10 november 2007' |
### Instruction:
CREATE TABLE table_39808 (
"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 highest Pick # when the CFL Team is the Toronto Argonauts?
### Response:
| SELECT MAX("Pick #") FROM table_39808 WHERE "CFL Team" = 'toronto argonauts' |
### Instruction:
CREATE TABLE table_70862 (
"School" text,
"Team" text,
"Division Record" text,
"Overall Record" text,
"Season Outcome" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Season Outcome, when the School is Sussex Tech?
### Response:
| SELECT "Season Outcome" FROM table_70862 WHERE "School" = 'sussex tech' |
### Instruction:
CREATE TABLE table_53218 (
"Year" real,
"Tracks" text,
"Title" text,
"Format, Special Notes" text,
"Label" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Format and Special Notes for of the pact: ...of the gods?
### Response:
| SELECT "Format, Special Notes" FROM table_53218 WHERE "Title" = 'the pact: ...of the gods' |
### Instruction:
CREATE TABLE table_49565 (
"Tie no" real,
"Home team" text,
"Score" text,
"Away team" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average attendance of the match with arlesey town as the home team?
### Response:
| SELECT AVG("Attendance") FROM table_49565 WHERE "Home team" = 'arlesey town' |
### Instruction:
CREATE TABLE table_21530474_1 (
drivetrain VARCHAR,
engine_code VARCHAR,
chassis_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the drivetrain for 1ur-fse for usf41
### Response:
| SELECT drivetrain FROM table_21530474_1 WHERE engine_code = "1UR-FSE" AND chassis_code = "USF41" |
### Instruction:
CREATE TABLE table_1977 (
"Number" text,
"Previous Number(s)" real,
"Previous Class" text,
"Converted" real,
"Use" text,
"Withdrawn" real,
"Disposal" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every use for number 1?
### Response:
| SELECT "Use" FROM table_1977 WHERE "Number" = '1' |
### Instruction:
CREATE TABLE table_72059 (
"Player" text,
"Solo" real,
"Total" real,
"Sacks" text,
"Fumble force" real,
"Fumble rec" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the high total for players with over 15 solo tackles?
### Response:
| SELECT MAX("Total") FROM table_72059 WHERE "Solo" > '15' |
### Instruction:
CREATE TABLE table_41869 (
"Peel" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Byes has a Losses smaller than 1?
### Response:
| SELECT MAX("Byes") FROM table_41869 WHERE "Losses" < '1' |
### Instruction:
CREATE TABLE table_name_62 (
silver INTEGER,
gold VARCHAR,
nation VARCHAR,
total VARCHAR,
bronze VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the average silver for total more than 1 with bronze of 2 for france and gold more than 0
### Response:
| SELECT AVG(silver) FROM table_name_62 WHERE total > 1 AND bronze = 2 AND nation = "france" AND gold > 0 |
### Instruction:
CREATE TABLE table_204_710 (
id number,
"model" text,
"origin" text,
"type" text,
"versions" text,
"in service" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what country has more aircraft listed than any other ?
### Response:
| SELECT "origin" FROM table_204_710 GROUP BY "origin" ORDER BY COUNT(*) DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_2168295_1 (
area__km²_ INTEGER,
population__2011_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the minimum area id the 2011 population is 3067549?
### Response:
| SELECT MIN(area__km²_) FROM table_2168295_1 WHERE population__2011_ = 3067549 |
### Instruction:
CREATE TABLE table_46497 (
"Railway" text,
"Builder" text,
"Built" real,
"Wheels" text,
"Location" text,
"ObjectNumber" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Built has a Builder of brel crewe?
### Response:
| SELECT AVG("Built") FROM table_46497 WHERE "Builder" = 'brel crewe' |
### Instruction:
CREATE TABLE table_16175217_1 (
donor_payment VARCHAR,
children_per_donor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are donor payments in the country where there are 12 children to 6 families (2 per family)?
### Response:
| SELECT donor_payment FROM table_16175217_1 WHERE children_per_donor = "12 children to 6 families (2 per family)" |
### Instruction:
CREATE TABLE table_train_166 (
"id" int,
"hemoglobin_a1c_hba1c" float,
"diabetic" string,
"body_mass_index_bmi" float,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- diagnosis of type ii diabetes mellitus
### Response:
| SELECT * FROM table_train_166 WHERE diabetic = 'ii' |
### Instruction:
CREATE TABLE table_67307 (
"Year" real,
"Team" text,
"Chassis" text,
"Engine" text,
"Rank" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the points for Engine of chevrolet 265c
### Response:
| SELECT "Points" FROM table_67307 WHERE "Engine" = 'chevrolet 265c' |
### Instruction:
CREATE TABLE table_52140 (
"AVE- No." text,
"Name" text,
"Country" text,
"Highest mountain" text,
"Height (m)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which country has the Highest mountain of rettlkirchspitze?
### Response:
| SELECT "Country" FROM table_52140 WHERE "Highest mountain" = 'rettlkirchspitze' |
### Instruction:
CREATE TABLE table_204_433 (
id number,
"rank" number,
"name" text,
"nationality" text,
"time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which nation was the only one with two top 3 finishers ?
### Response:
| SELECT "nationality" FROM table_204_433 WHERE id <= 3 GROUP BY "nationality" HAVING COUNT(*) = 2 |
### Instruction:
CREATE TABLE table_name_5 (
matches INTEGER,
average VARCHAR,
goals VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For players with fewer than 41 goals for CA Osasuna and averages under 1.06, what is the average number of matches?
### Response:
| SELECT AVG(matches) FROM table_name_5 WHERE goals < 41 AND team = "ca osasuna" AND average < 1.06 |
### Instruction:
CREATE TABLE table_15130 (
"Hindi" text,
"Romani" text,
"Domari" text,
"Lomavren" text,
"Persian" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What word in Hindi has the same meaning as the Lomavren word saj?
### Response:
| SELECT "Hindi" FROM table_15130 WHERE "Lomavren" = 'saj' |
### Instruction:
CREATE TABLE race (
race_id number,
name text,
class text,
date text,
track_id text
)
CREATE TABLE track (
track_id number,
name text,
location text,
seating number,
year_opened number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the race class with most number of races.
### Response:
| SELECT class FROM race GROUP BY class ORDER BY COUNT(*) DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_204_757 (
id number,
"state" text,
"interview" number,
"swimsuit" number,
"evening gown" number,
"average" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many average scores were below 8.700 ?
### Response:
| SELECT COUNT(*) FROM table_204_757 WHERE "average" < 8.700 |
### Instruction:
CREATE TABLE Student (
Spent INTEGER
)
CREATE TABLE Visits_Restaurant (
Spent INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How long does student Linda Smith spend on the restaurant in total?
### Response:
| SELECT SUM(Spent) FROM Student JOIN Visits_Restaurant ON Student.StuID = Visits_Restaurant.StuID WHERE Student.Fname = "Linda" AND Student.Lname = "Smith" |
### Instruction:
CREATE TABLE table_34501 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent at the game with a score of 6 5 (10)?
### Response:
| SELECT "Opponent" FROM table_34501 WHERE "Score" = '6–5 (10)' |
### Instruction:
CREATE TABLE table_50570 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What player has a score of 67-70-77=214?
### Response:
| SELECT "Player" FROM table_50570 WHERE "Score" = '67-70-77=214' |
### Instruction:
CREATE TABLE table_53986 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the visitor when phoenix was at home?
### Response:
| SELECT "Visitor" FROM table_53986 WHERE "Home" = 'phoenix' |
### Instruction:
CREATE TABLE table_2562572_53 (
largest_ethnic_group__2002_ VARCHAR,
cyrillic_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What ethnic group had the largest population in in 2002?
### Response:
| SELECT largest_ethnic_group__2002_ FROM table_2562572_53 WHERE cyrillic_name = "Сурдук" |
### Instruction:
CREATE TABLE table_204_700 (
id number,
"name" text,
"developer" text,
"release" text,
"type" text,
"game flow" text,
"setting" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in what year was twilight heroes released ?
### Response:
| SELECT "release" FROM table_204_700 WHERE "name" = 'twilight heroes' |
### Instruction:
CREATE TABLE table_25149 (
"Year" real,
"Championship" text,
"54 holes" text,
"Winning score" text,
"Margin" text,
"Runner(s)-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the winning score for pga championship
### Response:
| SELECT "Winning score" FROM table_25149 WHERE "Championship" = 'PGA Championship' |
### Instruction:
CREATE TABLE table_54967 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average attendance when the Forest Green Rovers is the away team?
### Response:
| SELECT AVG("Attendance") FROM table_54967 WHERE "Away team" = 'forest green rovers' |
### Instruction:
CREATE TABLE table_41542 (
"Date" text,
"Tournament" text,
"Winning score" text,
"Margin of victory" text,
"Runner(s)-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which margin of victory has cyber agent ladies as the tournament?
### Response:
| SELECT "Margin of victory" FROM table_41542 WHERE "Tournament" = 'cyber agent ladies' |
### Instruction:
CREATE TABLE table_18673 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who are the candidates with district being kansas 4
### Response:
| SELECT "Candidates" FROM table_18673 WHERE "District" = 'Kansas 4' |
### Instruction:
CREATE TABLE table_6080 (
"Image" text,
"Father" text,
"Birth" text,
"Ceased to be Duchess" text,
"Death" text,
"Husband" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which image is of the woman married to william iv?
### Response:
| SELECT "Image" FROM table_6080 WHERE "Husband" = 'william iv' |
### Instruction:
CREATE TABLE table_755 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what year was Phil J. Welch first elected?
### Response:
| SELECT "First elected" FROM table_755 WHERE "Incumbent" = 'Phil J. Welch' |
### Instruction:
CREATE TABLE table_11602313_4 (
fsb VARCHAR,
part_number_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the FSB of the model with part number lf80537gf0411m?
### Response:
| SELECT fsb FROM table_11602313_4 WHERE part_number_s_ = "LF80537GF0411M" |
### Instruction:
CREATE TABLE table_48411 (
"Name" text,
"Gain" real,
"Loss" real,
"Long" real,
"Avg/g" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the sum of Loss that has the Gain of 2646?
### Response:
| SELECT SUM("Loss") FROM table_48411 WHERE "Gain" = '2646' |
### Instruction:
CREATE TABLE table_42392 (
"Team" text,
"Match" real,
"Points" real,
"Draw" real,
"Lost" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of draws with 6 losses and less than 15 points?
### Response:
| SELECT MAX("Draw") FROM table_42392 WHERE "Lost" = '6' AND "Points" < '15' |
### Instruction:
CREATE TABLE table_59248 (
"County" text,
"Precincts" text,
"E. Greenberg" text,
"G. Hager" text,
"T. Wyka" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Precincts has a County of passaic?
### Response:
| SELECT "Precincts" FROM table_59248 WHERE "County" = 'passaic' |
### Instruction:
CREATE TABLE table_36332 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which driver had an accident and laps smaller than 53?
### Response:
| SELECT "Driver" FROM table_36332 WHERE "Laps" < '53' AND "Time/Retired" = 'accident' |
### Instruction:
CREATE TABLE table_27765443_2 (
model___computer_name VARCHAR,
cpu_type VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of model for amd opteron dual-core 2.6ghz
### Response:
| SELECT COUNT(model___computer_name) FROM table_27765443_2 WHERE cpu_type = "AMD Opteron dual-core 2.6GHz" |
### Instruction:
CREATE TABLE table_203_27 (
id number,
"number" number,
"serial no" number,
"entered service" text,
"withdrawn" text,
"kilometres travelled" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- when was number 4102 entered into service ?
### Response:
| SELECT "entered service" FROM table_203_27 WHERE "number" = 4102 |
### Instruction:
CREATE TABLE table_56388 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time/Retired" text,
"Grid" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Sylvain Guintoli's laps?
### Response:
| SELECT SUM("Laps") FROM table_56388 WHERE "Rider" = 'sylvain guintoli' |
### Instruction:
CREATE TABLE table_68276 (
"Value" text,
"Khmer" text,
"Word form" text,
"UNGEGN" text,
"ALA-LC" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what notes have the khmer ?
### Response:
| SELECT "Notes" FROM table_68276 WHERE "Khmer" = '២៨' |
### Instruction:
CREATE TABLE table_34361 (
"Surname" text,
"First" text,
"D.O.B." text,
"Uni#" real,
"Bats" text,
"Throws" text,
"Position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Marc's Surname?
### Response:
| SELECT "Surname" FROM table_34361 WHERE "First" = 'marc' |
### Instruction:
CREATE TABLE table_30057479_1 (
researched_at VARCHAR,
geometry VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was d: 25~70nm, l: 10~20 m geometry researched?
### Response:
| SELECT researched_at FROM table_30057479_1 WHERE geometry = "D: 25~70nm, L: 10~20 μm" |
### Instruction:
CREATE TABLE table_10795 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance for the game where the score was 0-6?
### Response:
| SELECT "Attendance" FROM table_10795 WHERE "Score" = '0-6' |
### Instruction:
CREATE TABLE table_204_95 (
id number,
"name" text,
"title" text,
"first year\nin this position" number,
"years at nebraska" text,
"alma mater" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which coach listed started first ?
### Response:
| SELECT "name" FROM table_204_95 ORDER BY "first year\nin this position" LIMIT 1 |
### Instruction:
CREATE TABLE table_29353 (
"Programs" text,
"World" real,
"Africa" real,
"Americas" real,
"Asia" real,
"Australasia" real,
"Europe" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many radio stations were built in Asia?
### Response:
| SELECT "Asia" FROM table_29353 WHERE "Programs" = 'Radio Stations' |
### Instruction:
CREATE TABLE table_56775 (
"Year" text,
"League" text,
"Reg. Season" text,
"Playoffs" text,
"Avg. attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What regular season result had an average attendance less than 942?
### Response:
| SELECT "Reg. Season" FROM table_56775 WHERE "Avg. attendance" < '942' |
### Instruction:
CREATE TABLE table_19614 (
"Hand" text,
"1 credit" real,
"2 credits" real,
"3 credits" real,
"4 credits" real,
"5 credits" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most 1 credit for three of a kind
### Response:
| SELECT MAX("1 credit") FROM table_19614 WHERE "Hand" = 'Three of a Kind' |
### Instruction:
CREATE TABLE table_5094 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On which date was the game played against the Milwaukee Bucks?
### Response:
| SELECT "Date" FROM table_5094 WHERE "Opponent" = 'milwaukee bucks' |
### Instruction:
CREATE TABLE table_1464 (
"Season" text,
"Winner" text,
"Winning Song" text,
"Winning Song (English Title)" text,
"Debut Album" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the winning song for the artist with a debut album 'the winner'?
### Response:
| SELECT "Winning Song" FROM table_1464 WHERE "Debut Album" = 'The Winner' |
### Instruction:
CREATE TABLE table_40460 (
"Season" real,
"Team" text,
"Conference" text,
"Head Coach" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was USC's record before the 1967 season?
### Response:
| SELECT "Record" FROM table_40460 WHERE "Team" = 'usc' AND "Season" < '1967' |
### Instruction:
CREATE TABLE table_51702 (
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent in the final" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name th score for may 11, 2003
### Response:
| SELECT "Score" FROM table_51702 WHERE "Date" = 'may 11, 2003' |
### Instruction:
CREATE TABLE table_79091 (
"Year" real,
"Gold" text,
"Silver" text,
"Bronze" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT YEAR HAS A SILVER FOR MATTHIAS MERZ?
### Response:
| SELECT MIN("Year") FROM table_79091 WHERE "Silver" = 'matthias merz' |
### Instruction:
CREATE TABLE table_72528 (
"Player" text,
"Position" text,
"Starter" text,
"Touchdowns" real,
"Extra points" real,
"Field goals" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most extra points for right tackle
### Response:
| SELECT MAX("Extra points") FROM table_72528 WHERE "Position" = 'Right tackle' |
### Instruction:
CREATE TABLE table_20547 (
"Season" text,
"1st Place" text,
"2nd Place" text,
"3rd Place" text,
"4th Place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What seasons did unicaja m laga finish in 3rd?
### Response:
| SELECT "Season" FROM table_20547 WHERE "3rd Place" = 'Unicaja Málaga' |
### Instruction:
CREATE TABLE table_2562572_9 (
cyrillic_name_other_names VARCHAR,
population__2011_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the cyrillic name for the settlement with the population of 5414?
### Response:
| SELECT cyrillic_name_other_names FROM table_2562572_9 WHERE population__2011_ = 5414 |
### Instruction:
CREATE TABLE table_53025 (
"Name" text,
"Real Name" text,
"Birthdate" text,
"Costume Role" text,
"Defining characteristics" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the birth date of the member with the Defining characteristic of pink hair?
### Response:
| SELECT "Birthdate" FROM table_53025 WHERE "Defining characteristics" = 'pink hair' |
### Instruction:
CREATE TABLE table_47800 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Score of Stewart Cink with a To par of +4?
### Response:
| SELECT "Score" FROM table_47800 WHERE "To par" = '+4' AND "Player" = 'stewart cink' |
### Instruction:
CREATE TABLE table_4287 (
"Townland" text,
"Area( acres )" real,
"Barony" text,
"Civil parish" text,
"Poor law union" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different civil parishes is Canrooska a part of?
### Response:
| SELECT COUNT("Civil parish") FROM table_4287 WHERE "Townland" = 'Canrooska' |
### Instruction:
CREATE TABLE table_47780 (
"Date" text,
"Home" text,
"Score" text,
"Away" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was date was the attendance larger than 875 against Platense?
### Response:
| SELECT "Date" FROM table_47780 WHERE "Attendance" > '875' AND "Home" = 'platense' |
### Instruction:
CREATE TABLE table_3430 (
"Series #" real,
"Season #" real,
"Title" text,
"Director" text,
"Writer(s)" text,
"Airdate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many directors were there for series # 431?
### Response:
| SELECT COUNT("Director") FROM table_3430 WHERE "Series #" = '431' |
### Instruction:
CREATE TABLE table_7702 (
"Name/ designation" text,
"Year of intro" real,
"Country of origin" text,
"Primary cartridge" text,
"Type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Country of Origin, when Year of Intro is 1977?
### Response:
| SELECT "Country of origin" FROM table_7702 WHERE "Year of intro" = '1977' |
### Instruction:
CREATE TABLE table_11565 (
"Official Name in Malay" text,
"Acronym" text,
"Foundation" real,
"Type" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the foundation of Politeknik Pagoh?
### Response:
| SELECT AVG("Foundation") FROM table_11565 WHERE "Official Name in Malay" = 'politeknik pagoh' |
### Instruction:
CREATE TABLE table_name_48 (
position VARCHAR,
points VARCHAR,
series VARCHAR,
season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Position, when Series is Queensland Formula Ford Championship, when Season is after 2001, and when Points is 234?
### Response:
| SELECT position FROM table_name_48 WHERE series = "queensland formula ford championship" AND season > 2001 AND points = "234" |
### Instruction:
CREATE TABLE table_19301 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was incumbent John Thomas Wilson first elected?
### Response:
| SELECT "First elected" FROM table_19301 WHERE "Incumbent" = 'John Thomas Wilson' |
### Instruction:
CREATE TABLE table_name_29 (
short_term_capital_gain_rate VARCHAR,
long_term_gain_on_collectibles VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is short-term capital gain rate with long-term gain on collectibles at 15%?
### Response:
| SELECT short_term_capital_gain_rate FROM table_name_29 WHERE long_term_gain_on_collectibles = "15%" |
### Instruction:
CREATE TABLE table_200_32 (
id number,
"year" number,
"w" number,
"l" number,
"t" number,
"finish" text,
"coach" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in what year did the muncie flyers have an undefeated record ?
### Response:
| SELECT "year" FROM table_200_32 WHERE "l" = 0 |
### Instruction:
CREATE TABLE table_7542 (
"Date" text,
"Opponent" text,
"Location" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the total attendance on 10/05/1974?
### Response:
| SELECT COUNT("Attendance") FROM table_7542 WHERE "Date" = '10/05/1974' |
### Instruction:
CREATE TABLE table_21072 (
"Name" text,
"Latitude" text,
"Longitude" text,
"Diameter (km)" text,
"Year named" real,
"Name origin" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name origin of Nike Fossae?
### Response:
| SELECT "Name origin" FROM table_21072 WHERE "Name" = 'Nike Fossae' |
### Instruction:
CREATE TABLE table_204_747 (
id number,
"season" text,
"skip" text,
"third" text,
"second" text,
"lead" text,
"events" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who had the most seasons in third ?
### Response:
| SELECT "third" FROM table_204_747 GROUP BY "third" ORDER BY COUNT("season") DESC LIMIT 1 |
### Instruction:
CREATE TABLE table_71619 (
"Round" real,
"Pick #" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Pick # of Saint Vincent College?
### Response:
| SELECT MIN("Pick #") FROM table_71619 WHERE "College" = 'saint vincent college' |
### Instruction:
CREATE TABLE table_63595 (
"County" text,
"Per capita income" text,
"Median household income" text,
"Median family income" text,
"Population" real,
"Number of households" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the population of Green County?
### Response:
| SELECT MIN("Population") FROM table_63595 WHERE "County" = 'green' |
### Instruction:
CREATE TABLE table_19698421_1 (
change__percentage_points_ VARCHAR,
average_voters_per_candidate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many elections had 1423 average voters per candidate?
### Response:
| SELECT COUNT(change__percentage_points_) FROM table_19698421_1 WHERE average_voters_per_candidate = 1423 |
### Instruction:
CREATE TABLE table_64277 (
"Heat" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Time has a Lane smaller than 2, and a Nationality of spain?
### Response:
| SELECT "Time" FROM table_64277 WHERE "Lane" < '2' AND "Nationality" = 'spain' |
### Instruction:
CREATE TABLE table_52035 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Date did the Home team play in essendon?
### Response:
| SELECT "Date" FROM table_52035 WHERE "Home team" = 'essendon' |
### Instruction:
CREATE TABLE table_49155 (
"Skip" text,
"Third/Vice skip" text,
"Second" text,
"Lead" text,
"City" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Third/Vice skip has a Second of ric sylvain?
### Response:
| SELECT "Third/Vice skip" FROM table_49155 WHERE "Second" = 'éric sylvain' |
### Instruction:
CREATE TABLE table_203_137 (
id number,
"title" text,
"album details" text,
"peak chart positions\nus" number,
"peak chart positions\nus r&b" number,
"certifications" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number of albums can i bus has released ?
### Response:
| SELECT COUNT("title") FROM table_203_137 |
### Instruction:
CREATE TABLE table_66618 (
"Title" text,
"Series" text,
"Director" text,
"Production Num." text,
"Release date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was land of the midnight fun in the mm series released?
### Response:
| SELECT "Release date" FROM table_66618 WHERE "Series" = 'mm' AND "Title" = 'land of the midnight fun' |
### Instruction:
CREATE TABLE table_3238 (
"Character" text,
"English version" text,
"Cinderella" text,
"Cinderella II: Dreams Come True" text,
"Cinderella III: A Twist in Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who voiced Drizella in the English version?
### Response:
| SELECT "English version" FROM table_3238 WHERE "Character" = 'Drizella' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.