instruction
stringlengths
231
6.3k
output
stringlengths
2
2.03k
### Instruction: CREATE TABLE table_44883 ( "Round" real, "Pick" real, "Position" text, "Nationality" text, "College/Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Nationality, when Round is less than 2, and when Pick is '24'? ### Response:
SELECT "Nationality" FROM table_44883 WHERE "Round" < '2' AND "Pick" = '24'
### Instruction: CREATE TABLE table_46056 ( "Team" text, "Tries for" text, "Tries against" text, "Try diff" text, "Points for" text, "Points against" text, "Points diff" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is points sgsinst when points diff is +96? ### Response:
SELECT "Points against" FROM table_46056 WHERE "Points diff" = '+96'
### Instruction: CREATE TABLE table_30587 ( "Stage" real, "Winner" text, "General classification" text, "Points classification" text, "Mountains classification" text, "Young rider classification" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the young rider classification when Diego Ulissi won? ### Response:
SELECT COUNT("Young rider classification") FROM table_30587 WHERE "Winner" = 'Diego Ulissi'
### Instruction: CREATE TABLE table_train_207 ( "id" int, "anemia" bool, "hemoglobin_a1c_hba1c" float, "diabetic" string, "body_mass_index_bmi" float, "age" float, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tables provided above. -- type i diabetes ### Response:
SELECT * FROM table_train_207 WHERE diabetic = 'i'
### Instruction: CREATE TABLE table_75355 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "ERP W" real, "Class" text, "FCC info" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the call sign of the translator in Spring Valley, Nevada? ### Response:
SELECT "Call sign" FROM table_75355 WHERE "City of license" = 'spring valley, nevada'
### Instruction: CREATE TABLE table_30341 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Incoming manager" text, "Date of appointment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many new managers replaced manager(s) who resigned? ### Response:
SELECT COUNT("Incoming manager") FROM table_30341 WHERE "Manner of departure" = 'Resigned'
### Instruction: CREATE TABLE table_203_838 ( id number, "year" number, "world car of the year" text, "world performance car" text, "world green car" text, "world car design of the year" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many world performance cars were entered in 2009 ? ### Response:
SELECT "world performance car" FROM table_203_838 WHERE "year" = 2009
### Instruction: CREATE TABLE table_74120 ( "Program" text, "Exercise" text, "Week" text, "Muscles Worked" text, "Type" text, "Ab Ripper X" text, "Length" text, "Equipment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many types are cardio? ### Response:
SELECT COUNT("Program") FROM table_74120 WHERE "Type" = 'Cardio'
### Instruction: CREATE TABLE table_54880 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What home team has a score of 5.8 (38)? ### Response:
SELECT "Home team" FROM table_54880 WHERE "Home team score" = '5.8 (38)'
### Instruction: CREATE TABLE table_67587 ( "Season" text, "Prelim" text, "1st round" text, "2nd round" text, "3rd round" text, "Finals" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the 3rd round for 1st eound of out of playoffs ### Response:
SELECT "3rd round" FROM table_67587 WHERE "1st round" = 'out of playoffs'
### Instruction: CREATE TABLE table_59766 ( "Episode" text, "Broadcast date" text, "Run time" text, "Viewers (in millions)" text, "Archive" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the broadcaste date for the episode with a run time of 24:44? ### Response:
SELECT "Broadcast date" FROM table_59766 WHERE "Run time" = '24:44'
### Instruction: CREATE TABLE table_37436 ( "Race" text, "Length" text, "Class" text, "Circuit" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which date was held at Laguna Seca Raceway, in class GTX/GTO? ### Response:
SELECT "Date" FROM table_37436 WHERE "Circuit" = 'laguna seca raceway' AND "Class" = 'gtx/gto'
### Instruction: CREATE TABLE table_203_595 ( id number, "year" number, "division" number, "league" text, "reg. season" text, "playoffs" text, "open cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what year is the first usl second division league listed ? ### Response:
SELECT MIN("year") FROM table_203_595 WHERE "league" = 'usl second division'
### Instruction: CREATE TABLE table_4817 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team plays at home at Lake Oval? ### Response:
SELECT "Home team" FROM table_4817 WHERE "Venue" = 'lake oval'
### Instruction: CREATE TABLE table_427 ( "State" text, "Preliminaries" text, "Interview" text, "Swimsuit" text, "Evening Gown" text, "Average" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score for swimsuit when the average is 8.791? ### Response:
SELECT "Swimsuit" FROM table_427 WHERE "Average" = '8.791'
### Instruction: CREATE TABLE table_9643 ( "Lane" real, "Name" text, "Country" text, "Mark" real, "React" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest React, when Name is 'Candice Davis', and when Lane is less than 3? ### Response:
SELECT MIN("React") FROM table_9643 WHERE "Name" = 'candice davis' AND "Lane" < '3'
### Instruction: CREATE TABLE table_204_273 ( id number, "date" text, "opponent" text, "venue" text, "result" text, "scorers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many different players scored for the san jose earthquakes during their 1979 home opener against the timbers ? ### Response:
SELECT "scorers" FROM table_204_273 WHERE id = 1
### Instruction: CREATE TABLE table_52584 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What home team played against south Melbourne? ### Response:
SELECT "Home team" FROM table_52584 WHERE "Away team" = 'south melbourne'
### Instruction: CREATE TABLE table_203_771 ( id number, "#" number, "artist" text, "featuring" text, "title" text, "version" text, "length" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many total titles are listed for the artist benassi bros. . ? ### Response:
SELECT COUNT("title") FROM table_203_771 WHERE "artist" = 'benassi bros'
### Instruction: CREATE TABLE table_name_79 ( gillingham_career VARCHAR, position VARCHAR, nationality VARCHAR, goals VARCHAR, apps VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the mf from England play for Gillingham that made 0 goals and less than 37 appearances? ### Response:
SELECT gillingham_career FROM table_name_79 WHERE goals = 0 AND apps < 37 AND nationality = "england" AND position = "mf"
### Instruction: CREATE TABLE table_name_27 ( total INTEGER, rank VARCHAR, silver VARCHAR, bronze VARCHAR, gold VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Total has a Bronze larger than 2, a Gold smaller than 16, a Silver of 0, and a Rank of 13? ### Response:
SELECT AVG(total) FROM table_name_27 WHERE bronze > 2 AND gold < 16 AND silver = 0 AND rank = "13"
### Instruction: CREATE TABLE table_204_162 ( id number, "team" text, "constructor" text, "motorcycle" text, "tyres" text, "no" number, "rider" text, "rounds" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times does m appear under the tyres column ? ### Response:
SELECT COUNT(*) FROM table_204_162 WHERE "tyres" = 'm'
### Instruction: CREATE TABLE table_32341 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what date did Collingwood play at home? ### Response:
SELECT "Date" FROM table_32341 WHERE "Home team" = 'collingwood'
### Instruction: CREATE TABLE table_42829 ( "Spoofed Title" text, "Actual Title" text, "Writer" text, "Artist" text, "Issue" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date for the actual title archie bunker's place? ### Response:
SELECT "Date" FROM table_42829 WHERE "Actual Title" = 'archie bunker''s place'
### Instruction: CREATE TABLE table_204_426 ( id number, "year" text, "division" number, "league" text, "regular season" text, "playoffs" text, "open cup" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many 3rd place finishes has npsl had ? ### Response:
SELECT COUNT(*) FROM table_204_426 WHERE "regular season" = '3rd, atlantic'
### Instruction: CREATE TABLE table_204_894 ( id number, "season" number, "winner" text, "score" text, "runners-up" text, "venue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- in what year did joe public win the trinidad and tobago league cup after losing the prior year ? ### Response:
SELECT "season" FROM table_204_894 WHERE "winner" = 'joe public'
### Instruction: CREATE TABLE table_72357 ( "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. -- Incumbent Deborah Pryce was a member of what party? ### Response:
SELECT "Party" FROM table_72357 WHERE "Incumbent" = 'Deborah Pryce'
### Instruction: CREATE TABLE table_30059 ( "Dates" text, "Race Name" text, "Location" text, "UCI Rating" text, "Winner" text, "Team" text, "Series Leader" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what race name had a uci rating of cn? ### Response:
SELECT "Race Name" FROM table_30059 WHERE "UCI Rating" = 'CN'
### Instruction: CREATE TABLE table_train_1 ( "id" int, "sinusal_rhythm" bool, "severe_sepsis" bool, "hemodynamic_instability" bool, "social_security" bool, "septic_shock" bool, "age" float, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tables provided above. -- patient for social security ### Response:
SELECT * FROM table_train_1 WHERE social_security = 1
### Instruction: CREATE TABLE table_70075 ( "Goal" text, "Location" text, "Lineup" text, "Assist/pass" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Assist/pass has a Result of 6-2? ### Response:
SELECT "Assist/pass" FROM table_70075 WHERE "Result" = '6-2'
### Instruction: CREATE TABLE table_204_861 ( id number, "tie no" number, "home team" text, "score" text, "away team" text, "date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the number of games that occurred on 14 february 1976 ? ### Response:
SELECT COUNT(*) FROM table_204_861 WHERE "date" = '14 february 1976'
### Instruction: CREATE TABLE table_16846 ( "Player" text, "No." real, "Nationality" text, "Position" text, "Years for Jazz" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the player that played 2004-05? ### Response:
SELECT "Player" FROM table_16846 WHERE "Years for Jazz" = '2004-05'
### Instruction: CREATE TABLE table_78425 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which grid has less than 11 laps, and a Time/Retired of accident? ### Response:
SELECT AVG("Grid") FROM table_78425 WHERE "Laps" < '11' AND "Time/Retired" = 'accident'
### Instruction: CREATE TABLE table_49719 ( "Year" real, "U.S." text, "U.S. R&B" text, "U.S. Rap" text, "Album" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the U.S. R&B rank in 2003? ### Response:
SELECT "U.S. R&B" FROM table_49719 WHERE "Year" = '2003'
### Instruction: CREATE TABLE table_204_24 ( id number, "year" number, "league" text, "record" text, "finish" text, "manager" text, "playoffs" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which seasons were not played in the california league ? ### Response:
SELECT "year" FROM table_204_24 WHERE "league" <> 'california league'
### Instruction: CREATE TABLE table_3633 ( "No. in series" real, "Title" text, "Directed by" text, "Written by" text, "Original U.S. air date" text, "Prod. code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who wrote the episode titled 'big kings on campus'? ### Response:
SELECT "Written by" FROM table_3633 WHERE "Title" = 'Big Kings on Campus'
### Instruction: CREATE TABLE table_204_854 ( id number, "#" number, "wrestlers" text, "reign" number, "date" text, "days\nheld" number, "location" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many wrestlers do not have any notes ? ### Response:
SELECT COUNT("wrestlers") FROM table_204_854 WHERE "notes" IS NULL
### Instruction: CREATE TABLE table_55719 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the venue of the Melbourne team? ### Response:
SELECT "Venue" FROM table_55719 WHERE "Home team" = 'melbourne'
### Instruction: CREATE TABLE table_64420 ( "School" text, "Location" text, "Mascot" text, "Size" real, "IHSAA Class" text, "IHSAA Football Class" text, "County" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which school has a mascot of the Panthers? ### Response:
SELECT "School" FROM table_64420 WHERE "Mascot" = 'panthers'
### Instruction: CREATE TABLE table_name_57 ( seats_in_hamburgische_bürgerschaft VARCHAR, name__english_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT ARE THE SEATS IN Hamburgische B rgerschaft WITH THE NAME alliance '90/the greens? ### Response:
SELECT seats_in_hamburgische_bürgerschaft FROM table_name_57 WHERE name__english_ = "alliance '90/the greens"
### Instruction: CREATE TABLE table_73106 ( "C_{low}" text, "C_{high}" text, "I_{low}" real, "I_{high}" real, "Category" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the i_{high} value when C_{low} is 250.5? ### Response:
SELECT MIN("I_{high}") FROM table_73106 WHERE "C_{low}" = '250.5'
### Instruction: CREATE TABLE table_45984 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Date in Week 7 with an Attendance greater than 44,000? ### Response:
SELECT "Date" FROM table_45984 WHERE "Attendance" > '44,000' AND "Week" = '7'
### Instruction: CREATE TABLE publication ( publication_id number, book_id number, publisher text, publication_date text, price number ) CREATE TABLE book ( book_id number, title text, issues number, writer text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the distinct publishers of publications with price higher than 5000000? ### Response:
SELECT DISTINCT publisher FROM publication WHERE price > 5000000
### Instruction: CREATE TABLE table_16516 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What days are vacant that were replaced by john brown? ### Response:
SELECT "Date of vacancy" FROM table_16516 WHERE "Replaced by" = 'John Brown'
### Instruction: CREATE TABLE table_45921 ( "Date" text, "Opponents" text, "Venue" text, "Result" text, "Score F\u2013A" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the game played on 17 July 2008? ### Response:
SELECT "Result" FROM table_45921 WHERE "Date" = '17 july 2008'
### Instruction: CREATE TABLE table_203_79 ( id number, "year" number, "film" text, "publisher" text, "director" text, "distributor" text, "worldwide gross" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which film made the most worldwide gross income ? ### Response:
SELECT "film" FROM table_203_79 ORDER BY "worldwide gross" DESC LIMIT 1
### Instruction: CREATE TABLE table_60024 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What nation has more than 1 bronze and less than 3 silver? ### Response:
SELECT "Nation" FROM table_60024 WHERE "Bronze" > '1' AND "Silver" < '3'
### Instruction: CREATE TABLE table_25578 ( "Institution" text, "Nickname" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" real, "Left" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of left for cardinals ### Response:
SELECT COUNT("Left") FROM table_25578 WHERE "Nickname" = 'Cardinals'
### Instruction: CREATE TABLE table_204_524 ( id number, "season" text, "tier" number, "division" text, "place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- is 3rd place listed above 18th place ? ### Response:
SELECT (SELECT id FROM table_204_524 WHERE "place" = 3) < (SELECT id FROM table_204_524 WHERE "place" = 18)
### Instruction: CREATE TABLE table_45455 ( "Round" real, "Pick" real, "Player" text, "Position" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What school or team is in a round below 5 with a pick of 2? ### Response:
SELECT "School/Club Team" FROM table_45455 WHERE "Round" < '5' AND "Pick" = '2'
### Instruction: CREATE TABLE table_60675 ( "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 To par of the Player with a Score of 73-67-68=208? ### Response:
SELECT "To par" FROM table_60675 WHERE "Score" = '73-67-68=208'
### Instruction: CREATE TABLE table_203_442 ( id number, "#" 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. -- which month held the least amount of competitions ? ### Response:
SELECT "date" FROM table_203_442 GROUP BY "date" ORDER BY COUNT(*) LIMIT 1
### Instruction: CREATE TABLE Reservations ( Kids VARCHAR, LastName VARCHAR, CheckIn VARCHAR, FirstName VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many kids stay in the room DAMIEN TRACHSEL checked in on Sep 21, 2010? ### Response:
SELECT Kids FROM Reservations WHERE CheckIn = "2010-09-21" AND FirstName = "DAMIEN" AND LastName = "TRACHSEL"
### Instruction: CREATE TABLE table_12992 ( "Nat." text, "Name" text, "Moving from" text, "Type" text, "Transfer window" text, "Ends" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the moving from with a transfer and the nationality of Bra? ### Response:
SELECT "Moving from" FROM table_12992 WHERE "Type" = 'transfer' AND "Nat." = 'bra'
### Instruction: CREATE TABLE table_204_93 ( id number, "round" number, "pick" number, "player" text, "position" text, "nationality" text, "team" text, "college" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which teams at most have 4 players ? ### Response:
SELECT "team" FROM table_204_93 GROUP BY "team" HAVING COUNT("player") <= 4
### Instruction: CREATE TABLE table_24257833_4 ( webkit_version VARCHAR, major_version VARCHAR, minor_version VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List all webkit versions when the major version was Safari 3, and the minor version was 3.1.2. ### Response:
SELECT webkit_version FROM table_24257833_4 WHERE major_version = "Safari 3" AND minor_version = "3.1.2"
### Instruction: CREATE TABLE table_56718 ( "Athlete" text, "Event" text, "Round of 16" text, "Quarterfinal" text, "Semifinal" text, "Final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Hossein Ojaghi participated in what semifinal. ### Response:
SELECT "Semifinal" FROM table_56718 WHERE "Athlete" = 'hossein ojaghi'
### Instruction: CREATE TABLE table_68610 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the chassis when the points were greater than 0 and the entrant was March Engineering? ### Response:
SELECT "Chassis" FROM table_68610 WHERE "Points" > '0' AND "Entrant" = 'march engineering'
### Instruction: CREATE TABLE table_39161 ( "Year" real, "Championship" text, "54 holes" text, "Winning score" text, "Margin" text, "Runner-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the winning score for 54 holes of 5 shot deficit ### Response:
SELECT "Winning score" FROM table_39161 WHERE "54 holes" = '5 shot deficit'
### Instruction: CREATE TABLE table_65687 ( "Pick" real, "Player" text, "Team" text, "Position" text, "Hometown/School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the pick # of the player who has a hometown/school of Atlanta, GA? ### Response:
SELECT AVG("Pick") FROM table_65687 WHERE "Hometown/School" = 'atlanta, ga'
### Instruction: CREATE TABLE table_69465 ( "Ranking" real, "Nationality" text, "Name" text, "Years" text, "Goals" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of ranking when the nationalits is England with more than 53 goals? ### Response:
SELECT SUM("Ranking") FROM table_69465 WHERE "Nationality" = 'england' AND "Goals" > '53'
### Instruction: CREATE TABLE table_204_735 ( id number, "rank" number, "team" text, "names" text, "time" text, "qualification" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which team took a shorter amount of time , ukraine or united states ? ### Response:
SELECT "team" FROM table_204_735 WHERE "team" IN ('ukraine', 'united states') ORDER BY "time" LIMIT 1
### Instruction: CREATE TABLE table_21131 ( "Election" real, "Candidates fielded" real, "# of seats won" real, "Total votes" real, "% of popular vote" text, "Place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many percentages are listed for the election in 1983? ### Response:
SELECT COUNT("% of popular vote") FROM table_21131 WHERE "Election" = '1983'
### Instruction: CREATE TABLE table_204_791 ( id number, "event" text, "winner" text, "second" text, "third" text, "fourth" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- in what event did chelsea williams win her first title ? ### Response:
SELECT "event" FROM table_204_791 WHERE "winner" = 'chelsea wlliams' ORDER BY "event" LIMIT 1
### Instruction: CREATE TABLE table_3550 ( "Rank" real, "Couple" text, "Judges" real, "Public" real, "Total" real, "Vote percentage" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHat was the max public with danniella and matthew? ### Response:
SELECT MAX("Public") FROM table_3550 WHERE "Couple" = 'Danniella and Matthew'
### Instruction: CREATE TABLE table_50866 ( "Tournament" text, "Surface" text, "Week" text, "Winner" text, "Finalist" text, "Semifinalists" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHich Tournament has a Finalist of marat safin (12)? ### Response:
SELECT "Tournament" FROM table_50866 WHERE "Finalist" = 'marat safin (12)'
### Instruction: CREATE TABLE table_14754471_1 ( hispanic___percentage_ VARCHAR, free_reduced_lunch___percentage_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What percentage of hispanics are there when the free/reduced lunch percentage is 81.4? ### Response:
SELECT hispanic___percentage_ FROM table_14754471_1 WHERE free_reduced_lunch___percentage_ = "81.4"
### Instruction: CREATE TABLE table_203_568 ( id number, "town/village" text, "population" number, "postal code" text, "municipality" text, "island" text, "location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many people does argir have ? ### Response:
SELECT "population" FROM table_203_568 WHERE "town/village" = 'argir'
### Instruction: CREATE TABLE table_56283 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Original air date" text, "Production code" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the title of the episode with a production code of K1504? ### Response:
SELECT "Title" FROM table_56283 WHERE "Production code" = 'k1504'
### Instruction: CREATE TABLE table_40478 ( "English" text, "German" text, "Dutch" text, "Icelandic" text, "Latin" text, "Greek" text, "Russian" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What English word has the same meaning as the German word 'german'? ### Response:
SELECT "English" FROM table_40478 WHERE "German" = 'german'
### Instruction: CREATE TABLE table_17738 ( "Year" real, "Song title" text, "Artist" text, "Master recording ?" text, "Release date" text, "Single / Pack" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many master recordings are there for 'Famous for Nothing'? ### Response:
SELECT COUNT("Master recording ?") FROM table_17738 WHERE "Song title" = 'Famous For Nothing'
### Instruction: CREATE TABLE table_203_404 ( id number, "pennant\nnumber" text, "name" text, "builder" text, "laid down" text, "launched" text, "completed" text, "fate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- total number of j class ships completed . ### Response:
SELECT COUNT(*) FROM table_203_404 WHERE NOT "completed" IS NULL
### Instruction: CREATE TABLE table_203_341 ( id number, "season" text, "champion" text, "runner-up" text, "score" text, "third place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what are the total amounts of times that prokom trefl sopot is listed as the champion ? ### Response:
SELECT COUNT(*) FROM table_203_341 WHERE "champion" = 'prokom trefl sopot'
### Instruction: CREATE TABLE table_43758 ( "Position" real, "Name" text, "Played" real, "Drawn" real, "Lost" real, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Drawn has a Position of 2, and a Lost larger than 2? ### Response:
SELECT MIN("Drawn") FROM table_43758 WHERE "Position" = '2' AND "Lost" > '2'
### Instruction: CREATE TABLE table_204_659 ( id number, "seat" text, "state" text, "majority" number, "member" text, "party" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is listed before don randall ? ### Response:
SELECT "member" FROM table_204_659 WHERE id = (SELECT id FROM table_204_659 WHERE "member" = 'don randall') - 1
### Instruction: CREATE TABLE table_55071 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did South Melbourne play as the home team? ### Response:
SELECT "Date" FROM table_55071 WHERE "Home team" = 'south melbourne'
### Instruction: CREATE TABLE table_204_538 ( id number, "pos." number, "driver" text, "co-driver" text, "car" text, "time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who finished sooner , freitas or camacho ? ### Response:
SELECT "driver" FROM table_204_538 WHERE "driver" IN ('filipe freitas', 'jose camacho') ORDER BY "pos." LIMIT 1
### Instruction: CREATE TABLE table_name_19 ( population INTEGER, code VARCHAR, area__km_2__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the population with a code more than 90902 and an area less than 1,335.47? ### Response:
SELECT MIN(population) FROM table_name_19 WHERE code > 90902 AND area__km_2__ < 1 OFFSET 335.47
### Instruction: CREATE TABLE table_203_502 ( id number, "team" text, "titles" number, "runner-up" number, "third place" number, "fourth place" number, "years participated" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times has michigan state been runner up ? ### Response:
SELECT "runner-up" FROM table_203_502 WHERE "team" = 'michigan state'
### Instruction: CREATE TABLE table_204_828 ( id number, "whitworth size (in)" number, "core diameter (in)" number, "threads per inch" number, "pitch (in)" number, "tapping drill size" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total of the first two core diameters ? ### Response:
SELECT SUM("core diameter (in)") FROM table_204_828 WHERE id <= 2
### Instruction: CREATE TABLE table_48706 ( "Game" text, "Date" text, "Home Team" text, "Result" text, "Road Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Game has a Home Team of san francisco, and a Date of april 22? ### Response:
SELECT "Game" FROM table_48706 WHERE "Home Team" = 'san francisco' AND "Date" = 'april 22'
### Instruction: CREATE TABLE table_50927 ( "Winner" text, "Country" text, "Winter Olympics" real, "FIS Nordic World Ski Championships" text, "Holmenkollen" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the FIS Nordic World Ski Championships in 1972? ### Response:
SELECT "Winner" FROM table_50927 WHERE "FIS Nordic World Ski Championships" = '1972'
### Instruction: CREATE TABLE table_77295 ( "Year" real, "Team" text, "Co-Drivers" text, "Class" text, "Laps" real, "Pos." text, "Class Pos." text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the class position of the team that was in the 4th position? ### Response:
SELECT "Class Pos." FROM table_77295 WHERE "Pos." = '4th'
### Instruction: CREATE TABLE table_73366 ( "Piano" text, "Conductor" text, "Orchestra" text, "Record Company" text, "Year of Recording" real, "Format" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where is the orchestra when the year of recording is 1934? ### Response:
SELECT "Orchestra" FROM table_73366 WHERE "Year of Recording" = '1934'
### Instruction: CREATE TABLE table_name_19 ( comp INTEGER, rating VARCHAR, yds_game VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the highest Comp which has a Yds/game larger than 0, bostick, and a Rating smaller than 91.77? ### Response:
SELECT MAX(comp) FROM table_name_19 WHERE yds_game > 0 AND name = "bostick" AND rating < 91.77
### Instruction: CREATE TABLE table_61731 ( "Result" text, "Record" text, "Opponent" text, "Method" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which location has a method of decision and Nikos Tsoukalas for an opponent? ### Response:
SELECT "Location" FROM table_61731 WHERE "Method" = 'decision' AND "Opponent" = 'nikos tsoukalas'
### Instruction: CREATE TABLE table_60842 ( "Constituency number" real, "Name" text, "Reserved for ( SC / ST /None)" text, "District" text, "Electorates (2011)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What district has abhayapuri south as the name? ### Response:
SELECT "District" FROM table_60842 WHERE "Name" = 'abhayapuri south'
### Instruction: CREATE TABLE table_15441 ( "Riding" text, "Province" text, "Candidate" text, "Votes" real, "Placement" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Placement when the Candidate is Jean-Patrick Berthiaume? ### Response:
SELECT "Placement" FROM table_15441 WHERE "Candidate" = 'jean-patrick berthiaume'
### Instruction: CREATE TABLE table_53907 ( "Record" text, "Year" text, "Date" text, "Driver" text, "Car Make" text, "Time" text, "Average Speed (mph)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What day had a time of 29.816? ### Response:
SELECT "Date" FROM table_53907 WHERE "Time" = '29.816'
### Instruction: CREATE TABLE table_203_305 ( id number, "round" number, "#" number, "player" text, "nationality" text, "college/junior/club team (league)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the only player to have denmark listed as their nationality ? ### Response:
SELECT "player" FROM table_203_305 WHERE "nationality" = 'denmark'
### Instruction: CREATE TABLE table_203_606 ( id number, "region" text, "rnd" number, "host" text, "venue" text, "city" text, "state" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- total number of venues that hosted first and second round games . ### Response:
SELECT COUNT("venue") FROM table_203_606 WHERE "rnd" = 1 OR "rnd" = 2
### Instruction: CREATE TABLE Movie ( mID VARCHAR, year VARCHAR ) CREATE TABLE Rating ( mID VARCHAR, stars VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find all years that have a movie that received a rating of 4 or 5, and sort them in increasing order of year. ### Response:
SELECT DISTINCT year FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID = T2.mID WHERE T2.stars >= 4 ORDER BY T1.year
### Instruction: CREATE TABLE table_19156 ( "High School" text, "Type" text, "Established" real, "Enrollment" real, "Mascot" text, "WIAA Classification" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was Mount Tahoma established? ### Response:
SELECT MAX("Established") FROM table_19156 WHERE "High School" = 'Mount Tahoma'
### Instruction: CREATE TABLE table_203_189 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many competitions did jifar participate in before joining the 10000m ? ### Response:
SELECT COUNT("competition") FROM table_203_189 WHERE "notes" <> 10000
### Instruction: CREATE TABLE journal_committee ( Editor_ID int, Journal_ID int, Work_Type text ) CREATE TABLE journal ( Journal_ID int, Date text, Theme text, Sales int ) CREATE TABLE editor ( Editor_ID int, Name text, Age real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the names and ages of editors? Show me a bar chart. ### Response:
SELECT Name, Age FROM editor
### Instruction: CREATE TABLE table_203_855 ( id number, "date" text, "city" text, "venue" text, "member" text, "performance" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many days after september 3rd did brian perform in stockholm ? ### Response:
SELECT (SELECT "date" FROM table_203_855 WHERE "city" = 'stockholm') - 3
### Instruction: CREATE TABLE table_7871 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the score on february 18 when the visitors are the montreal canadiens? ### Response:
SELECT "Score" FROM table_7871 WHERE "Visitor" = 'montreal canadiens' AND "Date" = 'february 18'
### Instruction: CREATE TABLE table_11174 ( "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 Date with a Result of 8 2, and a Score with 6 2? ### Response:
SELECT "Date" FROM table_11174 WHERE "Result" = '8–2' AND "Score" = '6–2'
### Instruction: CREATE TABLE table_61421 ( "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. -- WHAT IS THE NAME WITH 01.0 10 light street? ### Response:
SELECT "Name" FROM table_61421 WHERE "Street address" = '01.0 10 light street'
### Instruction: CREATE TABLE table_41561 ( "Branch" text, "Address" text, "Neighborhood" text, "First branch opened" real, "Current branch opened" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Current Branch Opened, when Neighborhood is W. Portland Park? ### Response:
SELECT MAX("Current branch opened") FROM table_41561 WHERE "Neighborhood" = 'w. portland park'