text
stringlengths 400
694
| __index_level_0__
int64 6
25k
|
---|---|
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the score of the game with 96 points? ### Input: CREATE TABLE table_38037 (
"Game" real,
"March" real,
"Opponent" text,
"Score" text,
"Record" text,
"Points" real
) ### Response: SELECT "Score" FROM table_38037 WHERE "Points" = '96' | 473 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many people live in santa maria ? ### Input: CREATE TABLE table_204_646 (
id number,
"location" text,
"region" text,
"coordinates\n(links to map & photo sources)" text,
"population" number,
"elevation" number
) ### Response: SELECT "population" FROM table_204_646 WHERE "location" = 'santa maria' | 2,843 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: which driver has the least amount of points ? ### Input: CREATE TABLE table_203_76 (
id number,
"pos" text,
"no" number,
"driver" text,
"constructor" text,
"laps" number,
"time/retired" text,
"grid" number,
"points" number
) ### Response: SELECT "driver" FROM table_203_76 ORDER BY "points" LIMIT 1 | 8,302 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many lost stats have a played number of less than 8? ### Input: CREATE TABLE table_7371 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
) ### Response: SELECT COUNT("Lost") FROM table_7371 WHERE "Played" < '8' | 13,068 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the latest week with the date of november 5, 1995? ### Input: CREATE TABLE table_32831 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
) ### Response: SELECT MAX("Week") FROM table_32831 WHERE "Date" = 'november 5, 1995' | 6,899 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which position was picked before 63, for Oklahoma College? ### Input: CREATE TABLE table_65135 (
"Pick" real,
"Team" text,
"Player" text,
"Position" text,
"College" text
) ### Response: SELECT "Position" FROM table_65135 WHERE "Pick" < '63' AND "College" = 'oklahoma' | 21,063 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many series premieres did the season 'All-stars' have? ### Input: CREATE TABLE table_25659 (
"Season" text,
"Episodes" real,
"Series premiere" text,
"Series finale" text,
"Winning couple" text,
"Winning profit ( AUD )" text,
"Host(s)" text,
"Judges" text
) ### Response: SELECT COUNT("Series premiere") FROM table_25659 WHERE "Season" = 'All-Stars' | 770 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Zone has a Champion of surozh sudak? ### Input: CREATE TABLE table_44580 (
"Season" text,
"Zone" real,
"Champion" text,
"Second" text,
"Third" text,
"Top scorer" text
) ### Response: SELECT SUM("Zone") FROM table_44580 WHERE "Champion" = 'surozh sudak' | 556 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the location of the Sea Pines Heritage Classic tournament? ### Input: CREATE TABLE table_34701 (
"Date" text,
"Tournament" text,
"Location" text,
"Winner" text,
"Score" text,
"1st prize ( $ )" text
) ### Response: SELECT "Location" FROM table_34701 WHERE "Tournament" = 'sea pines heritage classic' | 3,081 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Original artist when the week number is top 9? ### Input: CREATE TABLE table_7249 (
"Week #" text,
"Theme" text,
"Song choice" text,
"Original artist" text,
"Order #" text,
"Result" text
) ### Response: SELECT "Original artist" FROM table_7249 WHERE "Week #" = 'top 9' | 14,937 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the displacement and configuration with a max speed of km/h (mph) and the car model Panamera 4s? ### Input: CREATE TABLE table_name_36 (
displacement_ VARCHAR,
_configuration VARCHAR,
max_speed VARCHAR,
car_model VARCHAR
) ### Response: SELECT displacement_ & _configuration FROM table_name_36 WHERE max_speed = "km/h (mph)" AND car_model = "panamera 4s" | 3,718 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the 2nd leg of the 1st team in the 2007 uefa intertoto cup? ### Input: CREATE TABLE table_46503 (
"Round" text,
"Team #1" text,
"Agg." text,
"Team #2" text,
"1st leg" text,
"2nd leg" text
) ### Response: SELECT "2nd leg" FROM table_46503 WHERE "Team #1" = '2007 uefa intertoto cup' | 15,856 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the sum of Weeks on Top for the Volume:Issue 34:9-12? ### Input: CREATE TABLE table_42213 (
"Volume:Issue" text,
"Issue Date(s)" text,
"Weeks on Top" real,
"Song" text,
"Artist" text
) ### Response: SELECT SUM("Weeks on Top") FROM table_42213 WHERE "Volume:Issue" = '34:9-12' | 17,269 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what album came out in the year previous to the album ofa'a haia ? ### Input: CREATE TABLE table_203_325 (
id number,
"year" number,
"title" text,
"(english)" text,
"ifpi israel certification" text,
"label" text
) ### Response: SELECT "title" FROM table_203_325 WHERE "year" = (SELECT "year" FROM table_203_325 WHERE "title" = "ofa'a haia") - 1 | 24,288 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the number for years 1985-88 ### Input: CREATE TABLE table_16840 (
"Player" text,
"No." real,
"Nationality" text,
"Position" text,
"Years for Jazz" text,
"School/Club Team" text
) ### Response: SELECT MIN("No.") FROM table_16840 WHERE "Years for Jazz" = '1985-88' | 24,235 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the nickname of the boy who weighed 810g (26.0 oz.) at birth? ### Input: CREATE TABLE table_name_64 (
nickname VARCHAR,
gender VARCHAR,
weight_at_birth VARCHAR
) ### Response: SELECT nickname FROM table_name_64 WHERE gender = "boy" AND weight_at_birth = "810g (26.0 oz.)" | 2,799 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the date when the away team was carlisle united? ### Input: CREATE TABLE table_76174 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
) ### Response: SELECT "Date" FROM table_76174 WHERE "Away team" = 'carlisle united' | 16,031 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the name of the city with the Socialist Party of the Extremadurian People? ### Input: CREATE TABLE table_62163 (
"Party" text,
"Name in English" text,
"City" text,
"Province" text,
"Date of registration" text
) ### Response: SELECT "City" FROM table_62163 WHERE "Name in English" = 'socialist party of the extremadurian people' | 5,469 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the party when 2010 candidates is gloria butler (d) unopposed? ### Input: CREATE TABLE table_28667 (
"District" real,
"Incumbent" text,
"Party" text,
"Elected" text,
"Status" text,
"2010 Candidates" text
) ### Response: SELECT "Party" FROM table_28667 WHERE "2010 Candidates" = 'Gloria Butler (D) unopposed' | 10,165 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who presented their credentials at an unknown date? ### Input: CREATE TABLE table_76337 (
"Name" text,
"Background" text,
"Title" text,
"Appointment" text,
"Presentation of Credentials" text
) ### Response: SELECT "Name" FROM table_76337 WHERE "Presentation of Credentials" = 'unknown' | 17,295 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the average Round for wide receiver r. jay soward and Overall smaller than 29? ### Input: CREATE TABLE table_name_16 (
round INTEGER,
overall VARCHAR,
position VARCHAR,
name VARCHAR
) ### Response: SELECT AVG(round) FROM table_name_16 WHERE position = "wide receiver" AND name = "r. jay soward" AND overall < 29 | 2,294 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many house mascots are associated with yellow house colours? ### Input: CREATE TABLE table_23005 (
"House name" text,
"House mascot" text,
"House colour" text,
"Year opened" real,
"House leader" text
) ### Response: SELECT COUNT("House mascot") FROM table_23005 WHERE "House colour" = 'Yellow' | 3,592 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Time/Retired when lotus - ford was constructor and the laps were less than 17? ### Input: CREATE TABLE table_53606 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) ### Response: SELECT "Time/Retired" FROM table_53606 WHERE "Constructor" = 'lotus - ford' AND "Laps" < '17' | 877 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: which college was the last to be founded . ### Input: CREATE TABLE table_203_610 (
id number,
"institution" text,
"location" text,
"nickname" text,
"founded" number,
"historical affiliation" text,
"enrollment" number,
"primary conference" text
) ### Response: SELECT "institution" FROM table_203_610 ORDER BY "founded" DESC LIMIT 1 | 9,783 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the vote for thiago ### Input: CREATE TABLE table_26699 (
"Episode" real,
"Airdate" text,
"Reward" text,
"Immunity" text,
"Eliminated" text,
"Vote" text,
"Finish" text
) ### Response: SELECT "Vote" FROM table_26699 WHERE "Eliminated" = 'Thiago' | 2,095 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which country has a qualsiasi tranne sky hd package/option? ### Input: CREATE TABLE table_41264 (
"Television service" text,
"Country" text,
"Language" text,
"Content" text,
"HDTV" text,
"Package/Option" text
) ### Response: SELECT "Country" FROM table_41264 WHERE "Package/Option" = 'qualsiasi tranne sky hd' | 14,306 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the date of the Rome to Florence course? ### Input: CREATE TABLE table_70810 (
"Date" text,
"Course" text,
"Distance" text,
"Winner" text,
"Race Leader" text
) ### Response: SELECT "Date" FROM table_70810 WHERE "Course" = 'rome to florence' | 682 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which region had a catalogue number of 9362482872? ### Input: CREATE TABLE table_52355 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalogue" text
) ### Response: SELECT "Region" FROM table_52355 WHERE "Catalogue" = '9362482872' | 4,683 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the record for the Sun Devils when they scored 44 points? ### Input: CREATE TABLE table_2402 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Sun Devils points" real,
"Opponents" real,
"Record" text
) ### Response: SELECT "Record" FROM table_2402 WHERE "Sun Devils points" = '44' | 20,843 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many players were drafted from laval? ### Input: CREATE TABLE table_23584 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
) ### Response: SELECT COUNT("CFL Team") FROM table_23584 WHERE "College" = 'Laval' | 16,896 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is Date of Appointment, when Outgoing Manager is 'Hakan Kutlu'? ### Input: CREATE TABLE table_45755 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Replaced by" text,
"Date of appointment" text
) ### Response: SELECT "Date of appointment" FROM table_45755 WHERE "Outgoing manager" = 'hakan kutlu' | 3,908 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the result of the Top 12 Men theme? ### Input: CREATE TABLE table_29676 (
"Week #" text,
"Theme" text,
"Song Choice" text,
"Original Artist" text,
"Order #" text,
"Result" text
) ### Response: SELECT "Result" FROM table_29676 WHERE "Theme" = 'Top 12 Men' | 2,347 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many places are listed previous to dixon ? ### Input: CREATE TABLE table_204_279 (
id number,
"name of place" text,
"number\nof\ncounties" number,
"principal\ncounty" text,
"zip code\nlower" number,
"zip code\nupper" number
) ### Response: SELECT COUNT("name of place") FROM table_204_279 WHERE id < (SELECT id FROM table_204_279 WHERE "name of place" = 'dixon') | 794 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what's the aggregate where 1st leg is 3 2 ### Input: CREATE TABLE table_72102 (
"Season" text,
"Competition" text,
"Round" text,
"Opponents" text,
"1st leg" text,
"2nd leg" text,
"Aggregate" text
) ### Response: SELECT "Aggregate" FROM table_72102 WHERE "1st leg" = '3–2' | 7,700 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who was driving with a Grid of 13? ### Input: CREATE TABLE table_53342 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) ### Response: SELECT "Driver" FROM table_53342 WHERE "Grid" = '13' | 1,968 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the minimum area id the 2011 population is 3067549? ### Input: CREATE TABLE table_2168295_1 (
area__km²_ INTEGER,
population__2011_ VARCHAR
) ### Response: SELECT MIN(area__km²_) FROM table_2168295_1 WHERE population__2011_ = 3067549 | 11,799 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many Malaysia Cups have a total less than 0? ### Input: CREATE TABLE table_7162 (
"Player" text,
"League" real,
"Malaysia Cup" real,
"FA Cup" real,
"Total" real
) ### Response: SELECT COUNT("Malaysia Cup") FROM table_7162 WHERE "Total" < '0' | 11,188 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What type of engine does a 1951 alfa romeo 159m chasis have? ### Input: CREATE TABLE table_70204 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
) ### Response: SELECT "Engine" FROM table_70204 WHERE "Year" = '1951' AND "Chassis" = 'alfa romeo 159m' | 13,642 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Championship was louise suggs the runner-up by 3 strokes? ### Input: CREATE TABLE table_50000 (
"Year" real,
"Championship" text,
"Winning score" text,
"Margin" text,
"Runner(s)-up" text
) ### Response: SELECT "Championship" FROM table_50000 WHERE "Runner(s)-up" = 'louise suggs' AND "Margin" = '3 strokes' | 23,611 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the record on September 26? ### Input: CREATE TABLE table_69540 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Record" text
) ### Response: SELECT "Record" FROM table_69540 WHERE "Date" = 'september 26' | 1,186 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What are all the dates with a score of 203 (-13)? ### Input: CREATE TABLE table_16954 (
"Date" text,
"Tournament" text,
"Location" text,
"Purse( $ )" real,
"Winner" text,
"Score" text,
"1st Prize( $ )" real
) ### Response: SELECT "Date" FROM table_16954 WHERE "Score" = '203 (-13)' | 6,213 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: On what day was the team playing at milwaukee county stadium? ### Input: CREATE TABLE table_18039 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Record" text,
"Attendance" real
) ### Response: SELECT "Date" FROM table_18039 WHERE "Game site" = 'Milwaukee County Stadium' | 13,334 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: When the home team score was 21.15 (141), what was the away team? ### Input: CREATE TABLE table_10949 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) ### Response: SELECT "Away team" FROM table_10949 WHERE "Home team score" = '21.15 (141)' | 6,221 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the total of crowd at Venue of mcg? ### Input: CREATE TABLE table_56917 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) ### Response: SELECT SUM("Crowd") FROM table_56917 WHERE "Venue" = 'mcg' | 8,937 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What programs were held at highland speedway? ### Input: CREATE TABLE table_72763 (
"Track Name" text,
"Location" text,
"Length" text,
"Sanction" text,
"Program" text
) ### Response: SELECT "Program" FROM table_72763 WHERE "Track Name" = 'Highland Speedway' | 15,147 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What date did the Seahawks play the Kansas City Chiefs at the Kingdome? ### Input: CREATE TABLE table_13258972_2 (
date VARCHAR,
game_site VARCHAR,
opponent VARCHAR
) ### Response: SELECT date FROM table_13258972_2 WHERE game_site = "Kingdome" AND opponent = "Kansas City Chiefs" | 24,417 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which provider is pay with analogue cable? ### Input: CREATE TABLE table_58973 (
"Provider" text,
"Years" text,
"Free or pay" text,
"No. of channels" text,
"Colour" text,
"Digital" text,
"Transmission" text
) ### Response: SELECT "Provider" FROM table_58973 WHERE "Free or pay" = 'pay' AND "Transmission" = 'analogue cable' | 170 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: List the details of the customers who do not have any policies. ### Input: CREATE TABLE Customer_Policies (
customer_id VARCHAR
)
CREATE TABLE Customers (
customer_details VARCHAR,
customer_id VARCHAR
) ### Response: SELECT customer_details FROM Customers EXCEPT SELECT T1.customer_details FROM Customers AS T1 JOIN Customer_Policies AS T2 ON T1.customer_id = T2.customer_id | 6,928 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the highest points value for 1962, in the 125cc class, and with 0 wins? ### Input: CREATE TABLE table_name_66 (
points INTEGER,
wins VARCHAR,
year VARCHAR,
class VARCHAR
) ### Response: SELECT MAX(points) FROM table_name_66 WHERE year = 1962 AND class = "125cc" AND wins < 0 | 14,162 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the region for cd with catalog of alca-9203 ### Input: CREATE TABLE table_67394 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
) ### Response: SELECT "Region" FROM table_67394 WHERE "Format" = 'cd' AND "Catalog" = 'alca-9203' | 11,828 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is XII Season, when Episode is 6? ### Input: CREATE TABLE table_6796 (
"Episode" text,
"VII Season" text,
"VIII Season" text,
"XII Season" text,
"XIII Season" text
) ### Response: SELECT "XII Season" FROM table_6796 WHERE "Episode" = '6' | 6,960 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the total bronze with a Gold larger than 1, a Rank of 2, and a Silver smaller than 12? ### Input: CREATE TABLE table_71810 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) ### Response: SELECT COUNT("Bronze") FROM table_71810 WHERE "Gold" > '1' AND "Rank" = '2' AND "Silver" < '12' | 5,714 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: which nation had more bronze medals : algeria , tunisia or egypt ? ### Input: CREATE TABLE table_204_34 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
) ### Response: SELECT "nation" FROM table_204_34 WHERE "nation" IN ('algeria', 'tunisia', 'egypt') ORDER BY "bronze" DESC LIMIT 1 | 12,708 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the highest silver that has 9 as the rank, germany as the nation, with a gold less than 0? ### Input: CREATE TABLE table_name_55 (
silver INTEGER,
gold VARCHAR,
rank VARCHAR,
nation VARCHAR
) ### Response: SELECT MAX(silver) FROM table_name_55 WHERE rank = 9 AND nation = "germany" AND gold < 0 | 19,270 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the total 2008 value with a 2006 value greater than 322.7, a 353.9 in 2011, and a 2009 less than 392? ### Input: CREATE TABLE table_name_53 (
Id VARCHAR
) ### Response: SELECT COUNT(2008) FROM table_name_53 WHERE 2006 > 322.7 AND 2011 = 353.9 AND 2009 < 392 | 5,491 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the grid total for bruce mclaren with over 73 laps? ### Input: CREATE TABLE table_56764 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) ### Response: SELECT SUM("Grid") FROM table_56764 WHERE "Laps" > '73' AND "Driver" = 'bruce mclaren' | 24,704 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the format of the release by Triumfall? ### Input: CREATE TABLE table_33993 (
"Artist" text,
"Title" text,
"Release date" text,
"Format" text,
"Cat. #" text
) ### Response: SELECT "Format" FROM table_33993 WHERE "Artist" = 'triumfall' | 14,704 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: On what day did joe gibbs racing record a time of 1:53:26? ### Input: CREATE TABLE table_28178756_1 (
date VARCHAR,
team VARCHAR,
race_time VARCHAR
) ### Response: SELECT date FROM table_28178756_1 WHERE team = "Joe Gibbs Racing" AND race_time = "1:53:26" | 9,541 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which player played on 07/06/1997? ### Input: CREATE TABLE table_54682 (
"Player" text,
"Tries" text,
"Conv" text,
"Venue" text,
"Date" text
) ### Response: SELECT "Player" FROM table_54682 WHERE "Date" = '07/06/1997' | 5,313 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the number air date for 14.20 us viewers ### Input: CREATE TABLE table_16617011_1 (
original_air_date VARCHAR,
us_viewers__millions_ VARCHAR
) ### Response: SELECT COUNT(original_air_date) FROM table_16617011_1 WHERE us_viewers__millions_ = "14.20" | 9,935 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Syndney's Gold coast, Adelaide, Melbourne, and Auckland were all no? ### Input: CREATE TABLE table_name_47 (
sydney VARCHAR,
auckland VARCHAR,
melbourne VARCHAR,
gold_coast VARCHAR,
adelaide VARCHAR
) ### Response: SELECT sydney FROM table_name_47 WHERE gold_coast = "no" AND adelaide = "no" AND melbourne = "no" AND auckland = "no" | 8,805 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the song choice for michael jackson ### Input: CREATE TABLE table_23048 (
"Week #" text,
"Theme" text,
"Song choice" text,
"Original artist" text,
"Order #" text,
"Result" text
) ### Response: SELECT "Song choice" FROM table_23048 WHERE "Original artist" = 'Michael Jackson' | 15,612 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who is the current champion in the NECW Heavyweight Championship? ### Input: CREATE TABLE table_40106 (
"Championship" text,
"Current champion(s)" text,
"Previous champion(s)" text,
"Date won" text,
"Location" text
) ### Response: SELECT "Current champion(s)" FROM table_40106 WHERE "Championship" = 'necw heavyweight champion' | 22,948 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the rating of the episode with a share of 4 and a rating/share (18-49) of 0.7/2? ### Input: CREATE TABLE table_25751274_2 (
rating VARCHAR,
share VARCHAR
) ### Response: SELECT rating FROM table_25751274_2 WHERE share = 4 AND rating / SHARE(18 - 49) = 0.7 / 2 | 2,988 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is 2000, when 1996 is 'A', when 1997 is 'A', and when 2007 is 'A'? ### Input: CREATE TABLE table_name_30 (
Id VARCHAR
) ### Response: SELECT 2000 FROM table_name_30 WHERE 1996 = "a" AND 1997 = "a" AND 2007 = "a" | 12,718 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: WHAT WAS THE LOWEST CAR # WITH SON-E-WA, AND 2012 START YEAR? ### Input: CREATE TABLE table_name_11 (
car__number INTEGER,
current_car VARCHAR,
year_started VARCHAR
) ### Response: SELECT MIN(car__number) FROM table_name_11 WHERE current_car = "son-e-wa" AND year_started < 2012 | 8,863 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What player was place of t1 in To Par and had a score of 70-73-69=212? ### Input: CREATE TABLE table_80397 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" real
) ### Response: SELECT "To par" FROM table_80397 WHERE "Place" = 't1' AND "Score" = '70-73-69=212' | 14,916 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the name of the home team playing at the Junction Oval venue? ### Input: CREATE TABLE table_52176 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Date" text
) ### Response: SELECT "Home team" FROM table_52176 WHERE "Venue" = 'junction oval' | 929 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the record for houston ### Input: CREATE TABLE table_25707 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) ### Response: SELECT "Record" FROM table_25707 WHERE "Team" = 'Houston' | 6,892 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Superfund site has the CERCLIS ID fld980494959? ### Input: CREATE TABLE table_name_78 (
partially_deleted VARCHAR,
cerclis_id VARCHAR
) ### Response: SELECT partially_deleted FROM table_name_78 WHERE cerclis_id = "fld980494959" | 14,145 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What place was the scorer of 67-74-73=214? ### Input: CREATE TABLE table_80399 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
) ### Response: SELECT "Place" FROM table_80399 WHERE "Score" = '67-74-73=214' | 6,001 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who was the winning driver when Michael Schumacher had the pole and the fastest lap? ### Input: CREATE TABLE table_1137695_3 (
winning_driver VARCHAR,
fastest_lap VARCHAR,
pole_position VARCHAR
) ### Response: SELECT winning_driver FROM table_1137695_3 WHERE fastest_lap = "Michael Schumacher" AND pole_position = "Michael Schumacher" | 1,913 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many figures are given for the New Democratic for the polling range May 11 31, 2010? ### Input: CREATE TABLE table_24778847_2 (
new_democratic VARCHAR,
date_of_polling VARCHAR
) ### Response: SELECT COUNT(new_democratic) FROM table_24778847_2 WHERE date_of_polling = "May 11–31, 2010" | 12,077 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the two-round score for Bob Tway? ### Input: CREATE TABLE table_69035 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
) ### Response: SELECT "Score" FROM table_69035 WHERE "Player" = 'bob tway' | 9,869 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the result of the game played in front of 65,473? ### Input: CREATE TABLE table_33042 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
) ### Response: SELECT "Result" FROM table_33042 WHERE "Attendance" = '65,473' | 9,151 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What RECNet has elk lake as the city of license? ### Input: CREATE TABLE table_41559 (
"City of license" text,
"Identifier" text,
"Frequency" text,
"Power" text,
"Class" text,
"RECNet" text
) ### Response: SELECT "RECNet" FROM table_41559 WHERE "City of license" = 'elk lake' | 878 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: If the record is 5-5, what is the game maximum? ### Input: CREATE TABLE table_73513 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) ### Response: SELECT MAX("Game") FROM table_73513 WHERE "Record" = '5-5' | 20,625 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: When Cincinnati is the tournament winner how many regular season winners are there? ### Input: CREATE TABLE table_24160890_3 (
regular_season_winner VARCHAR,
tournament_winner VARCHAR
) ### Response: SELECT COUNT(regular_season_winner) FROM table_24160890_3 WHERE tournament_winner = "Cincinnati" | 13,982 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the lowest Game, when Location is Philips Arena, and when Attendance is less than 15,619? ### Input: CREATE TABLE table_name_68 (
game INTEGER,
location VARCHAR,
attendance VARCHAR
) ### Response: SELECT MIN(game) FROM table_name_68 WHERE location = "philips arena" AND attendance < 15 OFFSET 619 | 6,862 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What date did episode 115 in the series originally air? ### Input: CREATE TABLE table_26841 (
"Series" real,
"Season" real,
"Original air date" text,
"Production code" real,
"Episode title" text
) ### Response: SELECT "Original air date" FROM table_26841 WHERE "Series" = '115' | 2,282 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which First elected has a District of south carolina 2? ### Input: CREATE TABLE table_38383 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text
) ### Response: SELECT MIN("First elected") FROM table_38383 WHERE "District" = 'south carolina 2' | 7,557 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the average crowd attendance for the Junction Oval venue? ### Input: CREATE TABLE table_57795 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) ### Response: SELECT AVG("Crowd") FROM table_57795 WHERE "Venue" = 'junction oval' | 24,230 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many prisons are in nubarashen ? ### Input: CREATE TABLE table_204_414 (
id number,
"name" text,
"armenian" text,
"location" text,
"# of prisoners designed for" number,
"notes" text
) ### Response: SELECT COUNT("name") FROM table_204_414 WHERE "location" = 'nubarashen' | 4,586 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What party was the winner in the district Maryland 6? ### Input: CREATE TABLE table_18145 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Results" text,
"Candidates" text
) ### Response: SELECT "Party" FROM table_18145 WHERE "District" = 'Maryland 6' | 24,392 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the in-state area with an outlet of South Platte River and Big Thompson river as the basin? ### Input: CREATE TABLE table_7722 (
"Basin" text,
"Outlet" text,
"Total Area" text,
"In-State Area" text,
"% In-State" text
) ### Response: SELECT "In-State Area" FROM table_7722 WHERE "Outlet" = 'south platte river' AND "Basin" = 'big thompson river' | 6,710 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the guest 3 for iyare igiehon ### Input: CREATE TABLE table_23733 (
"Date" text,
"Presenter" text,
"Guest 1" text,
"Guest 2" text,
"Guest 3" text,
"Guest 4" text
) ### Response: SELECT "Guest 3" FROM table_23733 WHERE "Guest 2" = 'Iyare Igiehon' | 11,091 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What home team had an attendance record of 16,971? ### Input: CREATE TABLE table_78058 (
"Tie no" text,
"Home team" text,
"Score 1" text,
"Away team" text,
"Attendance" text
) ### Response: SELECT "Home team" FROM table_78058 WHERE "Attendance" = '16,971' | 1,298 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What school did the player that has been in Toronto from 2012-present come from? ### Input: CREATE TABLE table_10015132_1 (
school_club_team VARCHAR,
years_in_toronto VARCHAR
) ### Response: SELECT school_club_team FROM table_10015132_1 WHERE years_in_toronto = "2012-present" | 4,881 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the status of incumbent Charles Stenholm? ### Input: CREATE TABLE table_18223 (
"District" text,
"Incumbent" text,
"Party" text,
"Elected" real,
"Status" text,
"Opponent" text
) ### Response: SELECT "Status" FROM table_18223 WHERE "Incumbent" = 'Charles Stenholm' | 9,543 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the livery of the steam locomotive built after 1950 with a wheel arrangement of 2-6-2? ### Input: CREATE TABLE table_name_45 (
livery VARCHAR,
wheel_arrangement VARCHAR,
locomotive_type VARCHAR,
year_built VARCHAR
) ### Response: SELECT livery FROM table_name_45 WHERE locomotive_type = "steam" AND year_built > 1950 AND wheel_arrangement = "2-6-2" | 7,870 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: which is the only defendant who was tried and found not guilty ? ### Input: CREATE TABLE table_204_479 (
id number,
"defendant" text,
"arrested" text,
"charge" text,
"result" text,
"sentence" text
) ### Response: SELECT "defendant" FROM table_204_479 WHERE "result" = 'tried, found not guilty' | 21,200 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many total rounds has lehigh as the college? ### Input: CREATE TABLE table_48825 (
"Round" real,
"Pick" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
) ### Response: SELECT COUNT("Round") FROM table_48825 WHERE "College" = 'lehigh' | 15,356 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many albums did pearl django release in 1999 ? ### Input: CREATE TABLE table_204_209 (
id number,
"released" text,
"title" text,
"label" text,
"number" text,
"notes" text
) ### Response: SELECT COUNT("title") FROM table_204_209 WHERE "released" = 1999 | 19,513 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the average round of the rw position player from the United States? ### Input: CREATE TABLE table_76774 (
"Round" real,
"Pick" real,
"Player" text,
"Position" text,
"Nationality" text,
"College/Junior Team" text
) ### Response: SELECT AVG("Round") FROM table_76774 WHERE "Nationality" = 'united states' AND "Position" = 'rw' | 4,170 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: which team had top attendance through 2005 ? ### Input: CREATE TABLE table_204_55 (
id number,
"date" text,
"time" text,
"opponent#" text,
"rank#" text,
"site" text,
"tv" text,
"result" text,
"attendance" number
) ### Response: SELECT "opponent#" FROM table_204_55 ORDER BY "attendance" DESC LIMIT 1 | 23,377 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the instition where the main campus location is overland park? ### Input: CREATE TABLE table_509 (
"Institution" text,
"Main Campus Location" text,
"Founded" real,
"Mascot" text,
"School Colors" text
) ### Response: SELECT "Institution" FROM table_509 WHERE "Main Campus Location" = 'Overland Park' | 5,829 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the attendance for the game with an away team of Hispano? ### Input: CREATE TABLE table_8674 (
"Date" text,
"Home" text,
"Score" text,
"Away" text,
"Attendance" real
) ### Response: SELECT "Attendance" FROM table_8674 WHERE "Away" = 'hispano' | 22,998 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Pie chart about how many eliminations did each team have? ### Input: CREATE TABLE wrestler (
Wrestler_ID int,
Name text,
Reign text,
Days_held text,
Location text,
Event text
)
CREATE TABLE Elimination (
Elimination_ID text,
Wrestler_ID text,
Team text,
Eliminated_By text,
Elimination_Move text,
Time text
) ### Response: SELECT Team, COUNT(*) FROM Elimination GROUP BY Team | 5,133 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the score of the floor when the position is less than 21, and less than 81.2 total, and the pommel horse score is 13.925? ### Input: CREATE TABLE table_name_1 (
floor VARCHAR,
pommel_horse VARCHAR,
position VARCHAR,
total VARCHAR
) ### Response: SELECT floor FROM table_name_1 WHERE position < 21 AND total < 81.2 AND pommel_horse = "13.925" | 5,663 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What year was the cormorant built in? ### Input: CREATE TABLE table_10091 (
"Number" real,
"Name" text,
"Year Built" text,
"Boat Builder" text,
"Current Status" text
) ### Response: SELECT "Year Built" FROM table_10091 WHERE "Name" = 'cormorant' | 8,684 |