instruction
stringlengths
231
6.3k
output
stringlengths
2
2.03k
### Instruction: CREATE TABLE table_23670 ( "Malayalam name" text, "Transliteration" text, "Concurrent Gregorian months" text, "Sanskrit word and meaning" text, "Zodiac sign" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the zodiac for ### Response:
SELECT "Zodiac sign" FROM table_23670 WHERE "Malayalam name" = 'കന്നി'
### Instruction: CREATE TABLE table_2144 ( "Institution" text, "Location" text, "Nickname" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- state the institution in glenside, pennsylvania ### Response:
SELECT "Institution" FROM table_2144 WHERE "Location" = 'Glenside, Pennsylvania'
### Instruction: CREATE TABLE table_10827 ( "State" text, "Preliminary Average" text, "Swimsuit" text, "Interview" text, "Evening Gown" text, "Semifinal Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the preliminary average for utah ### Response:
SELECT "Preliminary Average" FROM table_10827 WHERE "State" = 'utah'
### Instruction: CREATE TABLE table_8358 ( "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 round for Bowling Green with a pick smaller than 210? ### Response:
SELECT MAX("Round") FROM table_8358 WHERE "School" = 'bowling green' AND "Pick" < '210'
### Instruction: CREATE TABLE table_37094 ( "Games" real, "Drawn" real, "Lost" real, "Points difference" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the sum of points values that are associated with 0 losses and more than 8 games? ### Response:
SELECT SUM("Points") FROM table_37094 WHERE "Lost" = '0' AND "Games" > '8'
### Instruction: CREATE TABLE table_23488 ( "Season" real, "Network" text, "Host" text, "Contestants" real, "Winner" text, "Destination" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What season was won by Ashutosh Kaushik? ### Response:
SELECT MIN("Season") FROM table_23488 WHERE "Winner" = 'Ashutosh Kaushik'
### Instruction: CREATE TABLE table_30890 ( "Number" text, "Serial Number" real, "Into Service" text, "Withdrawn" text, "Scrapped" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the withdrawn for example and serial number 579 ### Response:
SELECT "Withdrawn" FROM table_30890 WHERE "Into Service" = 'Example' AND "Serial Number" = '579'
### Instruction: CREATE TABLE table_71975 ( "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. -- Name the score for opponent in the final being paul baccanello ### Response:
SELECT "Score" FROM table_71975 WHERE "Opponent in the final" = 'paul baccanello'
### Instruction: CREATE TABLE table_79018 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the place of the player with a 72-71-65=208 score? ### Response:
SELECT "Place" FROM table_79018 WHERE "Score" = '72-71-65=208'
### Instruction: CREATE TABLE table_name_97 ( season VARCHAR, _number_of_episodes VARCHAR, date_released VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Season, when # Of Episodes is '10', and when Date Released is '1 April 2010'? ### Response:
SELECT season FROM table_name_97 WHERE _number_of_episodes = 10 AND date_released = "1 april 2010"
### Instruction: CREATE TABLE table_203_528 ( id number, "year" number, "political rights" number, "civil liberties" number, "status" text, "president" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of time seyni kountche has been president ? ### Response:
SELECT COUNT(*) FROM table_203_528 WHERE "president" = 'seyni kountche'
### Instruction: CREATE TABLE table_204_688 ( id number, "name" text, "red vs. blue" text, "couples team" text, "status" text, "weight" text, "total votes" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who was the last contestant to be voted out in week 7 ? ### Response:
SELECT "name" FROM table_204_688 ORDER BY id DESC LIMIT 1
### Instruction: CREATE TABLE table_48322 ( "Year" real, "Venue" text, "Winner" text, "Runner Up" text, "Third Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the event held in Tartu, Estonia, what is the name of the runner-up? ### Response:
SELECT "Runner Up" FROM table_48322 WHERE "Venue" = 'tartu, estonia'
### Instruction: CREATE TABLE table_32756 ( "Week" real, "Opponent" text, "Result" text, "Stadium" text, "Record" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result when the attendance was 25,418? ### Response:
SELECT "Result" FROM table_32756 WHERE "Attendance" = '25,418'
### Instruction: CREATE TABLE table_3746 ( "Version" text, "Codename" text, "Edition" text, "Code Base" text, "Compatible repository" text, "Default desktop environment" text, "Release date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the version when the codename is ada? ### Response:
SELECT "Version" FROM table_3746 WHERE "Codename" = 'Ada'
### Instruction: CREATE TABLE table_68392 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the venue when the date is September 24, 1980? ### Response:
SELECT "Venue" FROM table_68392 WHERE "Date" = 'september 24, 1980'
### Instruction: CREATE TABLE table_7164 ( "Player" text, "League" real, "Malaysia Cup" real, "FA Cup" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Malaysia Cups have 0 for the total with a league greater than 0? ### Response:
SELECT COUNT("Malaysia Cup") FROM table_7164 WHERE "Total" = '0' AND "League" > '0'
### Instruction: CREATE TABLE table_46709 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the Opponent on October 31, 1993? ### Response:
SELECT "Opponent" FROM table_46709 WHERE "Date" = 'october 31, 1993'
### Instruction: CREATE TABLE table_67309 ( "Name" text, "Party" text, "Hometown" text, "District" text, "Term" text, "Legislatures" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which term had a Democratic representative from district 7? ### Response:
SELECT "Term" FROM table_67309 WHERE "District" = '7' AND "Party" = 'democratic'
### Instruction: CREATE TABLE table_34909 ( "Version" text, "Length" text, "Album" text, "Remixed by" text, "Year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Remixed by has a Version of album version, and an Album of les mots? ### Response:
SELECT "Remixed by" FROM table_34909 WHERE "Version" = 'album version' AND "Album" = 'les mots'
### Instruction: CREATE TABLE table_45698 ( "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent on April 21, 2008? ### Response:
SELECT "Opponent" FROM table_45698 WHERE "Date" = 'april 21, 2008'
### Instruction: CREATE TABLE table_22822 ( "Team #1" text, "Agg. score" text, "Team #2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the team #2 in the round where team #1 is Iraklis? ### Response:
SELECT "Team #2" FROM table_22822 WHERE "Team #1" = 'Iraklis'
### Instruction: CREATE TABLE table_35751 ( "Team" text, "Date" text, "Opponent" text, "Pitcher" text, "Inn." text, "Venue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the pitcher with the record recorded in the 7th inning? ### Response:
SELECT "Pitcher" FROM table_35751 WHERE "Inn." = '7th'
### Instruction: CREATE TABLE table_35069 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Venue" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Attendance of 60,671 had what average week? ### Response:
SELECT AVG("Week") FROM table_35069 WHERE "Attendance" = '60,671'
### Instruction: CREATE TABLE table_36405 ( "Order" text, "Year" real, "Olympic Games" text, "Medal" text, "Weight" text, "Boxer" text, "Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the order of the Tokyo olympic games? ### Response:
SELECT "Order" FROM table_36405 WHERE "Olympic Games" = 'tokyo'
### Instruction: CREATE TABLE table_14124 ( "Constituency number" text, "Name" text, "Reserved for ( SC / ST /None)" text, "District" text, "Number of electorates (2009)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Name has a Constituency number of 1? ### Response:
SELECT "Name" FROM table_14124 WHERE "Constituency number" = '1'
### Instruction: CREATE TABLE table_63370 ( "Title" text, "Series" text, "Director" text, "Production Number" text, "Release date" text, "reissue?" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the reissue value for the feature titled 'Catch as Cats Can'? ### Response:
SELECT "reissue?" FROM table_63370 WHERE "Title" = 'catch as cats can'
### Instruction: CREATE TABLE table_29174 ( "Team" text, "Stadium" text, "Capacity" real, "Total" real, "Highest" real, "Lowest" real, "Average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the capacity for dundee united? ### Response:
SELECT "Capacity" FROM table_29174 WHERE "Team" = 'Dundee United'
### Instruction: CREATE TABLE table_251 ( "Comparisons" text, "Hub Base Class" text, "Emulated Class" text, "Semi-DDM Class" text, "DDM Class" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Is wireless combo keyboard and mouse support part of the DDM class? ### Response:
SELECT "DDM Class" FROM table_251 WHERE "Comparisons" = 'Wireless Combo keyboard and mouse support'
### Instruction: CREATE TABLE table_19970 ( "Province" text, "Prefecture" text, "County" text, "Tujia Population" real, "% of Chinas Tujia Population" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the country is fenghuang how many provinces are there? ### Response:
SELECT COUNT("Province") FROM table_19970 WHERE "County" = 'Fenghuang'
### Instruction: CREATE TABLE table_60071 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Agg., when Team 1 is 'Noliko Maaseik'? ### Response:
SELECT "Agg." FROM table_60071 WHERE "Team 1" = 'noliko maaseik'
### Instruction: CREATE TABLE table_20307 ( "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. -- Who was the original artist for week number Top 16 (8 women)? ### Response:
SELECT "Original artist" FROM table_20307 WHERE "Week #" = 'Top 16 (8 Women)'
### Instruction: CREATE TABLE table_30767 ( "Branding" text, "Callsign" text, "Frequency" text, "Power (kW)" text, "Station Type" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where are all the 1485khz frequency located? ### Response:
SELECT "Location" FROM table_30767 WHERE "Frequency" = '1485kHz'
### Instruction: CREATE TABLE table_38201 ( "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 number of Gold medals when there are 5 bronze medals? ### Response:
SELECT AVG("Gold") FROM table_38201 WHERE "Bronze" = '5'
### Instruction: CREATE TABLE table_1552 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Attendance" real, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points were made in game 70? ### Response:
SELECT COUNT("Points") FROM table_1552 WHERE "Game" = '70'
### Instruction: CREATE TABLE table_31554 ( "Pick" text, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the nationality of the Washington Capitals? ### Response:
SELECT "Nationality" FROM table_31554 WHERE "NHL team" = 'washington capitals'
### Instruction: CREATE TABLE table_47188 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Venue, when Date is '2003-08-13'? ### Response:
SELECT "Venue" FROM table_47188 WHERE "Date" = '2003-08-13'
### Instruction: CREATE TABLE table_26986076_3 ( mon_23_aug VARCHAR, rider VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the time on Monday August 23rd for Steve Linsdell 499cc royal enfield seeley? ### Response:
SELECT mon_23_aug FROM table_26986076_3 WHERE rider = "Steve Linsdell 499cc Royal Enfield Seeley"
### Instruction: CREATE TABLE table_67046 ( "Ship" text, "Pennant number" text, "Laid down" text, "Launched" text, "Commissioned" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Launched has Commissioned 6 june 1935? ### Response:
SELECT "Launched" FROM table_67046 WHERE "Commissioned" = '6 june 1935'
### Instruction: CREATE TABLE table_203_657 ( id number, "call sign" text, "frequency" text, "city of license" text, "licensee" text, "format" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which cities have at least three call signs ? ### Response:
SELECT "city of license" FROM table_203_657 GROUP BY "city of license" HAVING COUNT("call sign") >= 3
### Instruction: CREATE TABLE table_40661 ( "Match" real, "Date" text, "Tournament" text, "Location" text, "Opponent team" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the game when Police S.A. was the opponent? ### Response:
SELECT "Location" FROM table_40661 WHERE "Opponent team" = 'police s.a.'
### Instruction: CREATE TABLE table_21385 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Original air date" text, "Prod. code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed the episode titled 'Episode 19'? ### Response:
SELECT "Directed by" FROM table_21385 WHERE "Title" = 'Episode 19'
### Instruction: CREATE TABLE table_21926985_2 ( headquarters_city VARCHAR, revenue__$billions__2012_estimate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is the company with estimated revenue of 33.3 billion headquartered? ### Response:
SELECT headquarters_city FROM table_21926985_2 WHERE revenue__$billions__2012_estimate = "33.3"
### Instruction: CREATE TABLE table_75174 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Venue" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which venue hosted the Los Angeles Rams as an opponent? ### Response:
SELECT "Venue" FROM table_75174 WHERE "Opponent" = 'los angeles rams'
### Instruction: CREATE TABLE table_204_420 ( id number, "month" text, "song" text, "artist" text, "aggregate points" number, "total downloads" number, "year-end chart" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- last song of the year to chart in the top ten ### Response:
SELECT "song" FROM table_204_420 ORDER BY "month" DESC LIMIT 1
### Instruction: CREATE TABLE table_203_762 ( id number, "#" number, "date" text, "film" text, "gross" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many films grossed more than $ 80,000,000 ### Response:
SELECT COUNT("film") FROM table_203_762 WHERE "gross" > 80000000
### Instruction: CREATE TABLE table_203_837 ( id number, "rank" number, "name" text, "height\nft / m" text, "floors" number, "year" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which is the tallest building ? ### Response:
SELECT "name" FROM table_203_837 ORDER BY "height\nft / m" DESC LIMIT 1
### Instruction: CREATE TABLE table_name_12 ( class VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Class has a Frequency MHz larger than 91.5, and a City of license of hyannis, nebraska? ### Response:
SELECT class FROM table_name_12 WHERE frequency_mhz > 91.5 AND city_of_license = "hyannis, nebraska"
### Instruction: CREATE TABLE table_79507 ( "Rank" real, "Athlete" text, "Country" text, "Time" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total rank for the athlete that had a race time of 7:34.24? ### Response:
SELECT COUNT("Rank") FROM table_79507 WHERE "Time" = '7:34.24'
### Instruction: CREATE TABLE table_204_801 ( id number, "year" number, "derby\nwinner" text, "galaxy" number, "draw" number, "chivas" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who one the first match up in 2005 ? ### Response:
SELECT "derby\nwinner" FROM table_204_801 WHERE "year" = 2005
### Instruction: CREATE TABLE table_19908651_3 ( report VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the report of the race won by Michael Andretti, with Nigel Mansell driving the fastest lap? ### Response:
SELECT report FROM table_19908651_3 WHERE winning_driver = "Michael Andretti" AND fastest_lap = "Nigel Mansell"
### Instruction: CREATE TABLE table_20113 ( "Pos." real, "Driver" text, "Qualifying" real, "Race 1" text, "Race 2" text, "Race 3" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the driver for race 2 7 ### Response:
SELECT "Driver" FROM table_20113 WHERE "Race 2" = '7'
### Instruction: CREATE TABLE table_14351 ( "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. -- Name the date for w 31-28 ### Response:
SELECT "Date" FROM table_14351 WHERE "Result" = 'w 31-28'
### Instruction: CREATE TABLE table_41645 ( "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 Gary Player was the runner-up, what was the margin of victory? ### Response:
SELECT "Margin of victory" FROM table_41645 WHERE "Runner(s)-up" = 'gary player'
### Instruction: CREATE TABLE table_204_262 ( id number, "rank" number, "athlete" text, "time" text, "notes" text, "q" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how long did it take peter matheka mutuku to complete the event ? ### Response:
SELECT "time" FROM table_204_262 WHERE "athlete" = 'peter matheka mutuku'
### Instruction: CREATE TABLE table_52513 ( "Week" text, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- where was the game site when the opponent was san diego chargers? ### Response:
SELECT "Game site" FROM table_52513 WHERE "Opponent" = 'san diego chargers'
### Instruction: CREATE TABLE table_203_671 ( id number, "name" text, "rank" text, "age" number, "years until mandatory retirement" text, "appointed by" text, "year appointed" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many associate justices are there currently ? ### Response:
SELECT COUNT(*) FROM table_203_671 WHERE "rank" = 'associate justice'
### Instruction: CREATE TABLE table_203_784 ( id number, "no. in\nseries" number, "no. in\nseason" number, "performer" text, "appearance" text, "air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what were the total number of air dates in february ? ### Response:
SELECT COUNT("air date") FROM table_203_784 WHERE "air date" = 2
### Instruction: CREATE TABLE table_63464 ( "Team" text, "Location" text, "County" text, "Division" text, "Home ground" text, "Coach" text, "Captain" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the home ground for the team located in Canterbury? ### Response:
SELECT "Home ground" FROM table_63464 WHERE "Location" = 'canterbury'
### Instruction: CREATE TABLE table_name_14 ( votes INTEGER, constituency VARCHAR, spoilt VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE AVERAGE VOTE FOR DUBLIN SOUTH, AND SPOILT SMALLER THAN 3,387? ### Response:
SELECT AVG(votes) FROM table_name_14 WHERE constituency = "dublin south" AND spoilt < 3 OFFSET 387
### Instruction: CREATE TABLE table_6149 ( "Year" real, "Finish position" text, "1st day" text, "2nd day" text, "3rd day" text, "4th Day" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which 2nd day has a year prior to 2009? ### Response:
SELECT "2nd day" FROM table_6149 WHERE "Year" < '2009'
### Instruction: CREATE TABLE table_62944 ( "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's the average number of silver medals when bronze is less than 0? ### Response:
SELECT AVG("Silver") FROM table_62944 WHERE "Bronze" < '0'
### Instruction: CREATE TABLE table_203_102 ( id number, "event" text, "performance" text, "athlete" text, "nation" text, "place" text, "date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which person set at least 2 world records ? ### Response:
SELECT "athlete" FROM table_203_102 GROUP BY "athlete" HAVING COUNT(*) >= 2
### Instruction: CREATE TABLE table_204_183 ( 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. -- how many countries won more than 3 bronze metals ? ### Response:
SELECT COUNT("nation") FROM table_204_183 WHERE "bronze" > 3
### Instruction: CREATE TABLE table_204_275 ( id number, "date" text, "city" text, "opponent" text, "results" text, "scorers" text, "type of game" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of times belgrade is listed as the city ? ### Response:
SELECT COUNT(*) FROM table_204_275 WHERE "city" = 'belgrade'
### Instruction: CREATE TABLE table_59628 ( "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the surface when the partner was Robert Haybittel? ### Response:
SELECT "Surface" FROM table_59628 WHERE "Partner" = 'robert haybittel'
### Instruction: CREATE TABLE table_name_60 ( call_sign VARCHAR, erp_w VARCHAR, city_of_license VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the call sign of the translator with an ERP W greater than 38 and a city license from Great Falls, Montana? ### Response:
SELECT call_sign FROM table_name_60 WHERE erp_w > 38 AND city_of_license = "great falls, montana"
### Instruction: CREATE TABLE table_14752049_6 ( international_tourist_arrivals__2012_ VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the 1 is the rank what is the overall amount of international tourist arrivals in 2012? ### Response:
SELECT COUNT(international_tourist_arrivals__2012_) FROM table_14752049_6 WHERE rank = 1
### Instruction: CREATE TABLE table_6961 ( "Date" text, "Title" text, "Director" text, "Producer" text, "Production Cost" text, "Singapore Gross" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much is the Singapore Gross for the film that Siu Wing directed? ### Response:
SELECT "Singapore Gross" FROM table_6961 WHERE "Director" = 'siu wing'
### Instruction: CREATE TABLE table_1039 ( "Player" text, "Position" text, "Starter" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points were scored by someone who's position was right tackle? ### Response:
SELECT COUNT("Points") FROM table_1039 WHERE "Position" = 'Right tackle'
### Instruction: CREATE TABLE table_75687 ( "Year" real, "Winner" text, "Jockey" text, "Trainer" text, "Owner" text, "Distance (Miles)" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What horse won with a trainer of 'no race'? ### Response:
SELECT "Winner" FROM table_75687 WHERE "Trainer" = 'no race'
### Instruction: CREATE TABLE table_24047 ( "Displacement" text, "Bore" text, "Stroke" text, "Cylinders" text, "Valves" real, "Power" text, "Torque" text, "Applications" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the greatest number of valves? ### Response:
SELECT MIN("Valves") FROM table_24047
### Instruction: CREATE TABLE table_203_5 ( id number, "season" text, "competition" text, "round" text, "opponent" text, "home" text, "away" text, "aggregate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- does each competition have an opponent listed ? ### Response:
SELECT COUNT(*) > 0 FROM table_203_5 WHERE NOT "opponent" IS NULL
### Instruction: CREATE TABLE table_45192 ( "Date" text, "Score" text, "Set 1" text, "Set 2" text, "Set 3" text, "Total" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Set 3 when the total was 53 75? ### Response:
SELECT "Set 3" FROM table_45192 WHERE "Total" = '53–75'
### Instruction: CREATE TABLE table_41715 ( "Date" text, "Opponent" text, "Result" text, "Score" text, "Record" text, "attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team was the Opponent when the Score was 31-6? ### Response:
SELECT "Opponent" FROM table_41715 WHERE "Score" = '31-6'
### Instruction: CREATE TABLE table_26387382_1 ( year_operational INTEGER, location__county_ VARCHAR, capacity__mw_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was Fayette operational at 46? ### Response:
SELECT MIN(year_operational) FROM table_26387382_1 WHERE location__county_ = "Fayette" AND capacity__mw_ = "46"
### Instruction: CREATE TABLE table_47492 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the 2013 Eaff East Asian Cup Qualifier played? ### Response:
SELECT "Venue" FROM table_47492 WHERE "Competition" = '2013 eaff east asian cup qualifier'
### Instruction: CREATE TABLE table_name_21 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What 2010 has a 2006 less than 6.9, a 2008 greater than 1.6, and 2 for 2007? ### Response:
SELECT 2010 FROM table_name_21 WHERE 2006 < 6.9 AND 2008 > 1.6 AND 2007 = 2
### Instruction: CREATE TABLE table_2104 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What NHL team did jim koleff play on? ### Response:
SELECT "NHL team" FROM table_2104 WHERE "Player" = 'Jim Koleff'
### Instruction: CREATE TABLE table_20863 ( "Player" text, "No." real, "Nationality" text, "Position" text, "Years for Grizzlies" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who are the players that have attended Stanford? ### Response:
SELECT "Player" FROM table_20863 WHERE "School/Club Team" = 'Stanford'
### Instruction: CREATE TABLE table_20471 ( "Cartridge" text, "Bullet weight" text, "Muzzle velocity" text, "Muzzle energy" text, "Source" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When using a .375 Winchester, what is the muzzle energy? ### Response:
SELECT "Muzzle energy" FROM table_20471 WHERE "Cartridge" = '.375 Winchester'
### Instruction: CREATE TABLE table_204_753 ( id number, "no." number, "name" text, "position" text, "date of birth (age)" text, "signed from" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many players were not signed from the academy ? ### Response:
SELECT COUNT("name") FROM table_204_753 WHERE "signed from" <> 'the academy'
### Instruction: CREATE TABLE table_203_707 ( id number, "rank" number, "npc" text, "gold" number, "silver" number, "bronze" number, "total" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many total medals did the netherlands win ? ### Response:
SELECT "total" FROM table_203_707 WHERE "npc" = 'netherlands'
### Instruction: CREATE TABLE table_74019 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the party when the incumbent is samuel smith? ### Response:
SELECT "Party" FROM table_74019 WHERE "Incumbent" = 'Samuel Smith'
### Instruction: CREATE TABLE table_37670 ( "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. -- Which team had 64 laps and 13 points? ### Response:
SELECT "Team" FROM table_37670 WHERE "Laps" = '64' AND "Points" = '13'
### Instruction: CREATE TABLE table_68237 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent when the Washington Nationals had a record of 8-4? ### Response:
SELECT "Opponent" FROM table_68237 WHERE "Record" = '8-4'
### Instruction: CREATE TABLE table_65843 ( "Year" real, "Tournament" text, "Venue" text, "Result" text, "Event" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which event before 2001 did the athlete place 16th? ### Response:
SELECT "Event" FROM table_65843 WHERE "Year" < '2001' AND "Result" = '16th'
### Instruction: CREATE TABLE table_8898 ( "Game" real, "November" real, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Record, when November is less than 10, and when Game is less than 13? ### Response:
SELECT "Record" FROM table_8898 WHERE "November" < '10' AND "Game" < '13'
### Instruction: CREATE TABLE table_38537 ( "Station Code" text, "Station" text, "Arrival" text, "Departure" text, "Kilometers" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's listed for Departure that has 1676 listed for the Kilometers? ### Response:
SELECT "Departure" FROM table_38537 WHERE "Kilometers" = '1676'
### Instruction: CREATE TABLE table_70326 ( "Year" real, "Award" text, "Category" text, "Nominated Work" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What nominated work received a tony award in 2009? ### Response:
SELECT "Nominated Work" FROM table_70326 WHERE "Award" = 'tony award' AND "Year" = '2009'
### Instruction: CREATE TABLE table_73929 ( "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. -- What are all the week # where subject matter is auditioner's choice ### Response:
SELECT "Week #" FROM table_73929 WHERE "Theme" = 'Auditioner''s Choice'
### Instruction: CREATE TABLE people ( Name VARCHAR, People_ID VARCHAR ) CREATE TABLE body_builder ( People_ID VARCHAR, Total INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the names of body builders whose total score is higher than 300? ### Response:
SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Total > 300
### Instruction: CREATE TABLE table_58660 ( "Mininera DFL" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Againsts have more than 15 wins? ### Response:
SELECT COUNT("Against") FROM table_58660 WHERE "Wins" > '15'
### Instruction: CREATE TABLE table_52628 ( "Week" text, "Opponent" text, "Result" text, "Game site" text, "Time" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- I want to know the time which has attendance of 66,772 ### Response:
SELECT "Time" FROM table_52628 WHERE "Attendance" = '66,772'
### Instruction: CREATE TABLE table_14523 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of the game that put the team at 27-32? ### Response:
SELECT "Loss" FROM table_14523 WHERE "Record" = '27-32'
### Instruction: CREATE TABLE table_51721 ( "Year" real, "Team" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average point total for arrows racing team before 1983? ### Response:
SELECT AVG("Points") FROM table_51721 WHERE "Team" = 'arrows racing team' AND "Year" < '1983'
### Instruction: CREATE TABLE table_1103 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What player was drafted by the Chicago Black Hawks? ### Response:
SELECT "Player" FROM table_1103 WHERE "NHL team" = 'Chicago Black Hawks'
### Instruction: CREATE TABLE table_204_801 ( id number, "year" number, "derby\nwinner" text, "galaxy" number, "draw" number, "chivas" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- is the number of draws in the history of the derby above or below 10 ? ### Response:
SELECT (SELECT SUM("draw") FROM table_204_801) > 10
### Instruction: CREATE TABLE table_name_98 ( tied VARCHAR, lost VARCHAR, total_games VARCHAR, years VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many total ties had less than 1183 total games, 121 years, and more than 541 losses? ### Response:
SELECT COUNT(tied) FROM table_name_98 WHERE total_games < 1183 AND years = 121 AND lost > 541
### Instruction: CREATE TABLE table_204_866 ( id number, "name" text, "lifetime" text, "nationality" text, "notable as" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the first pop musician on this list ? ### Response:
SELECT "name" FROM table_204_866 WHERE "notable as" = 'pop musician' ORDER BY id LIMIT 1