instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: 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 ) -- Using valid SQLite, answer the following questions for the tables provided abov...
SELECT COUNT(*) FROM table_204_929
### Instruction: CREATE TABLE table_204_985 ( id number, "season" text, "competition" text, "round" text, "club" text, "home" text, "away" text, "aggregate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the first club listed in ...
SELECT "club" FROM table_204_985 WHERE id = 1
### Instruction: CREATE TABLE table_8752 ( "Name/Designation" text, "Class" text, "Range (varies with payload weight)" text, "Payload" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name/designation for the 1200kg payload?...
SELECT "Name/Designation" FROM table_8752 WHERE "Payload" = '1200kg'
### Instruction: CREATE TABLE table_41322 ( "Draw" real, "Song" text, "Performer" text, "Points" real, "Rank" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Points have a Song of 'this time' and a Draw smaller than 5? ### Response:
SELECT COUNT("Points") FROM table_41322 WHERE "Song" = 'this time' AND "Draw" < '5'
### Instruction: CREATE TABLE table_204_772 ( id number, "team" text, "county" text, "wins" number, "years won" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- ballymore eustace is from the same county as what team that won in 2009 ? ### Response...
SELECT "team" FROM table_204_772 WHERE "years won" = 2009
### Instruction: CREATE TABLE table_9841 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the maximum attendance when Chicago is th...
SELECT MAX("Attendance") FROM table_9841 WHERE "Visitor" = 'chicago'
### Instruction: CREATE TABLE table_12109 ( "Date" text, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the playing surface for the Tournament of Great Britain F16? ...
SELECT "Surface" FROM table_12109 WHERE "Tournament" = 'great britain f16'
### Instruction: CREATE TABLE table_72932 ( "DSL Type" text, "Provider" text, "Resale" text, "Down (up to kbit/s)" real, "Up (up to kbit/s)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the resale category for the provider NetCologne? ##...
SELECT "Resale" FROM table_72932 WHERE "Provider" = 'Netcologne'
### Instruction: CREATE TABLE table_54132 ( "Player" text, "Rec." real, "Yards" real, "Avg." real, "TD's" real, "Long" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the lowest recorded record for a player with an average larger than 13...
SELECT MIN("Rec.") FROM table_54132 WHERE "Avg." > '13'
### Instruction: CREATE TABLE table_70963 ( "Index" text, "Name" text, "Chinese Name" text, "Country" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Index number of Chen Bangjun Andie from Singapore? ### Response:
SELECT "Index" FROM table_70963 WHERE "Country" = 'singapore' AND "Name" = 'chen bangjun andie'
### Instruction: CREATE TABLE table_75711 ( "Parish" text, "Type" text, "Area (Hectare)" real, "Population (2001)" real, "Pop Density /Hectare" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the area for Worth Parish? ### Response:
SELECT "Area (Hectare)" FROM table_75711 WHERE "Parish" = 'worth'
### Instruction: CREATE TABLE table_25913 ( "Episode" text, "First broadcast" text, "Seans team" text, "Daves team" text, "Scores" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which episode has boy george and lee mack on dave's team? ### Respons...
SELECT "Episode" FROM table_25913 WHERE "Daves team" = 'Boy George and Lee Mack'
### Instruction: CREATE TABLE table_3012 ( "District" text, "Vacator" text, "Reason for change" text, "Successor" text, "Date successor seated" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the vacator for the district of Nebraska at-large?...
SELECT "Vacator" FROM table_3012 WHERE "District" = 'Nebraska At-large'
### Instruction: CREATE TABLE table_name_69 ( title VARCHAR, lyricist_s_ VARCHAR, composer_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Title, when the Lyricist(s) is Yarosake, and when the Composer(s) is Yarosake? ### Response:
SELECT title FROM table_name_69 WHERE lyricist_s_ = "yarosake" AND composer_s_ = "yarosake"
### Instruction: CREATE TABLE table_18143 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Results" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the results in the county with Peter Deutsch ...
SELECT "Results" FROM table_18143 WHERE "Incumbent" = 'Peter Deutsch'
### Instruction: CREATE TABLE table_71327 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest attendance week 12? ###...
SELECT MAX("Attendance") FROM table_71327 WHERE "Week" = '12'
### Instruction: CREATE TABLE table_204_996 ( id number, "no." text, "air date" text, "network" text, "household\nrating" number, "viewers\n(millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which network has the most airings ? ### Res...
SELECT "network" FROM table_204_996 GROUP BY "network" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_name_32 ( court_rank VARCHAR, revenues VARCHAR, lineage VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the court ranking of 5th son of tadayori and has revenues of 10,000 koku? ### Response:
SELECT court_rank FROM table_name_32 WHERE revenues = "10,000 koku" AND lineage = "5th son of tadayori"
### Instruction: CREATE TABLE table_53427 ( "Name" text, "League" real, "FA Cup" real, "League Cup" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest number of goals scored by a player in the normal league games where m...
SELECT MIN("League") FROM table_53427 WHERE "Total" > '8'
### Instruction: CREATE TABLE table_44576 ( "Skip" text, "Third" text, "Second" text, "Lead" text, "City" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE CITY WITH THIRD AS LORI OLSON-JOHNS? ### Response:
SELECT "City" FROM table_44576 WHERE "Third" = 'lori olson-johns'
### Instruction: CREATE TABLE table_2791 ( "Date" text, "Location" text, "Opponent" text, "Cyclones Points" real, "Opp. Points" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the Cyclones get 46 points? ### Response:
SELECT "Date" FROM table_2791 WHERE "Cyclones Points" = '46'
### Instruction: CREATE TABLE customers ( email_address VARCHAR, phone_number VARCHAR, customer_id VARCHAR ) CREATE TABLE complaints ( email_address VARCHAR, phone_number VARCHAR, customer_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Fi...
SELECT email_address, phone_number FROM customers WHERE NOT customer_id IN (SELECT customer_id FROM complaints)
### Instruction: CREATE TABLE table_17257687_1 ( episode_number VARCHAR, event_4 VARCHAR, event_1 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On which episode number is event 4 The Wall and event 1 the Pendulum? ### Response:
SELECT COUNT(episode_number) FROM table_17257687_1 WHERE event_4 = "The Wall" AND event_1 = "Pendulum"
### Instruction: CREATE TABLE table_8709 ( "Developer(s)" text, "Release date" text, "Required OS" text, "Payment" text, "Type" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Type has a Release date of november 30, 1997? ### Response:
SELECT "Type" FROM table_8709 WHERE "Release date" = 'november 30, 1997'
### Instruction: CREATE TABLE table_22897453_1 ( kr_narayanan__votes_ VARCHAR, kr_narayanan__values_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the kr narayanan votes for values being 936 for kr ### Response:
SELECT kr_narayanan__votes_ FROM table_22897453_1 WHERE kr_narayanan__values_ = 936
### Instruction: CREATE TABLE table_257 ( "Date" text, "Tournament" text, "Location" text, "Purse( $ )" real, "Winner" text, "Score" text, "1st Prize( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the game in Mexico played? ...
SELECT "Date" FROM table_257 WHERE "Location" = 'Mexico'
### Instruction: CREATE TABLE table_31952 ( "Season" text, "Level" text, "Division" text, "Section" text, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the section for position of 8th and season of 2003 ### Response:
SELECT "Section" FROM table_31952 WHERE "Position" = '8th' AND "Season" = '2003'
### Instruction: CREATE TABLE table_69884 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Time" text, "Att." real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date has 2:48 as the time? ### Response:
SELECT "Date" FROM table_69884 WHERE "Time" = '2:48'
### Instruction: CREATE TABLE table_204_330 ( id number, "finished" text, "horse" text, "jockey" text, "trainer" text, "owner" text, "time / behind" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the name of the first jockey on this ...
SELECT "jockey" FROM table_204_330 WHERE id = 1
### Instruction: CREATE TABLE table_32944 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What opponent did they have a bye result against before week 14? ### Response:
SELECT "Opponent" FROM table_32944 WHERE "Result" = 'bye' AND "Week" < '14'
### Instruction: CREATE TABLE table_name_96 ( incumbent VARCHAR, first_elected VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the incumbent that was first elected in 1892 and retired to run for the senate democratic hold? ### Re...
SELECT incumbent FROM table_name_96 WHERE first_elected = "1892" AND result = "retired to run for the senate democratic hold"
### Instruction: CREATE TABLE table_38177 ( "Round" text, "Venue" text, "Discipline" text, "Date" text, "Winner" text, "Second" text, "Third" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was third in round 14? ### Response:
SELECT "Third" FROM table_38177 WHERE "Round" = '14'
### Instruction: CREATE TABLE table_name_75 ( set_1 VARCHAR, set_3 VARCHAR, set_2 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Set 1 game score when Set 3 game score was 15 4, and a Set 2 game score was 15 7? ### Response:
SELECT set_1 FROM table_name_75 WHERE set_3 = "15–4" AND set_2 = "15–7"
### Instruction: CREATE TABLE table_21146 ( "Team name (Affiliation)" text, "Year started" real, "Number of cars" real, "Current car" text, "Car #" text, "Website" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the year started where car nu...
SELECT MAX("Year started") FROM table_21146 WHERE "Car #" = '55'
### Instruction: CREATE TABLE table_7394 ( "Outcome" text, "Date" text, "Championship" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the outcome of the match against andy roddick? ### Re...
SELECT "Outcome" FROM table_7394 WHERE "Opponent" = 'andy roddick'
### Instruction: CREATE TABLE table_204_383 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which nation had the most gold medals ? ### Re...
SELECT "nation" FROM table_204_383 ORDER BY "gold" DESC LIMIT 1
### Instruction: CREATE TABLE table_203_812 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which country had the highest number of medals ?...
SELECT "nation" FROM table_203_812 ORDER BY "total" DESC LIMIT 1
### Instruction: CREATE TABLE table_49585 ( "Nat." text, "Name" text, "Moving to" text, "Type" text, "Transfer window" text, "Transfer fee" text, "Source" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the name of MKD? ### Response:...
SELECT "Name" FROM table_49585 WHERE "Nat." = 'mkd'
### Instruction: CREATE TABLE table_5532 ( "Date" text, "Time" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Loss is recorded for the Date June 2? ### Resp...
SELECT "Loss" FROM table_5532 WHERE "Date" = 'june 2'
### Instruction: CREATE TABLE table_23230 ( "Institution" text, "Nickname" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the type for hobart college ### ...
SELECT "Type" FROM table_23230 WHERE "Institution" = 'Hobart College'
### Instruction: CREATE TABLE table_18202 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Status" text, "Opponent" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's Georgia5's first elected year? ### Response:
SELECT MAX("First elected") FROM table_18202 WHERE "District" = 'Georgia5'
### Instruction: CREATE TABLE table_33297 ( "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 result of the game on august 30, 1968? ### Response:
SELECT "Result" FROM table_33297 WHERE "Date" = 'august 30, 1968'
### Instruction: CREATE TABLE table_47850 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Week(s), when Attendance is 61,603? ### Response:
SELECT COUNT("Week") FROM table_47850 WHERE "Attendance" = '61,603'
### Instruction: CREATE TABLE table_12232843_1 ( womens_doubles VARCHAR, mens_singles VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many women doubles teams competed in the same year as when Jamie van Hooijdonk competed in men singles? ### Response:
SELECT COUNT(womens_doubles) FROM table_12232843_1 WHERE mens_singles = "Jamie van Hooijdonk"
### Instruction: CREATE TABLE table_37650 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average rank for nations with fewer than 0 gold medals? ### R...
SELECT AVG("Rank") FROM table_37650 WHERE "Gold" < '0'
### Instruction: CREATE TABLE table_11688 ( "Year" real, "Tournament" text, "Partner" text, "Opponent in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the opponent in the final for year of 1888 ### Response:
SELECT "Opponent in the final" FROM table_11688 WHERE "Year" = '1888'
### Instruction: CREATE TABLE table_name_2 ( date_of_appointment VARCHAR, manner_of_departure VARCHAR, replaced_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of appointment for the team with a resigned manner of departure and replace...
SELECT date_of_appointment FROM table_name_2 WHERE manner_of_departure = "resigned" AND replaced_by = "sandy clark"
### Instruction: CREATE TABLE table_64486 ( "Draw" real, "Artist" text, "Song" text, "Points" real, "Place" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average number of points for places over 7 and having a draw order of 4? ### Res...
SELECT AVG("Points") FROM table_64486 WHERE "Place" > '7' AND "Draw" = '4'
### Instruction: CREATE TABLE table_51398 ( "Player" text, "Position" text, "Date of Birth (Age)" text, "Caps" real, "Club/province" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of birth of Kameli Ratuvou? ### Response:
SELECT "Date of Birth (Age)" FROM table_51398 WHERE "Player" = 'kameli ratuvou'
### Instruction: CREATE TABLE table_70759 ( "Class" text, "Type" text, "Names" text, "Quantity made" text, "Manufacturer" text, "Date made" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the locomotive named Blacklion Glencar...
SELECT "Date made" FROM table_70759 WHERE "Names" = 'blacklion glencar'
### Instruction: CREATE TABLE table_69926 ( "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what tournament happened on march 27, 2006? ### Response:
SELECT "Tournament" FROM table_69926 WHERE "Date" = 'march 27, 2006'
### Instruction: CREATE TABLE table_43458 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Game Site" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the game on week 11? ...
SELECT "Result" FROM table_43458 WHERE "Week" = '11'
### Instruction: CREATE TABLE table_45796 ( "Year" text, "Result" text, "Matches" text, "Wins" text, "Draws" text, "Losses" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Draws, when Wins is 'Did Not Qualify'? ### Response:
SELECT "Draws" FROM table_45796 WHERE "Wins" = 'did not qualify'
### Instruction: CREATE TABLE table_203_653 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which nation ranked first in gold medals ? ###...
SELECT "nation" FROM table_203_653 ORDER BY "gold" DESC LIMIT 1
### Instruction: CREATE TABLE table_16499 ( "Team" text, "Stadium" text, "Capacity" real, "Highest" real, "Lowest" real, "Average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the minimum capacity where airdrie united is? ### Respons...
SELECT MIN("Capacity") FROM table_16499 WHERE "Team" = 'Airdrie United'
### Instruction: CREATE TABLE table_204_945 ( id number, "episode" number, "name" text, "synopsis" text, "sent home" text, "highest seller" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what two episodes was adam the highest seller ? ### Resp...
SELECT "episode" FROM table_204_945 WHERE "highest seller" = 'adam'
### Instruction: CREATE TABLE table_64266 ( "Rank" text, "Rider" text, "Team" text, "Speed" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team has a Rank Ret, and rider Frank A Applebee? ### Response:
SELECT "Team" FROM table_64266 WHERE "Rank" = 'ret' AND "Rider" = 'frank a applebee'
### Instruction: CREATE TABLE table_35905 ( "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. -- On what Date was Judy Rankin Runner(s)-up? ### Response:
SELECT "Date" FROM table_35905 WHERE "Runner(s)-up" = 'judy rankin'
### Instruction: CREATE TABLE table_203_655 ( id number, "goal" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many different venues were ...
SELECT COUNT(DISTINCT "venue") FROM table_203_655
### Instruction: CREATE TABLE table_53990 ( "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the air date for the episode with production code ad1...
SELECT "Original air date" FROM table_53990 WHERE "Production code" = 'ad1c13'
### Instruction: CREATE TABLE table_15378 ( "Category" text, "Film" text, "Director(s)" text, "Country" text, "Nominating Festival" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The Prix UIP Vilo Do Conde festival nominated which film? ### Respon...
SELECT "Film" FROM table_15378 WHERE "Nominating Festival" = 'prix uip vilo do conde'
### Instruction: CREATE TABLE table_65761 ( "Name" text, "Nationality" text, "4.30" text, "4.45" text, "4.55" text, "Result" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Anna Rogowska's average result? ### Response:
SELECT AVG("Result") FROM table_65761 WHERE "Name" = 'anna rogowska'
### Instruction: CREATE TABLE table_60342 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For what country does the golfer play who has a score of 72-65=137? ### Response:
SELECT "Country" FROM table_60342 WHERE "Score" = '72-65=137'
### Instruction: CREATE TABLE table_name_85 ( against INTEGER, favour VARCHAR, lost VARCHAR, draw VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Against where they lost less than 20 games, tied more than 2 of them, and they had Fa...
SELECT MAX(against) FROM table_name_85 WHERE lost < 20 AND draw > 2 AND favour < 11
### Instruction: CREATE TABLE table_22056184_1 ( poles INTEGER, series VARCHAR, f_laps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many poles when British formula renault 2.0 series and f/laps 1? ### Response:
SELECT MIN(poles) FROM table_22056184_1 WHERE series = "British Formula Renault 2.0" AND f_laps = 1
### Instruction: CREATE TABLE table_23853 ( "No. in series" real, "Title" text, "Directedby" text, "Writtenby" text, "Originalairdate" text, "Production code" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the production code for episod...
SELECT "Production code" FROM table_23853 WHERE "No. in series" = '1'
### Instruction: CREATE TABLE table_204_837 ( id number, "match" text, "team" text, "result points" number, "match status" number, "opposition strength" number, "regional strength" number, "ranking points" number ) -- Using valid SQLite, answer the following questions for the tables pr...
SELECT COUNT("match") FROM table_204_837
### Instruction: CREATE TABLE table_name_31 ( city_of_license VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which city has frequency under 106.5MHz and a callsign of w218ck? ### Response:
SELECT city_of_license FROM table_name_31 WHERE frequency_mhz < 106.5 AND call_sign = "w218ck"
### Instruction: CREATE TABLE table_25264 ( "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. -- If Crazy In Love is the song choice, what is the theme? ...
SELECT "Theme" FROM table_25264 WHERE "Song choice" = 'Crazy In Love'
### Instruction: CREATE TABLE table_24366 ( "Type of Record" text, "Attendance" real, "Date/Year" text, "Stadium" text, "Result/Games" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date/s has attendance been 45010? ### Response:
SELECT "Date/Year" FROM table_24366 WHERE "Attendance" = '45010'
### Instruction: CREATE TABLE table_name_22 ( delegates INTEGER, counties_carries VARCHAR, state_delegate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of delegate that have 4 counties carries and more than 1,903 state delegates...
SELECT SUM(delegates) FROM table_name_22 WHERE counties_carries = 4 AND state_delegate > 1 OFFSET 903
### Instruction: CREATE TABLE table_12227 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" real, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the average to par for lee trevino? ### Response:
SELECT AVG("To par") FROM table_12227 WHERE "Player" = 'lee trevino'
### Instruction: CREATE TABLE table_name_36 ( current_club VARCHAR, position VARCHAR, year_born VARCHAR, height VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the current club of the Forward who was born after 1983 and who has a height under ...
SELECT current_club FROM table_name_36 WHERE year_born > 1983 AND height < 2.12 AND position = "forward"
### Instruction: CREATE TABLE table_9913 ( "Rank" text, "Name" text, "Sprint Points" text, "Extra Laps" text, "Total Points" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is at rank 13 with 23 total points? ### Response:
SELECT "Name" FROM table_9913 WHERE "Total Points" = '23' AND "Rank" = '13'
### Instruction: CREATE TABLE table_2627 ( "Name" text, "#" real, "Position" text, "Height" text, "Weight" real, "Year" text, "Home Town" text, "High School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the # for worthing high ...
SELECT COUNT("#") FROM table_2627 WHERE "High School" = 'Worthing'
### Instruction: CREATE TABLE table_name_92 ( week INTEGER, result VARCHAR, attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Week is the highest one that has a Result of w 23-20, and an Attendance smaller than 34,127? ### Response:
SELECT MAX(week) FROM table_name_92 WHERE result = "w 23-20" AND attendance < 34 OFFSET 127
### Instruction: CREATE TABLE table_42499 ( "Year" real, "Winner" text, "School" text, "Position" text, "Points" text, "% of Points Possible" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the % of points possible of the winner from Penn...
SELECT "% of Points Possible" FROM table_42499 WHERE "School" = 'penn state'
### Instruction: CREATE TABLE table_43230 ( "Family" text, "Baltimore group" text, "envelopment" text, "Virion shape" text, "Replication site" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the envelopment for the rhabdoviridae family? ###...
SELECT "envelopment" FROM table_43230 WHERE "Family" = 'rhabdoviridae'
### Instruction: CREATE TABLE table_37672 ( "Driver" text, "Team" text, "Laps" real, "Time/Retired" text, "Grid" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the time/retired of the team with a grid of 14? ### Response...
SELECT "Time/Retired" FROM table_37672 WHERE "Grid" = '14'
### Instruction: CREATE TABLE table_8356 ( "Round" real, "Pick" real, "Player" text, "Position" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest Pick for Lonnie Brockman before round 9? ### Response:
SELECT MAX("Pick") FROM table_8356 WHERE "Player" = 'lonnie brockman' AND "Round" < '9'
### Instruction: CREATE TABLE table_30632 ( "Category" text, "Player" text, "Team" text, "Games played" real, "Totals" text, "Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the totals when the average is 6.25? ### Response:
SELECT "Totals" FROM table_30632 WHERE "Average" = '6.25'
### Instruction: CREATE TABLE table_36134 ( "Games" real, "Drawn" real, "Lost" real, "Points difference" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Points have a Lost smaller than 1, and Games larger than 7? ### Response:
SELECT MAX("Points") FROM table_36134 WHERE "Lost" < '1' AND "Games" > '7'
### Instruction: CREATE TABLE table_21095 ( "Name" text, "Latitude" text, "Longitude" text, "Diameter (km)" text, "Year named" real, "Name origin" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was Norterma Tholus created? ### Respon...
SELECT MAX("Year named") FROM table_21095 WHERE "Name" = 'Norterma Tholus'
### Instruction: CREATE TABLE table_name_21 ( status VARCHAR, population VARCHAR, census_ranking VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the current status of a location with a census ranking of 1,769 of 5,008 and population greater than 9...
SELECT status FROM table_name_21 WHERE population > 930 AND census_ranking = "1,769 of 5,008"
### Instruction: CREATE TABLE table_63489 ( "Rank" real, "Peak" text, "Country" text, "Island" text, "Elevation (m)" real, "Col (m)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the rank when the col is larger than 0? ### Response:
SELECT COUNT("Rank") FROM table_63489 WHERE "Col (m)" > '0'
### Instruction: CREATE TABLE table_45324 ( "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 result of the game from September 10, 2000? ### Response:
SELECT "Result" FROM table_45324 WHERE "Date" = 'september 10, 2000'
### Instruction: CREATE TABLE table_11090 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many people attended the game of a.f.c. totton? ### Response:
SELECT "Attendance" FROM table_11090 WHERE "Home team" = 'a.f.c. totton'
### Instruction: CREATE TABLE table_35235 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the match on December 19, 2009? ### Response:
SELECT "Score" FROM table_35235 WHERE "Date" = 'december 19, 2009'
### Instruction: CREATE TABLE table_20086 ( "First District" text, "Second District" text, "Third District" text, "Fourth District" text, "Fifth District" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number for fifth district for richard ...
SELECT COUNT("Fifth District") FROM table_20086 WHERE "Third District" = 'Richard Houskamp'
### Instruction: CREATE TABLE table_204_320 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which country has the most gold medals ? ### R...
SELECT "nation" FROM table_204_320 ORDER BY "gold" DESC LIMIT 1
### Instruction: CREATE TABLE table_13136 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" real, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many totals does p draig harrington have? ### Response:
SELECT COUNT("Total") FROM table_13136 WHERE "Player" = 'pádraig harrington'
### Instruction: CREATE TABLE table_34247 ( "Kanji" text, "Name" text, "Builder" text, "Laid down" text, "Launched" text, "Completed" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the launch date for the Ushio dd-54? ### Response:
SELECT "Launched" FROM table_34247 WHERE "Name" = 'ushio dd-54'
### Instruction: CREATE TABLE table_8567 ( "Rank" real, "Name" text, "Team" text, "Games" real, "Rebounds" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team has more than 32 games and 311 rebounds? ### Response:
SELECT "Team" FROM table_8567 WHERE "Games" > '32' AND "Rebounds" = '311'
### Instruction: CREATE TABLE table_name_72 ( competition VARCHAR, date VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Competition, when Date is 'January 11, 1996', when Venue is 'San Diego , United States'? ### Response:
SELECT competition FROM table_name_72 WHERE date = "january 11, 1996" AND venue = "san diego , united states"
### Instruction: CREATE TABLE table_78034 ( "Source" text, "Date" text, "Cardwell" text, "Jones" text, "Knight" text, "Lanier" text, "Martin" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What source has a cardwell of 20%? ### Response:
SELECT "Source" FROM table_78034 WHERE "Cardwell" = '20%'
### Instruction: CREATE TABLE table_50362 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which of the Res., has Ryan Scheepe as an opponent? ### Response:
SELECT "Res." FROM table_50362 WHERE "Opponent" = 'ryan scheepe'
### Instruction: CREATE TABLE table_27301 ( "Company" text, "Parent company" text, "Parent headquarters" text, "Plant" text, "Models produced" text, "Production (latest figures)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the product...
SELECT "Production (latest figures)" FROM table_27301 WHERE "Parent company" = 'Ariel'
### Instruction: CREATE TABLE table_2597 ( "Market Rank & City of license /Market" text, "Station" text, "Channel TV / DT" text, "Owned since" real, "Affiliation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was the station WLS-TV owned since...
SELECT "Owned since" FROM table_2597 WHERE "Station" = 'WLS-TV'
### Instruction: CREATE TABLE table_71383 ( "Name" text, "Street address" text, "Years as tallest" text, "Height ft / m" text, "Floors" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the years as tallest when floors are larger than 18 ### Res...
SELECT "Years as tallest" FROM table_71383 WHERE "Floors" > '18'
### Instruction: CREATE TABLE table_56585 ( "Unit" text, "Complement" text, "Killed" text, "Wounded" text, "Missing" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many were Wounded while in a Unit with a Complement of 83 off 9 Men? ### Respon...
SELECT "Wounded" FROM table_56585 WHERE "Complement" = '83 off 9 men'