instruction
stringlengths 212
6.3k
| output
stringlengths 6
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_6636 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which District has a First elected larger than 1858?
### Response:
|
SELECT "District" FROM table_6636 WHERE "First elected" > '1858'
|
### Instruction:
CREATE TABLE table_71570 (
"Rank" real,
"Name" text,
"Nationality" text,
"Score" text,
"Perfection" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had a perfection percentage of 73.24%?
### Response:
|
SELECT "Name" FROM table_71570 WHERE "Perfection" = '73.24%'
|
### Instruction:
CREATE TABLE table_56247 (
"Locomotive" text,
"Name" text,
"Serial No" text,
"Entered service" text,
"Owner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name for the locomotive n464?
### Response:
|
SELECT "Name" FROM table_56247 WHERE "Locomotive" = 'n464'
|
### Instruction:
CREATE TABLE table_142950_1 (
research_funding__ VARCHAR,
gained_university_status VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many members gained university status in 1900?
### Response:
|
SELECT COUNT(research_funding__) AS £, 000 AS _ FROM table_142950_1 WHERE gained_university_status = 1900
|
### Instruction:
CREATE TABLE table_name_29 (
speed VARCHAR,
position VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the speed of the race that ended in 2nd place and had a time of 01:13:03.39?
### Response:
|
SELECT speed FROM table_name_29 WHERE position = "2nd" AND time = "01:13:03.39"
|
### Instruction:
CREATE TABLE table_name_37 (
b_score INTEGER,
a_score VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the sum of the b score when the a score is 6.6 and the total is 15.6?
### Response:
|
SELECT SUM(b_score) FROM table_name_37 WHERE a_score = 6.6 AND total = 15.6
|
### Instruction:
CREATE TABLE table_66490 (
"Pick" real,
"Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Pick does the College Southeastern Louisiana have?
### Response:
|
SELECT "Pick" FROM table_66490 WHERE "College" = 'southeastern louisiana'
|
### Instruction:
CREATE TABLE table_name_23 (
label VARCHAR,
catalog VARCHAR,
date VARCHAR,
region VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the label for 2002, in Germany, Catalog Dos 195?
### Response:
|
SELECT label FROM table_name_23 WHERE date = "2002" AND region = "germany" AND catalog = "dos 195"
|
### Instruction:
CREATE TABLE table_10321805_1 (
year__ceremony_ VARCHAR,
original_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was a movie with the original title La Leggenda del Santo Bevitore submitted?
### Response:
|
SELECT year__ceremony_ FROM table_10321805_1 WHERE original_title = "La leggenda del santo bevitore"
|
### Instruction:
CREATE TABLE table_name_44 (
game INTEGER,
record VARCHAR,
november VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest game number when the rangers had a record of 11-11-1 and the date was after November 29?
### Response:
|
SELECT MAX(game) FROM table_name_44 WHERE record = "11-11-1" AND november > 29
|
### Instruction:
CREATE TABLE table_8187 (
"Club" text,
"Sport" text,
"Founded" real,
"League" text,
"Venue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- COunt the Founded which has a Venue of villa park?
### Response:
|
SELECT SUM("Founded") FROM table_8187 WHERE "Venue" = 'villa park'
|
### Instruction:
CREATE TABLE table_2646 (
"Outcome" text,
"Year" real,
"Championship" text,
"Surface" text,
"Opponent in the final" text,
"Score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was John McEnroe's minimum year?
### Response:
|
SELECT MIN("Year") FROM table_2646
|
### Instruction:
CREATE TABLE table_602 (
"No" real,
"Player" text,
"Height" text,
"Position" text,
"Year born" real,
"Current Club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many players are from energa czarni?
### Response:
|
SELECT COUNT("Position") FROM table_602 WHERE "Current Club" = 'Energa Czarni'
|
### Instruction:
CREATE TABLE table_name_25 (
laps VARCHAR,
grid VARCHAR,
constructor VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many laps were completed by Piers Courage when BRM was the constructor and the grid is larger than 8?
### Response:
|
SELECT COUNT(laps) FROM table_name_25 WHERE constructor = "brm" AND driver = "piers courage" AND grid > 8
|
### Instruction:
CREATE TABLE table_name_60 (
to_par VARCHAR,
player VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the to par of player tom weiskopf, who has a 71-74=145 score?
### Response:
|
SELECT to_par FROM table_name_60 WHERE score = 71 - 74 = 145 AND player = "tom weiskopf"
|
### Instruction:
CREATE TABLE table_71569 (
"Rank" real,
"Name" text,
"Nationality" text,
"Score" text,
"Perfection" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the rank of Svetlana Fedorenko?
### Response:
|
SELECT "Rank" FROM table_71569 WHERE "Name" = 'svetlana fedorenko'
|
### Instruction:
CREATE TABLE table_13504 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Event" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what years did Salina Kosgei compete in Singapore?
### Response:
|
SELECT COUNT("Year") FROM table_13504 WHERE "Venue" = 'singapore'
|
### Instruction:
CREATE TABLE table_13011 (
"Country" text,
"Builder" text,
"Location" text,
"Ship" text,
"Class / type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the country of Palmers Shipbuilding and Iron Company?
### Response:
|
SELECT "Country" FROM table_13011 WHERE "Builder" = 'palmers shipbuilding and iron company'
|
### Instruction:
CREATE TABLE table_79324 (
"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 is the tie number when the home team is Port Vale?
### Response:
|
SELECT "Tie no" FROM table_79324 WHERE "Home team" = 'port vale'
|
### Instruction:
CREATE TABLE table_32182 (
"Round" real,
"Overall" real,
"Player" text,
"Position" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was James Reed's draft round number?
### Response:
|
SELECT COUNT("Round") FROM table_32182 WHERE "Player" = 'james reed'
|
### Instruction:
CREATE TABLE table_62003 (
"Year" real,
"Gold" text,
"Silver" text,
"Bronze" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Notes, when Year is '2010'?
### Response:
|
SELECT "Notes" FROM table_62003 WHERE "Year" = '2010'
|
### Instruction:
CREATE TABLE table_79170 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player scored 76-68=144?
### Response:
|
SELECT "Player" FROM table_79170 WHERE "Score" = '76-68=144'
|
### Instruction:
CREATE TABLE table_28760 (
"Round" real,
"Overall pick" real,
"NFL team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the college for david carter
### Response:
|
SELECT "College" FROM table_28760 WHERE "Player" = 'David Carter'
|
### Instruction:
CREATE TABLE table_name_98 (
s_registered_user VARCHAR,
userpics_free VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the S Registered User, when Userpics Free is 6 [free] or 15 [plus]?
### Response:
|
SELECT s_registered_user FROM table_name_98 WHERE userpics_free = "6 [free] or 15 [plus]"
|
### Instruction:
CREATE TABLE table_74528 (
"Year" real,
"Winner" text,
"Jockey" text,
"Trainer" text,
"Time" text,
"Grade" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won under Gary Simms?
### Response:
|
SELECT "Winner" FROM table_74528 WHERE "Trainer" = 'gary simms'
|
### Instruction:
CREATE TABLE table_8922 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player was from England with a to par of +1?
### Response:
|
SELECT "Player" FROM table_8922 WHERE "To par" = '+1' AND "Country" = 'england'
|
### Instruction:
CREATE TABLE table_2618152_1 (
written_by VARCHAR,
original_air_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The episode with original air date January 13, 1999 is written by who?
### Response:
|
SELECT written_by FROM table_2618152_1 WHERE original_air_date = "January 13, 1999"
|
### Instruction:
CREATE TABLE table_28490105_1 (
rnd INTEGER,
gt_winning_car VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the earliest round where the gt winning car is max angelelli?
### Response:
|
SELECT MIN(rnd) FROM table_28490105_1 WHERE gt_winning_car = "Max Angelelli"
|
### Instruction:
CREATE TABLE table_name_23 (
events VARCHAR,
top_5 VARCHAR,
top_25 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the total number of Events, when the Top-5 was less than 2, and when the Top-25 was less than 3?
### Response:
|
SELECT COUNT(events) FROM table_name_23 WHERE top_5 < 2 AND top_25 < 3
|
### Instruction:
CREATE TABLE table_name_7 (
partner VARCHAR,
surface VARCHAR,
opponents_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who's the partner that played against Alicia Molik Mara Santangelo on clay?
### Response:
|
SELECT partner FROM table_name_7 WHERE surface = "clay" AND opponents_in_the_final = "alicia molik mara santangelo"
|
### Instruction:
CREATE TABLE table_203_277 (
id number,
"entered" number,
"wrestler" text,
"place" text,
"eliminated by" text,
"time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many lasted at least 6 minutes ?
### Response:
|
SELECT COUNT(*) FROM table_203_277 WHERE "time" >= 6
|
### Instruction:
CREATE TABLE table_25204 (
"Year" real,
"Network" text,
"Race caller" text,
"s Host" text,
"s Analyst" text,
"Reporters" text,
"Trophy presentation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the analysts
### Response:
|
SELECT "s Analyst" FROM table_25204
|
### Instruction:
CREATE TABLE table_55908 (
"Year" text,
"Language" text,
"Title" text,
"Translator" text,
"Company" text,
"Pages" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the title for year n.m.?
### Response:
|
SELECT "Title" FROM table_55908 WHERE "Year" = 'n.m.'
|
### Instruction:
CREATE TABLE table_33926 (
"City" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the airport name that has nos listed as the IATA?
### Response:
|
SELECT "Airport" FROM table_33926 WHERE "IATA" = 'nos'
|
### Instruction:
CREATE TABLE table_name_38 (
place VARCHAR,
mark VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the place of the record on 1996-05-25 with a mark greater than 90.73?
### Response:
|
SELECT place FROM table_name_38 WHERE mark > 90.73 AND date = "1996-05-25"
|
### Instruction:
CREATE TABLE table_40374 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the score when there was a Tie number of 6?
### Response:
|
SELECT "Score" FROM table_40374 WHERE "Tie no" = '6'
|
### Instruction:
CREATE TABLE table_name_59 (
televotes INTEGER,
performer VARCHAR,
draw VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHich Televotes has a Performer of biljana dodeva, and a Draw larger than 10?
### Response:
|
SELECT MIN(televotes) FROM table_name_59 WHERE performer = "biljana dodeva" AND draw > 10
|
### Instruction:
CREATE TABLE table_142573_1 (
clock_rate__mhz_ INTEGER,
designation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the least clock rate mhz when designation is rimm 4200
### Response:
|
SELECT MIN(clock_rate__mhz_) FROM table_142573_1 WHERE designation = "RIMM 4200"
|
### Instruction:
CREATE TABLE table_7398 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What attendance has Washington redskins as the opponent?
### Response:
|
SELECT "Attendance" FROM table_7398 WHERE "Opponent" = 'washington redskins'
|
### Instruction:
CREATE TABLE table_8762 (
"Rider" text,
"Bike" text,
"Laps" real,
"Time" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Grid has a Time of +13.999?
### Response:
|
SELECT MIN("Grid") FROM table_8762 WHERE "Time" = '+13.999'
|
### Instruction:
CREATE TABLE table_name_99 (
country VARCHAR,
to_par VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Country of the Player with a To par of +1 and a Score of 72-71=143?
### Response:
|
SELECT country FROM table_name_99 WHERE to_par = "+1" AND score = 72 - 71 = 143
|
### Instruction:
CREATE TABLE table_203_38 (
id number,
"#" number,
"title" text,
"producer(s)" text,
"performer(s)" text,
"length" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how long is the shortest song on the album ?
### Response:
|
SELECT "length" FROM table_203_38 ORDER BY "length" LIMIT 1
|
### Instruction:
CREATE TABLE table_8101 (
"Name" text,
"Built" text,
"Listed" text,
"Location" text,
"County" text,
"Type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What county is the St. Augustine bridge in?
### Response:
|
SELECT "County" FROM table_8101 WHERE "Location" = 'st. augustine'
|
### Instruction:
CREATE TABLE table_64425 (
"Player" text,
"Original Season" text,
"Gender" text,
"Eliminated" text,
"Placing" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the player in 20th place?
### Response:
|
SELECT "Player" FROM table_64425 WHERE "Placing" = '20th place'
|
### Instruction:
CREATE TABLE table_43448 (
"Frequency" text,
"Call sign" text,
"Branding" text,
"Format" text,
"Owner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Call sign has a Branding of cbc radio one?
### Response:
|
SELECT "Call sign" FROM table_43448 WHERE "Branding" = 'cbc radio one'
|
### Instruction:
CREATE TABLE table_8349 (
"Date" text,
"Region" text,
"Label" text,
"Catalogue" text,
"Format" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the label for the CD format in North America?
### Response:
|
SELECT "Label" FROM table_8349 WHERE "Format" = 'cd' AND "Region" = 'north america'
|
### Instruction:
CREATE TABLE table_name_47 (
oppose VARCHAR,
unsure VARCHAR,
poll_source VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What percentage of people were opposed to the candidate based on the WNBC/Marist poll that showed 8% of people were unsure?
### Response:
|
SELECT oppose FROM table_name_47 WHERE unsure = "8%" AND poll_source = "wnbc/marist poll"
|
### Instruction:
CREATE TABLE table_21889 (
"Outcome" text,
"Year" real,
"Championship" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the lowest year represented?
### Response:
|
SELECT MIN("Year") FROM table_21889
|
### Instruction:
CREATE TABLE table_35947 (
"Nation" text,
"Skip" text,
"Third" text,
"Second" text,
"Lead" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the second when Ilian Kirilov was the lead?
### Response:
|
SELECT "Second" FROM table_35947 WHERE "Lead" = 'ilian kirilov'
|
### Instruction:
CREATE TABLE table_77726 (
"Driver" text,
"Car #" real,
"Make" text,
"Points" real,
"Laps" real,
"Winnings" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the make of car 31?
### Response:
|
SELECT "Make" FROM table_77726 WHERE "Car #" = '31'
|
### Instruction:
CREATE TABLE table_68797 (
"Name" text,
"Team" text,
"Qual 1" text,
"Qual 2" text,
"Best" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the qual 1 for alex tagliani?
### Response:
|
SELECT "Qual 1" FROM table_68797 WHERE "Name" = 'alex tagliani'
|
### Instruction:
CREATE TABLE table_27369 (
"Pick #" real,
"NFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the nfl team for pick number 151
### Response:
|
SELECT "NFL Team" FROM table_27369 WHERE "Pick #" = '151'
|
### Instruction:
CREATE TABLE table_204_969 (
id number,
"composer" text,
"title" text,
"genre" text,
"date" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many are symphonic poems ?
### Response:
|
SELECT COUNT(*) FROM table_204_969 WHERE "genre" = 'symphonic poem'
|
### Instruction:
CREATE TABLE table_58723 (
"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 home team played against Fleetwood Town?
### Response:
|
SELECT "Home team" FROM table_58723 WHERE "Away team" = 'fleetwood town'
|
### Instruction:
CREATE TABLE table_55802 (
"Year" real,
"Record" text,
"Finish" text,
"Manager" text,
"Playoffs" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the average year with a record of 33-33
### Response:
|
SELECT AVG("Year") FROM table_55802 WHERE "Record" = '33-33'
|
### Instruction:
CREATE TABLE table_20750731_1 (
obama_number INTEGER,
mccain_percentage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Obama# when McCain% is 64.4%?
### Response:
|
SELECT MAX(obama_number) FROM table_20750731_1 WHERE mccain_percentage = "64.4%"
|
### Instruction:
CREATE TABLE table_203_788 (
id number,
"year" number,
"author" text,
"illustrator" text,
"title" text,
"publisher" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many titles did walker publish ?
### Response:
|
SELECT COUNT("title") FROM table_203_788 WHERE "publisher" = 'walker'
|
### Instruction:
CREATE TABLE table_16771 (
"Race Name" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won the Modena circuit?
### Response:
|
SELECT "Winning driver" FROM table_16771 WHERE "Circuit" = 'Modena'
|
### Instruction:
CREATE TABLE table_62784 (
"Year" real,
"Chassis" text,
"Engine" text,
"Start" real,
"Finish" real,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What finish has a start smaller than 25?
### Response:
|
SELECT "Finish" FROM table_62784 WHERE "Start" < '25'
|
### Instruction:
CREATE TABLE table_22905641_2 (
race_3_winner VARCHAR,
race_2_winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many race 3 winners were there when Mitch Evans won race 2?
### Response:
|
SELECT COUNT(race_3_winner) FROM table_22905641_2 WHERE race_2_winner = "Mitch Evans"
|
### Instruction:
CREATE TABLE table_22962745_35 (
season VARCHAR,
batsmen VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What season was herschelle gibbs andrew symonds venugopal rao batsmen?
### Response:
|
SELECT season FROM table_22962745_35 WHERE batsmen = "Herschelle Gibbs Andrew Symonds Venugopal Rao"
|
### Instruction:
CREATE TABLE table_name_52 (
opponent VARCHAR,
outcome VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Opponent when Todd Woodbridge was the runner-up, and a Date of 26 august 1996?
### Response:
|
SELECT opponent FROM table_name_52 WHERE outcome = "runner-up" AND date = "26 august 1996"
|
### Instruction:
CREATE TABLE table_204_466 (
id number,
"rank" number,
"bib" number,
"country" text,
"time" text,
"penalties (p+s)" text,
"deficit" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many countries were represented ?
### Response:
|
SELECT COUNT("country") FROM table_204_466
|
### Instruction:
CREATE TABLE table_70410 (
"Name" text,
"Years" text,
"Gender" text,
"Area" text,
"Authority" text,
"Decile" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Deciles are coed?
### Response:
|
SELECT COUNT("Decile") FROM table_70410 WHERE "Gender" = 'coed'
|
### Instruction:
CREATE TABLE table_4377 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What competition was held 1 March 1909?
### Response:
|
SELECT "Competition" FROM table_4377 WHERE "Date" = '1 march 1909'
|
### Instruction:
CREATE TABLE table_name_53 (
stories VARCHAR,
height__m_ VARCHAR,
year_of_completion VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many stories have a height less than 138 meters with a completion date in 1971?
### Response:
|
SELECT stories FROM table_name_53 WHERE height__m_ < 138 AND year_of_completion = 1971
|
### Instruction:
CREATE TABLE table_name_90 (
set_1 VARCHAR,
date VARCHAR,
set_2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the set 1 for the date jun 26, and a set 2 of 25-16?
### Response:
|
SELECT set_1 FROM table_name_90 WHERE date = "jun 26" AND set_2 = "25-16"
|
### Instruction:
CREATE TABLE table_24186 (
"Station" text,
"Line" text,
"Planned" real,
"Cancelled" real,
"Proposal" text,
"Details" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of details for emlyn road
### Response:
|
SELECT COUNT("Details") FROM table_24186 WHERE "Station" = 'Emlyn Road'
|
### Instruction:
CREATE TABLE table_name_35 (
first_match VARCHAR,
final_position VARCHAR,
final_round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date did the first match occur for the competition that ended with a final position of winners and the final round in the finals?
### Response:
|
SELECT first_match FROM table_name_35 WHERE final_position = "winners" AND final_round = "finals"
|
### Instruction:
CREATE TABLE table_5306 (
"Round" real,
"Pick #" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which college did kevin landolt attend?
### Response:
|
SELECT "College" FROM table_5306 WHERE "Name" = 'kevin landolt'
|
### Instruction:
CREATE TABLE table_204_73 (
id number,
"date" text,
"opponent" text,
"score" text,
"result" text,
"record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- number of games in which the starzz scored at most 59 points
### Response:
|
SELECT COUNT(*) FROM table_204_73 WHERE "score" <= 59
|
### Instruction:
CREATE TABLE table_72829 (
"Season" real,
"MLS Reg. Season" text,
"MLS Cup Playoffs" text,
"U.S. Open Cup" text,
"CONCACAF Champions Cup / Champions League" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the first season?
### Response:
|
SELECT MIN("Season") FROM table_72829
|
### Instruction:
CREATE TABLE table_name_49 (
date VARCHAR,
games VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what day was the record set at the 2002 Salt Lake City games with a time of 3:57.70?
### Response:
|
SELECT date FROM table_name_49 WHERE games = "2002 salt lake city" AND time = "3:57.70"
|
### Instruction:
CREATE TABLE table_204_243 (
id number,
"year" number,
"album" text,
"song" text,
"duration" text,
"artist" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the most recent song on which they collaborated ?
### Response:
|
SELECT "song" FROM table_204_243 ORDER BY "year" DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_49265 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For week 15, what was the total number of attendance recorded?
### Response:
|
SELECT COUNT("Attendance") FROM table_49265 WHERE "Week" = '15'
|
### Instruction:
CREATE TABLE table_12060 (
"Round" real,
"Overall" real,
"Player" text,
"Nationality" text,
"Club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the player from Finland, what is the highest overall pick rank?
### Response:
|
SELECT MAX("Overall") FROM table_12060 WHERE "Nationality" = 'finland'
|
### Instruction:
CREATE TABLE table_name_82 (
track VARCHAR,
bobsleigh_skeleton_curves VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which track in Austria has Bobsleigh-skeleton curves with a grade of 14%?
### Response:
|
SELECT track FROM table_name_82 WHERE bobsleigh_skeleton_curves = "14" AND country = "austria"
|
### Instruction:
CREATE TABLE table_name_67 (
method VARCHAR,
record VARCHAR,
round VARCHAR,
res VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the method for a match with a Round larger than 2, he took a loss, and 15 3 was the record?
### Response:
|
SELECT method FROM table_name_67 WHERE round > 2 AND res = "loss" AND record = "15–3"
|
### Instruction:
CREATE TABLE table_name_27 (
playing_for VARCHAR,
_number_100 VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Playing For has a # 100 larger than 36, and a Score of 122?
### Response:
|
SELECT playing_for FROM table_name_27 WHERE _number_100 > 36 AND score = "122"
|
### Instruction:
CREATE TABLE table_38200 (
"Round # (Overall)" text,
"NFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position did the palyer drafted out of Washington play?
### Response:
|
SELECT "Position" FROM table_38200 WHERE "College" = 'washington'
|
### Instruction:
CREATE TABLE table_53529 (
"Pick" real,
"Player" text,
"Country of origin*" text,
"PBA team" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What player has a college named san sebastian?
### Response:
|
SELECT "Player" FROM table_53529 WHERE "College" = 'san sebastian'
|
### Instruction:
CREATE TABLE table_75264 (
"Nation" text,
"Skip" text,
"Third" text,
"Second" text,
"Lead" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the second who has Caroline Reed as third?
### Response:
|
SELECT "Second" FROM table_75264 WHERE "Third" = 'caroline reed'
|
### Instruction:
CREATE TABLE table_name_44 (
track_number VARCHAR,
album_title VARCHAR,
title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Track number has a Album title of , and a Title of ?
### Response:
|
SELECT track_number FROM table_name_44 WHERE album_title = "文武双全升级版" AND title = "老爸你别装酷"
|
### Instruction:
CREATE TABLE table_56810 (
"Race Name" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the report for circuit of modena
### Response:
|
SELECT "Report" FROM table_56810 WHERE "Circuit" = 'modena'
|
### Instruction:
CREATE TABLE table_name_38 (
date_of_appointment VARCHAR,
team VARCHAR,
replaced_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of appointment for Christos Kassianos who belonged to AEK?
### Response:
|
SELECT date_of_appointment FROM table_name_38 WHERE team = "aek" AND replaced_by = "christos kassianos"
|
### Instruction:
CREATE TABLE table_59472 (
"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.
-- When the home team was Woking, what was the tie no?
### Response:
|
SELECT "Tie no" FROM table_59472 WHERE "Home team" = 'woking'
|
### Instruction:
CREATE TABLE table_45897 (
"Name" text,
"Listed" text,
"Location" text,
"County" text,
"Type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What bridge is a pratt pony through truss tyoe bridge?
### Response:
|
SELECT "Name" FROM table_45897 WHERE "Type" = 'pratt pony through truss'
|
### Instruction:
CREATE TABLE table_14562722_1 (
directed_by VARCHAR,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who directed all the episodes that were written by aaron ehasz & john o'bryan?
### Response:
|
SELECT directed_by FROM table_14562722_1 WHERE written_by = "Aaron Ehasz & John O'Bryan"
|
### Instruction:
CREATE TABLE table_11900773_5 (
first_day_cover_cancellation VARCHAR,
theme VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the first day cover cancellation for the University of Saskatchewan themed stamp?
### Response:
|
SELECT first_day_cover_cancellation FROM table_11900773_5 WHERE theme = "University of Saskatchewan"
|
### Instruction:
CREATE TABLE table_27902171_7 (
location_attendance VARCHAR,
high_rebounds VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the location and attendance for the game where b. benjamin (10) had the high rebounds?
### Response:
|
SELECT location_attendance FROM table_27902171_7 WHERE high_rebounds = "B. Benjamin (10)"
|
### Instruction:
CREATE TABLE table_65368 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many years had a Venue of eindhoven?
### Response:
|
SELECT COUNT("Year") FROM table_65368 WHERE "Venue" = 'eindhoven'
|
### Instruction:
CREATE TABLE table_name_20 (
score VARCHAR,
tournament VARCHAR,
opponent_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Score of the Rabat Tournament with Opponent in the final Yannik Reuter?
### Response:
|
SELECT score FROM table_name_20 WHERE tournament = "rabat" AND opponent_in_the_final = "yannik reuter"
|
### Instruction:
CREATE TABLE table_204_423 (
id number,
"name" text,
"location" text,
"city" text,
"listing date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- name a site that was listed no later than 1960 .
### Response:
|
SELECT "name" FROM table_204_423 WHERE "listing date" <= 1960
|
### Instruction:
CREATE TABLE table_76746 (
"Pick #" real,
"NFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the pick# from South Dakota college?
### Response:
|
SELECT "Pick #" FROM table_76746 WHERE "College" = 'south dakota'
|
### Instruction:
CREATE TABLE table_203_231 (
id number,
"season" text,
"tier" number,
"division" text,
"place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which tier was ud alzira a part of the least ?
### Response:
|
SELECT "tier" FROM table_203_231 GROUP BY "tier" ORDER BY COUNT(*) LIMIT 1
|
### Instruction:
CREATE TABLE table_63483 (
"Round" text,
"Main date" text,
"Number of fixtures" real,
"Clubs" text,
"New entries this round" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the club number for the first round?
### Response:
|
SELECT "Clubs" FROM table_63483 WHERE "Round" = 'first round'
|
### Instruction:
CREATE TABLE table_62048 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the venue on the 20th?
### Response:
|
SELECT "Venue" FROM table_62048 WHERE "Date" = '20th'
|
### Instruction:
CREATE TABLE table_name_96 (
laps VARCHAR,
time_retired VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many laps did riccardo patrese do when he had a time/retird of + 1 lap?
### Response:
|
SELECT COUNT(laps) FROM table_name_96 WHERE time_retired = "+ 1 lap" AND driver = "riccardo patrese"
|
### Instruction:
CREATE TABLE table_name_17 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest number of participants in 2012 when there were 72 in 2010 and less than 56 in 2013?
### Response:
|
SELECT MIN(2012) FROM table_name_17 WHERE 2010 = 72 AND 2013 < 56
|
### Instruction:
CREATE TABLE table_name_47 (
points INTEGER,
year VARCHAR,
chassis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the sumof points for year less than 1994 and chassis of lola lc89b
### Response:
|
SELECT SUM(points) FROM table_name_47 WHERE year < 1994 AND chassis = "lola lc89b"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.