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: which country has the most fide rated players after germany ? ### Input: CREATE TABLE table_203_663 (
id number,
"country" text,
"zone" text,
"national federation" text,
"#gm" number,
"#fide" number,
"national championship" text
) ### Response: SELECT "country" FROM table_203_663 WHERE "country" <> 'germany' ORDER BY "#fide" DESC LIMIT 1 | 4,902 |
Below are sql tables 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 date for week 9 ### Input: CREATE TABLE table_20178 (
"Week" real,
"Date" text,
"Result" text,
"Record" text,
"Opponent" text,
"Points For" real,
"Points Against" real,
"First Downs" real,
"Attendance" real
) ### Response: SELECT "Date" FROM table_20178 WHERE "Week" = '9' | 13,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: What is the date amer sulaiman won? ### Input: CREATE TABLE table_77005 (
"Date" text,
"City" text,
"Event" text,
"Winner" text,
"Prize" text
) ### Response: SELECT "Date" FROM table_77005 WHERE "Winner" = 'amer sulaiman' | 10,284 |
Below are sql tables 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 the United States with a place of t1 and a 76-68=144 score? ### Input: CREATE TABLE table_50020 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
) ### Response: SELECT "To par" FROM table_50020 WHERE "Country" = 'united states' AND "Place" = 't1' AND "Score" = '76-68=144' | 4,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: When 2012 (85th) is the year (ceremony) how many results? ### Input: CREATE TABLE table_26555737_1 (
result VARCHAR,
year__ceremony_ VARCHAR
) ### Response: SELECT COUNT(result) FROM table_26555737_1 WHERE year__ceremony_ = "2012 (85th)" | 24,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: how many different people scored in the 1997 game ? ### Input: CREATE TABLE table_204_770 (
id number,
"season" number,
"date" text,
"jia-a/csl winner" text,
"result" text,
"fa cup winner" text,
"scorers" text,
"stadium" text
) ### Response: SELECT "scorers" FROM table_204_770 WHERE "season" = 1997 | 20,275 |
Below are sql tables 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 score for December of 30? ### Input: CREATE TABLE table_36128 (
"Game" real,
"December" real,
"Opponent" text,
"Score" text,
"Record" text,
"Points" real
) ### Response: SELECT "Score" FROM table_36128 WHERE "December" = '30' | 1,006 |
Below are sql tables 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 listed as the average Date that has U-boats destroyed (KuK) of 2 with Tonnage of 1,514,050? ### Input: CREATE TABLE table_name_13 (
date INTEGER,
u_boats_destroyed__kuk_ VARCHAR,
tonnage VARCHAR
) ### Response: SELECT AVG(date) FROM table_name_13 WHERE u_boats_destroyed__kuk_ = "2" AND tonnage = "1,514,050" | 201 |
Below are sql tables 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 highest mountain? ### Input: CREATE TABLE climber (
climber_id number,
name text,
country text,
time text,
points number,
mountain_id number
)
CREATE TABLE mountain (
mountain_id number,
name text,
height number,
prominence number,
range text,
country text
) ### Response: SELECT name FROM mountain ORDER BY height DESC LIMIT 1 | 24,539 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: patients with limited care ( infectious patients requiring special isolation ) . ### Input: CREATE TABLE table_train_15 (
"id" int,
"granulocyte_deficiency" bool,
"immune_suppression" bool,
"hiv_infection" bool,
"immune_deficiency_disorder" bool,
"tumor" bool,
"limited_care" bool,
"NOUSE" float
) ### Response: SELECT * FROM table_train_15 WHERE limited_care = 1 | 14,298 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What's the largest number of abandoned games by any of the teams? ### Input: CREATE TABLE table_27606 (
"Team" text,
"Played" real,
"Won" real,
"Lost" real,
"No-Result" real,
"Abandoned" real,
"Bonus Points" real,
"Total Points" real,
"Net Run Rate" text
) ### Response: SELECT MAX("Abandoned") FROM table_27606 | 14,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: What is the cost of 972 Min Press caused 52 death? ### Input: CREATE TABLE table_name_36 (
damage__millions_usd__ VARCHAR,
min_press___mbar__ VARCHAR,
deaths VARCHAR
) ### Response: SELECT damage__millions_usd__ FROM table_name_36 WHERE min_press___mbar__ = "972" AND deaths = "52" | 4,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: What college did jerry hackenbruck come from who had an overall pick less than 344? ### Input: CREATE TABLE table_47858 (
"Round" real,
"Pick" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
) ### Response: SELECT "College" FROM table_47858 WHERE "Overall" < '344' AND "Name" = 'jerry hackenbruck' | 2,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: Who is the player that plays position c on the New York Knicks? ### Input: CREATE TABLE table_56326 (
"Round" text,
"Pick" text,
"Player" text,
"Position" text,
"Nationality" text,
"Team" text,
"College" text
) ### Response: SELECT "Player" FROM table_56326 WHERE "Team" = 'new york knicks' AND "Position" = 'c' | 24,311 |
Below are sql tables 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 are not driving a chevrolet silverado ? ### Input: CREATE TABLE table_204_89 (
id number,
"team" text,
"truck(s)" text,
"#" number,
"driver(s)" text,
"primary sponsor(s)" text,
"listed owner(s)" text,
"crew chief" text
) ### Response: SELECT COUNT("driver(s)") FROM table_204_89 WHERE "truck(s)" <> 'chevrolet silverado' | 514 |
Below are sql tables 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 languages for tsotsi? ### Input: CREATE TABLE table_864 (
"Year (Ceremony)" text,
"Film title" text,
"Language(s)" text,
"Director" text,
"Result" text
) ### Response: SELECT "Language(s)" FROM table_864 WHERE "Film title" = 'Tsotsi' | 23,350 |
Below are sql tables 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 amount of Byes when there are more than 2 wins and 1946 against? ### Input: CREATE TABLE table_62961 (
"Hampden FL" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
) ### Response: SELECT MIN("Byes") FROM table_62961 WHERE "Against" = '1946' AND "Wins" > '2' | 4,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 % of All, when Dennis Kucinich is '5%'? ### Input: CREATE TABLE table_59430 (
"Classification" text,
"% of all" text,
"John Kerry" text,
"John Edwards" text,
"Dennis Kucinich" text
) ### Response: SELECT "% of all" FROM table_59430 WHERE "Dennis Kucinich" = '5%' | 9,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 the earliest game with a score of 99-89? ### Input: CREATE TABLE table_76884 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Record" text
) ### Response: SELECT MIN("Game") FROM table_76884 WHERE "Score" = '99-89' | 84 |
Below are sql tables 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 is the rank less than 6, certification 2x platinum and the peak position 2? ### Input: CREATE TABLE table_name_49 (
sales VARCHAR,
peak_position VARCHAR,
rank VARCHAR,
certification VARCHAR
) ### Response: SELECT COUNT(sales) FROM table_name_49 WHERE rank < 6 AND certification = "2x platinum" AND peak_position = "2" | 13,851 |
Below are sql tables 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 (night) for having viewers (millions) 5.25? ### Input: CREATE TABLE table_11253290_2 (
rank__night_ INTEGER,
viewers__millions_ VARCHAR
) ### Response: SELECT MIN(rank__night_) FROM table_11253290_2 WHERE viewers__millions_ = "5.25" | 2,701 |
Below are sql tables 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 episode with 418 as the production code? ### Input: CREATE TABLE table_3990 (
"No. in series" text,
"No. in season" text,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real
) ### Response: SELECT "Title" FROM table_3990 WHERE "Production code" = '418' | 5,394 |
Below are sql tables 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 bronze when the total is less than 1? ### Input: CREATE TABLE table_77962 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) ### Response: SELECT SUM("Bronze") FROM table_77962 WHERE "Total" < '1' | 17,296 |
Below are sql tables 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 number of wickets were there when the average was 22.66? ### Input: CREATE TABLE table_20894 (
"Player" text,
"Team" text,
"Matches" real,
"Wickets" real,
"Average" text,
"Best Bowling" text
) ### Response: SELECT MAX("Wickets") FROM table_20894 WHERE "Average" = '22.66' | 2,387 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Bar chart x axis name y axis age ### Input: CREATE TABLE artist (
Artist_ID int,
Name text,
Country text,
Year_Join int,
Age int
)
CREATE TABLE exhibition (
Exhibition_ID int,
Year int,
Theme text,
Artist_ID int,
Ticket_Price real
)
CREATE TABLE exhibition_record (
Exhibition_ID int,
Date text,
Attendance int
) ### Response: SELECT Name, Age FROM artist | 8,800 |
Below are sql tables 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 competition that had a final score of 6:5? ### Input: CREATE TABLE table_70844 (
"Year" real,
"Competition" text,
"Town" text,
"Opponent" text,
"Final score" text
) ### Response: SELECT "Competition" FROM table_70844 WHERE "Final score" = '6:5' | 3,613 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the score of the game with the Broadview Hawks as the home team? ### Input: CREATE TABLE table_43140 (
"Date" text,
"Time" text,
"Home" text,
"Away" text,
"Score" text,
"Ground" text
) ### Response: SELECT "Score" FROM table_43140 WHERE "Home" = 'broadview hawks' | 12,423 |
Below are sql tables 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 much money does the player with a score of 74-71-76-76=297 have? ### Input: CREATE TABLE table_13193 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" real,
"Money ( $ )" text
) ### Response: SELECT "Money ( $ )" FROM table_13193 WHERE "Score" = '74-71-76-76=297' | 6,921 |
Below are sql tables 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 hardware model name and company name for the phone whose screen mode type is 'Graphics. ### Input: CREATE TABLE screen_mode (
Graphics_mode VARCHAR,
Type VARCHAR
)
CREATE TABLE phone (
Hardware_Model_name VARCHAR,
Company_name VARCHAR,
screen_mode VARCHAR
) ### Response: SELECT T2.Hardware_Model_name, T2.Company_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T1.Type = "Graphics" | 7,886 |
Below are sql tables 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 rank when the game was at dnipro stadium , kremenchuk? ### Input: CREATE TABLE table_71351 (
"Rank" real,
"Round" text,
"Home team" text,
"Away team" text,
"Result" text,
"Location" text,
"Attendance" real
) ### Response: SELECT "Rank" FROM table_71351 WHERE "Location" = 'dnipro stadium , kremenchuk' | 10,791 |
Below are sql tables 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 competition that ended with a score of 2-1? ### Input: CREATE TABLE table_56365 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
) ### Response: SELECT "Competition" FROM table_56365 WHERE "Score" = '2-1' | 14,801 |
Below are sql tables 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 air date of the episod that had 456.58 thousand viewers? ### Input: CREATE TABLE table_23114705_7 (
original_air_date VARCHAR,
nz_viewers__thousand_ VARCHAR
) ### Response: SELECT original_air_date FROM table_23114705_7 WHERE nz_viewers__thousand_ = "456.58" | 662 |
Below are sql tables 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 is the co-singer suresh wadkar and the film name is tera dukh mera dukh? ### Input: CREATE TABLE table_11827596_2 (
lyricist VARCHAR,
co_singer VARCHAR,
film_name VARCHAR
) ### Response: SELECT COUNT(lyricist) FROM table_11827596_2 WHERE co_singer = "Suresh Wadkar" AND film_name = "Tera Dukh Mera Dukh" | 6,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 tallest building in columbus ? ### Input: CREATE TABLE table_203_837 (
id number,
"rank" number,
"name" text,
"height\nft / m" text,
"floors" number,
"year" number,
"notes" text
) ### Response: SELECT "name" FROM table_203_837 ORDER BY "height\nft / m" DESC LIMIT 1 | 2,004 |
Below are sql tables 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 largest draw with 37 games from England? ### Input: CREATE TABLE table_67689 (
"Nationality" text,
"Cambridge United career" text,
"Games" real,
"Drawn" real,
"Lost" real,
"% won" text,
"Pts/game" text
) ### Response: SELECT MAX("Drawn") FROM table_67689 WHERE "Nationality" = 'england' AND "Games" = '37' | 20,584 |
Below are sql tables 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 average 2008 for beijing and 2005 more than 2 ### Input: CREATE TABLE table_56914 (
"Year" text,
"2010" real,
"2009" real,
"2008" real,
"2005" real,
"2000" real
) ### Response: SELECT AVG("2008") FROM table_56914 WHERE "Year" = 'beijing' AND "2005" > '2' | 14,569 |
Below are sql tables 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 airliner attack on the list had the most dead ? ### Input: CREATE TABLE table_204_514 (
id number,
"date" text,
"sub" number,
"flight" text,
"dead" number,
"hurt" number,
"pax." number,
"type" text,
"perpetrator" text,
"description" text
) ### Response: SELECT "flight" FROM table_204_514 ORDER BY "dead" DESC LIMIT 1 | 6,311 |
Below are sql tables 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 Bronze has a Silver of 2, and a Total smaller than 5? ### Input: CREATE TABLE table_55972 (
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) ### Response: SELECT AVG("Bronze") FROM table_55972 WHERE "Silver" = '2' AND "Total" < '5' | 23,157 |
Below are sql tables 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 NTFA Div 1 team that has 15 wins and less than 1 draw? ### Input: CREATE TABLE table_name_30 (
ntfa_div_1 VARCHAR,
draws VARCHAR,
wins VARCHAR
) ### Response: SELECT ntfa_div_1 FROM table_name_30 WHERE draws < 1 AND wins = 15 | 8,100 |
Below are sql tables 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 partially deleted result for a deleted of m in Valley? ### Input: CREATE TABLE table_42323 (
"CERCLIS ID" text,
"Name" text,
"County" text,
"Proposed" text,
"Listed" text,
"Construction completed" text,
"Partially deleted" text,
"Deleted" text
) ### Response: SELECT "Partially deleted" FROM table_42323 WHERE "Deleted" = '–' AND "County" = 'valley' | 13,324 |
Below are sql tables 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 original air date(s) for episodes with production code ipea345a? ### Input: CREATE TABLE table_2501754_2 (
original_airdate VARCHAR,
prod_code VARCHAR
) ### Response: SELECT original_airdate FROM table_2501754_2 WHERE prod_code = "IPEA345A" | 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: Which event had the opponent of shinya aoki and was at 4:56? ### Input: CREATE TABLE table_38547 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text,
"Time" text,
"Location" text
) ### Response: SELECT "Event" FROM table_38547 WHERE "Opponent" = 'shinya aoki' AND "Time" = '4:56' | 5,306 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: When interjection is the subject who are the lyrics by? ### Input: CREATE TABLE table_73083 (
"Episode title" text,
"Subject" text,
"Music by" text,
"Lyrics by" text,
"Performed by" text,
"First aired" text
) ### Response: SELECT "Lyrics by" FROM table_73083 WHERE "Subject" = 'interjection' | 11,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: Which game site hosted a match on April 10, 2004? ### Input: CREATE TABLE table_44555 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game site" text
) ### Response: SELECT "Game site" FROM table_44555 WHERE "Date" = 'april 10, 2004' | 3,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: What is the Date of the match with a Score of 0 6, 2 6 with Partner Marcella Mesker? ### Input: CREATE TABLE table_name_57 (
date VARCHAR,
partner VARCHAR,
score VARCHAR
) ### Response: SELECT date FROM table_name_57 WHERE partner = "marcella mesker" AND score = "0–6, 2–6" | 4,401 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Country has a Top Team of jam, and an Edition of 31st? ### Input: CREATE TABLE table_65795 (
"Edition" text,
"Year" text,
"City" text,
"Country" text,
"Date" text,
"No. of Events" real,
"Top Team" text
) ### Response: SELECT "Country" FROM table_65795 WHERE "Top Team" = 'jam' AND "Edition" = '31st' | 9,676 |
Below are sql tables 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 number of films govinda appeared in during his debut year . ### Input: CREATE TABLE table_204_723 (
id number,
"year" number,
"film" text,
"role" text,
"notes" text
) ### Response: SELECT COUNT("film") FROM table_204_723 WHERE "year" = (SELECT MIN("year") FROM table_204_723) | 8,079 |
Below are sql tables 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 shown on Tuesday when Wednesday is Fox Sports Tonight (ends 1 am next day)? ### Input: CREATE TABLE table_63882 (
"Monday" text,
"Tuesday" text,
"Wednesday" text,
"Thursday" text,
"Friday" text
) ### Response: SELECT "Tuesday" FROM table_63882 WHERE "Wednesday" = 'fox sports tonight (ends 1 am next day)' | 4,997 |
Below are sql tables 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 song is a genre of glam ### Input: CREATE TABLE table_5259 (
"Song title" text,
"Artist" text,
"Language" text,
"Decade" text,
"Genre" text,
"Exportable" text,
"Family Friendly" text
) ### Response: SELECT "Song title" FROM table_5259 WHERE "Genre" = 'glam' | 21,332 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Can you tell me the Record that has the Home of ny islanders? ### Input: CREATE TABLE table_36570 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
) ### Response: SELECT "Record" FROM table_36570 WHERE "Home" = 'ny islanders' | 16,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: What is the to par of the player from the United States with a t1 place? ### Input: CREATE TABLE table_60502 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( \u00a3 )" text
) ### Response: SELECT "To par" FROM table_60502 WHERE "Country" = 'united states' AND "Place" = 't1' | 15,806 |
Below are sql tables 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 game site with the highest number of attendance . ### Input: CREATE TABLE table_204_443 (
id number,
"week" number,
"date" text,
"opponent" text,
"result" text,
"game site" text,
"attendance" number,
"bye" text
) ### Response: SELECT "game site" FROM table_204_443 ORDER BY "attendance" DESC LIMIT 1 | 14,489 |
Below are sql tables 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 birth of Oliver Buell's child? ### Input: CREATE TABLE table_59104 (
"Child" text,
"Date of birth" text,
"Mother" text,
"Father" text,
"DNA testing status" text
) ### Response: SELECT "Date of birth" FROM table_59104 WHERE "Child" = 'oliver buell' | 4,097 |
Below are sql tables 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 for viewers being 1.87 ### Input: CREATE TABLE table_22903 (
"No." real,
"#" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text,
"U.S. viewers (million)" text
) ### Response: SELECT MAX("#") FROM table_22903 WHERE "U.S. viewers (million)" = '1.87' | 6,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: Which driver won when o.m. was the winning constructor ? ### Input: CREATE TABLE table_68065 (
"Name" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Winning constructor" text,
"Report" text
) ### Response: SELECT "Winning driver" FROM table_68065 WHERE "Winning constructor" = 'o.m.' | 3,439 |
Below are sql tables 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 persons got the third position whan sanyo electric tokushima got the fourth position? ### Input: CREATE TABLE table_24514 (
"Regional" text,
"Champions" text,
"Runners-up" text,
"Third place" text,
"Fourth place" text
) ### Response: SELECT COUNT("Third place") FROM table_24514 WHERE "Fourth place" = 'Sanyo Electric Tokushima' | 1,566 |
Below are sql tables 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 every team with a record of 9-7? ### Input: CREATE TABLE table_30066 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) ### Response: SELECT "Team" FROM table_30066 WHERE "Record" = '9-7' | 18,548 |
Below are sql tables 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 Touchdowns have Extra points larger than 0, and Points of 48? ### Input: CREATE TABLE table_37812 (
"Player" text,
"Touchdowns" real,
"Extra points" real,
"Field goals" real,
"Points" real
) ### Response: SELECT COUNT("Touchdowns") FROM table_37812 WHERE "Extra points" > '0' AND "Points" = '48' | 78 |
Below are sql tables 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 how many years was the encyclopedia printed ? ### Input: CREATE TABLE table_204_843 (
id number,
"volume" number,
"year" text,
"names" text,
"articles" number,
"pages" number,
"images" number,
"maps" number,
"number of copies" number
) ### Response: SELECT COUNT("year") FROM table_204_843 | 1,216 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the latest after when the player is Steve Stricker? ### Input: CREATE TABLE table_26586 (
"#" text,
"Player" text,
"Country" text,
"Score" text,
"To par" real,
"Winnings ($)" real,
"After" real,
"Before" real
) ### Response: SELECT MAX("After") FROM table_26586 WHERE "Player" = 'Steve Stricker' | 10,259 |
Below are sql tables 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 record of 63-76 what was the attendance? ### Input: CREATE TABLE table_11263 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
) ### Response: SELECT "Attendance" FROM table_11263 WHERE "Record" = '63-76' | 8,919 |
Below are sql tables 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 became consort for marriage of 4 april 1721 ### Input: CREATE TABLE table_69583 (
"Birth" text,
"Marriage" text,
"Became Consort" text,
"Ceased to be Consort" text,
"Death" text,
"Spouse" text
) ### Response: SELECT "Became Consort" FROM table_69583 WHERE "Marriage" = '4 april 1721' | 24,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: When richmond played away, what was the largest number of people who watched? ### Input: CREATE TABLE table_32567 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) ### Response: SELECT MAX("Crowd") FROM table_32567 WHERE "Away team" = 'richmond' | 942 |
Below are sql tables 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 Week when the opponent was the los angeles rams, with more than 37,382 in Attendance? ### Input: CREATE TABLE table_76128 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
) ### Response: SELECT MAX("Week") FROM table_76128 WHERE "Opponent" = 'los angeles rams' AND "Attendance" > '37,382' | 12,118 |
Below are sql tables 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 years were the goals less then 160? ### Input: CREATE TABLE table_40882 (
"Rank" real,
"Name" text,
"Years" text,
"Matches" real,
"Goals" real
) ### Response: SELECT "Years" FROM table_40882 WHERE "Goals" < '160' | 21,243 |
Below are sql tables 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 positioned with more than 9 played? ### Input: CREATE TABLE table_5248 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
) ### Response: SELECT MIN("Position") FROM table_5248 WHERE "Played" > '9' | 4,310 |
Below are sql tables 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 vs. Terran when the score vs. Zerg is 69? ### Input: CREATE TABLE table_71408 (
"As of September 1, 2012" text,
"vs. Protoss" text,
"vs. Terran" text,
"vs. Zerg" text,
"vs. all" text
) ### Response: SELECT "vs. Terran" FROM table_71408 WHERE "vs. Zerg" = '69' | 5,515 |
Below are sql tables 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 Richmond was the home team, what was the home team score? ### Input: CREATE TABLE table_4843 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) ### Response: SELECT "Home team score" FROM table_4843 WHERE "Home team" = 'richmond' | 8,576 |
Below are sql tables 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 score has a record of 21-25-7-4? ### Input: CREATE TABLE table_39035 (
"Game" real,
"February" real,
"Opponent" text,
"Score" text,
"Record" text
) ### Response: SELECT "Score" FROM table_39035 WHERE "Record" = '21-25-7-4' | 11,890 |
Below are sql tables 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 peak for prom being less than 147 ### Input: CREATE TABLE table_52937 (
"Peak" text,
"Height (m)" real,
"Prom. (m)" real,
"Class" text,
"Parent" text
) ### Response: SELECT "Peak" FROM table_52937 WHERE "Prom. (m)" < '147' | 16,162 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the playoffs for the usl pro select league? ### Input: CREATE TABLE table_16109 (
"Year" real,
"Division" real,
"League" text,
"Regular Season" text,
"Playoffs" text,
"Open Cup" text
) ### Response: SELECT "Playoffs" FROM table_16109 WHERE "League" = 'USL Pro Select League' | 13,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: Which young classification has general classification of Christian Vande Velde for Team Columbia and Mark Cavendish? ### Input: CREATE TABLE table_name_26 (
young_classification VARCHAR,
sprint_classification VARCHAR,
general_classification VARCHAR,
team_classification VARCHAR
) ### Response: SELECT young_classification FROM table_name_26 WHERE general_classification = "christian vande velde" AND team_classification = "team columbia" AND sprint_classification = "mark cavendish" | 5,924 |
Below are sql tables 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 date for record of 74-84 ### Input: CREATE TABLE table_80089 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Record" text
) ### Response: SELECT "Date" FROM table_80089 WHERE "Record" = '74-84' | 3,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: Which Score has a To par of +1 in sweden? ### Input: CREATE TABLE table_63612 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( \u00a3 )" text
) ### Response: SELECT "Score" FROM table_63612 WHERE "To par" = '+1' AND "Country" = 'sweden' | 20,053 |
Below are sql tables 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 Kammeon Holsey's height? ### Input: CREATE TABLE table_26530 (
"Name" text,
"Number" real,
"Pos." text,
"Height" text,
"Weight" real,
"Year" text,
"Hometown" text,
"High School" text
) ### Response: SELECT "Height" FROM table_26530 WHERE "Name" = 'Kammeon Holsey' | 15,072 |
Below are sql tables 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 5th, south western district 2 is the mens 2nd xi what is the season? ### Input: CREATE TABLE table_24480 (
"Season" text,
"Mens 1st XI" text,
"Mens 2nd XI" text,
"Mens 3rd XI" text,
"Ladies 1st XI" text
) ### Response: SELECT "Season" FROM table_24480 WHERE "Mens 2nd XI" = '5th, South Western District 2' | 1,708 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is Record, when Home is 'New York Rangers', and when Date is 'April 17'? ### Input: CREATE TABLE table_12222 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
) ### Response: SELECT "Record" FROM table_12222 WHERE "Home" = 'new york rangers' AND "Date" = 'april 17' | 6,180 |
Below are sql tables 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 number of Congress has 44 cosponsors? ### Input: CREATE TABLE table_56607 (
"Congress" text,
"Bill number" text,
"Date introduced" text,
"Sponsor" text,
"# of cosponsors" real
) ### Response: SELECT "Congress" FROM table_56607 WHERE "# of cosponsors" = '44' | 1,071 |
Below are sql tables 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 dish belongs to the network that has the official website of ksat.com? ### Input: CREATE TABLE table_35509 (
"Dish" text,
"Callsign" text,
"Network" text,
"Resolution" text,
"City of License" text,
"Official Website" text
) ### Response: SELECT "Dish" FROM table_35509 WHERE "Official Website" = 'ksat.com' | 1,871 |
Below are sql tables 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 Median family income when the Median household income is $38,137? ### Input: CREATE TABLE table_75626 (
"County" text,
"Per capita income" text,
"Median household income" text,
"Median family income" text,
"Population" real,
"Number of households" real
) ### Response: SELECT "Median family income" FROM table_75626 WHERE "Median household income" = '$38,137' | 4,299 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: which country had the highest number of medals ? ### Input: CREATE TABLE table_203_812 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
) ### Response: SELECT "nation" FROM table_203_812 ORDER BY "total" DESC LIMIT 1 | 3,042 |
Below are sql tables 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 the date of October 28, 1962, and the week greater than 4, what was the lowest attendance? ### Input: CREATE TABLE table_name_12 (
attendance INTEGER,
week VARCHAR,
date VARCHAR
) ### Response: SELECT MIN(attendance) FROM table_name_12 WHERE week > 4 AND date = "october 28, 1962" | 20,260 |
Below are sql tables 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 is bronze 2 and gold more than 3? ### Input: CREATE TABLE table_43799 (
"Event" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) ### Response: SELECT COUNT("Total") FROM table_43799 WHERE "Bronze" = '2' AND "Gold" > '3' | 9,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: how many received a gold or silver medal in cycling ? ### Input: CREATE TABLE table_203_4 (
id number,
"medal" text,
"name" text,
"sport" text,
"event" text,
"date" text
) ### Response: SELECT COUNT(DISTINCT "name") FROM table_203_4 WHERE "medal" IN ('gold', 'silver') AND "sport" = 'cycling' | 9,316 |
Below are sql tables 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 current club with position being center and no being bigger than 12.0 ### Input: CREATE TABLE table_12962773_1 (
current_club VARCHAR,
position VARCHAR,
no VARCHAR
) ### Response: SELECT current_club FROM table_12962773_1 WHERE position = "Center" AND no > 12.0 | 7,403 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Can you tell me the total number of Played that has the Position larger than 5, and the Points of 11, and the Drawn smaller than 1? ### Input: CREATE TABLE table_name_60 (
played VARCHAR,
drawn VARCHAR,
position VARCHAR,
points VARCHAR
) ### Response: SELECT COUNT(played) FROM table_name_60 WHERE position > 5 AND points = 11 AND drawn < 1 | 4,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: Which chassis used by the entrant Automobiles Gonfaronnaises Sportives scored 0 points? ### Input: CREATE TABLE table_70396 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
) ### Response: SELECT "Chassis" FROM table_70396 WHERE "Points" = '0' AND "Entrant" = 'automobiles gonfaronnaises sportives' | 1,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: What is the number of the grid for mika h kkinen and more than 45 laps? ### Input: CREATE TABLE table_51666 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) ### Response: SELECT COUNT("Grid") FROM table_51666 WHERE "Driver" = 'mika häkkinen' AND "Laps" > '45' | 7,929 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: when month were most of the songs recorded on this album ? ### Input: CREATE TABLE table_202_173 (
id number,
"track" number,
"title" text,
"translation" text,
"composer" text,
"recorded" text
) ### Response: SELECT "recorded" FROM table_202_173 GROUP BY "recorded" ORDER BY COUNT(*) DESC LIMIT 1 | 10,044 |
Below are sql tables 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 division championships did the Pittsburgh Steelers have? ### Input: CREATE TABLE table_2060 (
"Teams With Division Titles" text,
"Division Championships" real,
"Playoff Berths" real,
"AFC Titles" real,
"Super Bowl Wins" real
) ### Response: SELECT "Division Championships" FROM table_2060 WHERE "Teams With Division Titles" = 'Pittsburgh Steelers' | 10,376 |
Below are sql tables 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 Qual 2 of a Team of american spirit team johansson and a Best of 59.073? ### Input: CREATE TABLE table_65372 (
"Name" text,
"Team" text,
"Qual 1" text,
"Qual 2" text,
"Best" text
) ### Response: SELECT "Qual 2" FROM table_65372 WHERE "Team" = 'american spirit team johansson' AND "Best" = '59.073' | 14,611 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the score for the match where the opponent in the final was james cerretani todd perry? ### Input: CREATE TABLE table_33657 (
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponents in the final" text,
"Score" text
) ### Response: SELECT "Score" FROM table_33657 WHERE "Opponents in the final" = 'james cerretani todd perry' | 1,390 |
Below are sql tables 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 record has tko (strikes) as the method, and daan kooiman as the opponent? ### Input: CREATE TABLE table_name_57 (
record VARCHAR,
method VARCHAR,
opponent VARCHAR
) ### Response: SELECT record FROM table_name_57 WHERE method = "tko (strikes)" AND opponent = "daan kooiman" | 20,760 |
Below are sql tables 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 game, played on October 17 in front of 49,347 fans, had the lowest score? ### Input: CREATE TABLE table_name_93 (
game INTEGER,
date VARCHAR,
attendance VARCHAR
) ### Response: SELECT MIN(game) FROM table_name_93 WHERE date = "october 17" AND attendance > 49 OFFSET 347 | 6,307 |
Below are sql tables 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 sector is the establishment is 110313? ### Input: CREATE TABLE table_26330 (
"Sector" text,
"Establishments" real,
"Sales, receipts, or shipments ($1,000)" real,
"Annual payroll ($1,000)" real,
"Paid employees" real
) ### Response: SELECT "Sector" FROM table_26330 WHERE "Establishments" = '110313' | 9,008 |
Below are sql tables 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 college/junior/clubteams have John garrett as the player? ### Input: CREATE TABLE table_22402438_7 (
college_junior_club_team VARCHAR,
player VARCHAR
) ### Response: SELECT COUNT(college_junior_club_team) FROM table_22402438_7 WHERE player = "John Garrett" | 11,928 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What Brazil scorers have a 2-1 Score? ### Input: CREATE TABLE table_5372 (
"Date" text,
"Result" text,
"Score" text,
"Brazil scorers" text,
"Competition" text
) ### Response: SELECT "Brazil scorers" FROM table_5372 WHERE "Score" = '2-1' | 18,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 was the average week of a game with a result of l 10-7 attended by 37,500? ### Input: CREATE TABLE table_name_4 (
week INTEGER,
result VARCHAR,
attendance VARCHAR
) ### Response: SELECT AVG(week) FROM table_name_4 WHERE result = "l 10-7" AND attendance < 37 OFFSET 500 | 5,584 |
Below are sql tables 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 stamp set had only three cards in the set ? ### Input: CREATE TABLE table_203_153 (
id number,
"stamp issue date" text,
"stamp set" text,
"#cards" text,
"card set ref" text,
"qty. issued" number
) ### Response: SELECT "stamp set" FROM table_203_153 WHERE "#cards" = 'three' | 8,760 |
Below are sql tables 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 number in series with director as Phil Abraham? ### Input: CREATE TABLE table_28975 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"U.S. viewers (millions)" text
) ### Response: SELECT MAX("No. in series") FROM table_28975 WHERE "Directed by" = 'Phil Abraham' | 3,339 |