instruction
stringlengths
231
6.3k
output
stringlengths
2
2.03k
### Instruction: CREATE TABLE table_75437 ( "Game" real, "December" real, "Opponent" text, "Score" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Score has a December smaller than 14, and a Game of 12? ### Response:
SELECT "Score" FROM table_75437 WHERE "December" < '14' AND "Game" = '12'
### Instruction: CREATE TABLE table_70528 ( "Name" text, "Country" text, "Status" text, "Transfer window" text, "Transfer fee" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name when the country is ESP and the transfer fee is 7m? ### Response:
SELECT "Name" FROM table_70528 WHERE "Country" = 'esp' AND "Transfer fee" = '€ 7m'
### Instruction: CREATE TABLE table_44713 ( "Name" text, "Team" text, "Qual 1" text, "Qual 2" text, "Best" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the racer with a first-qualifying time of 58.991? ### Response:
SELECT "Name" FROM table_44713 WHERE "Qual 1" = '58.991'
### Instruction: CREATE TABLE table_203_622 ( id number, "date" text, "team" text, "name" text, "position" text, "years in nba" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who spent the most years in the nba ? ### Response:
SELECT "name" FROM table_203_622 ORDER BY "years in nba" DESC LIMIT 1
### Instruction: CREATE TABLE table_45866 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the location of the game with a 115-105 score? ### Response:
SELECT "Location" FROM table_45866 WHERE "Score" = '115-105'
### Instruction: CREATE TABLE table_29262 ( "No. in series" text, "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 episode number for 'Old Monster'? ### Response:
SELECT "No. in series" FROM table_29262 WHERE "Title" = 'Old Monster'
### Instruction: CREATE TABLE table_60607 ( "Official Name" text, "Status" text, "Area km 2" real, "Population" real, "Census Ranking" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much Area km 2 have a Population of 1,215? ### Response:
SELECT COUNT("Area km 2") FROM table_60607 WHERE "Population" = '1,215'
### Instruction: CREATE TABLE table_69404 ( "Film" text, "Director(s)" text, "Producer(s)" text, "Writer(s)" text, "Recipient" text, "Award" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who produced Laura Tunstall? ### Response:
SELECT "Producer(s)" FROM table_69404 WHERE "Recipient" = 'laura tunstall'
### Instruction: CREATE TABLE table_204_903 ( id number, "title" text, "character" text, "broadcaster" text, "episodes" number, "date" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- blandings and death in paradise both aired on which broadcaster ? ### Response:
SELECT "broadcaster" FROM table_204_903 WHERE "title" = 'blandings'
### Instruction: CREATE TABLE table_25992 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Orangemen points" real, "Opponents" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Orangemen record during game 3? ### Response:
SELECT "Record" FROM table_25992 WHERE "Game" = '3'
### Instruction: CREATE TABLE table_9851 ( "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. -- For what tournament was Bla Kav i the opponent in the final? ### Response:
SELECT "Tournament" FROM table_9851 WHERE "Opponent in the final" = 'blaž kavčič'
### Instruction: CREATE TABLE table_48589 ( "Date" text, "Opponent" text, "Score" text, "Record" text, "Streak" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the opponent on february 8, 1990? ### Response:
SELECT "Opponent" FROM table_48589 WHERE "Date" = 'february 8, 1990'
### Instruction: CREATE TABLE table_74865 ( "Team" text, "Class" text, "Chassis" text, "Engine" text, "Driver" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Driver Shaun Jones with a viper as a chassis is in what class? ### Response:
SELECT "Class" FROM table_74865 WHERE "Chassis" = 'viper' AND "Driver" = 'shaun jones'
### Instruction: CREATE TABLE table_204_295 ( id number, "model" text, "origin" text, "type" text, "version" text, "in service" number, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many maxi ambulance vehicles are in service ? ### Response:
SELECT "in service" FROM table_204_295 WHERE "model" = 'maxi-ambulance'
### Instruction: CREATE TABLE table_36311 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the visitor in the game that had Ottawa as the home team? ### Response:
SELECT "Visitor" FROM table_36311 WHERE "Home" = 'ottawa'
### Instruction: CREATE TABLE table_56757 ( "Round" real, "Pick" real, "Name" text, "Position" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the round for Arizona with a pick over 100? ### Response:
SELECT AVG("Round") FROM table_56757 WHERE "School" = 'arizona' AND "Pick" > '100'
### Instruction: CREATE TABLE table_28775 ( "Season #" real, "Series #" real, "Episode title" text, "Original air date" text, "Nick prod. #" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many season # where episode title is ' Avril Lavigne '? ### Response:
SELECT "Season #" FROM table_28775 WHERE "Episode title" = ' Avril Lavigne '
### Instruction: CREATE TABLE table_52455 ( "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. -- Tell me the 1st leg for team being budoni (Sardinia) ### Response:
SELECT "1st leg" FROM table_52455 WHERE "Team 1" = 'budoni (sardinia)'
### Instruction: CREATE TABLE table_66048 ( "Game" text, "Date" text, "Opponent" text, "Score" text, "Location/Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the number of the game when the record was 11-12? ### Response:
SELECT "Game" FROM table_66048 WHERE "Record" = '11-12'
### Instruction: CREATE TABLE table_5661 ( "Surname" text, "First" text, "D.O.B." text, "Bats" text, "Throws" text, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which First has a Position of c, and Bats of l? ### Response:
SELECT "First" FROM table_5661 WHERE "Position" = 'c' AND "Bats" = 'l'
### Instruction: CREATE TABLE table_name_37 ( chassis VARCHAR, year VARCHAR, points VARCHAR, entrant VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Chassis has more than 0 points, an Entrant of Scuderia Ferrari, and was later than 1952? ### Response:
SELECT chassis FROM table_name_37 WHERE points > 0 AND entrant = "scuderia ferrari" AND year > 1952
### Instruction: CREATE TABLE table_203_16 ( id number, "name" text, "took office" text, "left office" text, "party" text, "district residence" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total number of representatives from the democratic party ? ### Response:
SELECT COUNT(*) FROM table_203_16 WHERE "party" = 'democratic'
### Instruction: CREATE TABLE table_37494 ( "Date" real, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Tournament has a Score of 6 4, 6 2? ### Response:
SELECT "Tournament" FROM table_37494 WHERE "Score" = '6–4, 6–2'
### Instruction: CREATE TABLE table_200_33 ( id number, "district" text, "area size\n(km2)" text, "population" text, "density\nper km2" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the population of the yamato flat inland plain ### Response:
SELECT "population" FROM table_200_33 WHERE "district" = 'yamato flat inland plain'
### Instruction: CREATE TABLE table_name_37 ( location VARCHAR, date VARCHAR, rank VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Rank smaller than 5, and a Time larger than 10.7, and a Date of 10 july 2009 has what location? ### Response:
SELECT location FROM table_name_37 WHERE rank < 5 AND time > 10.7 AND date = "10 july 2009"
### Instruction: CREATE TABLE table_18149 ( "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 party is Frank Lobiondo a member of? ### Response:
SELECT "Party" FROM table_18149 WHERE "Incumbent" = 'Frank LoBiondo'
### Instruction: CREATE TABLE table_name_63 ( copa_del_rey INTEGER, name VARCHAR, fifa_club_world_championship VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Copa del Rey has a Name of guti, and a FIFA Club World Championship smaller than 0? ### Response:
SELECT SUM(copa_del_rey) FROM table_name_63 WHERE name = "guti" AND fifa_club_world_championship < 0
### Instruction: CREATE TABLE table_name_76 ( finish VARCHAR, qual VARCHAR, laps VARCHAR, start VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where did the driver who started 9 with a qualifing speed of 152.672 and finished fewer than 197 laps finish? ### Response:
SELECT finish FROM table_name_76 WHERE laps < 197 AND start = "9" AND qual = "152.672"
### Instruction: CREATE TABLE table_36889 ( "Year" real, "Trim" text, "Engine" text, "Power" text, "Torque" text, "EPA (2008) City" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Torque has a Power of HP (KW)? ### Response:
SELECT "Torque" FROM table_36889 WHERE "Power" = 'hp (kw)'
### Instruction: CREATE TABLE table_9217 ( "Tournament" text, "Surface" text, "Week" text, "Winner and score" text, "Finalist" text, "Semifinalists" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the winner and score for the week of august 9? ### Response:
SELECT "Winner and score" FROM table_9217 WHERE "Week" = 'august 9'
### Instruction: CREATE TABLE table_55882 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record when the attendance was 22,713? ### Response:
SELECT "Record" FROM table_55882 WHERE "Attendance" = '22,713'
### Instruction: CREATE TABLE table_686 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the earliest year where the result of the election was a retired republican hold? ### Response:
SELECT MIN("First elected") FROM table_686 WHERE "Result" = 'Retired Republican hold'
### Instruction: CREATE TABLE table_16118 ( "Year" real, "Division" real, "League" text, "Regular Season" text, "Playoffs" text, "Open Cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what being the maximum year where regular season is 4th, northwest ### Response:
SELECT MAX("Year") FROM table_16118 WHERE "Regular Season" = '4th, Northwest'
### Instruction: CREATE TABLE table_39685 ( "County" text, "Per capita income" text, "Median household income" text, "Median family income" text, "Population" real, "Number of households" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many households are in highlands county? ### Response:
SELECT AVG("Number of households") FROM table_39685 WHERE "County" = 'highlands'
### Instruction: CREATE TABLE table_204_261 ( 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 nations ranked in last with 0 total medals ? ### Response:
SELECT COUNT("nation") FROM table_204_261 WHERE "total" = 0
### Instruction: CREATE TABLE table_67150 ( "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 loss in the game with the record of 65-53? ### Response:
SELECT "Loss" FROM table_67150 WHERE "Record" = '65-53'
### Instruction: CREATE TABLE table_name_24 ( latitude INTEGER, pop__2010_ VARCHAR, water__sqmi_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is latitude when 2010 population is 24 and water is more than 0.319? ### Response:
SELECT MAX(latitude) FROM table_name_24 WHERE pop__2010_ = 24 AND water__sqmi_ > 0.319
### Instruction: CREATE TABLE table_29693 ( "Team" text, "Chairman" text, "Head Coach" text, "Captain" text, "Kitmaker" text, "Shirt sponsor" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many captains have the kitmaker as n/a? ### Response:
SELECT COUNT("Captain") FROM table_29693 WHERE "Kitmaker" = 'N/A'
### Instruction: CREATE TABLE table_13838 ( "Title" text, "Series" text, "Director" text, "Characters" text, "Production Number" text, "Release date" text, "City" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what title was Stephen Fossatti the director of? ### Response:
SELECT "Title" FROM table_13838 WHERE "Director" = 'stephen fossatti'
### Instruction: CREATE TABLE table_name_72 ( Id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the 1997 when 1992 is QF, 1995 is 1R, and 1999 is 1R? ### Response:
SELECT 1997 FROM table_name_72 WHERE 1999 = "1r" AND 1992 = "qf" AND 1995 = "1r"
### Instruction: CREATE TABLE table_33874 ( "Player" text, "Ranking" text, "Event" text, "Surface" text, "Round" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Surface has a Score of 2009 wta tour? ### Response:
SELECT "Surface" FROM table_33874 WHERE "Score" = '2009 wta tour'
### Instruction: CREATE TABLE table_23139 ( "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 most joined for molloy college ### Response:
SELECT MAX("Joined") FROM table_23139 WHERE "Institution" = 'Molloy College'
### Instruction: CREATE TABLE table_50628 ( "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. -- Which Team #1 had a 1st leg of 78-78? ### Response:
SELECT "Team #1" FROM table_50628 WHERE "1st leg" = '78-78'
### Instruction: CREATE TABLE table_204_780 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- other than 1984 , what year did he place first ? ### Response:
SELECT "year" FROM table_204_780 WHERE "year" <> 1984 AND "position" = 1
### Instruction: CREATE TABLE table_75966 ( "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 the name of Team 2 with a Team 1 of Al Qadsia? ### Response:
SELECT "Team 2" FROM table_75966 WHERE "Team 1" = 'al qadsia'
### Instruction: CREATE TABLE table_68255 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the average total for years won of 1975 ### Response:
SELECT AVG("Total") FROM table_68255 WHERE "Year(s) won" = '1975'
### Instruction: CREATE TABLE table_28280 ( "Rank" real, "Dismissals" real, "Catches" real, "Stumps" real, "Player" text, "Period" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the period if the player is Hashan Tillakaratne? ### Response:
SELECT "Period" FROM table_28280 WHERE "Player" = 'Hashan Tillakaratne'
### Instruction: CREATE TABLE table_203_350 ( id number, "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. -- number of teams not to win a match in first leg ### Response:
SELECT COUNT("team #1") FROM table_203_350 WHERE "1st leg" < "1st leg"
### Instruction: CREATE TABLE table_38918 ( "Position" text, "Name" text, "School" text, "Unanimous" text, "College Hall of Fame" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the school of the player with a college hall of fame nevers hof profile? ### Response:
SELECT "School" FROM table_38918 WHERE "College Hall of Fame" = 'nevers hof profile'
### Instruction: CREATE TABLE table_203_741 ( 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. -- what is the first season listed on the table ? ### Response:
SELECT "season" FROM table_203_741 WHERE id = 1
### Instruction: CREATE TABLE table_203_44 ( id number, "stage" text, "date" text, "route" text, "terrain" text, "length" text, "winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many different countries won at least one stage in the 1964 tour de france ? ### Response:
SELECT COUNT(DISTINCT "winner") FROM table_203_44
### Instruction: CREATE TABLE table_203_598 ( id number, "date" text, "time" text, "opponent" text, "site" text, "tv" text, "result" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many games did the bulldogs win ? ### Response:
SELECT COUNT(*) FROM table_203_598 WHERE "result" = 'w'
### Instruction: CREATE TABLE table_69742 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When is Home of chicago black hawks has a Record of 0 1? ### Response:
SELECT "Date" FROM table_69742 WHERE "Home" = 'chicago black hawks' AND "Record" = '0–1'
### Instruction: CREATE TABLE table_51898 ( "Player" text, "Height" text, "School" text, "Hometown" text, "College" text, "NBA Draft" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which school has a Hometown of phoenix, az? ### Response:
SELECT "School" FROM table_51898 WHERE "Hometown" = 'phoenix, az'
### Instruction: CREATE TABLE table_26614365_5 ( galician___reintegrationist__ VARCHAR, galician___official__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Galician (reintegrationist) word of the Galician (Official) is bo d a / bos d as? ### Response:
SELECT galician___reintegrationist__ FROM table_26614365_5 WHERE galician___official__ = "Bo día / Bos días"
### Instruction: CREATE TABLE table_43895 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Ground" text, "Date" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Date, when Home Team is Richmond? ### Response:
SELECT "Date" FROM table_43895 WHERE "Home team" = 'richmond'
### Instruction: CREATE TABLE table_200_32 ( id number, "year" number, "w" number, "l" number, "t" number, "finish" text, "coach" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many years did earl ball coach the muncie flyers ? ### Response:
SELECT COUNT("year") FROM table_200_32 WHERE "coach" = 'earl ball'
### Instruction: CREATE TABLE table_71791 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In 1991, what was the lowest total? ### Response:
SELECT MIN("Total") FROM table_71791 WHERE "Year(s) won" = '1991'
### Instruction: CREATE TABLE table_18770 ( "Saddle cloth" real, "Horse" text, "Trainer" text, "Jockey" text, "Weight (kg)" text, "Barrier" real, "Placing" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How old is Daniel Morton ### Response:
SELECT MAX("Barrier") FROM table_18770 WHERE "Trainer" = 'Daniel Morton'
### Instruction: CREATE TABLE table_12171145_1 ( mens_doubles VARCHAR, womens_doubles VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many mens doubles when womens doubles is catrine bengtsson margit borg? ### Response:
SELECT COUNT(mens_doubles) FROM table_12171145_1 WHERE womens_doubles = "Catrine Bengtsson Margit Borg"
### Instruction: CREATE TABLE table_203_375 ( id number, "name" text, "year built" text, "country" text, "town" text, "height" text, "remarks" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what year was the last pylon in germany built ? ### Response:
SELECT MAX("year built") FROM table_203_375 WHERE "country" = 'germany'
### Instruction: CREATE TABLE table_204_822 ( 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 won the least number of bronze medals ? ### Response:
SELECT "nation" FROM table_204_822 ORDER BY "bronze" LIMIT 1
### Instruction: CREATE TABLE table_61240 ( "Date" text, "Opponent#" text, "Site" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the opponents when there was an attendance of 48,165? ### Response:
SELECT "Opponent#" FROM table_61240 WHERE "Attendance" = '48,165'
### Instruction: CREATE TABLE table_33182 ( "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 in the game that had an attendance of 60,066? ### Response:
SELECT "Opponent" FROM table_33182 WHERE "Attendance" = '60,066'
### Instruction: CREATE TABLE table_204_747 ( id number, "season" text, "skip" text, "third" text, "second" text, "lead" text, "events" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- tell me the number of times marcel rocque was lead ? ### Response:
SELECT COUNT(*) FROM table_204_747 WHERE "lead" = 'marcel rocque'
### Instruction: CREATE TABLE table_20935 ( "Year (January)" real, "Population (000)" real, "Rural, %" real, "Urban, %" real, "Source" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For how many years was the urban population 57%? ### Response:
SELECT COUNT("Source") FROM table_20935 WHERE "Urban, %" = '57'
### Instruction: CREATE TABLE table_203_268 ( id number, "date" text, "name" text, "nationality" text, "tonnage\n(grt)" number, "fate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- the only submarine from venezuela was named what ? ### Response:
SELECT "name" FROM table_203_268 WHERE "nationality" = 'venezuela'
### Instruction: CREATE TABLE table_203_749 ( 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. -- how many radio stations are under the licensee simmons broadcasting ? ### Response:
SELECT COUNT(*) FROM table_203_749 WHERE "licensee" = 'simmons broadcasting'
### Instruction: CREATE TABLE table_14006_1 ( bleeding_time VARCHAR, platelet_count VARCHAR, prothrombin_time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the bleeding time with platelet count being decreased and prothrombin time being prolonged ### Response:
SELECT bleeding_time FROM table_14006_1 WHERE platelet_count = "Decreased" AND prothrombin_time = "Prolonged"
### Instruction: CREATE TABLE table_18003 ( "Year" real, "Dates" text, "Champion" text, "Score" real, "To par" text, "Margin of victory" text, "Purse ( $ )" real, "Winners share ($)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the most recent year? ### Response:
SELECT MAX("Year") FROM table_18003
### Instruction: CREATE TABLE table_name_58 ( nba_years_ VARCHAR, a_ VARCHAR, nationality VARCHAR, previous_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many NBA years did the player from the United States who was previously on the los angeles lakers have? ### Response:
SELECT nba_years_ AS "a_" FROM table_name_58 WHERE nationality = "united states" AND previous_team = "los angeles lakers"
### Instruction: CREATE TABLE table_203_375 ( id number, "name" text, "year built" text, "country" text, "town" text, "height" text, "remarks" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which pylon has the most remarks about it ? ### Response:
SELECT "name" FROM table_203_375 ORDER BY LENGTH("remarks") DESC LIMIT 1
### Instruction: CREATE TABLE table_18656 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What district has Riley Joseph Wilson as the incumbent? ### Response:
SELECT "District" FROM table_18656 WHERE "Incumbent" = 'Riley Joseph Wilson'
### Instruction: CREATE TABLE table_36859 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the visitor on March 27? ### Response:
SELECT "Visitor" FROM table_36859 WHERE "Date" = 'march 27'
### Instruction: CREATE TABLE table_79548 ( "Rank" real, "Rider" text, "Team" text, "Speed" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the speed for the rider with a time of 1:14.15.64? ### Response:
SELECT "Speed" FROM table_79548 WHERE "Time" = '1:14.15.64'
### Instruction: CREATE TABLE table_33041 ( "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 attendance of the game on December 11, 2005? ### Response:
SELECT "Attendance" FROM table_33041 WHERE "Date" = 'december 11, 2005'
### Instruction: CREATE TABLE table_72361 ( "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. -- How many candidates were elected first in 1980? ### Response:
SELECT COUNT("Candidates") FROM table_72361 WHERE "First elected" = '1980'
### Instruction: CREATE TABLE table_36434 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Stadium" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record on august 24? ### Response:
SELECT "Record" FROM table_36434 WHERE "Date" = 'august 24'
### Instruction: CREATE TABLE table_65025 ( "Rank" real, "Athletes" text, "Country" text, "Time" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the rank of the person with a time of 1:44.757? ### Response:
SELECT MAX("Rank") FROM table_65025 WHERE "Time" = '1:44.757'
### Instruction: CREATE TABLE table_203_877 ( id number, "year" number, "single" text, "us cashbox" number, "us hot 100" number, "uk singles" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what are the total number of singles in 1974 ? ### Response:
SELECT COUNT("single") FROM table_203_877 WHERE "year" = 1974
### Instruction: CREATE TABLE table_62310 ( "Season" real, "Team" text, "Country" text, "League" text, "Level" real, "Apps" real, "Goals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total levels in 2007? ### Response:
SELECT SUM("Level") FROM table_62310 WHERE "Season" = '2007'
### Instruction: CREATE TABLE table_24291 ( "Episode number" real, "Total episodes" real, "Title" text, "Original UK broadcast by" text, "Original UK airdate" text, "DVD reference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is episode is 'Bouncy Ball'? ### Response:
SELECT MIN("Total episodes") FROM table_24291 WHERE "Title" = 'Bouncy Ball'
### Instruction: CREATE TABLE table_204_513 ( id number, "date" text, "time" text, "opponent#" text, "site" text, "tv" text, "result" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what time is the only game in august ? ### Response:
SELECT "time" FROM table_204_513 WHERE "date" = 8
### Instruction: CREATE TABLE table_name_28 ( weight VARCHAR, spike VARCHAR, block VARCHAR, height VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Weight of the player with a Block larger than 328, Spike greater than 375 and Height larger than 207? ### Response:
SELECT COUNT(weight) FROM table_name_28 WHERE block > 328 AND height > 207 AND spike > 375
### Instruction: CREATE TABLE table_17131 ( "Series #" real, "Season #" real, "Title" text, "Director(s)" text, "Writer(s)" text, "Original airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many series has the title 'interior loft'? ### Response:
SELECT COUNT("Series #") FROM table_17131 WHERE "Title" = 'Interior Loft'
### 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 is the name of the last performer on this chart ? ### Response:
SELECT "performer" FROM table_203_784 ORDER BY id DESC LIMIT 1
### 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 nations have received at least 1 gold medal ? ### Response:
SELECT COUNT("nation") FROM table_204_183 WHERE "gold" >= 1
### Instruction: CREATE TABLE table_204_413 ( id number, "medal" text, "name" text, "sport" text, "event" text, "date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- name the only medalist to receive a medal in the men 's javelin throw ### Response:
SELECT "name" FROM table_204_413 WHERE "event" = "men's javelin throw"
### Instruction: CREATE TABLE table_13109 ( "Elected" text, "Assembled" text, "Dissolved" text, "1st member" text, "2nd member" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Elected has a 1st member of thomas fanshawe? ### Response:
SELECT "Elected" FROM table_13109 WHERE "1st member" = 'thomas fanshawe'
### Instruction: CREATE TABLE table_67489 ( "Film" text, "Director(s)" text, "Writer(s)" text, "Recipient" text, "Date" text, "Award" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the film for award of 3,740 ### Response:
SELECT "Film" FROM table_67489 WHERE "Award" = '£3,740'
### Instruction: CREATE TABLE table_203_724 ( 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. -- who finished with the top rank in total medals won ? ### Response:
SELECT "nation" FROM table_203_724 ORDER BY "total" DESC LIMIT 1
### Instruction: CREATE TABLE projects ( code text, name text, hours number ) CREATE TABLE scientists ( ssn number, name text ) CREATE TABLE assignedto ( scientist number, project text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the name of scientists who are assigned to some project. ### Response:
SELECT T2.name FROM assignedto AS T1 JOIN scientists AS T2 ON T1.scientist = T2.ssn
### Instruction: CREATE TABLE table_204_595 ( 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. -- what country won more gold medals than any other ? ### Response:
SELECT "nation" FROM table_204_595 ORDER BY "gold" DESC LIMIT 1
### Instruction: CREATE TABLE table_name_16 ( tries_for VARCHAR, played VARCHAR, points_against VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the value for the item 'Tries' when the value of the item 'Played' is 18 and the value of the item 'Points' is 375? ### Response:
SELECT tries_for FROM table_name_16 WHERE played = "18" AND points_against = "375"
### Instruction: CREATE TABLE table_name_16 ( top_25 INTEGER, top_10 VARCHAR, events VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the larger number of players that played in 4 events that 2 wins but were less than 6 in the top 10? ### Response:
SELECT MAX(top_25) FROM table_name_16 WHERE events > 4 AND wins = 2 AND top_10 < 6
### Instruction: CREATE TABLE first_notification_of_loss ( customer_id VARCHAR ) CREATE TABLE customers ( customer_name VARCHAR, customer_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the names of users who do not have a first notification of loss record. ### Response:
SELECT customer_name FROM customers EXCEPT SELECT t1.customer_name FROM customers AS t1 JOIN first_notification_of_loss AS t2 ON t1.customer_id = t2.customer_id
### Instruction: CREATE TABLE table_204_244 ( id number, "year" number, "album" text, "peak\nus" number, "peak\nus\nholiday" number, "certifications\n(sales threshold)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- the oldest year listed is what ? ### Response:
SELECT "year" FROM table_204_244 ORDER BY "year" LIMIT 1
### Instruction: CREATE TABLE table_1507 ( "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 date is the opponent is chicago bears? ### Response:
SELECT "Date" FROM table_1507 WHERE "Opponent" = 'Chicago Bears'
### Instruction: CREATE TABLE table_28921 ( "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. -- Who was the incumbent in Virginia 3? ### Response:
SELECT "Incumbent" FROM table_28921 WHERE "District" = 'Virginia 3'
### Instruction: CREATE TABLE table_69000 ( "Engine code" text, "Displacement" text, "Power, Torque@rpm" text, "Redline (rpm)" real, "Year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- From what year is the engine with engine code M57D30? ### Response:
SELECT "Year" FROM table_69000 WHERE "Engine code" = 'm57d30'