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: Name the number of processors for october 2006 - january 2010 ### Input: CREATE TABLE table_27765443_2 (
no_of_processors VARCHAR,
period_of_operation VARCHAR
) ### Response: SELECT no_of_processors FROM table_27765443_2 WHERE period_of_operation = "October 2006 - January 2010" | 19,917 |
Below are sql tables schemas 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 Host of the Show with a Market of New York? ### Input: CREATE TABLE table_50181 (
"Show" text,
"Host(s)" text,
"Flagship" text,
"Market" text,
"iHeartRadio" text
) ### Response: SELECT "Host(s)" FROM table_50181 WHERE "Market" = 'new york' | 6,874 |
Below are sql tables 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 of the madison sports teams was established first ? ### Input: CREATE TABLE table_202_85 (
id number,
"club" text,
"league" text,
"sport" text,
"venue" text,
"established" number,
"championships" text
) ### Response: SELECT "club" FROM table_202_85 ORDER BY "established" LIMIT 1 | 3,600 |
Below are sql tables schemas 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 gold number when the total is 8 and bronze is more than 4? ### Input: CREATE TABLE table_33938 (
"Rank" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) ### Response: SELECT AVG("Gold") FROM table_33938 WHERE "Total" = '8' AND "Bronze" > '4' | 6,455 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What home team played an away team of melbourne? ### Input: CREATE TABLE table_56000 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) ### Response: SELECT "Home team" FROM table_56000 WHERE "Away team" = 'melbourne' | 20,766 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: If there are more than 0 Silver medals, less than 5 gold medals, and no bronze medals, what was the total number of medals? ### Input: CREATE TABLE table_name_43 (
total VARCHAR,
bronze VARCHAR,
silver VARCHAR,
gold VARCHAR
) ### Response: SELECT COUNT(total) FROM table_name_43 WHERE silver > 0 AND gold < 5 AND bronze < 0 | 14,389 |
Below are sql tables schemas 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 16 wins with the latest win at the 1967 Belgian Grand Prix? ### Input: CREATE TABLE table_name_47 (
wins VARCHAR,
rank VARCHAR,
latest_win VARCHAR
) ### Response: SELECT wins FROM table_name_47 WHERE rank > 16 AND latest_win = "1967 belgian grand prix" | 14,276 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many values for population(2011) correspond to a 1.40% in 2006? ### Input: CREATE TABLE table_189893_1 (
population__2011_ VARCHAR,
percentage__2006_ VARCHAR
) ### Response: SELECT COUNT(population__2011_) FROM table_189893_1 WHERE percentage__2006_ = "1.40%" | 7,683 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is every nature of role with year as 2009? ### Input: CREATE TABLE table_2872 (
"Year" real,
"Title of Drama" text,
"Name of Role" text,
"Nature of Role" text,
"Co-Artists" text,
"Location" text
) ### Response: SELECT "Nature of Role" FROM table_2872 WHERE "Year" = '2009' | 645 |
Below are sql tables 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 film title used in nomination has the year (ceremony) 1990 (63rd)? ### Input: CREATE TABLE table_21655290_1 (
film_title_used_in_nomination VARCHAR,
year__ceremony_ VARCHAR
) ### Response: SELECT film_title_used_in_nomination FROM table_21655290_1 WHERE year__ceremony_ = "1990 (63rd)" | 4,803 |
Below are sql tables schemas 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 To par, when Total is greater than 148, and when Year(s) Won is '1959 , 1968 , 1974'? ### Input: CREATE TABLE table_name_97 (
to_par INTEGER,
total VARCHAR,
year_s__won VARCHAR
) ### Response: SELECT MIN(to_par) FROM table_name_97 WHERE total < 148 AND year_s__won = "1959 , 1968 , 1974" | 445 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many laps did pere riba ride? ### Input: CREATE TABLE table_76503 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) ### Response: SELECT SUM("Laps") FROM table_76503 WHERE "Rider" = 'pere riba' | 4,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 most Miss Fires any country has had? ### Input: CREATE TABLE table_31412 (
"Rank" real,
"Country/Territory" text,
"Miss Earth" text,
"Miss Air" real,
"Miss Water" real,
"Miss Fire" real,
"Semifinalists" real,
"Total" real
) ### Response: SELECT MAX("Miss Fire") FROM table_31412 | 14,846 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who was the home team at Princes Park? ### Input: CREATE TABLE table_57353 (
"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_57353 WHERE "Venue" = 'princes park' | 9,727 |
Below are sql tables schemas 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 characters from the movie Suppressed Duck? ### Input: CREATE TABLE table_65727 (
"Title" text,
"Series" text,
"Director" text,
"Characters" text,
"Release date" text
) ### Response: SELECT "Characters" FROM table_65727 WHERE "Title" = 'suppressed duck' | 18,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: I want the years for marathon distance and wins of 3 ### Input: CREATE TABLE table_57663 (
"Athlete" text,
"Country" text,
"Wins" real,
"Years" text,
"Distance" text
) ### Response: SELECT "Years" FROM table_57663 WHERE "Distance" = 'marathon' AND "Wins" = '3' | 6,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 is the earliest year of the Honda Engine with a finish of 4? ### Input: CREATE TABLE table_42281 (
"Year" real,
"Chassis" text,
"Engine" text,
"Start" text,
"Finish" real,
"Team" text
) ### Response: SELECT MIN("Year") FROM table_42281 WHERE "Engine" = 'honda' AND "Finish" = '4' | 1,740 |
Below are sql tables 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 ruled longer , zhao or zhaoxiang ? ### Input: CREATE TABLE table_204_125 (
id number,
"state" text,
"type" text,
"name" text,
"title" text,
"royal house" text,
"from" text,
"to" text
) ### Response: SELECT "name" FROM table_204_125 WHERE "name" IN ('zhao', 'zhaoxiang') ORDER BY "from" - "to" DESC LIMIT 1 | 24,224 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What regions of the USSR have a percentage of deportees of 10.6? ### Input: CREATE TABLE table_16048129_5 (
region_of_ussr VARCHAR,
_percentage_of_total_deportees VARCHAR
) ### Response: SELECT region_of_ussr FROM table_16048129_5 WHERE _percentage_of_total_deportees = "10.6" | 15,961 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Tiger Woods with a total less than 293 had what To par? ### Input: CREATE TABLE table_48094 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
) ### Response: SELECT "To par" FROM table_48094 WHERE "Total" < '293' AND "Player" = 'tiger woods' | 3,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 was the date of the friendly competition with a score of 4-0? ### Input: CREATE TABLE table_5408 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
) ### Response: SELECT "Date" FROM table_5408 WHERE "Competition" = 'friendly' AND "Score" = '4-0' | 437 |
Below are sql tables schemas 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 winter olympics when the fis nordic world ski championships is 1976? ### Input: CREATE TABLE table_name_39 (
winter_olympics INTEGER,
fis_nordic_world_ski_championships VARCHAR
) ### Response: SELECT MIN(winter_olympics) FROM table_name_39 WHERE fis_nordic_world_ski_championships = "1976" | 16,202 |
Below are sql tables 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 division had the larger area ? ### Input: CREATE TABLE table_204_891 (
id number,
"name" text,
"hanzi" text,
"population (2005)" number,
"area (km2)" number
) ### Response: SELECT "name" FROM table_204_891 ORDER BY "area (km2)" DESC LIMIT 1 | 17,099 |
Below are sql tables schemas 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 attendance for the game that was after week 4 and on November 14, 1954? ### Input: CREATE TABLE table_38945 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
) ### Response: SELECT AVG("Attendance") FROM table_38945 WHERE "Week" > '4' AND "Date" = 'november 14, 1954' | 21,972 |
Below are sql tables 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 school did harold duvall attend? ### Input: CREATE TABLE table_29013 (
"Pick #" real,
"Player" text,
"Position" text,
"Nationality" text,
"NHL team" text,
"College/junior/club team" text
) ### Response: SELECT "College/junior/club team" FROM table_29013 WHERE "Player" = 'Harold Duvall' | 5,680 |
Below are sql tables 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 directed the epsiode with production number 109? ### Input: CREATE TABLE table_26480 (
"Episode #" real,
"Prod #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Originalairdate" text,
"Filmed" text
) ### Response: SELECT "Directed by" FROM table_26480 WHERE "Prod #" = '109' | 6,567 |
Below are sql tables 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 tall is the contestant from Aruba? ### Input: CREATE TABLE table_23814 (
"Country" text,
"Contestant" text,
"Age" real,
"Height (cm)" real,
"Height (ft)" text,
"Hometown" text
) ### Response: SELECT "Height (ft)" FROM table_23814 WHERE "Country" = 'Aruba' | 1,160 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Name has a Years Played of 2004 2008, and a Date and Opponent of 2/17/07 vs. purdue? ### Input: CREATE TABLE table_name_34 (
name VARCHAR,
years_played VARCHAR,
date_and_opponent VARCHAR
) ### Response: SELECT name FROM table_name_34 WHERE years_played = "2004–2008" AND date_and_opponent = "2/17/07 vs. purdue" | 5,699 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the most maidens when e.r. 5.11 ### Input: CREATE TABLE table_20276 (
"Name" text,
"Overs Bowled" text,
"Maidens" real,
"Runs Conceded" real,
"Wickets" real,
"Extras" real,
"E.R." text
) ### Response: SELECT MAX("Maidens") FROM table_20276 WHERE "E.R." = '5.11' | 2,544 |
Below are sql tables 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 league goals has FA cup apps of 2? ### Input: CREATE TABLE table_31788 (
"Division" text,
"League Apps" real,
"League Goals" real,
"FA Cup Apps" real,
"FA Cup Goals" real,
"Total Apps" real,
"Total Goals" real
) ### Response: SELECT "League Goals" FROM table_31788 WHERE "FA Cup Apps" = '2' | 117 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which Region has an Area of 9,451km ? ### Input: CREATE TABLE table_55115 (
"Region" text,
"Capital" text,
"Area (km\u00b2)" text,
"Area (sq. mi.)" text,
"Population" text,
"GDP ( bn )" text
) ### Response: SELECT "Region" FROM table_55115 WHERE "Area (km\u00b2)" = '9,451' | 7,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: tell me the only one released in december 2013 . ### Input: CREATE TABLE table_204_696 (
id number,
"issue" number,
"volume" number,
"title" text,
"main feature story" text,
"first/early appearance story/stories" text,
"release date" text
) ### Response: SELECT "title" FROM table_204_696 WHERE "release date" = 2013 AND "release date" = 12 | 2,958 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: what are the total of super chinese games released ? ### Input: CREATE TABLE table_203_55 (
id number,
"japanese title" text,
"western title" text,
"regions" text,
"release" number,
"platform(s)" text,
"genre" text
) ### Response: SELECT COUNT("japanese title") FROM table_203_55 | 16,251 |
Below are sql tables schemas 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 oldest map/catalog ? ### Input: CREATE TABLE table_204_281 (
id number,
"map or catalog" text,
"creator" text,
"time created" text,
"contets" text,
"links" text
) ### Response: SELECT "map or catalog" FROM table_204_281 ORDER BY id LIMIT 1 | 667 |
Below are sql tables schemas 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 dimensions in inches of the board released before 2004, that started in 1941? ### Input: CREATE TABLE table_50307 (
"Release" real,
"Start" text,
"Pieces" real,
"Board (inches)" text,
"Board (cm)" text,
"Type" text
) ### Response: SELECT "Board (inches)" FROM table_50307 WHERE "Release" < '2004' AND "Start" = '1941' | 7,030 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Date, when Partnering is 'Francesca Lubiani', and when Opponent in Final is 'Yuliya Beygelzimer / Jennifer Hopkins'? ### Input: CREATE TABLE table_name_10 (
date VARCHAR,
partnering VARCHAR,
opponent_in_final VARCHAR
) ### Response: SELECT date FROM table_name_10 WHERE partnering = "francesca lubiani" AND opponent_in_final = "yuliya beygelzimer / jennifer hopkins" | 1,837 |
Below are sql tables schemas 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 processor for model x33x0? ### Input: CREATE TABLE table_26584 (
"Processor" text,
"Brand Name" text,
"Model (list)" text,
"Cores" real,
"L2 Cache" text,
"Socket" text,
"TDP" text
) ### Response: SELECT "Processor" FROM table_26584 WHERE "Model (list)" = 'X33x0' | 4,831 |
Below are sql tables schemas 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 retired time for someone who was on grid 18? ### Input: CREATE TABLE table_51463 (
"Driver" text,
"Constructor" text,
"Laps" text,
"Time/Retired" text,
"Grid" text
) ### Response: SELECT "Time/Retired" FROM table_51463 WHERE "Grid" = '18' | 4,182 |
Below are sql tables schemas 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 in Week 17? ### Input: CREATE TABLE table_78474 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Attendance" text
) ### Response: SELECT "Attendance" FROM table_78474 WHERE "Week" = '17' | 10,848 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What institution(s) are located in wilkes-barre, pennsylvania? ### Input: CREATE TABLE table_28394 (
"Institution" text,
"Location" text,
"Nickname" text,
"Founded" real,
"Type" text,
"Enrollment" real,
"Joined MAC" real
) ### Response: SELECT "Institution" FROM table_28394 WHERE "Location" = 'Wilkes-Barre, Pennsylvania' | 2,200 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Show the distinct apartment numbers of the apartments that have bookings with status code 'Confirmed'. ### Input: CREATE TABLE Apartments (
apt_number VARCHAR,
apt_id VARCHAR
)
CREATE TABLE Apartment_Bookings (
apt_id VARCHAR,
booking_status_code VARCHAR
) ### Response: SELECT DISTINCT T2.apt_number FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T1.booking_status_code = "Confirmed" | 8,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: Who was the Semi-Finalist #2 in 2007? ### Input: CREATE TABLE table_57215 (
"Year" text,
"Champion" text,
"Score" text,
"Runner-Up" text,
"Location" text,
"Semi-Finalist #1" text,
"Semi-Finalist #2" text
) ### Response: SELECT "Semi-Finalist #2" FROM table_57215 WHERE "Year" = '2007' | 10,592 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: On May 13, what was the team's record? ### Input: CREATE TABLE table_15607 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Record" text
) ### Response: SELECT "Record" FROM table_15607 WHERE "Date" = 'may 13' | 3,920 |
Below are sql tables 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 Type has a Responsible of stavangerske? ### Input: CREATE TABLE table_13285 (
"Vessel:" text,
"Type:" text,
"Built:" real,
"Owned since:" real,
"Responsible:" text,
"Status:" text
) ### Response: SELECT "Type:" FROM table_13285 WHERE "Responsible:" = 'stavangerske' | 828 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the date of the match when Detroit is the home team and Colorado is the visiting team? ### Input: CREATE TABLE table_69019 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
) ### Response: SELECT "Date" FROM table_69019 WHERE "Home" = 'detroit' AND "Visitor" = 'colorado' | 8,190 |
Below are sql tables 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 game against home team Fitzroy, what did the away team score? ### Input: CREATE TABLE table_11034 (
"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_11034 WHERE "Home team" = 'fitzroy' | 10,864 |
Below are sql tables 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 of the total number from each party, I want to sort Y from high to low order please. ### Input: CREATE TABLE election (
Election_ID int,
Representative_ID int,
Date text,
Votes real,
Vote_Percent real,
Seats real,
Place real
)
CREATE TABLE representative (
Representative_ID int,
Name text,
State text,
Party text,
Lifespan text
) ### Response: SELECT Party, COUNT(*) FROM representative GROUP BY Party ORDER BY COUNT(*) DESC | 6,318 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who won the mixed doubles in 1998? ### Input: CREATE TABLE table_1162 (
"Year" real,
"Mens singles" text,
"Womens singles" text,
"Mens doubles" text,
"Womens doubles" text,
"Mixed doubles" text
) ### Response: SELECT "Mixed doubles" FROM table_1162 WHERE "Year" = '1998' | 3,712 |
Below are sql tables 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 eps for net profit being 39.2 ### Input: CREATE TABLE table_18304259_1 (
earnings_per_share__p_ VARCHAR,
net_profit__£m_ VARCHAR
) ### Response: SELECT earnings_per_share__p_ FROM table_18304259_1 WHERE net_profit__£m_ = "39.2" | 6,718 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which podiums did the Williams team have with a margin of defeat of 2? ### Input: CREATE TABLE table_91 (
"Season" real,
"Driver" text,
"Team" text,
"Engine" text,
"Poles" real,
"Wins" real,
"Podiums" real,
"Points" text,
"Margin of defeat" text
) ### Response: SELECT "Podiums" FROM table_91 WHERE "Team" = 'Williams' AND "Margin of defeat" = '2' | 23,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: Which date had the catalog designation of ha-m 2230? ### Input: CREATE TABLE table_52778 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
) ### Response: SELECT "Date" FROM table_52778 WHERE "Catalog" = 'ha-m 2230' | 8,066 |
Below are sql tables schemas 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 first player on this list ? ### Input: CREATE TABLE table_203_871 (
id number,
"#" number,
"player" text,
"pos" text,
"pts" number,
"tries" number,
"conv" number,
"pens" number,
"drop" number,
"opposition" text,
"venue" text,
"date" text
) ### Response: SELECT "player" FROM table_203_871 WHERE id = 1 | 10,220 |
Below are sql tables schemas 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 type on Sestri Levante to Riomaggiore? ### Input: CREATE TABLE table_64849 (
"Date" text,
"Course" text,
"Distance" text,
"Type" text,
"Winner" text
) ### Response: SELECT "Type" FROM table_64849 WHERE "Course" = 'sestri levante to riomaggiore' | 17,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: Which Country has a To par of e? ### Input: CREATE TABLE table_9785 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
) ### Response: SELECT "Country" FROM table_9785 WHERE "To par" = 'e' | 21,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: how many songs was claudio zoli the original artist ? ### Input: CREATE TABLE table_204_51 (
id number,
"week #" text,
"theme" text,
"song choice" text,
"original artist" text,
"order #" number,
"result" text
) ### Response: SELECT COUNT("song choice") FROM table_204_51 WHERE "original artist" = 'claudio zoli' | 4,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 are all the stations with a license in Cincinnati? ### Input: CREATE TABLE table_22337 (
"City of license /Market" text,
"Station" text,
"Channel ( TV / RF )" text,
"Owned Since" real,
"Affiliation" text
) ### Response: SELECT "Station" FROM table_22337 WHERE "City of license /Market" = 'Cincinnati' | 11,064 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is Outcome, when Championship is Australian Open, and when Year is before 1994? ### Input: CREATE TABLE table_8740 (
"Outcome" text,
"Year" real,
"Championship" text,
"Surface" text,
"Partner" text,
"Opponents in final" text,
"Score in final" text
) ### Response: SELECT "Outcome" FROM table_8740 WHERE "Championship" = 'australian open' AND "Year" < '1994' | 19,893 |
Below are sql tables 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 player from Fiji, what was his finish? ### Input: CREATE TABLE table_69772 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
) ### Response: SELECT "Finish" FROM table_69772 WHERE "Country" = 'fiji' | 6,344 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many games did she play in 2002 ? ### Input: CREATE TABLE table_203_220 (
id number,
"outcome" text,
"no." number,
"date" text,
"tournament" text,
"surface" text,
"opponent in the final" text,
"score" text
) ### Response: SELECT COUNT("tournament") FROM table_203_220 WHERE "date" = 2002 | 2,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: How many movie reviews does each director get. Visualize by pie chart. ### Input: CREATE TABLE Reviewer (
rID int,
name text
)
CREATE TABLE Rating (
rID int,
mID int,
stars int,
ratingDate date
)
CREATE TABLE Movie (
mID int,
title text,
year int,
director text
) ### Response: SELECT director, COUNT(*) FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID = T2.mID GROUP BY T1.director | 19,385 |
Below are sql tables schemas 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 counting method for a network-centric basis? ### Input: CREATE TABLE table_66775 (
"Counting Method" text,
"Basis" text,
"Name" text,
"Directed / Undirected" text,
"Induced / Non-Induced" text
) ### Response: SELECT "Counting Method" FROM table_66775 WHERE "Basis" = 'network-centric' | 136 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: The Last Metro refers to which Original Title? ### Input: CREATE TABLE table_68840 (
"Original title" text,
"Title in English" text,
"Genre" text,
"Role" text,
"Directed by" text
) ### Response: SELECT "Original title" FROM table_68840 WHERE "Title in English" = 'the last metro' | 18,712 |
Below are sql tables schemas 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 result for district ohio 2 ### Input: CREATE TABLE table_18482 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
) ### Response: SELECT "Result" FROM table_18482 WHERE "District" = 'Ohio 2' | 5,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 is the surface of the tournament with Sascha Kloer as the opponent? ### Input: CREATE TABLE table_35956 (
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
) ### Response: SELECT "Surface" FROM table_35956 WHERE "Opponent" = 'sascha kloer' | 16,627 |
Below are sql tables 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 school did the player that played 2004-05 attend? ### Input: CREATE TABLE table_15862 (
"Player" text,
"No." real,
"Nationality" text,
"Position" text,
"Years in Toronto" text,
"School/Club Team" text
) ### Response: SELECT "School/Club Team" FROM table_15862 WHERE "Years in Toronto" = '2004-05' | 10,238 |
Below are sql tables schemas 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 the player who was with the grizzlies from 2007-2009 play? ### Input: CREATE TABLE table_44002 (
"Player" text,
"Nationality" text,
"Position" text,
"Years for Grizzlies" text,
"School/Club Team" text
) ### Response: SELECT "Position" FROM table_44002 WHERE "Years for Grizzlies" = '2007-2009' | 2,197 |
Below are sql tables schemas 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 wins when the cuts made is 76 and the events greater than 115? ### Input: CREATE TABLE table_name_3 (
wins INTEGER,
cuts_made VARCHAR,
events VARCHAR
) ### Response: SELECT SUM(wins) FROM table_name_3 WHERE cuts_made = 76 AND events > 115 | 20,392 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: in how many international competitions did kazlou throw a length of above 80 meters ? ### Input: CREATE TABLE table_203_238 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"notes" text
) ### Response: SELECT COUNT("competition") FROM table_203_238 WHERE "notes" > 80 | 10,164 |
Below are sql tables schemas 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 final score for the tie where Leeds United was the home team? ### Input: CREATE TABLE table_79187 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
) ### Response: SELECT "Score" FROM table_79187 WHERE "Home team" = 'leeds united' | 21,166 |
Below are sql tables schemas 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 for the 4 credits that has 5 credits of 125? ### Input: CREATE TABLE table_35137 (
"Hand" text,
"1 credit" text,
"2 credits" text,
"3 credits" text,
"4 credits" text,
"5 credits" text
) ### Response: SELECT "4 credits" FROM table_35137 WHERE "5 credits" = '125' | 2,049 |
Below are sql tables 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 half marathon (womens) that is larger than 1.0? ### Input: CREATE TABLE table_16689 (
"Country" text,
"Total" real,
"Marathon (mens)" real,
"Marathon (womens)" real,
"Half Marathon (mens)" real,
"Half Marathon (womens)" real
) ### Response: SELECT "Country" FROM table_16689 WHERE "Half Marathon (womens)" > '1.0' | 11,047 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Decision of parent, and a Home of philadelphia, and a Record of 20 16 7 is on what date? ### Input: CREATE TABLE table_name_23 (
date VARCHAR,
record VARCHAR,
decision VARCHAR,
home VARCHAR
) ### Response: SELECT date FROM table_name_23 WHERE decision = "parent" AND home = "philadelphia" AND record = "20–16–7" | 4,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: If the best winning average is 7.3-71, what are the total points? ### Input: CREATE TABLE table_27533947_1 (
total_points INTEGER,
best_winning_average VARCHAR
) ### Response: SELECT MIN(total_points) FROM table_27533947_1 WHERE best_winning_average = "7.3-71" | 8,779 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who has a former name of nordpr ven? ### Input: CREATE TABLE table_80042 (
"Rank" real,
"Population" real,
"Name" text,
"Former Name" text,
"Municipality" text
) ### Response: SELECT "Name" FROM table_80042 WHERE "Former Name" = 'nordprøven' | 636 |
Below are sql tables schemas 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 voter registration that has a BYut of 48.2? ### Input: CREATE TABLE table_51995 (
"Region" text,
"Voter registration" real,
"Voter turnout" real,
"BYuT" real,
"OU-PSD" real
) ### Response: SELECT COUNT("Voter registration") FROM table_51995 WHERE "BYuT" = '48.2' | 13,750 |
Below are sql tables 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 representatives were appointed by theodore roosevelt ? ### Input: CREATE TABLE table_203_778 (
id number,
"representative" text,
"title" text,
"presentation\nof credentials" text,
"termination\nof mission" text,
"appointed by" text
) ### Response: SELECT COUNT("title") FROM table_203_778 WHERE "appointed by" = 'theodore roosevelt' | 12,849 |
Below are sql tables schemas 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 score for the 36 arrow finals event? ### Input: CREATE TABLE table_46514 (
"Event" text,
"Score" real,
"Name" text,
"Nation" text,
"Games" text,
"Date" text
) ### Response: SELECT COUNT("Score") FROM table_46514 WHERE "Event" = '36 arrow finals' | 10,811 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: I want to know the opponent that ha a week of 3 ### Input: CREATE TABLE table_52631 (
"Week" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Time" text,
"Attendance" text
) ### Response: SELECT "Opponent" FROM table_52631 WHERE "Week" = '3' | 10,714 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is Player, when Total is 292? ### Input: CREATE TABLE table_76439 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real,
"Finish" text
) ### Response: SELECT "Player" FROM table_76439 WHERE "Total" = '292' | 13,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 ERP W for the frequency of 91.3MHz? ### Input: CREATE TABLE table_70198 (
"Call sign" text,
"Frequency MHz" real,
"City of license" text,
"ERP W" real,
"Class" text,
"FCC info" text
) ### Response: SELECT "ERP W" FROM table_70198 WHERE "Frequency MHz" = '91.3' | 16,710 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which nation is where the horse parkmore ed is? ### Input: CREATE TABLE table_22552 (
"Nation" text,
"Rider" text,
"Horse" text,
"Cross Country Penalties" text,
"Total Penalties" text,
"Total Team Penalties" text,
"Team Rank" real
) ### Response: SELECT "Nation" FROM table_22552 WHERE "Horse" = 'Parkmore Ed' | 11,767 |
Below are sql tables 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 ehtinc group consists of 93% muslims? ### Input: CREATE TABLE table_49944 (
"Ethnic Group" text,
"Main Regions" text,
"Population" real,
"Percentage of total population" text,
"Christians" text,
"Muslims" text,
"Other" text
) ### Response: SELECT "Ethnic Group" FROM table_49944 WHERE "Muslims" = '93%' | 8,277 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: how many gold did u.s.a win ### Input: CREATE TABLE table_204_75 (
id number,
"year" number,
"place" text,
"gold" text,
"silver" text,
"bronze" text
) ### Response: SELECT COUNT("gold") FROM table_204_75 WHERE "gold" = 'usa' | 6,789 |
Below are sql tables schemas 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 2006 population count of the local government area where Coober Pedy is located? ### Input: CREATE TABLE table_23685890_2 (
pop_2006 VARCHAR,
major_town VARCHAR
) ### Response: SELECT pop_2006 FROM table_23685890_2 WHERE major_town = "Coober Pedy" | 12,728 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is Method, when Opponent is 'Chalid Arrab'? ### Input: CREATE TABLE table_45871 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Location" text
) ### Response: SELECT "Method" FROM table_45871 WHERE "Opponent" = 'chalid arrab' | 6,404 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many points did the team with more than 68 games, 4 ties, and more than 272 goals against have? ### Input: CREATE TABLE table_name_14 (
points INTEGER,
goals_against VARCHAR,
games VARCHAR,
tied VARCHAR
) ### Response: SELECT SUM(points) FROM table_name_14 WHERE games > 68 AND tied = "4" AND goals_against > 272 | 7,586 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the record for the game against New England Patriots at the Rich Stadium? ### Input: CREATE TABLE table_42278 (
"Week" real,
"Date" text,
"Opponent" text,
"Game Site" text,
"Final Score" text,
"Record" text,
"TV Time" text,
"Attendance" text
) ### Response: SELECT "Record" FROM table_42278 WHERE "Game Site" = 'rich stadium' AND "Opponent" = 'new england patriots' | 11,422 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: size (steps) of 15, and a just (cents) larger than 435.08 is what highest size (cents)? ### Input: CREATE TABLE table_name_26 (
size__cents_ INTEGER,
size__steps_ VARCHAR,
just__cents_ VARCHAR
) ### Response: SELECT MAX(size__cents_) FROM table_name_26 WHERE size__steps_ = 15 AND just__cents_ > 435.08 | 320 |
Below are sql tables 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 are the recipients that won for David Duchovny role/episode? ### Input: CREATE TABLE table_name_30 (
recipients_and_nominees VARCHAR,
role_episode VARCHAR,
result VARCHAR
) ### Response: SELECT recipients_and_nominees FROM table_name_30 WHERE role_episode = "david duchovny" AND result = "won" | 14,446 |
Below are sql tables 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 engine did lie Bayol use when they earned 0 points? ### Input: CREATE TABLE table_68734 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
) ### Response: SELECT "Engine" FROM table_68734 WHERE "Points" = '0' AND "Entrant" = 'élie bayol' | 10,451 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the Author of the Title with a First Issue of September 2010? ### Input: CREATE TABLE table_63812 (
"Title" text,
"Author" text,
"First Issue" text,
"Last Issue" text,
"Completed?" text
) ### Response: SELECT "Author" FROM table_63812 WHERE "First Issue" = 'september 2010' | 5,848 |
Below are sql tables schemas 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 L2 Cache for Model Number nano u3400 with an Idle Power of 100mw? ### Input: CREATE TABLE table_name_10 (
l2_cache VARCHAR,
idle_power VARCHAR,
model_number VARCHAR
) ### Response: SELECT l2_cache FROM table_name_10 WHERE idle_power = "100mw" AND model_number = "nano u3400" | 10,254 |
Below are sql tables 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 Fumb TD has an Int TD of 1, and a Fumb F. smaller than 1? ### Input: CREATE TABLE table_name_72 (
fumb_td INTEGER,
int_td VARCHAR,
fumb_f VARCHAR
) ### Response: SELECT MIN(fumb_td) FROM table_name_72 WHERE int_td = 1 AND fumb_f < 1 | 14,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 livery on the locomotive with a serial number 83-1011? ### Input: CREATE TABLE table_55813 (
"Locomotive" text,
"Serial No" text,
"Entered service" text,
"Gauge" text,
"Livery" text
) ### Response: SELECT "Livery" FROM table_55813 WHERE "Serial No" = '83-1011' | 23,728 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which date has a Record of 4-5? ### Input: CREATE TABLE table_71037 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Record" text
) ### Response: SELECT "Date" FROM table_71037 WHERE "Record" = '4-5' | 13,717 |
Below are sql tables schemas 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 to par score for Tim Herron, who had a score of 69-72=141? ### Input: CREATE TABLE table_name_92 (
to_par VARCHAR,
player VARCHAR,
score VARCHAR
) ### Response: SELECT to_par FROM table_name_92 WHERE score = 69 - 72 = 141 AND player = "tim herron" | 3,822 |
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Who did they play at sec tournament? ### Input: CREATE TABLE table_63541 (
"Date" text,
"Opponent" text,
"Location" text,
"Result" text,
"Record" text,
"Rank" text
) ### Response: SELECT "Opponent" FROM table_63541 WHERE "Location" = 'sec tournament' | 14,685 |
Below are sql tables schemas 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 rank for iceland ### Input: CREATE TABLE table_72568 (
"Rank" real,
"Country" text,
"Overall" text,
"Justice" text,
"Health" text,
"Education" text,
"Economics" text,
"Politics" text
) ### Response: SELECT "Rank" FROM table_72568 WHERE "Country" = 'Iceland' | 8,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: which coach has the least number of total games on their record ? ### Input: CREATE TABLE table_204_469 (
id number,
"coach" text,
"years" text,
"seasons" number,
"wins" number,
"losses" number,
"ties" number,
"pct" number
) ### Response: SELECT "coach" FROM table_204_469 ORDER BY "wins" + "losses" + "ties" LIMIT 1 | 2,971 |
Below are sql tables 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 points classification for levi leipheimer ### Input: CREATE TABLE table_30923 (
"Stage" real,
"Winner" text,
"General classification" text,
"Mountains Classification" text,
"Points classification" text,
"Sprints Classification" text,
"Team Classification" text
) ### Response: SELECT "Points classification" FROM table_30923 WHERE "General classification" = 'Levi Leipheimer' | 13,135 |