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: how many silver medals were won by italy ? ### Input: CREATE TABLE table_204_727 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
) ### Response: SELECT "silver" FROM table_204_727 WHERE "nation" = 'italy' | 2,610 |
Below are sql tables 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 height for player number 5? ### Input: CREATE TABLE table_595 (
"No" real,
"Player" text,
"Height" text,
"Position" text,
"Year born" real,
"Current Club" text
) ### Response: SELECT COUNT("Height") FROM table_595 WHERE "No" = '5' | 14,827 |
Below are sql tables 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 best finish for 206 on the money list? ### Input: CREATE TABLE table_4209 (
"Player" text,
"Starts" real,
"Cuts made" real,
"Best finish" text,
"Money list rank" text,
"Earnings ($)" real
) ### Response: SELECT "Best finish" FROM table_4209 WHERE "Money list rank" = '206' | 2,559 |
Below are sql tables 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 tracks are in the album ? ### Input: CREATE TABLE table_204_184 (
id number,
"#" number,
"title" text,
"producer(s)" text,
"featured guest(s)" text,
"length" text
) ### Response: SELECT COUNT("title") FROM table_204_184 | 4,741 |
Below are sql tables 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 story code of the story published on 2002-12? ### Input: CREATE TABLE table_4636 (
"Date" text,
"Pages" text,
"Hero" text,
"Story" text,
"Story code" text
) ### Response: SELECT "Story code" FROM table_4636 WHERE "Date" = '2002-12' | 10,550 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What city was in the 3rd venue when Mexico City was in the 2nd? ### Input: CREATE TABLE table_25024 (
"Year" real,
"1st Venue" text,
"2nd Venue" text,
"3rd Venue" text,
"4th Venue" text,
"5th Venue" text
) ### Response: SELECT "3rd Venue" FROM table_25024 WHERE "2nd Venue" = 'Mexico City' | 1,297 |
Below are sql tables 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 Results has a Seed #12 and a Year that's smaller than 1996 ### Input: CREATE TABLE table_35728 (
"Year" real,
"Record" text,
"Seed" text,
"Region" text,
"Results" text
) ### Response: SELECT "Results" FROM table_35728 WHERE "Seed" = '#12' AND "Year" < '1996' | 7,222 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the result of the game in Stuttgart, West Germany and a goal number of less than 9? ### Input: CREATE TABLE table_75643 (
"Goal" real,
"Date" text,
"Venue" text,
"Result" text,
"Competition" text
) ### Response: SELECT "Result" FROM table_75643 WHERE "Venue" = 'stuttgart, west germany' AND "Goal" < '9' | 16,941 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What date was the episode that aired at 7:30 pm ET? ### Input: CREATE TABLE table_64663 (
"Episode" text,
"Date" text,
"Time" text,
"Network" text,
"Length" text
) ### Response: SELECT "Date" FROM table_64663 WHERE "Time" = '7:30 pm et' | 3,683 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which IHSAA Class has a School of mitchell? ### Input: CREATE TABLE table_65536 (
"School" text,
"Location" text,
"Mascot" text,
"Size" real,
"IHSAA Class" text,
"County" text
) ### Response: SELECT "IHSAA Class" FROM table_65536 WHERE "School" = 'mitchell' | 20,270 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the sum of 1872(s), when 1866 is greater than 856, when 1861 is greater than 1906, and when 1876 is greater than 1990? ### Input: CREATE TABLE table_name_29 (
Id VARCHAR
) ### Response: SELECT SUM(1872) FROM table_name_29 WHERE 1866 > 856 AND 1861 > 1906 AND 1876 > 1990 | 12,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: What Opponent has an Attendance of 74,246? ### Input: CREATE TABLE table_52803 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
) ### Response: SELECT "Opponent" FROM table_52803 WHERE "Attendance" = '74,246' | 9,635 |
Below are sql tables 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 home team's score at junction oval? ### Input: CREATE TABLE table_56009 (
"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_56009 WHERE "Venue" = 'junction oval' | 4,869 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many overalls has 1 combined and 24 downhills? ### Input: CREATE TABLE table_68187 (
"Season" real,
"Overall" text,
"Slalom" text,
"Giant Slalom" text,
"Super G" text,
"Downhill" text,
"Combined" text
) ### Response: SELECT "Overall" FROM table_68187 WHERE "Combined" = '1' AND "Downhill" = '24' | 7,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: On which date was the manager fired and replaced by Albert Cartier? ### Input: CREATE TABLE table_name_70 (
date_of_vacancy VARCHAR,
manner_of_departure VARCHAR,
replaced_by VARCHAR
) ### Response: SELECT date_of_vacancy FROM table_name_70 WHERE manner_of_departure = "fired" AND replaced_by = "albert cartier" | 4,536 |
Below are sql tables 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 away teams score at Princes Park? ### Input: CREATE TABLE table_10764 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) ### Response: SELECT "Away team score" FROM table_10764 WHERE "Venue" = 'princes park' | 6,639 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What year was number 7 built? ### Input: CREATE TABLE table_15988 (
"Class" text,
"Operator" text,
"No. Built" real,
"Year Built" text,
"Cars per Set" real,
"Unit nos." text
) ### Response: SELECT "Year Built" FROM table_15988 WHERE "No. Built" = '7' | 2,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: in which years did civallero only have one achievement ? ### Input: CREATE TABLE table_203_734 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
) ### Response: SELECT "year" FROM table_203_734 GROUP BY "year" HAVING COUNT(*) = 1 | 208 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What position did Tara Palmer-Tomkinson finish? ### Input: CREATE TABLE table_19290 (
"Celebrity" text,
"Famous for" text,
"Entered" text,
"Exited" text,
"Finished" text
) ### Response: SELECT "Finished" FROM table_19290 WHERE "Celebrity" = 'Tara Palmer-Tomkinson' | 17,829 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What airport has an ICAP of BGBW? ### Input: CREATE TABLE table_76249 (
"City" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
) ### Response: SELECT "Airport" FROM table_76249 WHERE "ICAO" = 'bgbw' | 20,723 |
Below are sql tables 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 Opponent has a Site of razorback stadium fayetteville, ar, and a Date of october 7, 1967? ### Input: CREATE TABLE table_name_29 (
opponent VARCHAR,
site VARCHAR,
date VARCHAR
) ### Response: SELECT opponent FROM table_name_29 WHERE site = "razorback stadium • fayetteville, ar" AND date = "october 7, 1967" | 448 |
Below are sql tables 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 Medal did James Odwori receive for Boxing in the 1970 Edinburgh Games? ### Input: CREATE TABLE table_62588 (
"Medal" text,
"Name" text,
"Games" text,
"Sport" text,
"Event" text
) ### Response: SELECT "Medal" FROM table_62588 WHERE "Sport" = 'boxing' AND "Games" = '1970 edinburgh' AND "Name" = 'james odwori' | 2,416 |
Below are sql tables 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 turkish lakes ate less than 10 square kilometers in size ? ### Input: CREATE TABLE table_204_341 (
id number,
"name in english" text,
"name in turkish" text,
"area (km2)" text,
"depth" text,
"location (districts and/or provinces)" text
) ### Response: SELECT COUNT(*) FROM table_204_341 WHERE "area (km2)" < 10 | 22,582 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the Attendance on December 21, 1986 before Week 16? ### Input: CREATE TABLE table_48583 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
) ### Response: SELECT SUM("Attendance") FROM table_48583 WHERE "Date" = 'december 21, 1986' AND "Week" < '16' | 13,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: Who is the builder for br no. 31779? ### Input: CREATE TABLE table_21820 (
"SECR No." real,
"SR No." real,
"BR No." real,
"Builder" text,
"Date Delivered" text,
"Date Withdrawn" text
) ### Response: SELECT "Builder" FROM table_21820 WHERE "BR No." = '31779' | 11,948 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: In what years, when the conference record was 63-9, was the coach Walter Meanwell? ### Input: CREATE TABLE table_33720 (
"Coach" text,
"Years" text,
"Record" text,
"Conference Record" text,
"Overall Win Percentage" text
) ### Response: SELECT "Years" FROM table_33720 WHERE "Coach" = 'walter meanwell' AND "Conference Record" = '63-9' | 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: who is at the top of the chart ? ### Input: CREATE TABLE table_204_287 (
id number,
"outcome" text,
"no." number,
"date" number,
"championship" text,
"surface" text,
"opponent in the final" text,
"score in the final" text
) ### Response: SELECT "opponent in the final" FROM table_204_287 WHERE id = 1 | 16,168 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who drives for Newman-Haas Racing with a time of 1:51:47.260? ### Input: CREATE TABLE table_name_43 (
driver VARCHAR,
team VARCHAR,
time_retired VARCHAR
) ### Response: SELECT driver FROM table_name_43 WHERE team = "newman-haas racing" AND time_retired = "1:51:47.260" | 3,357 |
Below are sql tables 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 City has a Stadium of stadio artemio franchi, florence? ### Input: CREATE TABLE table_46795 (
"Club" text,
"City" text,
"Stadium" text,
"Capacity" real,
"2007\u201308 season" text
) ### Response: SELECT "City" FROM table_46795 WHERE "Stadium" = 'stadio artemio franchi, florence' | 19,508 |
Below are sql tables 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 winner in the event with a runner-up of Alberto Mancini? ### Input: CREATE TABLE table_6095 (
"Week of" text,
"Tournament" text,
"Winner" text,
"Runner-up" text,
"Semi-finalists" text
) ### Response: SELECT "Winner" FROM table_6095 WHERE "Runner-up" = 'alberto mancini' | 11,633 |
Below are sql tables 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 incumbent for ohio 12? ### Input: CREATE TABLE table_18595 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
) ### Response: SELECT "Incumbent" FROM table_18595 WHERE "District" = 'Ohio 12' | 17,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: Name the number of weeks for 50073 attendance ### Input: CREATE TABLE table_19760 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game Site" text,
"Attendance" real
) ### Response: SELECT COUNT("Week") FROM table_19760 WHERE "Attendance" = '50073' | 10,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 is State, when Member is 'Gil Duthie'? ### Input: CREATE TABLE table_48204 (
"Member" text,
"Party" text,
"Electorate" text,
"State" text,
"Term of office" text
) ### Response: SELECT "State" FROM table_48204 WHERE "Member" = 'gil duthie' | 21,698 |
Below are sql tables 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 2nd member of the parliament with alexander st john as the 1st member? ### Input: CREATE TABLE table_13149 (
"Elected" text,
"Assembled" text,
"Dissolved" text,
"1st member" text,
"2nd member" text
) ### Response: SELECT "2nd member" FROM table_13149 WHERE "1st member" = 'alexander st john' | 16,134 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what city has the results of 4:2? ### Input: CREATE TABLE table_35825 (
"Date" text,
"City" text,
"Opponent" text,
"Results\u00b9" text,
"Type of game" text
) ### Response: SELECT "City" FROM table_35825 WHERE "Results\u00b9" = '4:2' | 16,622 |
Below are sql tables 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 points for dallara 3087 lola t88/50 and year before 1988 ### Input: CREATE TABLE table_70452 (
"Year" real,
"Chassis" text,
"Engine" text,
"Tyres" text,
"Points" real
) ### Response: SELECT AVG("Points") FROM table_70452 WHERE "Chassis" = 'dallara 3087 lola t88/50' AND "Year" < '1988' | 6,301 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the highest year that Europe/Africa Zone Group I Group B lost? ### Input: CREATE TABLE table_10889 (
"Year" real,
"Competition" text,
"Date" text,
"Surface" text,
"Location" text,
"Score" text,
"Result" text
) ### Response: SELECT MAX("Year") FROM table_10889 WHERE "Competition" = 'europe/africa zone group i group b' AND "Result" = 'lost' | 7,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: Who is the listed opponent in Week 2? ### Input: CREATE TABLE table_57371 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
) ### Response: SELECT "Opponent" FROM table_57371 WHERE "Week" = '2' | 16,432 |
Below are sql tables 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 City has a Result of w, and a Competition of international friendly (unofficial match), and a Score of 1-0? ### Input: CREATE TABLE table_37478 (
"Date" text,
"City" text,
"Result" text,
"Score" text,
"Competition" text
) ### Response: SELECT "City" FROM table_37478 WHERE "Result" = 'w' AND "Competition" = 'international friendly (unofficial match)' AND "Score" = '1-0' | 2,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 Tyre for the united states grand prix? ### Input: CREATE TABLE table_56351 (
"Race" text,
"Circuit" text,
"Date" text,
"Pole position" text,
"Fastest lap" text,
"Winning driver" text,
"Constructor" text,
"Tyre" text,
"Report" text
) ### Response: SELECT "Tyre" FROM table_56351 WHERE "Race" = 'united states grand prix' | 703 |
Below are sql tables 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 Album had a bigger year than 2005 and whose country was Australia? ### Input: CREATE TABLE table_31986 (
"Year" real,
"Album" text,
"Song" text,
"Label" text,
"Catalog#" text,
"Format" text,
"Country" text
) ### Response: SELECT "Album" FROM table_31986 WHERE "Year" > '2005' AND "Country" = 'australia' | 24,995 |
Below are sql tables 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 individual winners with nation being australia ### Input: CREATE TABLE table_19404 (
"Nation" text,
"Total wins" real,
"Team wins" real,
"Individual wins" real,
"Individual winners" real
) ### Response: SELECT "Individual winners" FROM table_19404 WHERE "Nation" = 'Australia' | 20,139 |
Below are sql tables 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 region where Iquitos is located? ### Input: CREATE TABLE table_21003 (
"Province" text,
"Population" real,
"Region" text,
"Name of City" text,
"Districts" real
) ### Response: SELECT "Region" FROM table_21003 WHERE "Name of City" = 'Iquitos' | 24,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: In what event was the compulsory dance score 28.12? ### Input: CREATE TABLE table_22644589_4 (
event VARCHAR,
compulsory_dance__cd_ VARCHAR
) ### Response: SELECT event FROM table_22644589_4 WHERE compulsory_dance__cd_ = "28.12" | 12,185 |
Below are sql tables 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 overall pick average with the pick # lower than 15? ### Input: CREATE TABLE table_69557 (
"Round" real,
"Pick #" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
) ### Response: SELECT AVG("Overall") FROM table_69557 WHERE "Pick #" < '15' | 23,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: Name the least year for start of 17th ### Input: CREATE TABLE table_68875 (
"Year" real,
"Chassis" text,
"Engine" text,
"Start" text,
"Finish" text
) ### Response: SELECT MIN("Year") FROM table_68875 WHERE "Start" = '17th' | 13,329 |
Below are sql tables 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 Opposing Team has an Against of 3, and a Date of 11 february 1950? ### Input: CREATE TABLE table_name_97 (
opposing_team VARCHAR,
against VARCHAR,
date VARCHAR
) ### Response: SELECT opposing_team FROM table_name_97 WHERE against = 3 AND date = "11 february 1950" | 20,948 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the novelty of Tylocephale? ### Input: CREATE TABLE table_42374 (
"Name" text,
"Novelty" text,
"Status" text,
"Authors" text,
"Location" text
) ### Response: SELECT "Novelty" FROM table_42374 WHERE "Name" = 'tylocephale' | 458 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is Date, when Outcome is Winner, and when Opponent is An-Sophie Mestach? ### Input: CREATE TABLE table_name_68 (
date VARCHAR,
outcome VARCHAR,
opponent VARCHAR
) ### Response: SELECT date FROM table_name_68 WHERE outcome = "winner" AND opponent = "an-sophie mestach" | 5,558 |
Below are sql tables 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 Alabama player associated with Walt Harris? ### Input: CREATE TABLE table_80221 (
"Year" real,
"Alabama" text,
"Arkansas" text,
"Auburn" text,
"Ole Miss" text,
"Mississippi St." text
) ### Response: SELECT "Alabama" FROM table_80221 WHERE "Mississippi St." = 'walt harris' | 22,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's the local title with seasons and winners being series 1, 2006: lucy benjamin ### Input: CREATE TABLE table_18992 (
"Country/Region" text,
"Local title" text,
"Television network" text,
"Seasons and winners" text,
"Judges" text,
"Presenters" text
) ### Response: SELECT "Local title" FROM table_18992 WHERE "Seasons and winners" = 'Series 1, 2006: Lucy Benjamin' | 15,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: who was the last driver to finish driving a jaguar ? ### Input: CREATE TABLE table_204_511 (
id number,
"number" number,
"driver" text,
"entrant" text,
"chassis" text,
"engine" text,
"tyre" text
) ### Response: SELECT "driver" FROM table_204_511 WHERE "engine" = 'jaguar' ORDER BY "number" DESC LIMIT 1 | 4,695 |
Below are sql tables 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 average games did Nick Rimando have? ### Input: CREATE TABLE table_32346 (
"Rank" real,
"Player" text,
"Nation" text,
"Shutouts" real,
"Games" real,
"Years" text
) ### Response: SELECT AVG("Games") FROM table_32346 WHERE "Player" = 'nick rimando' | 6,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: What is the result of Chris Gratton and Philadelphia Flyers as the Offer Team? ### Input: CREATE TABLE table_70648 (
"Player" text,
"Date" text,
"Original Team" text,
"Offer Team" text,
"Result" text
) ### Response: SELECT "Result" FROM table_70648 WHERE "Offer Team" = 'philadelphia flyers' AND "Player" = 'chris gratton' | 2,595 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the label with catalog of mhcl-20005 ### Input: CREATE TABLE table_66871 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text,
"Note" text
) ### Response: SELECT "Label" FROM table_66871 WHERE "Catalog" = 'mhcl-20005' | 8,062 |
Below are sql tables 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 party had the most number of seats ? ### Input: CREATE TABLE table_204_690 (
id number,
"election" number,
"party name" text,
"total votes" number,
"share of votes" text,
"seats" number,
"share of seats" text,
"party leader(s)" text,
"notes" text
) ### Response: SELECT "party name" FROM table_204_690 ORDER BY "seats" DESC LIMIT 1 | 4,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 score when the team is Orlando? ### Input: CREATE TABLE table_29949 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) ### Response: SELECT COUNT("Score") FROM table_29949 WHERE "Team" = 'Orlando' | 5,547 |
Below are sql tables 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 hometown is Kyle love from? ### Input: CREATE TABLE table_38225 (
"Name" text,
"Height" text,
"Weight" text,
"Class" text,
"Position" text,
"Hometown" text
) ### Response: SELECT "Hometown" FROM table_38225 WHERE "Name" = 'kyle love' | 15,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: which date comes before 12 march 1983 ? ### Input: CREATE TABLE table_204_550 (
id number,
"event" text,
"record" text,
"athlete" text,
"date" text,
"meet" text,
"place" text
) ### Response: SELECT "date" FROM table_204_550 WHERE id = (SELECT id FROM table_204_550 WHERE "date" = '12 march 1983') - 1 | 8,240 |
Below are sql tables 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 rank when then time was 7:52.53? ### Input: CREATE TABLE table_65950 (
"Rank" real,
"Athlete" text,
"Country" text,
"Time" text,
"Notes" text
) ### Response: SELECT MIN("Rank") FROM table_65950 WHERE "Time" = '7:52.53' | 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: what are all the gold medals when the silver medals is smaller than 1.0? ### Input: CREATE TABLE table_17964 (
"Ensemble" text,
"Gold Medals" real,
"Silver Medals" real,
"Bronze Medals" real,
"Total Medals" real
) ### Response: SELECT "Gold Medals" FROM table_17964 WHERE "Silver Medals" < '1.0' | 258 |
Below are sql tables 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 position was the player who was drafted by the Washington Capitals? ### Input: CREATE TABLE table_30560 (
"Pick #" real,
"Player" text,
"Position" text,
"Nationality" text,
"NHL team" text,
"College/junior/club team" text
) ### Response: SELECT "Position" FROM table_30560 WHERE "NHL team" = 'Washington Capitals' | 8,651 |
Below are sql tables 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 orchestra has a recording year of 1951? ### Input: CREATE TABLE table_73365 (
"Piano" text,
"Conductor" text,
"Orchestra" text,
"Record Company" text,
"Year of Recording" real,
"Format" text
) ### Response: SELECT "Orchestra" FROM table_73365 WHERE "Year of Recording" = '1951' | 688 |
Below are sql tables 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 losses for Geelong Amateur, with 0 byes? ### Input: CREATE TABLE table_68704 (
"Bellarine FL" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
) ### Response: SELECT SUM("Losses") FROM table_68704 WHERE "Bellarine FL" = 'geelong amateur' AND "Byes" < '0' | 13,055 |
Below are sql tables 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 for height in ft of 6-7 ### Input: CREATE TABLE table_54165 (
"Player" text,
"No.(s)" text,
"Height in Ft." text,
"Position" text,
"Years for Rockets" text,
"School/Club Team/Country" text
) ### Response: SELECT "No.(s)" FROM table_54165 WHERE "Height in Ft." = '6-7' | 10,979 |
Below are sql tables 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 Score, when Team is '@ Memphis'? ### Input: CREATE TABLE table_76592 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) ### Response: SELECT "Score" FROM table_76592 WHERE "Team" = '@ memphis' | 11,758 |
Below are sql tables 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 most laps with the time/retired is differential and the grid is more than 2? ### Input: CREATE TABLE table_55861 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) ### Response: SELECT MAX("Laps") FROM table_55861 WHERE "Time/Retired" = 'differential' AND "Grid" > '2' | 11,865 |
Below are sql tables 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 mascot at Hamilton Community? ### Input: CREATE TABLE table_63312 (
"School" text,
"Location" text,
"Mascot" text,
"Enrollment" real,
"IHSAA Class" text,
"# / County" text
) ### Response: SELECT "Mascot" FROM table_63312 WHERE "School" = 'hamilton community' | 7,048 |
Below are sql tables 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 team whose shirt sponsor is Evonik, who is the kitmaker? ### Input: CREATE TABLE table_50360 (
"Team" text,
"Head Coach" text,
"Team Captain" text,
"Kitmaker" text,
"Shirt sponsor" text
) ### Response: SELECT "Kitmaker" FROM table_50360 WHERE "Shirt sponsor" = 'evonik' | 2,231 |
Below are sql tables 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 dates of leaving office for politician from the province of Seville? ### Input: CREATE TABLE table_28609 (
"Election number" real,
"Election date" text,
"District" text,
"Province" text,
"Took office" text,
"Left office" text
) ### Response: SELECT "Left office" FROM table_28609 WHERE "Province" = 'Seville' | 13,383 |
Below are sql tables 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 carries that have more than 72 touchdowns? ### Input: CREATE TABLE table_80418 (
"Year" text,
"Carries" real,
"Rushing Yards" real,
"Average" real,
"Touchdowns" real,
"Points" real
) ### Response: SELECT AVG("Carries") FROM table_80418 WHERE "Touchdowns" > '72' | 21,407 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What team is owned by Mark Smith and has Paul Clapprood as a crew chief? ### Input: CREATE TABLE table_name_8 (
team VARCHAR,
owner_s_ VARCHAR,
crew_chief VARCHAR
) ### Response: SELECT team FROM table_name_8 WHERE owner_s_ = "mark smith" AND crew_chief = "paul clapprood" | 14,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: What is Tournament, when Moves is '37', and when Result is ' '? ### Input: CREATE TABLE table_59334 (
"White" text,
"Black" text,
"Year" real,
"Result" text,
"Moves" real,
"Tournament" text,
"Opening" text
) ### Response: SELECT "Tournament" FROM table_59334 WHERE "Moves" = '37' AND "Result" = '½–½' | 738 |
Below are sql tables 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 Departure time at Kanpur Central Station? ### Input: CREATE TABLE table_6683 (
"Station Code" text,
"Station Name" text,
"Arrival" text,
"Departure" text,
"Platform" text
) ### Response: SELECT "Departure" FROM table_6683 WHERE "Station Name" = 'kanpur central' | 2,952 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many albums garnered chart positions ? ### Input: CREATE TABLE table_203_77 (
id number,
"album title" text,
"format" text,
"year" number,
"original label" text,
"chart positions" text
) ### Response: SELECT COUNT("album title") FROM table_203_77 WHERE NOT "chart positions" IS NULL | 4,660 |
Below are sql tables 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 party for first elected 1923? ### Input: CREATE TABLE table_18713 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
) ### Response: SELECT "Party" FROM table_18713 WHERE "First elected" = '1923' | 7,138 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What prefix has Bromo as the group? ### Input: CREATE TABLE table_52663 (
"Chemical class" text,
"Group" text,
"Formula" text,
"Prefix" text,
"Suffix" text,
"Example" text
) ### Response: SELECT "Prefix" FROM table_52663 WHERE "Group" = 'bromo' | 14,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 Team with a game of more than 56, and the score is l 85 90 (ot)? ### Input: CREATE TABLE table_name_76 (
team VARCHAR,
game VARCHAR,
score VARCHAR
) ### Response: SELECT team FROM table_name_76 WHERE game > 56 AND score = "l 85–90 (ot)" | 4,461 |
Below are sql tables 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 did the player ranked above 3 with under 28 events earn? ### Input: CREATE TABLE table_11344 (
"Rank" real,
"Player" text,
"Country" text,
"Earnings ( $ )" real,
"Events" real,
"Wins" real
) ### Response: SELECT COUNT("Earnings ( $ )") FROM table_11344 WHERE "Events" < '28' AND "Rank" < '3' | 11,707 |
Below are sql tables 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 section for position of 8th and season of 2003 ### Input: CREATE TABLE table_31952 (
"Season" text,
"Level" text,
"Division" text,
"Section" text,
"Position" text
) ### Response: SELECT "Section" FROM table_31952 WHERE "Position" = '8th' AND "Season" = '2003' | 15,338 |
Below are sql tables 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 the tournament with more than 6 top-25's and less than 13 cuts made, how many wins were there? ### Input: CREATE TABLE table_name_28 (
wins VARCHAR,
top_25 VARCHAR,
cuts_made VARCHAR
) ### Response: SELECT COUNT(wins) FROM table_name_28 WHERE top_25 > 6 AND cuts_made < 13 | 13,012 |
Below are sql tables 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 election date for those politicians who left office on 1850-11-15? ### Input: CREATE TABLE table_28605 (
"Election number" real,
"Election date" text,
"District" text,
"Province" text,
"Took office" text,
"Left office" text
) ### Response: SELECT COUNT("Election date") FROM table_28605 WHERE "Left office" = '1850-11-15' | 7,816 |
Below are sql tables 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 Justin Jeffries? ### Input: CREATE TABLE table_37374 (
"Position" text,
"Number" real,
"Name" text,
"Height" text,
"Weight" real,
"Class" text,
"Hometown" text,
"Games\u2191" real
) ### Response: SELECT COUNT("Number") FROM table_37374 WHERE "Name" = 'justin jeffries' | 11,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: If the height in inches is 5'7', what is the represented? ### Input: CREATE TABLE table_26165 (
"Represented" text,
"Contestant" text,
"Age" real,
"Height (in.)" text,
"Height (cm.)" real,
"Hometown" text
) ### Response: SELECT "Represented" FROM table_26165 WHERE "Height (in.)" = '5''7' | 74 |
Below are sql tables 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 the player who won before 1991 and has a to par less than 14? ### Input: CREATE TABLE table_name_74 (
total VARCHAR,
year_won VARCHAR,
to_par VARCHAR
) ### Response: SELECT COUNT(total) FROM table_name_74 WHERE year_won < 1991 AND to_par < 14 | 4,819 |
Below are sql tables 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 were the chumps in the kitchen ? ### Input: CREATE TABLE table_204_269 (
id number,
"week" number,
"room" text,
"winning couple" text,
"2nd couple" text,
"3rd couple" text,
"chumps" text
) ### Response: SELECT "chumps" FROM table_204_269 WHERE "room" = 'kitchen' | 2,429 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Where did Richmond play? ### Input: CREATE TABLE table_78494 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) ### Response: SELECT "Venue" FROM table_78494 WHERE "Away team" = 'richmond' | 1,020 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the original air date of the episode that was directed by David Paymer? ### Input: CREATE TABLE table_26021 (
"Series #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"U.S. viewers (in millions)" text
) ### Response: SELECT "Original air date" FROM table_26021 WHERE "Directed by" = 'David Paymer' | 9,758 |
Below are sql tables 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 method in round 1 of the UFC 20 event? ### Input: CREATE TABLE table_46994 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Time" text
) ### Response: SELECT "Method" FROM table_46994 WHERE "Round" = '1' AND "Event" = 'ufc 20' | 14,927 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Points is the highest one that has a Game smaller than 43, and a January larger than 8? ### Input: CREATE TABLE table_35457 (
"Game" real,
"January" real,
"Opponent" text,
"Score" text,
"Record" text,
"Points" real
) ### Response: SELECT MAX("Points") FROM table_35457 WHERE "Game" < '43' AND "January" > '8' | 4,891 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: At the UFC 78, what is the average round when the time is 5:00? ### Input: CREATE TABLE table_name_32 (
round INTEGER,
time VARCHAR,
event VARCHAR
) ### Response: SELECT AVG(round) FROM table_name_32 WHERE time = "5:00" AND event = "ufc 78" | 4,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: how man c windmills have there been ? ### Input: CREATE TABLE table_204_929 (
id number,
"location" text,
"name of mill and\ngrid reference" text,
"type" text,
"maps" text,
"first mention\nor built" text,
"last mention\nor demise" number
) ### Response: SELECT COUNT(*) FROM table_204_929 | 19,058 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Where does the staff member with the first name Elsa live? ### Input: CREATE TABLE staff (
address_id VARCHAR,
first_name VARCHAR
)
CREATE TABLE address (
address VARCHAR,
address_id VARCHAR
) ### Response: SELECT T2.address FROM staff AS T1 JOIN address AS T2 ON T1.address_id = T2.address_id WHERE T1.first_name = 'Elsa' | 5,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: For the venue of suwon world cup stadium , suwon , south korea and a Score of 3 0 what is the result? ### Input: CREATE TABLE table_name_74 (
result VARCHAR,
venue VARCHAR,
score VARCHAR
) ### Response: SELECT result FROM table_name_74 WHERE venue = "suwon world cup stadium , suwon , south korea" AND score = "3–0" | 23,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: What score has 3 as the place? ### Input: CREATE TABLE table_58823 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" real
) ### Response: SELECT "Score" FROM table_58823 WHERE "Place" = '3' | 6,134 |
Below are sql tables 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 season premiere that saw 8.4 million viewers first air? ### Input: CREATE TABLE table_31392 (
"Season" text,
"Season premiere" text,
"Season finale" text,
"TV season" text,
"Ranking" text,
"Viewers (in millions)" text
) ### Response: SELECT "Season premiere" FROM table_31392 WHERE "Viewers (in millions)" = '8.4' | 3,080 |
Below are sql tables 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 when there were more than 50 long and less than 762 yards? ### Input: CREATE TABLE table_34800 (
"Player" text,
"Number" real,
"Yards" real,
"Average" real,
"Long" real,
"Touchdowns" real
) ### Response: SELECT MAX("Number") FROM table_34800 WHERE "Long" > '50' AND "Yards" < '762' | 2,391 |
Below are sql tables 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 numbers were recorded under Obama when he had 29.9% voters? ### Input: CREATE TABLE table_73221 (
"County" text,
"Obama%" text,
"Obama#" real,
"McCain%" text,
"McCain#" real,
"Others%" text,
"Others#" real
) ### Response: SELECT COUNT("Obama#") FROM table_73221 WHERE "Obama%" = '29.9%' | 3,256 |
Below are sql tables 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 smallest season number? ### Input: CREATE TABLE table_30597 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"U.S. viewers (million)" text
) ### Response: SELECT MIN("No. in season") FROM table_30597 | 9,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: Which Laps have a Time/Retired of +23.215, and a Grid larger than 11? ### Input: CREATE TABLE table_76655 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) ### Response: SELECT MIN("Laps") FROM table_76655 WHERE "Time/Retired" = '+23.215' AND "Grid" > '11' | 10,271 |