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 only song to have 6 in us rap ? ### Input: CREATE TABLE table_204_56 (
id number,
"year" number,
"song" text,
"us r&b" number,
"us rap" number,
"album" text
) ### Response: SELECT "song" FROM table_204_56 WHERE "us rap" = 6 | 15,422 |
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 draws have less than 35 losses with 136 matches and less than 146 against? ### Input: CREATE TABLE table_name_47 (
draw INTEGER,
against VARCHAR,
losses VARCHAR,
matches VARCHAR
) ### Response: SELECT AVG(draw) FROM table_name_47 WHERE losses < 35 AND matches = 136 AND against < 146 | 23,882 |
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 most touchdowns for field goals being 1 ### Input: CREATE TABLE table_72525 (
"Player" text,
"Position" text,
"Starter" text,
"Touchdowns" real,
"Extra points" real,
"Field goals" real,
"Points" real
) ### Response: SELECT MAX("Touchdowns") FROM table_72525 WHERE "Field goals" = '1' | 23,897 |
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 lane is from Great Britain and a 57.78 time? ### Input: CREATE TABLE table_63359 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" real
) ### Response: SELECT COUNT("Lane") FROM table_63359 WHERE "Nationality" = 'great britain' AND "Time" > '57.78' | 19,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 was the date of the game against Norway with a 1:1 result? ### Input: CREATE TABLE table_37776 (
"Date" text,
"City" text,
"Opponent" text,
"Results\u00b9" text,
"Type of game" text
) ### Response: SELECT "Date" FROM table_37776 WHERE "Opponent" = 'norway' AND "Results\u00b9" = '1:1' | 11,496 |
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 Bowl game in San Francisco, CA after 1968? ### Input: CREATE TABLE table_38937 (
"Season" real,
"Bowl game" text,
"Result" text,
"Opponent" text,
"Stadium" text,
"Location" text,
"Attendance" text
) ### Response: SELECT "Bowl game" FROM table_38937 WHERE "Season" > '1968' AND "Location" = 'san francisco, ca' | 13,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 school has the greyhounds as mascots? ### Input: CREATE TABLE table_39623 (
"School" text,
"Mascot" text,
"Location" text,
"Enrollment" real,
"IHSAA Class" text,
"IHSAA Football Class" text,
"# / County" text
) ### Response: SELECT "School" FROM table_39623 WHERE "Mascot" = 'greyhounds' | 23,336 |
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 first year there was a triple crown winner ? ### Input: CREATE TABLE table_200_3 (
id number,
"year" number,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"breeder" text
) ### Response: SELECT MIN("year") FROM table_200_3 | 9,050 |
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 block that has 328 as the spike, and a height less than 186? ### Input: CREATE TABLE table_40186 (
"Name" text,
"Date of Birth" text,
"Height" real,
"Weight" real,
"Spike" real,
"Block" real
) ### Response: SELECT MIN("Block") FROM table_40186 WHERE "Spike" = '328' AND "Height" < '186' | 2,346 |
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 for the club trophy from the year 1867 only? ### Input: CREATE TABLE table_59329 (
"Years" text,
"Type" text,
"Original code" text,
"Current code" text,
"Location" text
) ### Response: SELECT "Location" FROM table_59329 WHERE "Type" = 'club trophy' AND "Years" = '1867 only' | 14,422 |
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 candidate first elected in 1942 ### Input: CREATE TABLE table_18432 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
) ### Response: SELECT "Candidates" FROM table_18432 WHERE "First elected" = '1942' | 24,203 |
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 FA cups of club Stalybridge Celtic, which has more than 0 FA trophies and a total less than 20? ### Input: CREATE TABLE table_name_50 (
fa_cup INTEGER,
total VARCHAR,
fa_trophy VARCHAR,
club VARCHAR
) ### Response: SELECT SUM(fa_cup) FROM table_name_50 WHERE fa_trophy > 0 AND club = "stalybridge celtic" AND total < 20 | 17,747 |
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 did the Chargers play the Denver Broncos before Week 10? ### Input: CREATE TABLE table_7587 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
) ### Response: SELECT "Date" FROM table_7587 WHERE "Week" < '10' AND "Opponent" = 'denver broncos' | 24,088 |
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 Pick, when Draft is less than 1991, and when Player is 'Tom Sasso Category:Articles with hCards'? ### Input: CREATE TABLE table_name_7 (
pick INTEGER,
draft VARCHAR,
player VARCHAR
) ### Response: SELECT MIN(pick) FROM table_name_7 WHERE draft < 1991 AND player = "tom sasso category:articles with hcards" | 6,438 |
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 overall rank when viewers are at 6.59 million? ### Input: CREATE TABLE table_20522228_2 (
rank__overall_ VARCHAR,
viewers__millions_ VARCHAR
) ### Response: SELECT rank__overall_ FROM table_20522228_2 WHERE viewers__millions_ = "6.59" | 16,724 |
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 has the team captain Jon Newsome? ### Input: CREATE TABLE table_14671 (
"Team" text,
"Manager" text,
"Captain" text,
"Kit manufacturer" text,
"Shirt sponsor" text
) ### Response: SELECT "Team" FROM table_14671 WHERE "Captain" = 'jon newsome' | 9,462 |
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 tournament this year had the highest purse reward offered ? ### Input: CREATE TABLE table_204_865 (
id number,
"date" text,
"tournament" text,
"winner" text,
"purse ($)" number,
"notes" text
) ### Response: SELECT "tournament" FROM table_204_865 ORDER BY "purse ($)" DESC LIMIT 1 | 11,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: who had the top score in the pga championship ? ### Input: CREATE TABLE table_203_151 (
id number,
"no." number,
"date" text,
"tournament" text,
"winning score" text,
"margin of\nvictory" text,
"runner(s)-up" text
) ### Response: SELECT "runner(s)-up" FROM table_203_151 WHERE "tournament" = 'pga championship' | 6,087 |
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 did Northeastern University join? ### Input: CREATE TABLE table_15481 (
"Institution" text,
"Location" text,
"Founded" real,
"Type" text,
"Joined" real,
"Nickname" text,
"Colors" text
) ### Response: SELECT SUM("Joined") FROM table_15481 WHERE "Institution" = 'northeastern university' | 405 |
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 Points For, when Points Against is 571? ### Input: CREATE TABLE table_46319 (
"Club" text,
"Played" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Points difference" text,
"Bonus Points" text,
"Points" text
) ### Response: SELECT "Points for" FROM table_46319 WHERE "Points against" = '571' | 13,227 |
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 medium earth orbital regime, accidentally achieved and successes greater than 3? ### Input: CREATE TABLE table_name_19 (
accidentally_achieved INTEGER,
orbital_regime VARCHAR,
successes VARCHAR
) ### Response: SELECT SUM(accidentally_achieved) FROM table_name_19 WHERE orbital_regime = "medium earth" AND successes > 3 | 5,728 |
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 Dallas Burn had a 12-9-7 record and what number of goals for? ### Input: CREATE TABLE table_17709 (
"Club" text,
"Overall Record" text,
"Goals For" real,
"Goals For Avg." text,
"Goals Against" real,
"Goals Against Avg." text
) ### Response: SELECT "Goals For" FROM table_17709 WHERE "Overall Record" = '12-9-7' | 5,233 |
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 finalists for week # less than 2 ### Input: CREATE TABLE table_32022 (
"Week #" real,
"Finalists" text,
"Status" text,
"Eliminated" text,
"Date" text
) ### Response: SELECT "Finalists" FROM table_32022 WHERE "Week #" < '2' | 4,464 |
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 for Andrew Gregg? ### Input: CREATE TABLE table_28931 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text,
"Candidates" text
) ### Response: SELECT "Result" FROM table_28931 WHERE "Incumbent" = 'Andrew Gregg' | 11,787 |
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 each station, find its latitude and the minimum duration of trips that ended at the station. ### Input: CREATE TABLE station (
name VARCHAR,
lat VARCHAR,
id VARCHAR
)
CREATE TABLE trip (
duration INTEGER,
end_station_id VARCHAR
) ### Response: SELECT T1.name, T1.lat, MIN(T2.duration) FROM station AS T1 JOIN trip AS T2 ON T1.id = T2.end_station_id GROUP BY T2.end_station_id | 16,000 |
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 July 17, 2008, what was the total number of lead maragin? ### Input: CREATE TABLE table_21046 (
"Poll Source" text,
"Dates administered" text,
"Democrat: Mark Begich" text,
"Republican: Ted Stevens" text,
"Lead Maragin" real
) ### Response: SELECT COUNT("Lead Maragin") FROM table_21046 WHERE "Dates administered" = 'July 17, 2008' | 5,030 |
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 is the arabic title when is the year (ceremony)? ### Input: CREATE TABLE table_28776 (
"Year (Ceremony)" text,
"English title" text,
"Arabic title" text,
"Director" text,
"Result" text
) ### Response: SELECT "Year (Ceremony)" FROM table_28776 WHERE "Arabic title" = 'موسم زيتون' | 22,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 year did the movie Rango come out? ### Input: CREATE TABLE table_14716 (
"Year" real,
"Category" text,
"Film" text,
"Winner/Nominee(s)" text,
"Result" text
) ### Response: SELECT AVG("Year") FROM table_14716 WHERE "Film" = 'rango' | 1,144 |
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 set the record in the 500 metres event? ### Input: CREATE TABLE table_9223 (
"Event" text,
"Time" text,
"Name" text,
"Nation" text,
"Games" text,
"Date" text
) ### Response: SELECT "Name" FROM table_9223 WHERE "Event" = '500 metres' | 1,737 |
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 league when the fa cup is qr4 and the fa trophy is qf? ### Input: CREATE TABLE table_name_46 (
league VARCHAR,
fa_cup VARCHAR,
fa_trophy VARCHAR
) ### Response: SELECT league FROM table_name_46 WHERE fa_cup = "qr4" AND fa_trophy = "qf" | 2,339 |
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 sum of cars per set for operator of london midland ### Input: CREATE TABLE table_32100 (
"Class" text,
"Operator" text,
"No. Built" real,
"Year Built" text,
"Cars per Set" real
) ### Response: SELECT SUM("Cars per Set") FROM table_32100 WHERE "Operator" = 'london midland' | 14,756 |
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: between what years was tears of the antarctic shown ? ### Input: CREATE TABLE table_204_379 (
id number,
"year" text,
"title" text,
"hangul" text,
"network" text,
"further info" text
) ### Response: SELECT "year" FROM table_204_379 WHERE "title" = 'tears of the antarctic' | 277 |
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: number of total goals scored in the round ### Input: CREATE TABLE table_204_487 (
id number,
"home team" text,
"score" text,
"visiting team" text,
"location" text,
"venue" text,
"door" text,
"surface" text
) ### Response: SELECT SUM("score" + "score") FROM table_204_487 | 1,836 |
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 comes from the Hometown of Wichita, KS? ### Input: CREATE TABLE table_53974 (
"Player" text,
"Height" text,
"School" text,
"Hometown" text,
"College" text,
"NBA Draft" text
) ### Response: SELECT "Player" FROM table_53974 WHERE "Hometown" = 'wichita, ks' | 5,830 |
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 tournament played on 26 February 2006, what surface was used? ### Input: CREATE TABLE table_35943 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponents in the final" text,
"Score in the final" text
) ### Response: SELECT "Surface" FROM table_35943 WHERE "Date" = '26 february 2006' | 10,737 |
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 Ashmolean with 14s Harrison, and image less than 542? ### Input: CREATE TABLE table_name_40 (
ashmolean VARCHAR,
harrison VARCHAR,
image VARCHAR
) ### Response: SELECT COUNT(ashmolean) FROM table_name_40 WHERE harrison = "14s" AND image < 542 | 143 |
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 did an away team score 32.16 (208)? ### Input: CREATE TABLE table_57784 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) ### Response: SELECT "Date" FROM table_57784 WHERE "Away team score" = '32.16 (208)' | 6,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: Which Original air date has a Season # smaller than 21, and a Title of 'palimpsest'? ### Input: CREATE TABLE table_76219 (
"Series #" real,
"Season #" real,
"Title" text,
"Directed by" text,
"Original air date" text
) ### Response: SELECT "Original air date" FROM table_76219 WHERE "Season #" < '21' AND "Title" = 'palimpsest' | 7,136 |
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 for a match where Sophie Gustafson played? ### Input: CREATE TABLE table_36069 (
"Place" text,
"Player" text,
"Nation" text,
"Score" text,
"To par" text,
"Money ( $ )" real
) ### Response: SELECT "Score" FROM table_36069 WHERE "Player" = 'sophie gustafson' | 6,520 |
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 laps that Vittorio Iannuzzo completed? ### Input: CREATE TABLE table_47537 (
"Rider" text,
"Bike" text,
"Laps" real,
"Time" text,
"Grid" real
) ### Response: SELECT MIN("Laps") FROM table_47537 WHERE "Rider" = 'vittorio iannuzzo' | 12,378 |
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 artist earned the least number of points ? ### Input: CREATE TABLE table_204_915 (
id number,
"draw" number,
"artist" text,
"song" text,
"points" number,
"place" text
) ### Response: SELECT "artist" FROM table_204_915 ORDER BY "points" LIMIT 1 | 10,255 |
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 when chief justice Mark Cady was appointed/elected? ### Input: CREATE TABLE table_11788 (
"Name" text,
"Appointed/Elected" text,
"Term expires" text,
"Appointing Governor" text,
"Governor's Party Affiliation" text
) ### Response: SELECT "Appointed/Elected" FROM table_11788 WHERE "Name" = 'chief justice mark cady' | 9,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 Akron's highest Pct in 100 years? ### Input: CREATE TABLE table_10675 (
"Team" text,
"Lost" real,
"Tied" real,
"Pct." real,
"Years" real,
"Total Games" real,
"Conference" text
) ### Response: SELECT COUNT("Pct.") FROM table_10675 WHERE "Years" > '100' AND "Team" = 'akron' | 18,462 |
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 Catalog, when the Region is UK, and when Label is Razor Records? ### Input: CREATE TABLE table_42770 (
"Region" text,
"Date" real,
"Label" text,
"Format" text,
"Catalog" text
) ### Response: SELECT "Catalog" FROM table_42770 WHERE "Region" = 'uk' AND "Label" = 'razor records' | 1,994 |
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 home team that played an away team who scored 13.11 (89)? ### Input: CREATE TABLE table_54553 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) ### Response: SELECT "Home team" FROM table_54553 WHERE "Away team score" = '13.11 (89)' | 2,590 |
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 voted for the top 4 parties ? ### Input: CREATE TABLE table_203_354 (
id number,
"party" text,
"candidate(s)" text,
"votes" number,
"percentage" number
) ### Response: SELECT SUM("votes") FROM table_203_354 WHERE id <= 4 | 103 |
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 did ARchie Roberts die? ### Input: CREATE TABLE table_20878 (
"Player" text,
"VFL Games" real,
"VFL Club(s)" text,
"Rank held at time of death" text,
"Date of death" text,
"Location" text
) ### Response: SELECT "Date of death" FROM table_20878 WHERE "Player" = 'Archie Roberts' | 19,096 |
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 transfer fee for the player who had an App(L/C/E) of 0 (0/0/0) and notes of to anagennisi karditsa? ### Input: CREATE TABLE table_name_61 (
transfer_fee VARCHAR,
app_l_c_e_ VARCHAR,
notes VARCHAR
) ### Response: SELECT transfer_fee FROM table_name_61 WHERE app_l_c_e_ = "0 (0/0/0)" AND notes = "to anagennisi karditsa" | 11,215 |
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 number of million viewers that watched an episode before episode 11 with a share of 4? ### Input: CREATE TABLE table_name_28 (
viewers__millions_ INTEGER,
episode__number VARCHAR,
share VARCHAR
) ### Response: SELECT AVG(viewers__millions_) FROM table_name_28 WHERE episode__number < 11 AND share = "4" | 1,349 |
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 viewers in millions for episode number 38? ### Input: CREATE TABLE table_28257 (
"No." real,
"#" real,
"Title" text,
"Director" text,
"Writer(s)" text,
"Original air date" text,
"Prod. code" real,
"U.S. viewers (million)" text
) ### Response: SELECT "U.S. viewers (million)" FROM table_28257 WHERE "No." = '38' | 400 |
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 Official # that has a French title of 'Pierre de Lune'? ### Input: CREATE TABLE table_43550 (
"Official #" real,
"TF1 #" real,
"French title" text,
"English title" text,
"Air date (France)" text,
"Original Beechwood Bunny Tale / Source material" text
) ### Response: SELECT "Official #" FROM table_43550 WHERE "French title" = 'pierre de lune' | 1,098 |
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 record of game 67? ### Input: CREATE TABLE table_49348 (
"Game" real,
"March" real,
"Opponent" text,
"Score" text,
"Record" text
) ### Response: SELECT "Record" FROM table_49348 WHERE "Game" = '67' | 5,761 |
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 number of times they qualified for the playoffs . ### Input: CREATE TABLE table_204_676 (
id number,
"year" number,
"division" number,
"league" text,
"regular season" text,
"playoffs" text,
"open cup" text
) ### Response: SELECT COUNT(*) FROM table_204_676 WHERE "playoffs" <> 'did not qualify' | 15,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: Who was Andrew and Georgies guest when Jamie and Johns guest was Jessica Ennis? ### Input: CREATE TABLE table_29141354_2 (
andrew_and_georgies_guest VARCHAR,
jamie_and_johns_guest VARCHAR
) ### Response: SELECT andrew_and_georgies_guest FROM table_29141354_2 WHERE jamie_and_johns_guest = "Jessica Ennis" | 13,818 |
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 least losses of Warrnambool with more than 6 wins and less than 630 against? ### Input: CREATE TABLE table_name_18 (
losses INTEGER,
wins VARCHAR,
against VARCHAR,
club VARCHAR
) ### Response: SELECT MIN(losses) FROM table_name_18 WHERE against < 630 AND club = "warrnambool" AND wins > 6 | 15,570 |
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 opponent where the date was the 21st? ### Input: CREATE TABLE table_21361 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" text,
"Competition" text,
"Man of the Match" text
) ### Response: SELECT "Opponent" FROM table_21361 WHERE "Date" = '21st' | 2,179 |
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 pick number did the linebacker from the denver broncos get? ### Input: CREATE TABLE table_65461 (
"Pick" real,
"Team" text,
"Player" text,
"Position" text,
"College" text
) ### Response: SELECT "Pick" FROM table_65461 WHERE "Position" = 'linebacker' AND "Team" = 'denver broncos' | 19,358 |
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 MENS DOUBLES PLAYER WHEN THE WOMENS DOUBLES PLAYER IS HELEN REINO KAI-RIIN SALUSTE? ### Input: CREATE TABLE table_14903627_1 (
mens_doubles VARCHAR,
womens_doubles VARCHAR
) ### Response: SELECT mens_doubles FROM table_14903627_1 WHERE womens_doubles = "Helen Reino Kai-Riin Saluste" | 4,484 |
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 losses Jackson, T., who had more than 27 gain, an avg/g smaller than 55.9, and a long less than 34, had? ### Input: CREATE TABLE table_name_41 (
loss VARCHAR,
long VARCHAR,
name VARCHAR,
gain VARCHAR,
avg_g VARCHAR
) ### Response: SELECT COUNT(loss) FROM table_name_41 WHERE gain > 27 AND avg_g < 55.9 AND name = "jackson, t." AND long < 34 | 7,451 |
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 acts of 6 bands and year larger than 1981 for monsters of rock ### Input: CREATE TABLE table_name_4 (
date VARCHAR,
event VARCHAR,
acts VARCHAR,
year VARCHAR
) ### Response: SELECT date FROM table_name_4 WHERE acts = "6 bands" AND year > 1981 AND event = "monsters of rock" | 336 |
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 malayalam name for leo ### Input: CREATE TABLE table_23671 (
"Malayalam name" text,
"Transliteration" text,
"Concurrent Gregorian months" text,
"Sanskrit word and meaning" text,
"Zodiac sign" text
) ### Response: SELECT "Malayalam name" FROM table_23671 WHERE "Zodiac sign" = 'Leo' | 2,773 |
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 champion has north melbourne as the runner-up? ### Input: CREATE TABLE table_12647 (
"Year" real,
"Champion" text,
"Runner-Up" text,
"Score" text,
"Venue" text
) ### Response: SELECT "Champion" FROM table_12647 WHERE "Runner-Up" = 'north melbourne' | 12,496 |
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 0-1 is the series who has the highest amount of assists? ### Input: CREATE TABLE table_73461 (
"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_73461 WHERE "Series" = '0-1' | 2,366 |
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 Tamil months when the season in English is monsoon? ### Input: CREATE TABLE table_21668 (
"Season in Tamil" text,
"English Transliteration" text,
"English Translation" text,
"Season in Sanskrit" text,
"Season in English" text,
"Tamil Months" text,
"Gregorian Months" text
) ### Response: SELECT "Tamil Months" FROM table_21668 WHERE "Season in English" = 'Monsoon' | 5,820 |
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 team for 19th position ### Input: CREATE TABLE table_3823 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Replaced by" text,
"Date of appointment" text,
"Position in table" text
) ### Response: SELECT COUNT("Team") FROM table_3823 WHERE "Position in table" = '19th' | 6,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: Name the total apps for league apps being 4 ### Input: CREATE TABLE table_3698 (
"Position" text,
"Nationality" text,
"Name" text,
"League apps" real,
"League goals" real,
"FA Cup apps" real,
"FA Cup goals" real,
"Total apps" real,
"Total goals" real
) ### Response: SELECT "Total apps" FROM table_3698 WHERE "League apps" = '4' | 5,909 |
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 callsign of the 5kW Sonshine Radio Cotabato? ### Input: CREATE TABLE table_67473 (
"Branding" text,
"Callsign" text,
"Frequency" text,
"Power (kW)" text,
"Location" text
) ### Response: SELECT "Callsign" FROM table_67473 WHERE "Power (kW)" = '5kw' AND "Branding" = 'sonshine radio cotabato' | 1,440 |
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 general classification of stage 15 ### Input: CREATE TABLE table_17566 (
"Stage" text,
"Winner" text,
"General classification" text,
"Points classification" text,
"Mountains classification" text,
"Young rider classification" text,
"Trofeo Fast Team" text
) ### Response: SELECT COUNT("General classification") FROM table_17566 WHERE "Stage" = '15' | 11,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: Record of 16 29 is how many attendance? ### Input: CREATE TABLE table_35974 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
) ### Response: SELECT "Attendance" FROM table_35974 WHERE "Record" = '16–29' | 16,365 |
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 total number of clubs in division 1 in the 2010 northern football league season ? ### Input: CREATE TABLE table_204_959 (
id number,
"club" text,
"founded" number,
"nickname" text,
"location" text,
"home ground" text,
"entered competition" number,
"most recent promotion" number
) ### Response: SELECT COUNT("club") FROM table_204_959 | 6,932 |
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 opponent to play in the louisiana superdome ? ### Input: CREATE TABLE table_203_720 (
id number,
"date" text,
"opponent#" text,
"rank#" text,
"site" text,
"result" text
) ### Response: SELECT "opponent#" FROM table_203_720 WHERE "site" = 'louisiana superdome • new orleans' | 13,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: What's the total power of the unit whose construction finished on 14.06.1963? ### Input: CREATE TABLE table_12983929_1 (
total_power VARCHAR,
construction_finish VARCHAR
) ### Response: SELECT total_power FROM table_12983929_1 WHERE construction_finish = "14.06.1963" | 20,554 |
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 AWAY TEAM WITH HOME OF LEICESTER CITY? ### Input: CREATE TABLE table_43809 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Attendance" text
) ### Response: SELECT "Away team" FROM table_43809 WHERE "Home team" = 'leicester city' | 19,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: Which round did the bout against Jonatas Novaes end in? ### Input: CREATE TABLE table_68411 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Round" real,
"Time" text,
"Location" text
) ### Response: SELECT "Round" FROM table_68411 WHERE "Opponent" = 'jonatas novaes' | 657 |
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 municipalities located in the county of Finnmark have populations bigger than 6187.0? ### Input: CREATE TABLE table_72714 (
"City/town" text,
"Municipality" text,
"County" text,
"City/town status" real,
"Population" real
) ### Response: SELECT "Municipality" FROM table_72714 WHERE "County" = 'Finnmark' AND "Population" > '6187.0' | 2,061 |
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 1st Member, when 1st Party is 'Constituency Abolished'? ### Input: CREATE TABLE table_12823 (
"Election" text,
"1st Member" text,
"1st Party" text,
"2nd Member" text,
"2nd Party" text
) ### Response: SELECT "1st Member" FROM table_12823 WHERE "1st Party" = 'constituency abolished' | 13,560 |
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 numbers of attendance are there during the game in October 27? ### Input: CREATE TABLE table_22057 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Record" text,
"Attendance" real
) ### Response: SELECT COUNT("Attendance") FROM table_22057 WHERE "Date" = 'October 27' | 705 |
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 Date has an Away team score of 16.13 (109)? ### Input: CREATE TABLE table_51888 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) ### Response: SELECT "Date" FROM table_51888 WHERE "Away team score" = '16.13 (109)' | 14,711 |
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 title of the episode that aired on december 12, 1953? ### Input: CREATE TABLE table_20318 (
"Series #" real,
"Season #" real,
"Title" text,
"Directed by:" text,
"Written by:" text,
"Original air date" text
) ### Response: SELECT "Title" FROM table_20318 WHERE "Original air date" = 'December 12, 1953' | 13,872 |
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: GT Force of no, and a Driving Force Pro of no, and a G27 Racing Wheel of no has what driving force gt? ### Input: CREATE TABLE table_name_2 (
driving_force_gt VARCHAR,
g27_racing_wheel VARCHAR,
gt_force VARCHAR,
driving_force_pro VARCHAR
) ### Response: SELECT driving_force_gt FROM table_name_2 WHERE gt_force = "no" AND driving_force_pro = "no" AND g27_racing_wheel = "no" | 7,644 |
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 the game was at the Rose Garden? ### Input: CREATE TABLE table_47037 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Record" text
) ### Response: SELECT "Record" FROM table_47037 WHERE "Location" = 'rose garden' | 3,733 |
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 value for Tackles, when the value for Solo is greater than 67, when the value for Sacks is less than 2, and when the value for INT YDS is greater than 1? ### Input: CREATE TABLE table_name_75 (
tackles VARCHAR,
int_yds VARCHAR,
solo VARCHAR,
sacks VARCHAR
) ### Response: SELECT tackles FROM table_name_75 WHERE solo > 67 AND sacks < 2 AND int_yds > 1 | 2,953 |
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 only airline that has filed for bankruptcy as a comment ? ### Input: CREATE TABLE table_204_215 (
id number,
"airline" text,
"destination(s)" text,
"aircraft scheduled" text,
"service date(s)" text,
"comments" text
) ### Response: SELECT "airline" FROM table_204_215 WHERE "comments" = 'filed for bankruptcy' | 3,323 |
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: In Silver Bow County, Montana, when the capicity is more than 45 tons, what's the highest rank found? ### Input: CREATE TABLE table_name_21 (
rank INTEGER,
county_and_state VARCHAR,
capacity__thousands_of_metric_tons_ VARCHAR
) ### Response: SELECT MAX(rank) FROM table_name_21 WHERE county_and_state = "silver bow county, montana" AND capacity__thousands_of_metric_tons_ > 45 | 23,278 |
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 times did daniels host saturday night live ? ### Input: CREATE TABLE table_201_42 (
id number,
"year" text,
"title" text,
"role" text,
"notes" text
) ### Response: SELECT COUNT(*) FROM table_201_42 WHERE "title" = 'saturday night live' AND "role" = 'host' | 23,103 |
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 Rank, when the Current Seating Capacity is 137,000? ### Input: CREATE TABLE table_name_55 (
rank INTEGER,
current_seating_capacity VARCHAR
) ### Response: SELECT MIN(rank) FROM table_name_55 WHERE current_seating_capacity = 137 OFFSET 000 | 12,073 |
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 did Jim Bennett attend? ### Input: CREATE TABLE table_29213 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
) ### Response: SELECT "College" FROM table_29213 WHERE "Player" = 'Jim Bennett' | 19,546 |
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 the appearances at the league cup for the defender who had less than 10 appearances at the UEFA cup? ### Input: CREATE TABLE table_name_29 (
league_cup INTEGER,
position VARCHAR,
UEfa_cup VARCHAR
) ### Response: SELECT SUM(league_cup) FROM table_name_29 WHERE position = "defender" AND UEfa_cup < 10 | 3,125 |
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 Barreto's song choice when the theme was samba? ### Input: CREATE TABLE table_29652 (
"Week #" text,
"Theme" text,
"Song Choice" text,
"Original Artist" text,
"Order #" text,
"Result" text
) ### Response: SELECT "Song Choice" FROM table_29652 WHERE "Theme" = 'Samba' | 3,670 |
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 Number has a Name of cooper, c. kenneth, and a Year End larger than 1984? ### Input: CREATE TABLE table_name_90 (
number INTEGER,
name VARCHAR,
year_end VARCHAR
) ### Response: SELECT AVG(number) FROM table_name_90 WHERE name = "cooper, c. kenneth" AND year_end > 1984 | 20,715 |
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 Set 3 has a Set 1 of 25 20? ### Input: CREATE TABLE table_71103 (
"Date" text,
"Time" text,
"Score" text,
"Set 1" text,
"Set 2" text,
"Set 3" text,
"Total" text,
"Report" text
) ### Response: SELECT "Set 3" FROM table_71103 WHERE "Set 1" = '25–20' | 8,524 |
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 air date for the episode directed by lev l. spiro, with a Production code of 07-00-109? ### Input: CREATE TABLE table_name_35 (
original_air_date VARCHAR,
directed_by VARCHAR,
production_code VARCHAR
) ### Response: SELECT original_air_date FROM table_name_35 WHERE directed_by = "lev l. spiro" AND production_code = "07-00-109" | 6,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 places have yamaha as the machine, and 89.85mph as the speed? ### Input: CREATE TABLE table_name_30 (
place INTEGER,
machine VARCHAR,
speed VARCHAR
) ### Response: SELECT SUM(place) FROM table_name_30 WHERE machine = "yamaha" AND speed = "89.85mph" | 4,615 |
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 district first elected a Democratic incumbent in 1998? ### Input: CREATE TABLE table_72954 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Results" text,
"Candidates" text
) ### Response: SELECT "District" FROM table_72954 WHERE "Party" = 'Democratic' AND "First elected" = '1998' | 12,149 |
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 final place for july 25, 2009 ### Input: CREATE TABLE table_2954 (
"Competition" text,
"Final position" text,
"First match" text,
"Last match" text,
"Final Place" text
) ### Response: SELECT "Final Place" FROM table_2954 WHERE "Last match" = 'July 25, 2009' | 4,697 |
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 areas are unparished areas ? ### Input: CREATE TABLE table_204_600 (
id number,
"name" text,
"status" text,
"population" number,
"district" text,
"former local authority" text
) ### Response: SELECT COUNT("name") FROM table_204_600 WHERE "status" = 'unparished area' | 6,360 |
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 Location has a Method of decision? ### Input: CREATE TABLE table_40309 (
"Date" text,
"Result" text,
"Opponent" text,
"Location" text,
"Method" text,
"Round" real,
"Record" text
) ### Response: SELECT "Location" FROM table_40309 WHERE "Method" = 'decision' | 24,175 |
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 Modena circuit? ### Input: CREATE TABLE table_16771 (
"Race Name" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Constructor" text,
"Report" text
) ### Response: SELECT "Winning driver" FROM table_16771 WHERE "Circuit" = 'Modena' | 1,402 |
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 Munster from Munster is a fly-half? ### Input: CREATE TABLE table_78301 (
"Player" text,
"Position" text,
"Date of Birth (Age)" text,
"Caps" real,
"Club/province" text
) ### Response: SELECT "Player" FROM table_78301 WHERE "Position" = 'fly-half' AND "Club/province" = 'munster' | 20,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 is the total series numbers that is directed by Jefferson Kibbee and has a production code of 2398191? ### Input: CREATE TABLE table_name_38 (
no_in_series INTEGER,
director VARCHAR,
production_code VARCHAR
) ### Response: SELECT SUM(no_in_series) FROM table_name_38 WHERE director = "jefferson kibbee" AND production_code = "2398191" | 18,331 |