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 is the fewest ties the team had with fewer than 7 games? ### Input: CREATE TABLE table_34008 (
"Games" real,
"Drawn" real,
"Lost" real,
"Goal difference" text,
"Points" real
) ### Response: SELECT MIN("Drawn") FROM table_34008 WHERE "Games" < '7' | 19,436 |
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 Outcome, when Date is '19 September 2012'? ### Input: CREATE TABLE table_58628 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
) ### Response: SELECT "Outcome" FROM table_58628 WHERE "Date" = '19 september 2012' | 5,192 |
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: reginald hudlin directed how many written by. ### Input: CREATE TABLE table_24702 (
"Series #" real,
"Season #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Prod. code" text
) ### Response: SELECT "Written by" FROM table_24702 WHERE "Directed by" = 'Reginald Hudlin' | 6,776 |
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 highest assists for game 3? ### Input: CREATE TABLE table_77457 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Series" text
) ### Response: SELECT "High assists" FROM table_77457 WHERE "Game" = '3' | 12,595 |
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 Vice President has a President of daniel masny, and a Treasurer of rebecca t. altmann? ### Input: CREATE TABLE table_name_29 (
Vice VARCHAR,
president VARCHAR,
treasurer VARCHAR
) ### Response: SELECT Vice AS president FROM table_name_29 WHERE president = "daniel masny" AND treasurer = "rebecca t. altmann" | 9,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: Which week had 39,056 people in attendance? ### Input: CREATE TABLE table_55181 (
"Week" text,
"Date" text,
"Opponent" text,
"Result" text,
"Kickoff [a ]" text,
"Game site" text,
"Attendance" text,
"Record" text
) ### Response: SELECT "Week" FROM table_55181 WHERE "Attendance" = '39,056' | 2,668 |
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 H/A when the scorer was Hughes? ### Input: CREATE TABLE table_47944 (
"Date" text,
"Opponents" text,
"H / A" text,
"Result F \u2013 A" text,
"Scorers" text
) ### Response: SELECT "H / A" FROM table_47944 WHERE "Scorers" = 'hughes' | 24,867 |
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 candidates in district Maryland 1 where the republican party won. ### Input: CREATE TABLE table_18147 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Results" text,
"Candidates" text
) ### Response: SELECT "Candidates" FROM table_18147 WHERE "Party" = 'Republican' AND "District" = 'Maryland 1' | 694 |
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 attended the September 14, 1968 game? ### Input: CREATE TABLE table_62777 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
) ### Response: SELECT COUNT("Attendance") FROM table_62777 WHERE "Date" = 'september 14, 1968' | 5,158 |
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 number of winners from spain ? ### Input: CREATE TABLE table_203_600 (
id number,
"rank" text,
"country" text,
"winners" number,
"runners-up" number,
"finals total" number
) ### Response: SELECT "winners" FROM table_203_600 WHERE "country" = 'spain' | 599 |
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 did play by play before ray scott ? ### Input: CREATE TABLE table_203_773 (
id number,
"season" number,
"network" text,
"play-by-play" text,
"color commentator(s)" text,
"sideline reporter(s)" text
) ### Response: SELECT "play-by-play" FROM table_203_773 WHERE id = (SELECT id FROM table_203_773 WHERE "play-by-play" = 'ray scott') - 1 | 691 |
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 member countries for finnish swedish ### Input: CREATE TABLE table_73962 (
"Member countries" text,
"Population" text,
"Area (km\u00b2)" text,
"GDP (billion US$)" text,
"GDP per capita (US$)" text,
"Languages" text
) ### Response: SELECT "Member countries" FROM table_73962 WHERE "Languages" = 'Finnish Swedish' | 14,510 |
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 vote percentage is 2.111%, what was the minimum rank? ### Input: CREATE TABLE table_19744915_17 (
rank INTEGER,
vote_percentage VARCHAR
) ### Response: SELECT MIN(rank) FROM table_19744915_17 WHERE vote_percentage = "2.111%" | 14,608 |
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 for 34 matches with 111 rides, but no more than 15 bonus points? ### Input: CREATE TABLE table_name_29 (
total_points INTEGER,
bonus_pts VARCHAR,
matches VARCHAR,
rides VARCHAR
) ### Response: SELECT AVG(total_points) FROM table_name_29 WHERE matches = 34 AND rides = 111 AND bonus_pts > 15 | 7,361 |
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 points for the driver who raced in seasons 2006 2007 , 2009? ### Input: CREATE TABLE table_24735155_1 (
points VARCHAR,
seasons VARCHAR
) ### Response: SELECT points FROM table_24735155_1 WHERE seasons = "2006 – 2007 , 2009" | 15,951 |
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 day is their record 13-15? ### Input: CREATE TABLE table_37347 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
) ### Response: SELECT "Date" FROM table_37347 WHERE "Record" = '13-15' | 3,732 |
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 horse has a 66.452 result? ### Input: CREATE TABLE table_62858 (
"Athlete" text,
"Class" text,
"Horse" text,
"Event" text,
"Result" text,
"Rank" text
) ### Response: SELECT "Horse" FROM table_62858 WHERE "Result" = '66.452' | 21,184 |
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 numbers belong to the episode 'Vexation of Spirit'? ### Input: CREATE TABLE table_2645 (
"Series #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real
) ### Response: SELECT COUNT("Series #") FROM table_2645 WHERE "Title" = 'Vexation of Spirit' | 15,208 |
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 is from the west Division and the Team of special teams and is from the School Toledo Western Michigan? ### Input: CREATE TABLE table_name_21 (
player VARCHAR,
school VARCHAR,
division VARCHAR,
team VARCHAR
) ### Response: SELECT player FROM table_name_21 WHERE division = "west" AND team = "special teams" AND school = "toledo western michigan" | 4,678 |
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 won the womens singles event the year that Jonas Lyduch won? ### Input: CREATE TABLE table_12163387_1 (
womens_singles VARCHAR,
mens_singles VARCHAR
) ### Response: SELECT womens_singles FROM table_12163387_1 WHERE mens_singles = "Jonas Lyduch" | 8,466 |
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 race on 10/10/2008? ### Input: CREATE TABLE table_39147 (
"Date" text,
"Race" text,
"Distance" text,
"Venue" text,
"Radio" text
) ### Response: SELECT "Race" FROM table_39147 WHERE "Date" = '10/10/2008' | 14,538 |
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 playes the sport of athletics? ### Input: CREATE TABLE table_32972 (
"Year" real,
"Sportsperson" text,
"Nation of birth" text,
"Team" text,
"Competition , federation , or league" text,
"Sport" text
) ### Response: SELECT "Sportsperson" FROM table_32972 WHERE "Sport" = 'athletics' | 2,517 |
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 gave a nominated result for the room 222 series? ### Input: CREATE TABLE table_41250 (
"Year" real,
"Actor" text,
"Award" text,
"Series" text,
"Result" text
) ### Response: SELECT COUNT("Year") FROM table_41250 WHERE "Result" = 'nominated' AND "Series" = 'room 222' | 23,178 |
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 school is Stratford University? ### Input: CREATE TABLE table_23914 (
"School" text,
"Location(s)" text,
"Control" text,
"Type" text,
"Accreditation" text,
"Founded" real,
"Enrollment" text
) ### Response: SELECT "Type" FROM table_23914 WHERE "School" = 'Stratford University' | 9,904 |
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 sum of grid with laps more than 97 ### Input: CREATE TABLE table_38668 (
"Driver" text,
"Team" text,
"Laps" real,
"Time/Retired" text,
"Grid" real,
"Points" real
) ### Response: SELECT SUM("Grid") FROM table_38668 WHERE "Laps" > '97' | 1,487 |
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 was founded in 1970? ### Input: CREATE TABLE table_50904 (
"Team" text,
"Coach" text,
"Home Ground" text,
"Location" text,
"Founded" text
) ### Response: SELECT "Team" FROM table_50904 WHERE "Founded" = '1970' | 2,659 |
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 has friends that are younger than the average age? ### Input: CREATE TABLE personfriend (
name text,
friend text,
year number
)
CREATE TABLE person (
name text,
age number,
city text,
gender text,
job text
) ### Response: SELECT DISTINCT T2.name FROM person AS T1 JOIN personfriend AS T2 ON T1.name = T2.friend WHERE T1.age < (SELECT AVG(age) FROM person) | 8,690 |
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 Constructor has the Winning Driver, Jim Clark and the Circuit, Syracuse? ### Input: CREATE TABLE table_51984 (
"Race Name" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Constructor" text,
"Report" text
) ### Response: SELECT "Constructor" FROM table_51984 WHERE "Winning driver" = 'jim clark' AND "Circuit" = 'syracuse' | 4,498 |
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 original title for not nominated result with report on death ### Input: CREATE TABLE table_2379 (
"Year (Ceremony)" text,
"Film title used in nomination" text,
"Original title" text,
"Director" text,
"Result" text
) ### Response: SELECT "Original title" FROM table_2379 WHERE "Result" = 'Not Nominated' AND "Film title used in nomination" = 'Report on Death' | 13,973 |
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: With a method of tko (kick) what is the record of the match? ### Input: CREATE TABLE table_49967 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text,
"Location" text
) ### Response: SELECT "Record" FROM table_49967 WHERE "Method" = 'tko (kick)' | 716 |
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 Silver in the Total Sport has less than 1 Gold and more than 1 Bronze? ### Input: CREATE TABLE table_name_77 (
silver INTEGER,
gold VARCHAR,
bronze VARCHAR,
sport VARCHAR
) ### Response: SELECT MIN(silver) FROM table_name_77 WHERE bronze > 1 AND sport = "total" AND gold < 1 | 21,601 |
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 Games has a Season of 2003/2004, and a Red Cards smaller than 5? ### Input: CREATE TABLE table_name_65 (
games INTEGER,
season VARCHAR,
red_cards VARCHAR
) ### Response: SELECT AVG(games) FROM table_name_65 WHERE season = "2003/2004" AND red_cards < 5 | 24,652 |
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 month were the most championships played ? ### Input: CREATE TABLE table_203_60 (
id number,
"outcome" text,
"no." number,
"date" text,
"championship" text,
"surface" text,
"opponent in the final" text,
"score in the final" text
) ### Response: SELECT "date" FROM table_203_60 GROUP BY "date" ORDER BY COUNT(*) DESC LIMIT 1 | 13,713 |
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 after Week 9 with an Attendance of 69,714? ### Input: CREATE TABLE table_48615 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
) ### Response: SELECT "Result" FROM table_48615 WHERE "Week" > '9' AND "Attendance" = '69,714' | 3,241 |
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 the total number of picks for a guard with fewer than 6 rounds? ### Input: CREATE TABLE table_35541 (
"Round" real,
"Pick #" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
) ### Response: SELECT COUNT("Pick #") FROM table_35541 WHERE "Position" = 'guard' AND "Round" < '6' | 15,168 |
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 Age of dorothy Peel as of 1 February 2014 ? ### Input: CREATE TABLE table_36012 (
"Name" text,
"Birth date" text,
"Age as of 1 February 2014" text,
"Country of birth" text,
"Place of residence" text
) ### Response: SELECT "Age as of 1 February 2014" FROM table_36012 WHERE "Name" = 'dorothy peel' | 18,199 |
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 College/Junior/Club Team has Pick 50 before Round 8? ### Input: CREATE TABLE table_39590 (
"Round" real,
"Pick" real,
"Player" text,
"Nationality" text,
"College/Junior/Club Team" text
) ### Response: SELECT "College/Junior/Club Team" FROM table_39590 WHERE "Round" < '8' AND "Pick" = '50' | 7,232 |
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 points value for a rank less than 12 for David Santee? ### Input: CREATE TABLE table_56976 (
"Rank" real,
"Name" text,
"Nation" text,
"SP+FS" real,
"Points" real,
"Placings" real
) ### Response: SELECT AVG("Points") FROM table_56976 WHERE "Rank" < '12' AND "Name" = 'david santee' | 6,160 |
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 terminus is 3.5km in lenght? ### Input: CREATE TABLE table_60941 (
"Line Name" text,
"Date Closed" text,
"NIMT Junction" text,
"Terminus" text,
"Length" text
) ### Response: SELECT "Terminus" FROM table_60941 WHERE "Length" = '3.5km' | 9,561 |
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 laps completed by riders with times of +2:11.524? ### Input: CREATE TABLE table_46266 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time" text,
"Grid" real
) ### Response: SELECT AVG("Laps") FROM table_46266 WHERE "Time" = '+2:11.524' | 3,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: What is the date of the tournament with Alena Tarasova as the opponent? ### Input: CREATE TABLE table_5550 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
) ### Response: SELECT "Date" FROM table_5550 WHERE "Opponent" = 'alena tarasova' | 2,108 |
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 native american with whites being 1.0% ### Input: CREATE TABLE table_18064 (
"Country" text,
"Population" real,
"Native American" text,
"Whites" text,
"s Mestizo" text,
"es Mulatto" text,
"Blacks" text,
"s Zambo" text,
"Asians" text
) ### Response: SELECT COUNT("Native American") FROM table_18064 WHERE "Whites" = '1.0%' | 1,943 |
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 against for the opposing team of Wales with the status of Five Nations? ### Input: CREATE TABLE table_name_52 (
against INTEGER,
status VARCHAR,
opposing_teams VARCHAR
) ### Response: SELECT AVG(against) FROM table_name_52 WHERE status = "five nations" AND opposing_teams = "wales" | 9,759 |
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 fastest laps during the 1995 season having poles & podiums at 0? ### Input: CREATE TABLE table_name_2 (
fastest_laps INTEGER,
seasons VARCHAR,
poles VARCHAR,
podiums VARCHAR
) ### Response: SELECT SUM(fastest_laps) FROM table_name_2 WHERE poles = 0 AND podiums = 0 AND seasons = "1995" | 20,903 |
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 archive for episode with 6.6 million viewers? ### Input: CREATE TABLE table_20491 (
"Episode" text,
"Broadcast date" text,
"Run time" text,
"Viewers (in millions)" text,
"Archive" text
) ### Response: SELECT "Archive" FROM table_20491 WHERE "Viewers (in millions)" = '6.6' | 5,572 |
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 least draw when the place is higher than 4? ### Input: CREATE TABLE table_79474 (
"Draw" real,
"Artist" text,
"Song" text,
"Percentage" text,
"Place" real
) ### Response: SELECT MIN("Draw") FROM table_79474 WHERE "Place" > '4' | 9,519 |
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 of writers for airdate of 15 july 1967 ### Input: CREATE TABLE table_20345624_2 (
writer VARCHAR,
original_airdate VARCHAR
) ### Response: SELECT COUNT(writer) FROM table_20345624_2 WHERE original_airdate = "15 July 1967" | 12,286 |
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 happened on 2009-03-14? ### Input: CREATE TABLE table_68619 (
"Date" text,
"Location" text,
"Nature of incident" text,
"Circumstances" text,
"Casualties" text
) ### Response: SELECT "Circumstances" FROM table_68619 WHERE "Date" = '2009-03-14' | 23,825 |
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 laps have a time/retired of +1 lap and mark blundell is the driver? ### Input: CREATE TABLE table_10667 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) ### Response: SELECT AVG("Laps") FROM table_10667 WHERE "Time/Retired" = '+1 lap' AND "Driver" = 'mark blundell' | 14,093 |
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: For the game showing a final record of 0-5, what was the attendance level? ### Input: CREATE TABLE table_49721 (
"Date" text,
"Opponent" text,
"Result" text,
"Score" text,
"Record" text,
"Location" text,
"Attendance" real
) ### Response: SELECT "Attendance" FROM table_49721 WHERE "Record" = '0-5' | 3,766 |
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 country had a Finish of t8? ### Input: CREATE TABLE table_62426 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
) ### Response: SELECT "Country" FROM table_62426 WHERE "Finish" = 't8' | 6,382 |
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 songs were a single only release ? ### Input: CREATE TABLE table_203_426 (
id number,
"year" number,
"title" text,
"peak chart positions\naus" number,
"peak chart positions\nnz" number,
"peak chart positions\nuk" number,
"album" text
) ### Response: SELECT COUNT("title") FROM table_203_426 WHERE "album" = 'single-only release' | 2,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 team has a drive name emmanuel de graffenried and a position larger than 1 as well as the date of 9/1953? ### Input: CREATE TABLE table_name_46 (
team VARCHAR,
driver VARCHAR,
position VARCHAR,
date VARCHAR
) ### Response: SELECT team FROM table_name_46 WHERE position > 1 AND date = "9/1953" AND driver = "emmanuel de graffenried" | 19,199 |
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 years have toyota team tom's as the team, with Laps greater than 64? ### Input: CREATE TABLE table_62937 (
"Year" real,
"Class" text,
"Tyres" text,
"Team" text,
"Co-Drivers" text,
"Laps" real,
"Pos." text
) ### Response: SELECT COUNT("Year") FROM table_62937 WHERE "Team" = 'toyota team tom''s' AND "Laps" > '64' | 7,326 |
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 to par of the player from Argentina with a t8 place? ### Input: CREATE TABLE table_60213 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( \u00a3 )" text
) ### Response: SELECT "To par" FROM table_60213 WHERE "Place" = 't8' AND "Country" = 'argentina' | 6,977 |
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 leader battle for 4-3 vote ### Input: CREATE TABLE table_28175 (
"Episode" real,
"Reward" text,
"Leader Battle" text,
"Immunity" text,
"Individual Immunity" text,
"Eliminated" text,
"Vote" text,
"Finish" text
) ### Response: SELECT "Leader Battle" FROM table_28175 WHERE "Vote" = '4-3' | 7,189 |
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 first tournaments were winter sports with exactly 1 division? ### Input: CREATE TABLE table_30537 (
"Season" text,
"Sport" text,
"Tournament Structure" text,
"# of Divisions" real,
"1st Tournament" real,
"2011-2012 State Tournament Location" text
) ### Response: SELECT COUNT("1st Tournament") FROM table_30537 WHERE "Season" = 'Winter' AND "# of Divisions" = '1' | 1,952 |
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 competition in 2003 has a score of 2 1? ### Input: CREATE TABLE table_11812 (
"Year" real,
"Competition" text,
"Date" text,
"Location" text,
"Score" text,
"Result" text
) ### Response: SELECT "Competition" FROM table_11812 WHERE "Year" = '2003' AND "Score" = '2–1' | 1,276 |
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: Tell me the date for dinah pfizenmaier anna zaja and winner ### Input: CREATE TABLE table_4426 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
) ### Response: SELECT "Date" FROM table_4426 WHERE "Outcome" = 'winner' AND "Opponents" = 'dinah pfizenmaier anna zaja' | 2,519 |
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: Where are the Alexandria enrollment locations? ### Input: CREATE TABLE table_23904 (
"School" text,
"Location(s)" text,
"Control" text,
"Type" text,
"Accreditation" text,
"Founded" text,
"Enrollment" text
) ### Response: SELECT "Enrollment" FROM table_23904 WHERE "Location(s)" = 'Alexandria' | 1,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 total number of spectators on week 4? ### Input: CREATE TABLE table_44622 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
) ### Response: SELECT COUNT("Attendance") FROM table_44622 WHERE "Week" = '4' | 24,059 |
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: Week that has a Date of december 5, 1959 had what week? ### Input: CREATE TABLE table_37531 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game Site" text,
"Attendance" real
) ### Response: SELECT "Week" FROM table_37531 WHERE "Date" = 'december 5, 1959' | 3,804 |
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 loses did virgil zwicker have ? ### Input: CREATE TABLE table_204_461 (
id number,
"res." text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"date" text,
"round" number,
"time" text,
"location" text,
"notes" text
) ### Response: SELECT COUNT(*) FROM table_204_461 WHERE "res." = 'loss' | 4,388 |
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 VOTE FOR DUBLIN SOUTH, AND SPOILT SMALLER THAN 3,387? ### Input: CREATE TABLE table_name_14 (
votes INTEGER,
constituency VARCHAR,
spoilt VARCHAR
) ### Response: SELECT AVG(votes) FROM table_name_14 WHERE constituency = "dublin south" AND spoilt < 3 OFFSET 387 | 18,388 |
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 city is Kara Ali Acar Sport Hall located in? ### Input: CREATE TABLE table_12554 (
"Club" text,
"City" text,
"Arena" text,
"Capacity" real,
"Last Year" text
) ### Response: SELECT "City" FROM table_12554 WHERE "Arena" = 'kara ali acar sport hall' | 18,774 |
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 for the candidates edwin gray (dr)? ### Input: CREATE TABLE table_3627 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text,
"Candidates" text
) ### Response: SELECT "Party" FROM table_3627 WHERE "Candidates" = 'Edwin Gray (DR)' | 12,226 |
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, when Away is High Park Demons? ### Input: CREATE TABLE table_43043 (
"Date" text,
"Time" text,
"Home" text,
"Away" text,
"Score" text,
"Ground" text
) ### Response: SELECT "Date" FROM table_43043 WHERE "Away" = 'high park demons' | 15,925 |
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 home team for the game played on November 2, 2007? ### Input: CREATE TABLE table_10524 (
"Date" text,
"Visitor" text,
"Home" text,
"Leading scorer" text,
"Attendance" real,
"Record" text
) ### Response: SELECT "Home" FROM table_10524 WHERE "Date" = 'november 2, 2007' | 13,078 |
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: Pink cytoplasm is seen in a test that specifically stains what? ### Input: CREATE TABLE table_814 (
"Stain" text,
"Common use" text,
"Nucleus" text,
"Cytoplasm" text,
"Red blood cell (RBC)" text,
"Collagen fibers" text,
"Specifically stains" text
) ### Response: SELECT "Specifically stains" FROM table_814 WHERE "Cytoplasm" = 'Pink' | 10,138 |
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 of meaning where full name is chidinma anulika? ### Input: CREATE TABLE table_17247 (
"Full Name" text,
"Nickname" text,
"Gender" text,
"Weight at birth" text,
"Meaning" text
) ### Response: SELECT COUNT("Meaning") FROM table_17247 WHERE "Full Name" = 'Chidinma Anulika' | 10,629 |
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: While the Hornets were visiting, what date was Deron Williams (29) the leading scorer? ### Input: CREATE TABLE table_name_94 (
date VARCHAR,
leading_scorer VARCHAR,
visitor VARCHAR
) ### Response: SELECT date FROM table_name_94 WHERE leading_scorer = "deron williams (29)" AND visitor = "hornets" | 12,943 |
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 report for philip fotheringham-parker ### Input: CREATE TABLE table_78009 (
"Race Name" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Constructor" text,
"Report" text
) ### Response: SELECT "Report" FROM table_78009 WHERE "Winning driver" = 'philip fotheringham-parker' | 12,596 |
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 was the date of death for the person married to Charles II? ### Input: CREATE TABLE table_75320 (
"Name" text,
"Birth" text,
"Marriage" text,
"Became Consort" text,
"Coronation" text,
"Ceased to be Consort" text,
"Death" text,
"Spouse" text
) ### Response: SELECT "Death" FROM table_75320 WHERE "Spouse" = 'charles ii' | 2,666 |
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 for the United States when Harry Hampton is the player and the money is $73? ### Input: CREATE TABLE table_79010 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" real,
"Money ( $ )" text
) ### Response: SELECT "Score" FROM table_79010 WHERE "Country" = 'united states' AND "Money ( $ )" = '73' AND "Player" = 'harry hampton' | 21,671 |
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 scores happened to be on February 9? ### Input: CREATE TABLE table_73552 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Attendance" real,
"Record" text,
"Points" real
) ### Response: SELECT "Score" FROM table_73552 WHERE "Date" = 'February 9' | 3,716 |
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: Where is shabazz muhammad from? ### Input: CREATE TABLE table_57176 (
"Player" text,
"Height" text,
"School" text,
"Hometown" text,
"College" text
) ### Response: SELECT "Hometown" FROM table_57176 WHERE "Player" = 'shabazz muhammad' | 15,571 |
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 height of demond greene ### Input: CREATE TABLE table_73574 (
"No" real,
"Player" text,
"Height (m)" text,
"Height (f)" text,
"Position" text,
"Year born" real,
"Current Club" text
) ### Response: SELECT "Height (f)" FROM table_73574 WHERE "Player" = 'Demond Greene' | 8,303 |
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: Where is the PPP 23164 million ? ### Input: CREATE TABLE table_2293510_1 (
region___nuts_2006_ VARCHAR,
ppp__million_€_ VARCHAR
) ### Response: SELECT region___nuts_2006_ FROM table_2293510_1 WHERE ppp__million_€_ = 23164 | 4,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: against which opponent were there the most people in attendance ? ### Input: CREATE TABLE table_203_478 (
id number,
"week" number,
"date" text,
"opponent" text,
"result" text,
"attendance" number
) ### Response: SELECT "opponent" FROM table_203_478 ORDER BY "attendance" DESC LIMIT 1 | 206 |
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 held on September 18, 1994, with a week less than 5? ### Input: CREATE TABLE table_33693 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"TV Time" text,
"Attendance" real
) ### Response: SELECT "Attendance" FROM table_33693 WHERE "Week" < '5' AND "Date" = 'september 18, 1994' | 6,374 |
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: the only flight on november 27th ### Input: CREATE TABLE table_203_538 (
id number,
"flight" text,
"date" text,
"payload nickname" text,
"payload" text,
"orbit" text,
"result" text
) ### Response: SELECT "flight" FROM table_203_538 WHERE "date" = 'november 27, 1997' | 5,222 |
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 when Vancouver was the visitor? ### Input: CREATE TABLE table_9867 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text,
"Points" real
) ### Response: SELECT "Record" FROM table_9867 WHERE "Visitor" = 'vancouver' | 344 |
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 runs balls for wicket of 3rd for australia opponent ### Input: CREATE TABLE table_4451 (
"Runs (Balls)" text,
"Wicket" text,
"Partnerships" text,
"Opponent" text,
"Venue" text,
"Date" text
) ### Response: SELECT "Runs (Balls)" FROM table_4451 WHERE "Wicket" = '3rd' AND "Opponent" = 'australia' | 19,927 |
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 Against has Losses smaller than 5, and a Wimmera FL of warrack eagles, and Draws smaller than 0? ### Input: CREATE TABLE table_name_68 (
against INTEGER,
draws VARCHAR,
losses VARCHAR,
wimmera_fl VARCHAR
) ### Response: SELECT AVG(against) FROM table_name_68 WHERE losses < 5 AND wimmera_fl = "warrack eagles" AND draws < 0 | 504 |
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 year had a transmission of Voith D863.4 and a Cummins ISM engine? ### Input: CREATE TABLE table_19643196_1 (
year VARCHAR,
transmission VARCHAR,
engine VARCHAR
) ### Response: SELECT year FROM table_19643196_1 WHERE transmission = "Voith D863.4" AND engine = "Cummins ISM" | 9,225 |
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 laps is 191, what is the maximum laps led? ### Input: CREATE TABLE table_21869 (
"Fin. Pos" real,
"Car No." real,
"Driver" text,
"Team" text,
"Laps" real,
"Time/Retired" text,
"Grid" real,
"Laps Led" real,
"Points" text
) ### Response: SELECT MAX("Laps Led") FROM table_21869 WHERE "Laps" = '191' | 15,386 |
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 sum of hull number for italy and year more than 1999 ### Input: CREATE TABLE table_71732 (
"Hull No." real,
"Year" real,
"Project" text,
"Length overall in meters (without bowsprit)" real,
"Name" text,
"Destination" text
) ### Response: SELECT SUM("Hull No.") FROM table_71732 WHERE "Destination" = 'italy' AND "Year" > '1999' | 9,785 |
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 type with cancelable of no and attribute of ondragend ### Input: CREATE TABLE table_39428 (
"Category" text,
"Type" text,
"Attribute" text,
"Bubbles" text,
"Cancelable" text
) ### Response: SELECT "Type" FROM table_39428 WHERE "Cancelable" = 'no' AND "Attribute" = 'ondragend' | 18,640 |
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 laps when the grid is 1? ### Input: CREATE TABLE table_57142 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) ### Response: SELECT MAX("Laps") FROM table_57142 WHERE "Grid" = '1' | 4,060 |
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 the number of points for associated with exactly 3 stolen ends? ### Input: CREATE TABLE table_27430 (
"Skip (Club)" text,
"W" real,
"L" real,
"PF" real,
"PA" real,
"Ends Won" real,
"Ends Lost" real,
"Blank Ends" real,
"Stolen Ends" real
) ### Response: SELECT COUNT("PF") FROM table_27430 WHERE "Stolen Ends" = '3' | 17,172 |
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 Airport when the ICAO shows rpvm? ### Input: CREATE TABLE table_38162 (
"City" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
) ### Response: SELECT "Airport" FROM table_38162 WHERE "ICAO" = 'rpvm' | 23,192 |
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 Score has an Opponent of @ la lakers, and a Record of 8-6? ### Input: CREATE TABLE table_46171 (
"Date" text,
"Opponent" text,
"Score" text,
"Result" text,
"Record" text
) ### Response: SELECT "Score" FROM table_46171 WHERE "Opponent" = '@ la lakers' AND "Record" = '8-6' | 1,792 |
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 smallest number of bronze medals with more than 4 gold medals? ### Input: CREATE TABLE table_69395 (
"Rank" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) ### Response: SELECT MIN("Bronze") FROM table_69395 WHERE "Gold" > '4' | 14,020 |
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 Poles have Races smaller than 4? ### Input: CREATE TABLE table_58629 (
"Season" real,
"Series" text,
"Team" text,
"Races" real,
"Wins" real,
"Poles" real,
"Podiums" real,
"Points" real,
"Position" text
) ### Response: SELECT AVG("Poles") FROM table_58629 WHERE "Races" < '4' | 1,550 |
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: Gold smaller than 2, and a Rank of 4, and a Nation of hungary (hun), and a Bronze smaller than 1 had what total number of silver? ### Input: CREATE TABLE table_name_48 (
silver VARCHAR,
bronze VARCHAR,
nation VARCHAR,
gold VARCHAR,
rank VARCHAR
) ### Response: SELECT COUNT(silver) FROM table_name_48 WHERE gold < 2 AND rank = "4" AND nation = "hungary (hun)" AND bronze < 1 | 3,092 |
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 year with 116 laps? ### Input: CREATE TABLE table_80450 (
"Year" text,
"Start" text,
"Qual" text,
"Rank" text,
"Finish" text,
"Laps" real
) ### Response: SELECT "Year" FROM table_80450 WHERE "Laps" = '116' | 4,027 |
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 Venue IS after 1992 with a Score of 1 0 and a Winners of us chaouia? ### Input: CREATE TABLE table_name_93 (
venue VARCHAR,
winners VARCHAR,
year VARCHAR,
score VARCHAR
) ### Response: SELECT venue FROM table_name_93 WHERE year > 1992 AND score = "1 – 0" AND winners = "us chaouia" | 15,354 |
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 characters were portrayed by the informant of don flack? ### Input: CREATE TABLE table_16567 (
"Character" text,
"Portrayed by" text,
"Relationship" text,
"First appearance" text,
"Last appearance" text
) ### Response: SELECT COUNT("Portrayed by") FROM table_16567 WHERE "Relationship" = 'Informant of Don Flack' | 20,632 |
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 date for gt3 winner oliver bryant matt harris ### Input: CREATE TABLE table_13079788_3 (
date VARCHAR,
gt3_winner VARCHAR
) ### Response: SELECT date FROM table_13079788_3 WHERE gt3_winner = "Oliver Bryant Matt Harris" | 17,825 |
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 Episode, when Jeremy's Guest is 'Pauline McLynn'? ### Input: CREATE TABLE table_76326 (
"Episode" text,
"First broadcast" text,
"Graeme's guest" text,
"Jeremy's guest" text,
"Votes (%)" text
) ### Response: SELECT "Episode" FROM table_76326 WHERE "Jeremy's guest" = 'pauline mclynn' | 17,092 |