instruction stringlengths 212 6.3k | output stringlengths 6 2.03k |
|---|---|
### Instruction:
CREATE TABLE table_10033 (
"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 score on 17 November 1956 when home team is Derby County?
### Response:
| SELECT "Score" FROM table_10033 WHERE "Date" = '17 november 1956' AND "Home team" = 'derby county' |
### Instruction:
CREATE TABLE table_204_284 (
id number,
"jurisdiction" text,
"adherents" number,
"bishops" number,
"priests" number,
"monastics" number,
"monasteries" number,
"parishes" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- h... | SELECT COUNT("jurisdiction") FROM table_204_284 |
### Instruction:
CREATE TABLE table_4704 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of the game wh... | SELECT "Date" FROM table_4704 WHERE "Home team" = 'hawthorn' |
### Instruction:
CREATE TABLE table_204_140 (
id number,
"round" number,
"#" number,
"player" text,
"position" text,
"nationality" text,
"college/junior/club team (league)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the number of... | SELECT "#" FROM table_204_140 WHERE "nationality" = 'slovakia' |
### Instruction:
CREATE TABLE table_44950 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Date, when Away Team i... | SELECT "Date" FROM table_44950 WHERE "Away team" = 'kangaroos' |
### Instruction:
CREATE TABLE table_53372 (
"Date" text,
"Venue" text,
"Score" text,
"Competition" text,
"Turkey scorers" text,
"Match report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score on october 17, 2007?
### Response:... | SELECT "Score" FROM table_53372 WHERE "Date" = 'october 17, 2007' |
### Instruction:
CREATE TABLE table_63688 (
"School" text,
"Location" text,
"Mascot" text,
"County" text,
"Year Joined" real,
"Year Left" real,
"Conference Joined" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the mascot of the count... | SELECT "Mascot" FROM table_63688 WHERE "County" = '78 switzerland' |
### Instruction:
CREATE TABLE table_71130 (
"Year" real,
"Category" text,
"Film" text,
"Winner/Nominee(s)" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is nominated for the film Rugrats Go Wild?
### Response:
| SELECT "Winner/Nominee(s)" FROM table_71130 WHERE "Result" = 'nominated' AND "Film" = 'rugrats go wild' |
### Instruction:
CREATE TABLE table_22383 (
"Species" text,
"Common name" text,
"Trinidad" text,
"Tobago" text,
"Bocas Is." text,
"Other" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the common name for chironius multiventris septentriona... | SELECT "Common name" FROM table_22383 WHERE "Species" = 'Chironius multiventris septentrionalis' |
### Instruction:
CREATE TABLE table_12039 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who did Hawthorn play against a... | SELECT "Away team" FROM table_12039 WHERE "Home team" = 'hawthorn' |
### Instruction:
CREATE TABLE table_204_389 (
id number,
"rnd." number,
"pick #" number,
"nfl team" text,
"player" text,
"pos." text,
"college" text,
"conf." text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many playe... | SELECT COUNT("player") FROM table_204_389 WHERE "pos." = 'qb' |
### Instruction:
CREATE TABLE table_name_69 (
col__m_ INTEGER,
peak VARCHAR,
elevation__m_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Whta is the lowest col in m of gerlachovsk t t peak, which has an elevation greater than 2,655 m?
### Response:
| SELECT MIN(col__m_) FROM table_name_69 WHERE peak = "gerlachovský štít" AND elevation__m_ > 2 OFFSET 655 |
### Instruction:
CREATE TABLE table_1323 (
"Week #" text,
"Theme" text,
"Song choice" text,
"Original artist" text,
"Order #" real,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE RESULT FOR THE SONG WHERE THE ORIGINAL ARTIST... | SELECT "Result" FROM table_1323 WHERE "Original artist" = 'Betty Everett' |
### Instruction:
CREATE TABLE table_55192 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which home team plays at Punt R... | SELECT "Home team" FROM table_55192 WHERE "Venue" = 'punt road oval' |
### Instruction:
CREATE TABLE table_19431 (
"School Year" text,
"Class A" text,
"Class AA" text,
"Class AAA" text,
"Class AAAA" text,
"Class AAAAA" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the class AAAAA in 2008-09?
### Response... | SELECT "Class AAAAA" FROM table_19431 WHERE "School Year" = '2008-09' |
### Instruction:
CREATE TABLE table_72655 (
"Series Ep." text,
"Episode" real,
"Netflix" text,
"Segment A" text,
"Segment B" text,
"Segment C" text,
"Segment D" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many segments involve wood bo... | SELECT "Segment A" FROM table_72655 WHERE "Segment D" = 'Wood Boring Augers' |
### Instruction:
CREATE TABLE table_54401 (
"Yard Name" text,
"Location (city, state)" text,
"1st Ship Delivery Date" text,
"Total Number of Ways" text,
"total vessels built" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total vessels b... | SELECT "total vessels built" FROM table_54401 WHERE "Location (city, state)" = 'wilmington, california' |
### Instruction:
CREATE TABLE table_204_749 (
id number,
"courthouse" text,
"city" text,
"street address" text,
"jurisdiction" text,
"dates of use" text,
"named for" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- when was the building at 1... | SELECT "dates of use" FROM table_204_749 WHERE "street address" = '10 court street' |
### Instruction:
CREATE TABLE table_31102 (
"Week of" text,
"Tournament" text,
"Champion" text,
"Runner-up" text,
"Semifinalists" text,
"Quarterfinalists" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who were the semifinalists when the runner-... | SELECT "Semifinalists" FROM table_31102 WHERE "Runner-up" = 'Peter Feigl' |
### Instruction:
CREATE TABLE table_67427 (
"Representative" text,
"Title" text,
"Presentation of Credentials" text,
"Termination of Mission" text,
"Appointed by" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the title with termination of miss... | SELECT "Title" FROM table_67427 WHERE "Termination of Mission" = 'april 10, 1939' |
### Instruction:
CREATE TABLE table_32547 (
"Driver" text,
"Team" text,
"Laps" real,
"Time/Retired" text,
"Grid" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the grid for Bruno Junqueira for Dale Coyne Racing?
### Res... | SELECT "Grid" FROM table_32547 WHERE "Team" = 'dale coyne racing' AND "Driver" = 'bruno junqueira' |
### Instruction:
CREATE TABLE table_12394 (
"English" text,
"Crimean Gothic" text,
"Bible Gothic" text,
"German" text,
"Dutch" text,
"Icelandic" text,
"Swedish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the Dutch word for Apel?
... | SELECT "Dutch" FROM table_12394 WHERE "Crimean Gothic" = 'apel' |
### Instruction:
CREATE TABLE table_79986 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the outcome of the game played on 19-Sep-2006?
### Res... | SELECT "Outcome" FROM table_79986 WHERE "Date" = '19-sep-2006' |
### Instruction:
CREATE TABLE table_44569 (
"Event" text,
"Record" text,
"Athlete" text,
"Nationality" text,
"Date" text,
"Meet" text,
"Place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Place that has a Date of 22 august 2004... | SELECT "Place" FROM table_44569 WHERE "Date" = '22 august 2004' |
### Instruction:
CREATE TABLE table_5682 (
"Gauge" text,
"Railway" text,
"Class" text,
"Works no." text,
"Year" text,
"Builder" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which railway has a class of 250 and year 1936?
### Response:
| SELECT "Railway" FROM table_5682 WHERE "Class" = '250' AND "Year" = '1936' |
### Instruction:
CREATE TABLE table_53787 (
"Round" real,
"Overall" real,
"Player" text,
"Position" text,
"Nationality" text,
"Club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total round with an overall of 199 with sweden?
... | SELECT SUM("Round") FROM table_53787 WHERE "Nationality" = 'sweden' AND "Overall" = '199' |
### Instruction:
CREATE TABLE table_25895 (
"Series #" real,
"Season #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest... | SELECT MAX("Series #") FROM table_25895 WHERE "Title" = 'The New Day' |
### Instruction:
CREATE TABLE table_203_778 (
id number,
"representative" text,
"title" text,
"presentation\nof credentials" text,
"termination\nof mission" text,
"appointed by" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many representat... | SELECT COUNT("title") FROM table_203_778 WHERE "appointed by" = 'theodore roosevelt' |
### Instruction:
CREATE TABLE table_69478 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the partner for may 2, 1993
### Respo... | SELECT "Partner" FROM table_69478 WHERE "Date" = 'may 2, 1993' |
### Instruction:
CREATE TABLE table_28600 (
"Year" real,
"Under-11" text,
"Under-13" text,
"Under-15" text,
"Under-17" text,
"Under-19" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In the year 2009 who was the under-13?
### Response:
| SELECT "Under-13" FROM table_28600 WHERE "Year" = '2009' |
### Instruction:
CREATE TABLE table_21135 (
"Species" text,
"Species common name" text,
"NCBI Accession Number (mRNA/Protein)" text,
"Length (bp/aa)" text,
"Protein Identity" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the common name for... | SELECT "Species common name" FROM table_21135 WHERE "Species" = 'Felis catus' |
### Instruction:
CREATE TABLE table_42581 (
"Ship size" text,
"Cargo" text,
"2004" text,
"2005" text,
"2006" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What ship size had a cargo value of $31,750 in 2006?
### Response:
| SELECT "Ship size" FROM table_42581 WHERE "2006" = '$31,750' |
### Instruction:
CREATE TABLE table_11266 (
"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.
-- Which Home Team has an Away Score of 7.2 (44)?
... | SELECT "Home team" FROM table_11266 WHERE "Away team score" = '7.2 (44)' |
### Instruction:
CREATE TABLE table_58413 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the low lap total for the under 4 grid car driven by juan pablo montoya?
... | SELECT MIN("Laps") FROM table_58413 WHERE "Grid" < '4' AND "Driver" = 'juan pablo montoya' |
### Instruction:
CREATE TABLE table_67162 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What place does Fred Funk, who has a score of 69-69=138, have?
### Response:
| SELECT "Place" FROM table_67162 WHERE "Score" = '69-69=138' AND "Player" = 'fred funk' |
### Instruction:
CREATE TABLE table_204_133 (
id number,
"school year" text,
"class a" text,
"class aa" text,
"class aaa" text,
"class aaaa" text,
"class aaaaa" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times did friendswood wi... | SELECT COUNT(*) FROM table_204_133 WHERE "class aaaa" = 'friendswood' |
### Instruction:
CREATE TABLE table_27758 (
"Stage" real,
"Winner" text,
"General classification" text,
"Points classification" text,
"Mountains classification" text,
"Combination Classification" text,
"Team classification" text
)
-- Using valid SQLite, answer the following questions for t... | SELECT "Mountains classification" FROM table_27758 WHERE "Winner" = 'Alessandro Petacchi' |
### Instruction:
CREATE TABLE table_13654 (
"Year" real,
"Champion" text,
"Score" text,
"Runner-up" text,
"Coach" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Coach has a Runner-up of northeastern and a Score of 6 3?
### Response:
| SELECT "Coach" FROM table_13654 WHERE "Runner-up" = 'northeastern' AND "Score" = '6–3' |
### Instruction:
CREATE TABLE table_67423 (
"Representative" text,
"Title" text,
"Presentation of Credentials" text,
"Termination of Mission" text,
"Appointed by" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the title with presentation of cre... | SELECT "Title" FROM table_67423 WHERE "Presentation of Credentials" = 'april 24, 1884' |
### Instruction:
CREATE TABLE table_24330 (
"Season" real,
"Episode" real,
"Episode Summary" text,
"Premier date" text,
"External Link" text,
"Coach" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the season for august 16, 2010
### Respon... | SELECT "Season" FROM table_24330 WHERE "Premier date" = 'August 16, 2010' |
### Instruction:
CREATE TABLE table_20713 (
"Institution" text,
"Location" text,
"Team Nickname" text,
"Joined TSCHL" real,
"Home Arena" text,
"Capacity" real,
"Team Website" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many schools ha... | SELECT COUNT("Institution") FROM table_20713 WHERE "Team Nickname" = 'Bobcats' |
### Instruction:
CREATE TABLE table_72171 (
"Round" real,
"Grand Prix" text,
"Pole Position" text,
"Fastest Lap" text,
"Winning Driver" text,
"Winning Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many driver... | SELECT COUNT("Winning Driver") FROM table_72171 WHERE "Grand Prix" = 'Italian Grand Prix' |
### Instruction:
CREATE TABLE table_72978 (
"Aircraft" text,
"1990" real,
"destroyed" real,
"damaged" real,
"to Iran" real,
"survived" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the aircraft was ussr mig-25 rb how many were destroyed?
#... | SELECT "destroyed" FROM table_72978 WHERE "Aircraft" = 'USSR MiG-25 RB' |
### Instruction:
CREATE TABLE table_18215 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Status" text,
"Opponent" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the election where william f. good... | SELECT "Status" FROM table_18215 WHERE "Incumbent" = 'William F. Goodling' |
### Instruction:
CREATE TABLE table_46013 (
"Year" real,
"Best teenage/Young Adult" text,
"Reader's Vote" text,
"Best Non-Fiction" text,
"Lifetime Achievement" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who won the lifetime achievement in the ye... | SELECT "Lifetime Achievement" FROM table_46013 WHERE "Year" = '1998' |
### Instruction:
CREATE TABLE table_43291 (
"Date" text,
"Time" text,
"Channel" text,
"Running Time" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the running time of the transmission on bbc four channels on 23 March 2008?
#... | SELECT "Running Time" FROM table_43291 WHERE "Channel" = 'bbc four' AND "Date" = '23 march 2008' |
### Instruction:
CREATE TABLE table_name_24 (
money_requested__ INTEGER,
episode VARCHAR,
entrepreneur_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In episode 7 what was the highest amount of money requested by Jerry Mantalvanos & Paul Merker ?
##... | SELECT MAX(money_requested__) AS £_ FROM table_name_24 WHERE episode = "episode 7" AND entrepreneur_s_ = "jerry mantalvanos & paul merker" |
### Instruction:
CREATE TABLE table_name_74 (
points VARCHAR,
year VARCHAR,
entrant VARCHAR,
chassis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of points for the Entrant of wolfgang seidel and a Cooper t45 chassis later than 19... | SELECT COUNT(points) FROM table_name_74 WHERE entrant = "wolfgang seidel" AND chassis = "cooper t45" AND year > 1960 |
### Instruction:
CREATE TABLE table_66535 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest total medals when there were 0 gold medals and 1 silver... | SELECT MAX("Total") FROM table_66535 WHERE "Silver" = '1' AND "Gold" < '0' |
### Instruction:
CREATE TABLE teachers (
lastname VARCHAR,
classroom VARCHAR
)
CREATE TABLE list (
classroom VARCHAR,
firstname VARCHAR,
lastname VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the last names of all the teachers that teach G... | SELECT T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.firstname = "GELL" AND T1.lastname = "TAMI" |
### Instruction:
CREATE TABLE table_77150 (
"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 round of the position de player with an overall less... | SELECT MIN("Round") FROM table_77150 WHERE "Position" = 'de' AND "Overall" < '84' |
### Instruction:
CREATE TABLE table_27582 (
"Player" text,
"Games Played" real,
"Rebounds" real,
"Assists" real,
"Steals" real,
"Blocks" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every entry for assists if the pla... | SELECT "Assists" FROM table_27582 WHERE "Player" = 'Lynn Pride' |
### Instruction:
CREATE TABLE table_47543 (
"Elector" text,
"Nationality" text,
"Order" text,
"Title" text,
"Elevated" text,
"Elevator" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Nationality of the Deacon of S. Maria in Via Lata?... | SELECT "Nationality" FROM table_47543 WHERE "Title" = 'deacon of s. maria in via lata' |
### Instruction:
CREATE TABLE table_61593 (
"Date" text,
"Time" text,
"Name of ship" text,
"Flag" text,
"Tonnage" real,
"Fate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Name of the Ship attacked on 20February1942?
### Response... | SELECT "Name of ship" FROM table_61593 WHERE "Date" = '20february1942' |
### Instruction:
CREATE TABLE table_56857 (
"Name" text,
"City" text,
"Height (m)" real,
"Height (ft)" real,
"Floors" real,
"Years as tallest" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For a height less than 122 meters, what is the greatest... | SELECT MAX("Height (ft)") FROM table_56857 WHERE "Height (m)" < '122' |
### Instruction:
CREATE TABLE table_34180 (
"Game" real,
"December" real,
"Opponent" text,
"Score" text,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Record has a December smaller than 22 and a Score of 4 3?
###... | SELECT "Record" FROM table_34180 WHERE "December" < '22' AND "Score" = '4–3' |
### Instruction:
CREATE TABLE table_55383 (
"Sport" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- With more than 1 Gold and Silver and Total Sport, what is the Total?
### Response:
| SELECT AVG("Total") FROM table_55383 WHERE "Silver" > '1' AND "Sport" = 'total' AND "Gold" > '1' |
### Instruction:
CREATE TABLE table_20664 (
"Code" real,
"County" text,
"Former Province" text,
"Area (km 2 )" text,
"Population Census 2009" real,
"Capital" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the capital of Uasin Gishu count... | SELECT "Capital" FROM table_20664 WHERE "County" = 'Uasin Gishu' |
### Instruction:
CREATE TABLE table_63952 (
"Name" text,
"GP-GS" text,
"Effic" real,
"Att-Cmp" text,
"TD-INT" text,
"Avg/G" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which TD-INT has an Effic larger than 111.4?
### Response:
| SELECT "TD-INT" FROM table_63952 WHERE "Effic" > '111.4' |
### Instruction:
CREATE TABLE table_204_806 (
id number,
"name" text,
"date" text,
"condition" text,
"ownership\n/ access" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which castle is considered second fortress of anjou , after a... | SELECT "name" FROM table_204_806 WHERE "notes" = 'considered second fortress of anjou, after angers' |
### Instruction:
CREATE TABLE table_203_242 (
id number,
"season" text,
"competition" text,
"round" text,
"club" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how long has fc shakhtyor salihorsk been playing ... | SELECT MAX("season") - MIN("season") + 1 FROM table_203_242 |
### Instruction:
CREATE TABLE table_73084 (
"Episode title" text,
"Subject" text,
"Music by" text,
"Lyrics by" text,
"Performed by" text,
"First aired" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When zachary sanders is the performer how many... | SELECT COUNT("First aired") FROM table_73084 WHERE "Performed by" = 'Zachary Sanders' |
### Instruction:
CREATE TABLE table_name_52 (
cuts_made INTEGER,
events VARCHAR,
top_5 VARCHAR,
top_10 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the most cuts made for events with 1 top-5, 2 top-10s, and more than 13 total events?
### ... | SELECT MAX(cuts_made) FROM table_name_52 WHERE top_5 = 1 AND top_10 = 2 AND events > 13 |
### Instruction:
CREATE TABLE table_28954 (
"Rd." text,
"Circuit" text,
"City / State" text,
"Date" text,
"Championship" text,
"Challenge" text,
"Production" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the location for the date 7... | SELECT "City / State" FROM table_28954 WHERE "Date" = '7–10 October' |
### Instruction:
CREATE TABLE table_4580 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which home team played at Glenfe... | SELECT "Home team" FROM table_4580 WHERE "Venue" = 'glenferrie oval' |
### Instruction:
CREATE TABLE table_204_29 (
id number,
"rank" number,
"lane" number,
"name" text,
"nationality" text,
"time" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who performed better , goddard or francis ?
### Resp... | SELECT "name" FROM table_204_29 WHERE "name" IN ('james goddard', 'charles francis') ORDER BY id LIMIT 1 |
### Instruction:
CREATE TABLE table_name_7 (
round VARCHAR,
winning_team VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the round on 30 June with a.z.k./roc-comp tition a.z.k./roc-comp tition as the winning team?
### Response:
| SELECT round FROM table_name_7 WHERE winning_team = "a.z.k./roc-compétition a.z.k./roc-compétition" AND date = "30 june" |
### Instruction:
CREATE TABLE table_53464 (
"Date" text,
"Opponent" text,
"Home/Away" text,
"Field" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the date for when the home/away is away and the opponent is bayhawks
### Respons... | SELECT "Date" FROM table_53464 WHERE "Home/Away" = 'away' AND "Opponent" = 'bayhawks' |
### Instruction:
CREATE TABLE table_15179 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest total from United States with a Rank smaller than 2?
#... | SELECT MIN("Total") FROM table_15179 WHERE "Nation" = 'united states' AND "Rank" < '2' |
### Instruction:
CREATE TABLE table_46033 (
"Game" real,
"February" real,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team was the opponent when February shows more than 2, with a game number less than... | SELECT "Opponent" FROM table_46033 WHERE "February" > '2' AND "Game" < '55' |
### Instruction:
CREATE TABLE table_46402 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Place when Fuzzy Zoeller plated in the United States?
... | SELECT "Place" FROM table_46402 WHERE "Country" = 'united states' AND "Player" = 'fuzzy zoeller' |
### Instruction:
CREATE TABLE table_204_735 (
id number,
"rank" number,
"team" text,
"names" text,
"time" text,
"qualification" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which team ranked below chile 's ?
### Response:
| SELECT "team" FROM table_204_735 WHERE "rank" = (SELECT "rank" FROM table_204_735 WHERE "team" = 'chile') + 1 |
### Instruction:
CREATE TABLE college (
cname text,
state text,
enr number
)
CREATE TABLE player (
pid number,
pname text,
ycard text,
hs number
)
CREATE TABLE tryout (
pid number,
cname text,
ppos text,
decision text
)
-- Using valid SQLite, answer the following question... | SELECT DISTINCT pname FROM player WHERE pname LIKE '%a%' |
### Instruction:
CREATE TABLE table_28707 (
"Rank" real,
"Athlete" text,
"Country" text,
"Distance (metres)" text,
"Points" text,
"Adjusted Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the country(s) where the points equal 723.... | SELECT "Country" FROM table_28707 WHERE "Points" = '723.075' |
### Instruction:
CREATE TABLE table_41961 (
"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.
-- For the tournament played on Jul 4, 1982, what was the winning ... | SELECT "Winning score" FROM table_41961 WHERE "Date" = 'jul 4, 1982' |
### Instruction:
CREATE TABLE table_47548 (
"Volume:Issue" text,
"Issue Date(s)" text,
"Weeks on Top" text,
"Song" text,
"Artist" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What song came from volume:issue 68:20-24?
### Response:
| SELECT "Song" FROM table_47548 WHERE "Volume:Issue" = '68:20-24' |
### Instruction:
CREATE TABLE table_7123 (
"Call sign" text,
"Frequency MHz" real,
"City of license" text,
"ERP W" real,
"Class" text,
"FCC info" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the frequency of the call sign licensed in A... | SELECT "Frequency MHz" FROM table_7123 WHERE "City of license" = 'albany, new york' |
### Instruction:
CREATE TABLE table_27135 (
"Round" text,
"Circuit" text,
"Date" text,
"Class A Winner" text,
"Class B Winner" text,
"Class C Winner" text,
"Class D Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Class C w... | SELECT "Class C Winner" FROM table_27135 WHERE "Round" = '8' |
### Instruction:
CREATE TABLE table_74042 (
"Position" text,
"Name" text,
"Rider" text,
"Age" real,
"Weight" text,
"Starting price" text,
"Distance" text,
"Prize money" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much did Nina Car... | SELECT "Prize money" FROM table_74042 WHERE "Rider" = 'Nina Carberry' |
### Instruction:
CREATE TABLE Organisations (
organisation_type VARCHAR,
organisation_details VARCHAR
)
CREATE TABLE organisation_Types (
organisation_type_description VARCHAR,
organisation_type VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find th... | SELECT T1.organisation_type_description FROM organisation_Types AS T1 JOIN Organisations AS T2 ON T1.organisation_type = T2.organisation_type WHERE T2.organisation_details = 'quo' |
### Instruction:
CREATE TABLE table_name_50 (
win_average INTEGER,
races_ridden VARCHAR,
nationality VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average win as a percentage of German racer Rudi Altig, who has ridden in ov... | SELECT AVG(win_average) FROM table_name_50 WHERE nationality = "german" AND name = "rudi altig" AND races_ridden > 79 |
### Instruction:
CREATE TABLE table_77014 (
"Round" real,
"Circuit" text,
"Date" text,
"Pole Position" text,
"Fastest Lap" text,
"Winning Driver" text,
"Winning Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the fastest lap for... | SELECT "Fastest Lap" FROM table_77014 WHERE "Winning Driver" = 'seiji ara' |
### Instruction:
CREATE TABLE table_32731 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which home team's venue is Wind... | SELECT "Home team" FROM table_32731 WHERE "Venue" = 'windy hill' |
### Instruction:
CREATE TABLE table_32240 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where did Footscray play as the... | SELECT "Venue" FROM table_32240 WHERE "Away team" = 'footscray' |
### Instruction:
CREATE TABLE table_39606 (
"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.
-- What is the 54 holes for The Open Championship (4)?... | SELECT "54 Holes" FROM table_39606 WHERE "Championship" = 'the open championship (4)' |
### Instruction:
CREATE TABLE table_name_47 (
sydney VARCHAR,
auckland VARCHAR,
melbourne VARCHAR,
gold_coast VARCHAR,
adelaide VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Syndney's Gold coast, Adelaide, Melbourne, and Auckland were all ... | SELECT sydney FROM table_name_47 WHERE gold_coast = "no" AND adelaide = "no" AND melbourne = "no" AND auckland = "no" |
### Instruction:
CREATE TABLE table_68548 (
"Year" real,
"Chassis" text,
"Engine" text,
"Start" text,
"Finish" text,
"Entrant" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the chassis for offy engine and 25th finish?
### Response:
| SELECT "Chassis" FROM table_68548 WHERE "Engine" = 'offy' AND "Finish" = '25th' |
### Instruction:
CREATE TABLE table_name_90 (
played INTEGER,
goals_against VARCHAR,
position VARCHAR,
draws VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the lowest Played that has the Position larger than 2, and the Draws smaller t... | SELECT MIN(played) FROM table_name_90 WHERE position > 2 AND draws < 2 AND goals_against < 18 |
### Instruction:
CREATE TABLE table_204_140 (
id number,
"round" number,
"#" number,
"player" text,
"position" text,
"nationality" text,
"college/junior/club team (league)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total of ... | SELECT COUNT(*) FROM table_204_140 |
### Instruction:
CREATE TABLE table_54564 (
"Name" text,
"Current version" text,
"System" text,
"Platform" text,
"License" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has a licence of gpl v2 and a current version of 0.9.9?
### Response:
| SELECT "Name" FROM table_54564 WHERE "License" = 'gpl v2' AND "Current version" = '0.9.9' |
### Instruction:
CREATE TABLE table_7285 (
"Position" text,
"2014" text,
"2013" text,
"2012" text,
"2011" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who held the same position in 2014 that Garion Weller held in 2014?
### Response:
| SELECT "2014" FROM table_7285 WHERE "2012" = 'garion weller' |
### Instruction:
CREATE TABLE table_61053 (
"Phoen. value" text,
"Phoen. name" text,
"Hebrew" text,
"Greek" text,
"Latin" text,
"Cyrillic" text,
"Arabic" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Latin term for the Greek sym... | SELECT "Latin" FROM table_61053 WHERE "Greek" = 'μ' |
### Instruction:
CREATE TABLE table_31835 (
"Heat Rank" real,
"Lane" real,
"Swimmer" text,
"Country" text,
"Time" real,
"Overall Rank" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the highest time for heat rank of 8 and lane more than ... | SELECT MAX("Time") FROM table_31835 WHERE "Heat Rank" = '8' AND "Lane" > '2' |
### Instruction:
CREATE TABLE table_5391 (
"Name" text,
"Years" text,
"Seasons" real,
"Lost" real,
"Pct." real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest number of seasons that the head coach of 1982 had with larger than 9 losses?
... | SELECT MIN("Seasons") FROM table_5391 WHERE "Years" = '1982' AND "Lost" > '9' |
### Instruction:
CREATE TABLE table_name_2 (
class VARCHAR,
rank VARCHAR,
entrant VARCHAR,
points VARCHAR,
chassis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the class when adt champion racing ranked 1st with an audi r8 chassis, and ... | SELECT class FROM table_name_2 WHERE points < 206 AND chassis = "audi r8" AND entrant = "adt champion racing" AND rank = "1st" |
### Instruction:
CREATE TABLE table_31944 (
"Outcome" text,
"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.
-- Tell me the surface for november 28, 2010
### Resp... | SELECT "Surface" FROM table_31944 WHERE "Date" = 'november 28, 2010' |
### Instruction:
CREATE TABLE table_790 (
"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 candidate was featured in the election for incumbent... | SELECT "Candidates" FROM table_790 WHERE "Incumbent" = 'Samuel J. Nicholls' |
### Instruction:
CREATE TABLE table_73632 (
"Institution" text,
"Location" text,
"Team Name" text,
"Founded" real,
"Affiliation" text,
"Enrollment" real,
"Year Joined" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the institution th... | SELECT "Institution" FROM table_73632 WHERE "Location" = 'Circleville, Ohio' |
### Instruction:
CREATE TABLE table_name_84 (
wins INTEGER,
points VARCHAR,
year VARCHAR,
class VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average wins in 250cc class for Bultaco with 8 points later than 1966?
### ... | SELECT AVG(wins) FROM table_name_84 WHERE class = "250cc" AND team = "bultaco" AND year > 1966 AND points = 8 |
### Instruction:
CREATE TABLE table_73201 (
"No." real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real,
"Television order" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who wrote s01e06... | SELECT "Written by" FROM table_73201 WHERE "Television order" = 'S01E06' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.