instruction
stringlengths
231
6.3k
output
stringlengths
2
2.03k
### Instruction: CREATE TABLE table_60021 ( "Date" text, "Result" text, "Competition" text, "Venue" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Competition has a Result of france 46-16 scotland? ### Response:
SELECT "Competition" FROM table_60021 WHERE "Result" = 'france 46-16 scotland'
### Instruction: CREATE TABLE table_194 ( "Round" real, "Grand Prix" text, "Pole Position" text, "Fastest Lap" text, "Winning Driver" text, "Winning Constructor" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the winning driver of round 7? ### Response:
SELECT "Winning Driver" FROM table_194 WHERE "Round" = '7'
### Instruction: CREATE TABLE table_203_505 ( id number, "number" number, "event" text, "type" text, "matthew" text, "mark" text, "luke" text, "john" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many events does john describe ? ### Response:
SELECT COUNT("event") FROM table_203_505 WHERE NOT "john" IS NULL
### Instruction: CREATE TABLE table_204_332 ( id number, "administrative\narea" text, "area\nkm2" number, "area\nsq mi" number, "population" number, "administrative\ncentre" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the total of the first population ? ### Response:
SELECT "population" FROM table_204_332 WHERE id = 1
### 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. -- who set consecutive world records in the 100m ? ### Response:
SELECT "athlete" FROM table_203_102 WHERE "event" = '100 m'
### Instruction: CREATE TABLE table_27636 ( "Series #" real, "Title" text, "Director" text, "Writer" text, "Air Date" text, "Production Code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When did the episode 'rowley 1898' air? ### Response:
SELECT "Air Date" FROM table_27636 WHERE "Title" = 'Rowley 1898'
### Instruction: CREATE TABLE table_60736 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Score has a To par of 3, and a Player of santiago luna? ### Response:
SELECT "Score" FROM table_60736 WHERE "To par" = '–3' AND "Player" = 'santiago luna'
### Instruction: CREATE TABLE table_31338 ( "Constituency No." real, "Vidhan Sabha Constituency" text, "Reservation for SC/ST" text, "District" text, "Lok Sabha" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What district has 213 constituents? ### Response:
SELECT COUNT("District") FROM table_31338 WHERE "Constituency No." = '213'
### Instruction: CREATE TABLE table_name_25 ( snatch INTEGER, bodyweight VARCHAR, clean_ VARCHAR, _jerk VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Snatch has a Clean & Jerk of 180, and a Bodyweight smaller than 69.83? ### Response:
SELECT MIN(snatch) FROM table_name_25 WHERE clean_ & _jerk = 180 AND bodyweight < 69.83
### Instruction: CREATE TABLE Manufacturers ( name VARCHAR, code VARCHAR ) CREATE TABLE products ( Price INTEGER, manufacturer VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Select the average price of each manufacturer's products, showing the manufacturer's name. ### Response:
SELECT AVG(T1.Price), T2.name FROM products AS T1 JOIN Manufacturers AS T2 ON T1.manufacturer = T2.code GROUP BY T2.name
### Instruction: CREATE TABLE table_43443 ( "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. -- Which has a Score of 6 1, 3 0 ret.? ### Response:
SELECT "Surface" FROM table_43443 WHERE "Score" = '6–1, 3–0 ret.'
### Instruction: CREATE TABLE table_10339 ( "Week" real, "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 with the attendance of 54,436? ### Response:
SELECT "Game site" FROM table_10339 WHERE "Attendance" = '54,436'
### Instruction: CREATE TABLE table_name_8 ( _jerk VARCHAR, clean_ INTEGER, total__kg_ VARCHAR, snatch VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the clean & jerk when the total (kg) is more than 204, and snatch is more than 98? ### Response:
SELECT AVG(clean_) & _jerk FROM table_name_8 WHERE total__kg_ > 204 AND snatch > 98
### Instruction: CREATE TABLE table_50645 ( "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 was the score in the 1st leg when 2nd leg was 1 4? ### Response:
SELECT "1st leg" FROM table_50645 WHERE "2nd leg" = '1–4'
### Instruction: CREATE TABLE table_44338 ( "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 team has a 118 Point for? ### Response:
SELECT "Team" FROM table_44338 WHERE "Points for" = '118'
### Instruction: CREATE TABLE table_name_36 ( cardinalatial_title VARCHAR, elevated VARCHAR, elector VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the cardinalatial title when the elevated is September 18, 1294, and elector is B rard De Got? ### Response:
SELECT cardinalatial_title FROM table_name_36 WHERE elevated = "september 18, 1294" AND elector = "bérard de got"
### Instruction: CREATE TABLE table_name_34 ( finalists VARCHAR, surface VARCHAR, winners VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the Finalist on a Hard Surface with Winner Serena Williams 6 1, 6 7(7), 6 3? ### Response:
SELECT finalists FROM table_name_34 WHERE surface = "hard" AND winners = "serena williams 6–1, 6–7(7), 6–3"
### Instruction: CREATE TABLE table_203_734 ( id number, "year" number, "competition" text, "venue" text, "position" text, "event" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- in which years did civallero only have one achievement ? ### Response:
SELECT "year" FROM table_203_734 GROUP BY "year" HAVING COUNT(*) = 1
### Instruction: CREATE TABLE table_18030 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance when the record was 1-1? ### Response:
SELECT "Attendance" FROM table_18030 WHERE "Record" = '1-1'
### Instruction: CREATE TABLE table_64216 ( "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 Athletes with a Time of 3:43.491? ### Response:
SELECT COUNT("Rank") FROM table_64216 WHERE "Time" = '3:43.491'
### Instruction: CREATE TABLE table_204_96 ( id number, "week" number, "date" text, "opponent" text, "result" text, "attendance" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- was attendance higher during week 5 or week 9 ? ### Response:
SELECT "week" FROM table_204_96 WHERE "week" IN (5, 9) ORDER BY "attendance" DESC LIMIT 1
### Instruction: CREATE TABLE table_28893 ( "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. -- Name the party for hutchins g. burton ### Response:
SELECT "Party" FROM table_28893 WHERE "Incumbent" = 'Hutchins G. Burton'
### Instruction: CREATE TABLE table_49892 ( "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 record of the game with the toronto huskies as the opponent? ### Response:
SELECT "Record" FROM table_49892 WHERE "Opponent" = 'toronto huskies'
### Instruction: CREATE TABLE table_203_804 ( id number, "pos" text, "no" number, "driver" text, "constructor" text, "laps" number, "time/retired" text, "grid" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what driver completed the least number of laps ? ### Response:
SELECT "driver" FROM table_203_804 ORDER BY "laps" LIMIT 1
### Instruction: CREATE TABLE table_17894 ( "No" real, "Player" text, "Height" text, "Position" text, "Year born" real, "Current Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the height with position being forward and current club being real madrid ### Response:
SELECT "Height" FROM table_17894 WHERE "Position" = 'Forward' AND "Current Club" = 'Real Madrid'
### Instruction: CREATE TABLE table_204_787 ( id number, "year" number, "category" text, "nominee(s)" text, "episode" text, "result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many nominees were there in 1985 ? ### Response:
SELECT SUM("nominee(s)") FROM table_204_787 WHERE "year" = 1985
### Instruction: CREATE TABLE table_15605 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of finish of the Qual of 159.384? ### Response:
SELECT "Finish" FROM table_15605 WHERE "Qual" = '159.384'
### Instruction: CREATE TABLE table_69056 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who lost when the mariners played on September 12? ### Response:
SELECT "Loss" FROM table_69056 WHERE "Opponent" = 'mariners' AND "Date" = 'september 12'
### Instruction: CREATE TABLE table_24917 ( "School" text, "Location" text, "Team Name" text, "Colors" text, "Varsity Teams" real, "NJCAA Championships" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If the school is Rend Lake College, what is the team name? ### Response:
SELECT "Team Name" FROM table_24917 WHERE "School" = 'Rend Lake College'
### Instruction: CREATE TABLE table_77407 ( "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 Score, when Country is 'United States', and when To Par is '+4'? ### Response:
SELECT "Score" FROM table_77407 WHERE "Country" = 'united states' AND "To par" = '+4'
### Instruction: CREATE TABLE table_203_815 ( id number, "pick #" number, "nfl team" text, "player" text, "position" text, "college" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the number of guards picked in the ninth round of the 1937 nfl draft ? ### Response:
SELECT COUNT(*) FROM table_203_815 WHERE "position" = 'guard'
### Instruction: CREATE TABLE table_73230 ( "Sporting profession" text, "First place(s)" real, "Second place(s)" real, "Third place(s)" real, "Total placing(s)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many second place showings does snooker have? ### Response:
SELECT "Second place(s)" FROM table_73230 WHERE "Sporting profession" = 'Snooker'
### Instruction: CREATE TABLE table_204_501 ( id number, "institution" text, "location" text, "nickname" text, "founded" number, "type" text, "enrollment" number, "joined" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the first school on the list ? ### Response:
SELECT "institution" FROM table_204_501 WHERE id = 1
### Instruction: CREATE TABLE table_204_398 ( id number, "title" text, "year" number, "publisher" text, "developer" text, "platforms" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which publisher worked on a title consecutively from 1982-1989 ? ### Response:
SELECT "publisher" FROM table_204_398 WHERE "year" = 1982
### Instruction: CREATE TABLE table_204_638 ( id number, "year" number, "tournament" text, "surface" text, "round" text, "winner" text, "score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the last year where connors won ? ### Response:
SELECT MAX("year") FROM table_204_638 WHERE "winner" = 'jimmy connors'
### Instruction: CREATE TABLE table_203_272 ( id number, "title" text, "release" text, "consoles" text, "handheld" text, "pc" text, "arcade" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many gaming consoles in total were nfl blitz released for ? ### Response:
SELECT COUNT(DISTINCT "consoles") FROM table_203_272
### Instruction: CREATE TABLE table_name_24 ( nation VARCHAR, gold VARCHAR, silver VARCHAR, total VARCHAR, bronze VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the total is larger than 1,and the bronze is less than 3, and silver larger than 2, and a gold larger than 2, what is the nation? ### Response:
SELECT nation FROM table_name_24 WHERE total > 1 AND bronze < 3 AND silver > 2 AND gold > 2
### Instruction: CREATE TABLE table_203_835 ( id number, "season" text, "club" text, "country" text, "competition" text, "apps." number, "goals" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which country has the least amount of total goals ? ### Response:
SELECT "country" FROM table_203_835 GROUP BY "country" ORDER BY SUM("goals") LIMIT 1
### Instruction: CREATE TABLE table_40063 ( "Year" real, "Venue" text, "City" text, "State" text, "Host" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the city that is located in California when the year is greater than 2009? ### Response:
SELECT "City" FROM table_40063 WHERE "State" = 'california' AND "Year" > '2009'
### Instruction: CREATE TABLE table_204_81 ( id number, "rank" number, "bib" number, "name" text, "country" text, "time" text, "deficit" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the difference between the time of the fastest runner and the slowest ? ### Response:
SELECT "deficit" FROM table_204_81 ORDER BY "rank" DESC LIMIT 1
### Instruction: CREATE TABLE table_16027 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the score with partner Jim Pugh? ### Response:
SELECT "Score" FROM table_16027 WHERE "Partner" = 'Jim Pugh'
### Instruction: CREATE TABLE table_78821 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Kickoff Time" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What week was the opponent the San Diego Chargers? ### Response:
SELECT AVG("Week") FROM table_78821 WHERE "Opponent" = 'san diego chargers'
### Instruction: CREATE TABLE table_46311 ( "from" text, "aircraft" text, "carrier" text, "air wing" text, "tail code" text, "area" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which carrier was deployed on 18 July 1968? ### Response:
SELECT "carrier" FROM table_46311 WHERE "from" = '18 july 1968'
### Instruction: CREATE TABLE table_71070 ( "Year" real, "Country" text, "Nominated work" text, "Award" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result for song of the year award in 1994? ### Response:
SELECT "Result" FROM table_71070 WHERE "Year" = '1994' AND "Award" = 'song of the year'
### Instruction: CREATE TABLE table_43546 ( "Game" real, "December" real, "Opponent" text, "Score" text, "Decision" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Decembers have calgary flames as the opponent? ### Response:
SELECT COUNT("December") FROM table_43546 WHERE "Opponent" = 'calgary flames'
### Instruction: CREATE TABLE table_26283 ( "Episode" text, "Director" text, "Writer" text, "Original air date" text, "Ratings (millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the original air date if the ratings is 1.92 million? ### Response:
SELECT "Original air date" FROM table_26283 WHERE "Ratings (millions)" = '1.92'
### Instruction: CREATE TABLE table_204_111 ( id number, "name" text, "animal type" text, "introduced" number, "reintroduced" text, "retired" number, "beanie baby resembled" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what are the total number of pillow pals on this chart ? ### Response:
SELECT COUNT("name") FROM table_204_111
### Instruction: CREATE TABLE user_profiles ( name VARCHAR, email VARCHAR, uid VARCHAR ) CREATE TABLE follows ( f1 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find the name and email for the users who have more than one follower. ### Response:
SELECT T1.name, T1.email FROM user_profiles AS T1 JOIN follows AS T2 ON T1.uid = T2.f1 GROUP BY T2.f1 HAVING COUNT(*) > 1
### Instruction: CREATE TABLE table_534 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date did the episode called 'Responsible Parties' air on? ### Response:
SELECT "Original air date" FROM table_534 WHERE "Title" = 'Responsible Parties'
### Instruction: CREATE TABLE table_2645 ( "Series #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many series numbers belong to the episode 'Vexation of Spirit'? ### Response:
SELECT COUNT("Series #") FROM table_2645 WHERE "Title" = 'Vexation of Spirit'
### Instruction: CREATE TABLE table_49759 ( "Team 1" text, "Score" text, "Team 2" text, "1st round" text, "2nd round" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the 2nd round opponent when Team 2 is Red Star (D1)? ### Response:
SELECT "2nd round" FROM table_49759 WHERE "Team 2" = 'red star (d1)'
### Instruction: CREATE TABLE table_name_90 ( money___$__ VARCHAR, place VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Money for the T1 Player with a Score of 66-69-70-75=280? ### Response:
SELECT money___$__ FROM table_name_90 WHERE place = "t1" AND score = 66 - 69 - 70 - 75 = 280
### Instruction: CREATE TABLE table_203_591 ( id number, "high school" text, "join\nyear" text, "from" text, "left" text, "league left to" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the last school to join the genesee county b league ? ### Response:
SELECT "high school" FROM table_203_591 ORDER BY "join\nyear" DESC LIMIT 1
### Instruction: CREATE TABLE table_204_646 ( id number, "location" text, "region" text, "coordinates\n(links to map & photo sources)" text, "population" number, "elevation" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many people live in santa maria ? ### Response:
SELECT "population" FROM table_204_646 WHERE "location" = 'santa maria'
### Instruction: CREATE TABLE table_24334163_1 ( Winners INTEGER, total_money_won VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the latest amount of won legs in the payoffs when the prize money was 2,350? ### Response:
SELECT MAX(Winners) AS play_off_legs_won FROM table_24334163_1 WHERE total_money_won = "£2,350"
### Instruction: CREATE TABLE track ( Track_ID int, Name text, Location text, Seating real, Year_Opened real ) CREATE TABLE race ( Race_ID int, Name text, Class text, Date text, Track_ID text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the different classes of races, and how many races correspond to each. Show bar chart. ### Response:
SELECT Class, COUNT(*) FROM race GROUP BY Class
### Instruction: CREATE TABLE table_29096 ( "Series #" real, "Episode #" real, "Title" text, "Director" text, "Writer" text, "Original Airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The director of the episode with the title 'The Sky is Falling' is who? ### Response:
SELECT "Director" FROM table_29096 WHERE "Title" = 'The Sky is Falling'
### Instruction: CREATE TABLE table_76939 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the To par of the Player with a Score of 70-71=141? ### Response:
SELECT AVG("To par") FROM table_76939 WHERE "Score" = '70-71=141'
### Instruction: CREATE TABLE table_34439 ( "Date" text, "Label" text, "Region" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the release Date of the 7' single in Catalog 87184? ### Response:
SELECT "Date" FROM table_34439 WHERE "Format" = '7" single' AND "Catalog" = '87184'
### Instruction: CREATE TABLE table_79316 ( "Rank" real, "Heat" real, "Lane" real, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the Time that has the Heat of 1, and the Lane of 2? ### Response:
SELECT "Time" FROM table_79316 WHERE "Heat" = '1' AND "Lane" = '2'
### 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. -- tell me the total number of goals scored in the 2010 match . ### Response:
SELECT "score" + "score" FROM table_204_894 WHERE "season" = 2010
### Instruction: CREATE TABLE table_38746 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/Junior/Club Team (League)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What College team has 8 rounds? ### Response:
SELECT "College/Junior/Club Team (League)" FROM table_38746 WHERE "Round" = '8'
### Instruction: CREATE TABLE table_68280 ( "Representative" text, "Title" text, "Presentation of credentials" text, "Termination of mission" text, "Appointed by" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the termination of mission for appointed by of franklin pierce ### Response:
SELECT "Termination of mission" FROM table_68280 WHERE "Appointed by" = 'franklin pierce'
### Instruction: CREATE TABLE table_203_683 ( id number, "season" text, "league" text, "gold" text, "silver" text, "bronze" text, "winning manager" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the only season that skeid won gold ? ### Response:
SELECT "season" FROM table_203_683 WHERE "gold" = 'skeid'
### Instruction: CREATE TABLE table_204_54 ( id number, "pondicherry assembly" text, "duration" text, "name of m.l.a." text, "party affiliation" text, "election year" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what party is represented the most ? ### Response:
SELECT "party affiliation" FROM table_204_54 GROUP BY "party affiliation" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_name_56 ( against INTEGER, draws VARCHAR, losses VARCHAR, byes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the highest Against that has the Losses larger than 9, and the Byes of 2, and the Draws larger than 0? ### Response:
SELECT MAX(against) FROM table_name_56 WHERE losses > 9 AND byes = 2 AND draws > 0
### Instruction: CREATE TABLE table_49926 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/Junior/Club Team (League)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHAT IS THE ROUND FOR ZACH BOYCHUK? ### Response:
SELECT COUNT("Round") FROM table_49926 WHERE "Player" = 'zach boychuk'
### Instruction: CREATE TABLE table_15226 ( "Pick" real, "Player" text, "Team" text, "Position" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What number pick was the player for the Oakland Athletics who plays the 1B position? ### Response:
SELECT "Pick" FROM table_15226 WHERE "Position" = '1b' AND "Team" = 'oakland athletics'
### Instruction: CREATE TABLE table_61462 ( "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. -- Where did the player who won in 1991 finish? ### Response:
SELECT "Finish" FROM table_61462 WHERE "Year(s) won" = '1991'
### Instruction: CREATE TABLE table_203_498 ( id number, "first issued" text, "design" text, "slogan" text, "serial format" text, "serials issued" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- in what year was the last design of passenger baseplates for vehicle registration issued in vermont ? ### Response:
SELECT MAX("first issued") FROM table_203_498
### Instruction: CREATE TABLE table_57614 ( "Serial Title" text, "Year" text, "Chapters" text, "Director" text, "Cast" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the cast for b. reeves eason and joseph kane ### Response:
SELECT "Cast" FROM table_57614 WHERE "Director" = 'b. reeves eason and joseph kane'
### Instruction: CREATE TABLE table_68512 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most time for katrin mei ner and rank less than 5 ### Response:
SELECT MAX("Time") FROM table_68512 WHERE "Name" = 'katrin meißner' AND "Rank" < '5'
### Instruction: CREATE TABLE table_20094 ( "Name" text, "Position" text, "Number" real, "School/Club Team" text, "Season" text, "Acquisition via" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many players are listed for the school/club team Washington? ### Response:
SELECT COUNT("Name") FROM table_20094 WHERE "School/Club Team" = 'Washington'
### Instruction: CREATE TABLE table_13239 ( "Position" text, "Player" text, "Loaned to" text, "Date" text, "Loan expires" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What loan expires date has a Date of 29 december 2003? ### Response:
SELECT "Loan expires" FROM table_13239 WHERE "Date" = '29 december 2003'
### Instruction: CREATE TABLE table_31826 ( "Rank" real, "Rider" text, "Team" text, "Speed" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the time/s of team Triumph in those races in which Triumph ranked higher than 4? ### Response:
SELECT "Time" FROM table_31826 WHERE "Team" = 'triumph' AND "Rank" < '4'
### Instruction: CREATE TABLE table_60473 ( "English name" text, "Thai name" text, "Abbr." text, "Transcription" text, "Sanskrit word" text, "Zodiac sign" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the zodiac sign for the English March? ### Response:
SELECT "Zodiac sign" FROM table_60473 WHERE "English name" = 'march'
### Instruction: CREATE TABLE gymnast ( Total_Points VARCHAR, Gymnast_ID VARCHAR ) CREATE TABLE people ( People_ID VARCHAR, Age VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total point count of the youngest gymnast? ### Response:
SELECT T1.Total_Points FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID ORDER BY T2.Age LIMIT 1
### Instruction: CREATE TABLE table_45447 ( "Round" real, "Race Name" text, "Pole position" text, "Winning driver" text, "Winning Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What pole position did 2006 gehl championship finale have? ### Response:
SELECT "Pole position" FROM table_45447 WHERE "Race Name" = '2006 gehl championship finale'
### Instruction: CREATE TABLE table_204_771 ( 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. -- name the nations that won at least 2 gold medals . ### Response:
SELECT "nation" FROM table_204_771 WHERE "gold" >= 2
### Instruction: CREATE TABLE table_32996 ( "Date" text, "Ship" text, "Nationality" text, "Tonnage" real, "Fate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the tonnage of the Great Britain ship Batna? ### Response:
SELECT "Tonnage" FROM table_32996 WHERE "Nationality" = 'great britain' AND "Ship" = 'batna'
### Instruction: CREATE TABLE table_58771 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Method, when Time is '3:20'? ### Response:
SELECT "Method" FROM table_58771 WHERE "Time" = '3:20'
### Instruction: CREATE TABLE table_30849 ( "Series" real, "Premiere" text, "Finale" text, "Runners-up" text, "Winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date when Miranda Gore Browne was runner-up? ### Response:
SELECT "Finale" FROM table_30849 WHERE "Runners-up" = 'Miranda Gore Browne'
### Instruction: CREATE TABLE table_name_73 ( issue_price INTEGER, special_notes VARCHAR, mintage VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average issue price with from Toronto maple leafs gift set, and a Mintage of 3527? ### Response:
SELECT AVG(issue_price) FROM table_name_73 WHERE special_notes = "from toronto maple leafs gift set" AND mintage = "3527"
### Instruction: CREATE TABLE table_203_440 ( id number, "rank" number, "player" text, "from" text, "to" text, "transfer fee\n(\u20ac million)" number, "year" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which team had the top transfer come in ? ### Response:
SELECT "to" FROM table_203_440 ORDER BY "rank" LIMIT 1
### Instruction: CREATE TABLE table_name_93 ( director VARCHAR, release_date VARCHAR, characters VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What director has 2004-03-31 as the release date, with daffy (as duck dodgers) as the character? ### Response:
SELECT director FROM table_name_93 WHERE release_date = "2004-03-31" AND characters = "daffy (as duck dodgers)"
### Instruction: CREATE TABLE table_38501 ( "Week" real, "Date" text, "Opponent" text, "Location" text, "Time ( ET )" text, "Result" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What time was the game during week 5? ### Response:
SELECT "Time ( ET )" FROM table_38501 WHERE "Week" = '5'
### Instruction: CREATE TABLE table_18516 ( "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. -- For the Republican party what are the names of the incumbents? ### Response:
SELECT "Incumbent" FROM table_18516 WHERE "Party" = 'Republican'
### Instruction: CREATE TABLE table_25748 ( "#" text, "Original title" text, "Directed by" text, "Written by" text, "Original air dates" text, "Prod. code" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the written by for prod code being 206 ### Response:
SELECT "Written by" FROM table_25748 WHERE "Prod. code" = '206'
### Instruction: CREATE TABLE table_203_364 ( id number, "year" number, "driver" text, "nation of citizenship" text, "racing series" text, "type of vehicle" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- jimmy johnson won how many consecutive espy awards ? ### Response:
SELECT COUNT(*) FROM table_203_364 WHERE "driver" = 'jimmie johnson'
### Instruction: CREATE TABLE table_50345 ( "Callsign" text, "Area served" text, "Band" text, "Freq currently" text, "Purpose" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Purpose of the Callsign with a Freq currently of 4gld? ### Response:
SELECT "Purpose" FROM table_50345 WHERE "Freq currently" = '4gld'
### Instruction: CREATE TABLE table_204_783 ( id number, "position" text, "player" text, "free agency\ntag" text, "date signed" text, "2013 team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- geno hayes and nick roach both played which position ? ### Response:
SELECT "position" FROM table_204_783 WHERE "player" = 'geno hayes'
### Instruction: CREATE TABLE table_4606 ( "Team" text, "Chassis" text, "Engine" text, "Tires" text, "Drivers" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What chassis did Gordon Johncock use with his cosworth engine? ### Response:
SELECT "Chassis" FROM table_4606 WHERE "Engine" = 'cosworth' AND "Drivers" = 'gordon johncock'
### Instruction: CREATE TABLE table_name_78 ( Severe INTEGER, tropical_cyclones VARCHAR, tropical_lows VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest number of severe tropical cyclones when there are 10 tropical cyclones and 14 tropical lows? ### Response:
SELECT MAX(Severe) AS tropical_cyclones FROM table_name_78 WHERE tropical_cyclones = 10 AND tropical_lows = 14
### Instruction: CREATE TABLE table_26758262_1 ( judges_residence VARCHAR, municipalities_served VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where does the judge who serves Beacon Falls , Naugatuck , Middlebury , Prospect reside? ### Response:
SELECT judges_residence FROM table_26758262_1 WHERE municipalities_served = "Beacon Falls , Naugatuck , Middlebury , Prospect"
### Instruction: CREATE TABLE table_43314 ( "Pick #" real, "NFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the pick number for the wide receiver drafted from Michigan State? ### Response:
SELECT "Pick #" FROM table_43314 WHERE "Position" = 'wide receiver' AND "College" = 'michigan state'
### Instruction: CREATE TABLE table_55379 ( "Sport" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest Shooting Total with a Bronze less than 0? ### Response:
SELECT MAX("Total") FROM table_55379 WHERE "Sport" = 'shooting' AND "Bronze" < '0'
### Instruction: CREATE TABLE table_73404 ( "District" text, "Vacator" text, "Reason for change" text, "Successor" text, "Date successor seated" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the vacator when south carolina 4th is the district? ### Response:
SELECT "Vacator" FROM table_73404 WHERE "District" = 'South Carolina 4th'
### Instruction: CREATE TABLE table_43995 ( "Rank" text, "Time" text, "Athlete" text, "Nation" text, "Date" text, "Race" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What race is on 26 June 2011? ### Response:
SELECT "Race" FROM table_43995 WHERE "Date" = '26 june 2011'
### Instruction: CREATE TABLE table_40097 ( "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 is the average year for Team Oreca? ### Response:
SELECT AVG("Year") FROM table_40097 WHERE "Team" = 'team oreca'
### Instruction: CREATE TABLE table_name_61 ( poles INTEGER, position VARCHAR, wins VARCHAR, top_5 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest poles that have 0 as a win, 0 as the top 5, with 66th as the postion? ### Response:
SELECT MIN(poles) FROM table_name_61 WHERE wins = 0 AND top_5 = 0 AND position = "66th"