instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_204_251 ( id number, "community" text, "area" text, "location" text, "population" number, "date established" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- total population of millbrook first nation ### Response:
SELECT "population" FROM table_204_251 WHERE "community" = 'millbrook 27'
### Instruction: CREATE TABLE table_106367_2 ( _number_of_seats_won VARCHAR, _number_of_candidates VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many seats were won in the election with 125 candidates? ### Response:
SELECT COUNT(_number_of_seats_won) FROM table_106367_2 WHERE _number_of_candidates = 125
### Instruction: CREATE TABLE table_38007 ( "Unit" text, "Russian" text, "Ratio" text, "Metric value" text, "Avoirdupois value" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Unit has a Ratio of 1/32? ### Response:
SELECT "Unit" FROM table_38007 WHERE "Ratio" = '1/32'
### Instruction: CREATE TABLE table_28759261_5 ( athens_xi VARCHAR, dadar_xi_‘b’ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the athens xi where dada xi b is strikers fc? ### Response:
SELECT athens_xi FROM table_28759261_5 WHERE dadar_xi_‘b’ = "Strikers FC"
### Instruction: CREATE TABLE table_64237 ( "Title" text, "Label" text, "Year of Release" real, "Country of Release" text, "Peaches:" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the latest year of release for the greatest hits title? ### Response:
SELECT MAX("Year of Release") FROM table_64237 WHERE "Title" = 'greatest hits'
### Instruction: CREATE TABLE table_19297 ( "Celebrity" text, "Famous for" text, "Entered" text, "Exited" text, "Finished" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the famous for that finished 2nd? ### Response:
SELECT "Famous for" FROM table_19297 WHERE "Finished" = '2nd'
### Instruction: CREATE TABLE table_53412 ( "Tournament" text, "Winner" text, "Runner-up" text, "Score" text, "Third Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the runner-up in the tournament in London? ### Response:
SELECT "Runner-up" FROM table_53412 WHERE "Tournament" = 'london'
### Instruction: CREATE TABLE table_name_98 ( title VARCHAR, role VARCHAR, year VARCHAR, studio VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the title where the studio was RKO, the role was Dolly, and the year was later than 1943? ### Response:
SELECT title FROM table_name_98 WHERE year > 1943 AND studio = "rko" AND role = "dolly"
### Instruction: CREATE TABLE table_24307126_3 ( assets_2013__bil$_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the 2013 profit for assets being 11.2 ### Response:
SELECT 2013 AS _profit__mil_usd__ FROM table_24307126_3 WHERE assets_2013__bil$_ = "11.2"
### Instruction: CREATE TABLE table_204_56 ( id number, "year" number, "song" text, "us r&b" number, "us rap" number, "album" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many did wrong place have in us rap ? ### Response:
SELECT "us rap" FROM table_204_56 WHERE "song" = '"wrong place"'
### Instruction: CREATE TABLE table_28759 ( "Round" real, "Overall pick" real, "NFL team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the position for stanley havili ### Response:
SELECT "Position" FROM table_28759 WHERE "Player" = 'Stanley Havili'
### Instruction: CREATE TABLE table_name_49 ( city VARCHAR, opposition VARCHAR, year VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which city held the game in Old Trafford before 1907 when the Opposition was sussex? ### Response:
SELECT city FROM table_name_49 WHERE year < 1907 AND venue = "old trafford" AND opposition = "sussex"
### Instruction: CREATE TABLE table_203_69 ( id number, "representative" text, "title" text, "from" number, "to" number, "appointed by" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- at least what number of people have the title minister ### Response:
SELECT COUNT("representative") FROM table_203_69 WHERE "title" = 'minister'
### Instruction: CREATE TABLE table_46287 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which rider has time of +19.751? ### Response:
SELECT "Rider" FROM table_46287 WHERE "Time" = '+19.751'
### Instruction: CREATE TABLE table_2102898_1 ( viewers__in_millions_ VARCHAR, broadcast_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On broadcast date is 25april1970, how many people tuned in? ### Response:
SELECT viewers__in_millions_ FROM table_2102898_1 WHERE broadcast_date = "25April1970"
### Instruction: CREATE TABLE table_31719 ( "Frequency" text, "Call sign" text, "Branding" text, "Format" text, "Owner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the call frequency sign of cjjc-fm? ### Response:
SELECT "Frequency" FROM table_31719 WHERE "Call sign" = 'cjjc-fm'
### Instruction: CREATE TABLE table_262534_2 ( enrollment VARCHAR, location__population_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the enrollment for the institution that is located in Lebanon, Tennessee (20,235)? ### Response:
SELECT enrollment FROM table_262534_2 WHERE location__population_ = "Lebanon, Tennessee (20,235)"
### Instruction: CREATE TABLE table_53255 ( "Player" text, "Nationality" text, "Position" text, "Years for Jazz" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What school does Wayne Cooper play for? ### Response:
SELECT "School/Club Team" FROM table_53255 WHERE "Player" = 'wayne cooper'
### Instruction: CREATE TABLE table_5670 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the game that led to an 80-63 record? ### Response:
SELECT "Score" FROM table_5670 WHERE "Record" = '80-63'
### Instruction: CREATE TABLE table_203_754 ( id number, "no." number, "player" text, "position" text, "career" text, "date no. retired" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who 's a top player in the rw position ? ### Response:
SELECT "player" FROM table_203_754 WHERE "position" = 'rw'
### Instruction: CREATE TABLE table_name_21 ( tonnage INTEGER, date_entered_service VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the least tonnage for the ship(s) that entered service on 11 february 1983? ### Response:
SELECT MIN(tonnage) FROM table_name_21 WHERE date_entered_service = "11 february 1983"
### Instruction: CREATE TABLE table_8843 ( "Year" real, "Ship" text, "Departed From" text, "Departed On" text, "Returned On" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Ship has a Year larger than 2013? ### Response:
SELECT "Ship" FROM table_8843 WHERE "Year" > '2013'
### Instruction: CREATE TABLE table_75446 ( "Celebrity" text, "Famous for" text, "Entered" text, "Exited" text, "Finished" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Dom Joly famous for? ### Response:
SELECT "Famous for" FROM table_75446 WHERE "Celebrity" = 'dom joly'
### Instruction: CREATE TABLE table_43941 ( "Fieldbus" text, "Bus power" text, "Cabling redundancy" text, "Synchronisation" text, "Sub millisecond cycle" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the bus power for the Controlnet Fieldbus? ### Response:
SELECT "Bus power" FROM table_43941 WHERE "Fieldbus" = 'controlnet'
### Instruction: CREATE TABLE table_name_16 ( pick INTEGER, overall VARCHAR, position VARCHAR, college VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the maximum pick when WR was the position and Michigan the college, and the overall greater than 255? ### Response:
SELECT MAX(pick) FROM table_name_16 WHERE position = "wr" AND college = "michigan" AND overall > 255
### Instruction: CREATE TABLE table_name_91 ( name VARCHAR, roll VARCHAR, area VARCHAR, decile VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the school name in Balclutha that has a Decile of 7 and a roll larger than 186? ### Response:
SELECT name FROM table_name_91 WHERE area = "balclutha" AND decile < 7 AND roll > 186
### Instruction: CREATE TABLE table_11677100_18 ( hometown VARCHAR, position VARCHAR, school VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the hometown of the pitcher who's school was Saint Joseph Regional High School? ### Response:
SELECT hometown FROM table_11677100_18 WHERE position = "Pitcher" AND school = "Saint Joseph Regional High school"
### Instruction: CREATE TABLE table_64956 ( "Player" text, "Current Club" text, "Born" text, "Debut" text, "Manager" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the manager of the Atl tico Baleares? ### Response:
SELECT "Manager" FROM table_64956 WHERE "Current Club" = 'atlético baleares'
### Instruction: CREATE TABLE table_name_51 ( q1 VARCHAR, q2_time VARCHAR, q1_time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Q1+Q2 time for the driver whose Q1 time was 1:14.819, ? ### Response:
SELECT q1 + q2_time FROM table_name_51 WHERE q1_time = "1:14.819"
### Instruction: CREATE TABLE table_66019 ( "Round" real, "Pick #" real, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest round number in which Will Wilcox was selected? ### Response:
SELECT MIN("Round") FROM table_66019 WHERE "Player" = 'will wilcox'
### Instruction: CREATE TABLE table_11365528_2 ( head_coach VARCHAR, website VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many head coaches are there for the website, http://www.burleighbulldogs.org/? ### Response:
SELECT COUNT(head_coach) FROM table_11365528_2 WHERE website = "http://www.burleighbulldogs.org/"
### Instruction: CREATE TABLE table_57372 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date has attendance listed as 45,024? ### Response:
SELECT "Date" FROM table_57372 WHERE "Attendance" = '45,024'
### Instruction: CREATE TABLE table_17417383_6 ( athlete VARCHAR, round_of_32 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the athelte for enkhzorig ( mgl ) l 1 10 ### Response:
SELECT athlete FROM table_17417383_6 WHERE round_of_32 = "Enkhzorig ( MGL ) L 1–10"
### Instruction: CREATE TABLE table_66386 ( "Title" text, "Series" text, "Director" text, "Production Num." text, "Release date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What release date has 6998 as the production num.? ### Response:
SELECT "Release date" FROM table_66386 WHERE "Production Num." = '6998'
### Instruction: CREATE TABLE table_name_39 ( director VARCHAR, rank VARCHAR, worldwide_gross VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What director has a worldwide gross of $149,022,650 and is ranked greater than 7? ### Response:
SELECT director FROM table_name_39 WHERE rank > 7 AND worldwide_gross = "$149,022,650"
### Instruction: CREATE TABLE table_67138 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which start has 1956 as the year? ### Response:
SELECT "Start" FROM table_67138 WHERE "Year" = '1956'
### Instruction: CREATE TABLE table_23292220_4 ( daves_team VARCHAR, first_broadcast VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many daves team entries are there on 27 october 2006? ### Response:
SELECT COUNT(daves_team) FROM table_23292220_4 WHERE first_broadcast = "27 October 2006"
### Instruction: CREATE TABLE table_36050 ( "Episode" text, "Title" text, "Writer(s)" text, "Preservation" text, "Original airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What episode was written by jonathan lewis? ### Response:
SELECT "Episode" FROM table_36050 WHERE "Writer(s)" = 'jonathan lewis'
### Instruction: CREATE TABLE airlines ( alid VARCHAR, name VARCHAR ) CREATE TABLE routes ( alid VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the number of different airports which are the destinations of the American Airlines. ### Response:
SELECT COUNT(DISTINCT dst_apid) FROM airlines AS T1 JOIN routes AS T2 ON T1.alid = T2.alid WHERE T1.name = 'American Airlines'
### Instruction: CREATE TABLE table_700 ( "District" text, "Incumbent" text, "Party" text, "Elected" real, "Status" text, "Opponent" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What party was Lane Evans? ### Response:
SELECT "Party" FROM table_700 WHERE "Incumbent" = 'Lane Evans'
### Instruction: CREATE TABLE table_32071 ( "Heat Rank" real, "Lane" real, "Swimmer" text, "Country" text, "Time" real, "Overall Rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the heat rank for senegal ### Response:
SELECT "Heat Rank" FROM table_32071 WHERE "Country" = 'senegal'
### Instruction: CREATE TABLE table_9765 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance when they played at Dallas Cowboys? ### Response:
SELECT "Attendance" FROM table_9765 WHERE "Opponent" = 'at dallas cowboys'
### Instruction: CREATE TABLE table_505 ( "Institution" text, "Main Campus Location" text, "Founded" real, "Mascot" text, "School Colors" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the institution of Kansas city Kansas community college founded? ### Response:
SELECT COUNT("Founded") FROM table_505 WHERE "Institution" = 'Kansas City Kansas Community College'
### Instruction: CREATE TABLE table_203_129 ( id number, "finalist" text, "age" number, "from" text, "dress colour" text, "status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many finalist were 28 years old ? ### Response:
SELECT COUNT("finalist") FROM table_203_129 WHERE "age" = 28
### Instruction: CREATE TABLE table_42013 ( "Year" real, "Award" text, "Category" text, "Nominated work" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Nominated work has a Year of 1997? ### Response:
SELECT "Nominated work" FROM table_42013 WHERE "Year" = '1997'
### Instruction: CREATE TABLE table_11276 ( "Year of award" real, "Date(s)" text, "Sport" text, "Winner" text, "Loser" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date did Virginia Commonwealth Rams win? ### Response:
SELECT "Date(s)" FROM table_11276 WHERE "Winner" = 'virginia commonwealth rams'
### Instruction: CREATE TABLE table_2349 ( "Recipient" text, "First place(s)" real, "Second place(s)" real, "Third place(s)" real, "Total placings(s)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the minimum number of total placings? ### Response:
SELECT MIN("Total placings(s)") FROM table_2349
### Instruction: CREATE TABLE table_name_66 ( date_of_birth VARCHAR, begin_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of birth of the member of the United States House of Representatives that began their term on April 24, 1902? ### Response:
SELECT date_of_birth FROM table_name_66 WHERE begin_date = "april 24, 1902"
### Instruction: CREATE TABLE table_name_57 ( compression_ratio VARCHAR, dx_10_name VARCHAR, fourcc VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Compression ratio has a (none) DX 10 Name and a FOURCC of dxt4? ### Response:
SELECT compression_ratio FROM table_name_57 WHERE dx_10_name = "(none)" AND fourcc = "dxt4"
### Instruction: CREATE TABLE table_name_1 ( _percentage_wt_comp_1 VARCHAR, _percentage_wt_comp_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the total number of % wt comp 1 foR % wt comp 2 or 27 ### Response:
SELECT COUNT(_percentage_wt_comp_1) FROM table_name_1 WHERE _percentage_wt_comp_2 = 27
### Instruction: CREATE TABLE table_35042 ( "Name" text, "Year" real, "Propulsion" text, "launched by" text, "Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country had an anti-ship missile that had a solid rocket propulsion? ### Response:
SELECT "Country" FROM table_35042 WHERE "Propulsion" = 'solid rocket'
### Instruction: CREATE TABLE table_65609 ( "Time" text, "Home team" text, "Score" text, "Away team" text, "Venue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the time for the match with away team Mutual Team B? ### Response:
SELECT "Time" FROM table_65609 WHERE "Away team" = 'mutual team b'
### Instruction: CREATE TABLE table_3426 ( "Team" text, "Location" text, "Stadium" text, "Capacity" real, "Manager" text, "Captain" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Wh owas the captian of the north east stars? ### Response:
SELECT "Captain" FROM table_3426 WHERE "Team" = 'North East Stars'
### Instruction: CREATE TABLE table_50924 ( "Institution" text, "Location" text, "Nickname" text, "Enrollment" real, "Established" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was the team with the nickname pride established? ### Response:
SELECT COUNT("Established") FROM table_50924 WHERE "Nickname" = 'pride'
### Instruction: CREATE TABLE track ( track_id number, name text, location text, seating number, year_opened number ) CREATE TABLE race ( race_id number, name text, class text, date text, track_id text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Show name, class, and date for all races. ### Response:
SELECT name, class, date FROM race
### Instruction: CREATE TABLE table_77988 ( "Date" text, "Ship" text, "Type" text, "Nationality" text, "Tonnage GRT" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the tonnage grt of the ship author? ### Response:
SELECT "Tonnage GRT" FROM table_77988 WHERE "Ship" = 'author'
### Instruction: CREATE TABLE table_7823 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was T3 player Lee Janzen's score? ### Response:
SELECT MIN("Score") FROM table_7823 WHERE "Place" = 't3' AND "Player" = 'lee janzen'
### Instruction: CREATE TABLE table_47866 ( "Date" text, "Opponent" text, "Score" text, "Result" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT DATE HAD A SCORE OF 71-64? ### Response:
SELECT "Date" FROM table_47866 WHERE "Score" = '71-64'
### Instruction: CREATE TABLE table_42865 ( "Television service" text, "Country" text, "Language" text, "Content" text, "HDTV" text, "Package/Option" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country has a Fox television service? ### Response:
SELECT "Country" FROM table_42865 WHERE "Television service" = 'fox'
### Instruction: CREATE TABLE table_76102 ( "Features" text, "Foundation" text, "Standard" text, "Enterprise" text, "Datacenter" text, "Itanium" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Features have Yes listed under Datacenter? ### Response:
SELECT "Features" FROM table_76102 WHERE "Datacenter" = 'yes'
### Instruction: CREATE TABLE captain ( ship_id VARCHAR, age VARCHAR ) CREATE TABLE ship ( name VARCHAR, ship_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the name of the ship that is steered by the youngest captain. ### Response:
SELECT t1.name FROM ship AS t1 JOIN captain AS t2 ON t1.ship_id = t2.ship_id ORDER BY t2.age LIMIT 1
### Instruction: CREATE TABLE table_13998897_1 ( frequency_mhz VARCHAR, city_of_license VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the frequency mhz with city of license being chattanooga, tennessee ### Response:
SELECT frequency_mhz FROM table_13998897_1 WHERE city_of_license = "Chattanooga, Tennessee"
### Instruction: CREATE TABLE table_name_70 ( byes INTEGER, ballarat_fl VARCHAR, against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Byes that has Ballarat FL of Sunbury against more than 1167? ### Response:
SELECT AVG(byes) FROM table_name_70 WHERE ballarat_fl = "sunbury" AND against > 1167
### Instruction: CREATE TABLE table_23887174_1 ( area__km²_ INTEGER, armenian_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How big is the province with the Armenian name of ? ### Response:
SELECT MIN(area__km²_) FROM table_23887174_1 WHERE armenian_name = "Փայտակարան"
### Instruction: CREATE TABLE table_20159 ( "U.S. mission" text, "Mass (kg)" real, "Launch vehicle" text, "Launched" text, "Mission goal" text, "Mission result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest mass(kg)? ### Response:
SELECT MAX("Mass (kg)") FROM table_20159
### Instruction: CREATE TABLE table_name_36 ( points INTEGER, engine VARCHAR, chassis VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the lowest points that have a Mugen V8 engine and a Reynard 91D chassis? ### Response:
SELECT MIN(points) FROM table_name_36 WHERE engine = "mugen v8" AND chassis = "reynard 91d"
### Instruction: CREATE TABLE table_42400 ( "Draw" real, "Song" text, "Performer" text, "Points" real, "Rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total sum of points for songs performed by Partners in Crime? ### Response:
SELECT SUM("Points") FROM table_42400 WHERE "Performer" = 'partners in crime'
### Instruction: CREATE TABLE table_1746 ( "Official Name" text, "Status" text, "Area km 2" text, "Population" real, "Census Ranking" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the census ranking of the Perth parish? ### Response:
SELECT "Census Ranking" FROM table_1746 WHERE "Official Name" = 'Perth'
### Instruction: CREATE TABLE table_58825 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What score has hal sutton as the player? ### Response:
SELECT "Score" FROM table_58825 WHERE "Player" = 'hal sutton'
### Instruction: CREATE TABLE table_65956 ( "Round" real, "Pick" real, "Player" text, "Nationality" text, "College/Junior/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which player was selected in rounds under 3? ### Response:
SELECT "Player" FROM table_65956 WHERE "Round" < '3'
### Instruction: CREATE TABLE table_6035 ( "Year" real, "Group" text, "Award" text, "Film/Series" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest year that Kim was nominated for Over the Rainbow? ### Response:
SELECT MAX("Year") FROM table_6035 WHERE "Film/Series" = 'over the rainbow'
### Instruction: CREATE TABLE table_9839 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the Jamaica Classic Tournament? ### Response:
SELECT "Date" FROM table_9839 WHERE "Tournament" = 'the jamaica classic'
### Instruction: CREATE TABLE table_12837 ( "Name" text, "No. Specimens" real, "Abbr." text, "Country" text, "City" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many specimens does the SANT institution have? ### Response:
SELECT SUM("No. Specimens") FROM table_12837 WHERE "Abbr." = 'sant'
### Instruction: CREATE TABLE table_69224 ( "Year" real, "Tournament" text, "Venue" text, "Result" text, "Extra" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least year for paris, france venue ### Response:
SELECT MIN("Year") FROM table_69224 WHERE "Venue" = 'paris, france'
### Instruction: CREATE TABLE table_40717 ( "Draw" real, "Song" text, "Performer" text, "Points" real, "Rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of Points, when the Performer is fe-mail? ### Response:
SELECT SUM("Points") FROM table_40717 WHERE "Performer" = 'fe-mail'
### Instruction: CREATE TABLE table_58060 ( "Species" text, "Strain" text, "Type" text, "Base Pairs" text, "Genes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which strain has 1,312 genes? ### Response:
SELECT "Strain" FROM table_58060 WHERE "Genes" = '1,312'
### Instruction: CREATE TABLE table_46029 ( "Type" text, "Name" text, "Title" text, "Royal house" text, "From" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the title of the one who ruled from 2007 BC? ### Response:
SELECT "Title" FROM table_46029 WHERE "From" = '2007 bc'
### Instruction: CREATE TABLE table_name_22 ( fa_cup INTEGER, player VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest FA cup that has mohd faizal desa as the player, with a total greater than 0? ### Response:
SELECT MIN(fa_cup) FROM table_name_22 WHERE player = "mohd faizal desa" AND total > 0
### Instruction: CREATE TABLE table_71689 ( "Player" text, "Wkts" real, "Runs" real, "Econ" real, "Ovrs" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least ovrs for wkts of 0 ### Response:
SELECT MIN("Ovrs") FROM table_71689 WHERE "Wkts" = '0'
### Instruction: CREATE TABLE table_name_67 ( bronze INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest bronze when the silver was 0, the gold was larger than 0, and the total was larger than 2? ### Response:
SELECT MAX(bronze) FROM table_name_67 WHERE silver = 0 AND gold > 0 AND total > 2
### Instruction: CREATE TABLE table_1820752_1 ( signal_power___kw__ VARCHAR, arrival_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the arrival date is January 2059, what is the total amount of signal power? ### Response:
SELECT COUNT(signal_power___kw__) FROM table_1820752_1 WHERE arrival_date = "January 2059"
### Instruction: CREATE TABLE table_30258 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is every CFL team with the player Mark Farraway? ### Response:
SELECT "CFL Team" FROM table_30258 WHERE "Player" = 'Mark Farraway'
### Instruction: CREATE TABLE table_name_27 ( writer_s_ VARCHAR, catalogue VARCHAR, track VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On songs with track numbers smaller than number 17 and catalogues of LSP 2231, who are the writer(s)? ### Response:
SELECT writer_s_ FROM table_name_27 WHERE catalogue = "lsp 2231" AND track < 17
### Instruction: CREATE TABLE table_10727 ( "Player" text, "Position" text, "School" text, "Hometown" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the hometown of thomas tyner? ### Response:
SELECT "Hometown" FROM table_10727 WHERE "Player" = 'thomas tyner'
### Instruction: CREATE TABLE table_name_97 ( money___ INTEGER, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the average money when the score was 68-69-68-72=277? ### Response:
SELECT AVG(money___) AS $__ FROM table_name_97 WHERE score = 68 - 69 - 68 - 72 = 277
### Instruction: CREATE TABLE table_6761 ( "Date" text, "Pos." text, "Player" text, "From club" text, "Transfer fee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which From club had a Transfer fee of 3.87m? ### Response:
SELECT "From club" FROM table_6761 WHERE "Transfer fee" = '£3.87m'
### Instruction: CREATE TABLE table_31721 ( "Frequency" text, "Call sign" text, "Branding" text, "Format" text, "Owner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the branding frequency of cbc radio 2? ### Response:
SELECT "Frequency" FROM table_31721 WHERE "Branding" = 'cbc radio 2'
### Instruction: CREATE TABLE table_name_1 ( a_score INTEGER, b_score VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the A score when the B score is more than 9.15 and the gymnast was in the 2nd position? ### Response:
SELECT SUM(a_score) FROM table_name_1 WHERE b_score > 9.15 AND position = "2nd"
### Instruction: CREATE TABLE table_65062 ( "Pick" real, "Player" text, "Country of origin*" text, "PBA team" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Joselito Escobar's Pick number? ### Response:
SELECT SUM("Pick") FROM table_65062 WHERE "Player" = 'joselito escobar'
### Instruction: CREATE TABLE table_name_55 ( tyre VARCHAR, drivers VARCHAR, rounds VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the tyre of nismo team member satoshi motoyama when he has rounds of all? ### Response:
SELECT tyre FROM table_name_55 WHERE rounds = "all" AND team = "nismo" AND drivers = "satoshi motoyama"
### Instruction: CREATE TABLE table_name_12 ( track INTEGER, catalogue VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of every track with a catalogue of EPA 4054 with a 2:05 length? ### Response:
SELECT SUM(track) FROM table_name_12 WHERE catalogue = "epa 4054" AND time = "2:05"
### Instruction: CREATE TABLE table_80250 ( "Character(s)" text, "First Appearance" text, "Cover Date" text, "Publisher" text, "Estimated Value" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who publishes Wolverine? ### Response:
SELECT "Publisher" FROM table_80250 WHERE "Character(s)" = 'wolverine'
### Instruction: CREATE TABLE table_name_31 ( loss VARCHAR, opponent VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the Loss listed for the Opponent of California Angels and has an Attendance of 57,762? ### Response:
SELECT loss FROM table_name_31 WHERE opponent = "california angels" AND attendance = "57,762"
### Instruction: CREATE TABLE table_3523 ( "Week #" text, "Theme" text, "Song choice" text, "Original artist" text, "Order #" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many original artists were there for the Group Performance? ### Response:
SELECT COUNT("Original artist") FROM table_3523 WHERE "Theme" = 'Group Performance'
### Instruction: CREATE TABLE table_5717 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the latest week with a result of l 14-3? ### Response:
SELECT MAX("Week") FROM table_5717 WHERE "Result" = 'l 14-3'
### Instruction: CREATE TABLE table_70719 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was Paul Runyan's score? ### Response:
SELECT "Score" FROM table_70719 WHERE "Player" = 'paul runyan'
### Instruction: CREATE TABLE table_11820086_1 ( directed_by VARCHAR, us_viewers__millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed the episode that was viewed by 2.50 million people in the U.S.? ### Response:
SELECT directed_by FROM table_11820086_1 WHERE us_viewers__millions_ = "2.50"
### Instruction: CREATE TABLE table_10608 ( "Week" text, "Date" text, "Opponent" text, "Result" text, "Channel" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date was the week 17 game played on? ### Response:
SELECT "Date" FROM table_10608 WHERE "Week" = '17'
### Instruction: CREATE TABLE table_75919 ( "Name" text, "Height" text, "Position" text, "Year" text, "Home Town" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what year of school is the player from Fayetteville, NC? ### Response:
SELECT "Year" FROM table_75919 WHERE "Home Town" = 'fayetteville, nc'
### Instruction: CREATE TABLE table_54203 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the high lap total for fran ois cevert? ### Response:
SELECT MAX("Laps") FROM table_54203 WHERE "Driver" = 'françois cevert'