instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_name_82 ( xiii_season VARCHAR, viii_season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is XIII Season, when VIII Season is 4 780 743 (2 november 2008)? ### Response:
SELECT xiii_season FROM table_name_82 WHERE viii_season = "4 780 743 (2 november 2008)"
### Instruction: CREATE TABLE table_37544 ( "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 round did Ray Kurpis play? ### Response:
SELECT "Round" FROM table_37544 WHERE "Player" = 'ray kurpis'
### Instruction: CREATE TABLE table_name_20 ( game VARCHAR, genre VARCHAR, year VARCHAR, platform_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What game in the genre of adventure, has a windows platform and its year is after 1997? ### Response...
SELECT game FROM table_name_20 WHERE year > 1997 AND platform_s_ = "windows" AND genre = "adventure"
### Instruction: CREATE TABLE table_44666 ( "Rider" text, "Manufacturer" text, "Laps" text, "Time/Retired" text, "Grid" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the rider whose time/retired is accident? ### Response:
SELECT "Rider" FROM table_44666 WHERE "Time/Retired" = 'accident'
### Instruction: CREATE TABLE table_name_28 ( fast_laps VARCHAR, points VARCHAR, series VARCHAR, races VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many fast laps are in 6 races with 30 points in the World Series by Nissan? ### Response:
SELECT fast_laps FROM table_name_28 WHERE series = "world series by nissan" AND races = "6" AND points = "30"
### Instruction: CREATE TABLE table_79724 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What opponent has a record of 86-62? ### Response:
SELECT "Opponent" FROM table_79724 WHERE "Record" = '86-62'
### Instruction: CREATE TABLE table_name_17 ( away_team VARCHAR, home_team VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the Away team that has the Home team of south dragons, and the Score of 94-81? ### Response:
SELECT away_team FROM table_name_17 WHERE home_team = "south dragons" AND score = "94-81"
### Instruction: CREATE TABLE table_22330 ( "Serial No." real, "District" text, "Headquartered City" text, "City Population (2009)" real, "City Area(km 2 )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest city area? ### Respons...
SELECT MIN("City Area(km 2 )") FROM table_22330
### Instruction: CREATE TABLE table_71384 ( "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. -- Tell me the name that has 17 floors ### Response:
SELECT "Name" FROM table_71384 WHERE "Floors" = '17'
### Instruction: CREATE TABLE table_62426 ( "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. -- What country had a Finish of t8? ### Response:
SELECT "Country" FROM table_62426 WHERE "Finish" = 't8'
### Instruction: CREATE TABLE table_30120664_1 ( townland VARCHAR, poor_law_union VARCHAR, civil_parish VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the townland for fermoy and ballynoe ### Response:
SELECT townland FROM table_30120664_1 WHERE poor_law_union = "Fermoy" AND civil_parish = "Ballynoe"
### Instruction: CREATE TABLE table_34834 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest score that has alastair forsyth as the player? ### Response:
SELECT MIN("Score") FROM table_34834 WHERE "Player" = 'alastair forsyth'
### Instruction: CREATE TABLE table_6047 ( "Month" text, "Week" real, "Offensive" text, "Defensive" text, "Goalkeeper" text, "Rookie" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the rookie that played week 6? ### Response:
SELECT "Rookie" FROM table_6047 WHERE "Week" = '6'
### Instruction: CREATE TABLE table_11421 ( "Number & name" text, "Description" text, "Current status" text, "Livery" text, "Date" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's Number & Name listed for the Date 1967? ### Response:
SELECT "Number & name" FROM table_11421 WHERE "Date" = '1967'
### Instruction: CREATE TABLE table_204_136 ( id number, "year" number, "final" text, "semi" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many years previous to 2010 was ireland a finalist ? ### Response:
SELECT COUNT("year") FROM table_204_136 WHERE "year" < 2010 AND "final" = 'ireland'
### Instruction: CREATE TABLE table_66502 ( "Title" text, "Series" text, "Director" text, "Production Num." real, "Release date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many production numbers have a Title of bosko in dutch? ### Respons...
SELECT SUM("Production Num.") FROM table_66502 WHERE "Title" = 'bosko in dutch'
### Instruction: CREATE TABLE table_43977 ( "City" text, "Korean" text, "Hanja" text, "Province" text, "Population (2010)" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the Korean word for Pohang? ### Response:
SELECT "Korean" FROM table_43977 WHERE "City" = 'pohang'
### Instruction: CREATE TABLE table_name_90 ( league_cup_goals VARCHAR, total_goals VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many League Cup Goals have 0 as the total goals, with delroy facey as the name? ### Response:
SELECT COUNT(league_cup_goals) FROM table_name_90 WHERE total_goals = 0 AND name = "delroy facey"
### 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. -- how many players selected in round nine were guards ? ### Respo...
SELECT COUNT("player") FROM table_203_815 WHERE "position" = 'guard'
### Instruction: CREATE TABLE table_20065425_1 ( title VARCHAR, termination_of_mission VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many different titles does the representative whose mission was terminated on August 5, 1984 have? ### Response:
SELECT COUNT(title) FROM table_20065425_1 WHERE termination_of_mission = "August 5, 1984"
### Instruction: CREATE TABLE table_name_19 ( tie_no VARCHAR, home_team VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Tie no when then home team was Stoke City for the game played on 9 February 1946? ### Response:
SELECT tie_no FROM table_name_19 WHERE home_team = "stoke city" AND date = "9 february 1946"
### Instruction: CREATE TABLE table_61074 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many strokes off par was the player who scored 157? ### Response:
SELECT COUNT("To par") FROM table_61074 WHERE "Total" = '157'
### Instruction: CREATE TABLE table_47630 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Position has a Competition of european race walking cup? ### Response:
SELECT "Position" FROM table_47630 WHERE "Competition" = 'european race walking cup'
### Instruction: CREATE TABLE table_name_3 ( driver VARCHAR, engine VARCHAR, chassis VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the Driver, when the Engine was 7.1 l6, and when the Chassis was Mercedes-Benz SSK l? ### Response:
SELECT driver FROM table_name_3 WHERE engine = "7.1 l6" AND chassis = "mercedes-benz ssk l"
### Instruction: CREATE TABLE table_54807 ( "Frequency" text, "Call sign" text, "Name" text, "Format" text, "Owner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the call sign for Thunder 106.1? ### Response:
SELECT "Call sign" FROM table_54807 WHERE "Name" = 'thunder 106.1'
### Instruction: CREATE TABLE table_204_56 ( id number, "year" number, "song" text, "us r&b" number, "us rap" number, "album" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which song has the most in us r & b ? ### Response:
SELECT "song" FROM table_204_56 ORDER BY "us r&b" LIMIT 1
### Instruction: CREATE TABLE table_16396 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What CFL teams are part of Simon Fraser college? ### Response:
SELECT "CFL Team" FROM table_16396 WHERE "College" = 'Simon Fraser'
### Instruction: CREATE TABLE table_name_87 ( result_f___a VARCHAR, league_position VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the Result F A that has a League position of 1st on 4 january 1994? ### Response:
SELECT result_f___a FROM table_name_87 WHERE league_position = "1st" AND date = "4 january 1994"
### Instruction: CREATE TABLE table_32922 ( "Date" text, "Result" text, "Score" text, "Stadium" text, "City" text, "Crowd" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What stadium is located in Halifax? ### Response:
SELECT "Stadium" FROM table_32922 WHERE "City" = 'halifax'
### Instruction: CREATE TABLE table_21313327_1 ( us_viewers__millions_ VARCHAR, written_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- when the writer is Brad Kern, how many u.s viewers (in millions) had the episode? ### Response:
SELECT us_viewers__millions_ FROM table_21313327_1 WHERE written_by = "Brad Kern"
### Instruction: CREATE TABLE table_62954 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What week had attendance of 48,667? ### Response:
SELECT COUNT("Week") FROM table_62954 WHERE "Attendance" = '48,667'
### Instruction: CREATE TABLE table_60630 ( "Race Title" text, "Circuit" text, "City / State" text, "Date" text, "Winner" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the winner for the circuit Eastern Creek Raceway? ### Response:
SELECT "Winner" FROM table_60630 WHERE "Circuit" = 'eastern creek raceway'
### Instruction: CREATE TABLE table_9755 ( "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. -- How many totals does gene littler have? ### Response:
SELECT COUNT("Total") FROM table_9755 WHERE "Player" = 'gene littler'
### Instruction: CREATE TABLE table_49834 ( "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 position does John Carlson play? ### Response:
SELECT "Position" FROM table_49834 WHERE "Player" = 'john carlson'
### Instruction: CREATE TABLE table_name_22 ( rank INTEGER, name VARCHAR, lane VARCHAR, nationality VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least rank for lane less than 5 for germany and sandra v lker ### Response:
SELECT MIN(rank) FROM table_name_22 WHERE lane < 5 AND nationality = "germany" AND name = "sandra völker"
### Instruction: CREATE TABLE table_8961 ( "Tournament" text, "Country" text, "Location" text, "Began" real, "Court surface" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the court surface when the tournament is paris masters? ### Respons...
SELECT "Court surface" FROM table_8961 WHERE "Tournament" = 'paris masters'
### Instruction: CREATE TABLE manufacturers ( code number, name text, headquarter text, founder text, revenue number ) CREATE TABLE products ( code number, name text, price number, manufacturer number ) -- Using valid SQLite, answer the following questions for the tables provided ...
SELECT headquarter FROM manufacturers WHERE founder = 'James'
### Instruction: CREATE TABLE table_72415 ( "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 years any of the incumbents were f...
SELECT MIN("First elected") FROM table_72415
### Instruction: CREATE TABLE table_35600 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the number of laps for 16 grids? ### Response:
SELECT SUM("Laps") FROM table_35600 WHERE "Grid" = '16'
### Instruction: CREATE TABLE table_74909 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Attendance" real, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Home of kings had what score? ### Response:
SELECT "Score" FROM table_74909 WHERE "Home" = 'kings'
### Instruction: CREATE TABLE table_name_70 ( finish VARCHAR, player VARCHAR, total VARCHAR, to_par VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the finish with a total larger than 286, a to par of +4 and Bob Tway played? ### Response:
SELECT finish FROM table_name_70 WHERE total > 286 AND to_par = "+4" AND player = "bob tway"
### Instruction: CREATE TABLE table_44455 ( "Season" text, "Races" real, "Wins" real, "Podiums" real, "Poles" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Races, when Podiums is greater than 1? ### Response:
SELECT MIN("Races") FROM table_44455 WHERE "Podiums" > '1'
### Instruction: CREATE TABLE table_6620 ( "Cardinal direction" text, "Burmese" text, "Sanskrit" text, "English" text, "Planet" text, "Sign" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the cardinal direction of Monday in English? ##...
SELECT "Cardinal direction" FROM table_6620 WHERE "English" = 'monday'
### Instruction: CREATE TABLE table_name_11 ( february INTEGER, record VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average February that has 18-26-10 as the record, with a game less than 54? ### Response:
SELECT AVG(february) FROM table_name_11 WHERE record = "18-26-10" AND game < 54
### Instruction: CREATE TABLE table_203_192 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- at what competition did david receive the least position ? ### Re...
SELECT "competition" FROM table_203_192 ORDER BY "position" DESC LIMIT 1
### Instruction: CREATE TABLE table_43819 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What round had a record of 4-1? ### Response:
SELECT "Round" FROM table_43819 WHERE "Record" = '4-1'
### Instruction: CREATE TABLE table_70372 ( "Category" text, "Film" text, "Director(s)" text, "Country" text, "Nominating Festival" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What film was directed by Sandro Aguilar? ### Response:
SELECT "Film" FROM table_70372 WHERE "Director(s)" = 'sandro aguilar'
### Instruction: CREATE TABLE table_13258972_2 ( date VARCHAR, game_site VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date did the Seahawks play the Kansas City Chiefs at the Kingdome? ### Response:
SELECT date FROM table_13258972_2 WHERE game_site = "Kingdome" AND opponent = "Kansas City Chiefs"
### Instruction: CREATE TABLE table_52802 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In What Week was the Attendance 75,866? ### Response:
SELECT "Week" FROM table_52802 WHERE "Attendance" = '75,866'
### Instruction: CREATE TABLE table_62893 ( "Driver" text, "Entrant" text, "Constructor" text, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the entrant is fred saunders what is the driver? ### Response:
SELECT "Driver" FROM table_62893 WHERE "Entrant" = 'fred saunders'
### Instruction: CREATE TABLE Addresses ( city VARCHAR, address_id VARCHAR ) CREATE TABLE Customers ( customer_address_id VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which city does has most number of customers? ### Response:
SELECT T2.city FROM Customers AS T1 JOIN Addresses AS T2 ON T1.customer_address_id = T2.address_id GROUP BY T2.city ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_1423 ( "Candidate" text, "State Delegate" real, "Percentage" text, "Delegates" real, "Counties Carries" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Candidate John Mccain had how many delegates? ### Response:
SELECT "Delegates" FROM table_1423 WHERE "Candidate" = 'John McCain'
### Instruction: CREATE TABLE table_69933 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which week had an attendance of 51,265? ### Response:
SELECT "Week" FROM table_69933 WHERE "Attendance" = '51,265'
### Instruction: CREATE TABLE table_124 ( "Series #" real, "Episode #" 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. -- How many series are named 'Lockdown'? ### Resp...
SELECT COUNT("Series #") FROM table_124 WHERE "Title" = 'Lockdown'
### Instruction: CREATE TABLE table_58151 ( "Runs" text, "Player" text, "Opponent" text, "Venue" text, "Season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- During runs 332, what was the venue? ### Response:
SELECT "Venue" FROM table_58151 WHERE "Runs" = '332'
### Instruction: CREATE TABLE table_50770 ( "Episode" text, "Air Date" text, "Timeslot" text, "18-49" text, "Viewers" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many viewed the episode gary gets boundaries? ### Response:
SELECT COUNT("Viewers") FROM table_50770 WHERE "Episode" = 'gary gets boundaries'
### Instruction: CREATE TABLE table_name_32 ( swimsuit VARCHAR, evening_gown VARCHAR, interview VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many swimsuits have an Evening Gown larger than 9, and an Interview larger than 8.405? ### Response:
SELECT COUNT(swimsuit) FROM table_name_32 WHERE evening_gown > 9 AND interview > 8.405
### Instruction: CREATE TABLE table_53046 ( "Date" text, "Opponent" text, "Home/Away" text, "Field" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the opponent at Bishop Kearney Field? ### Response:
SELECT "Opponent" FROM table_53046 WHERE "Field" = 'bishop kearney field'
### Instruction: CREATE TABLE table_70137 ( "Member" text, "Party" text, "Electorate" text, "State" text, "First elected" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the year First elected when the Member is John Armitage? ### Response:...
SELECT "First elected" FROM table_70137 WHERE "Member" = 'john armitage'
### Instruction: CREATE TABLE table_14460937_1 ( afc_cup VARCHAR, points__total_500_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times has the points total for the afc cup competion been 289? ### Response:
SELECT COUNT(afc_cup) FROM table_14460937_1 WHERE points__total_500_ = 289
### Instruction: CREATE TABLE table_1140085_2 ( rnd VARCHAR, pole_position VARCHAR, race VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times is the pole position niki lauda and the race is monaco grand prix? ### Response:
SELECT COUNT(rnd) FROM table_1140085_2 WHERE pole_position = "Niki Lauda" AND race = "Monaco Grand Prix"
### Instruction: CREATE TABLE table_8466 ( "Name" text, "Type" text, "Nationality" text, "Date" text, "Displacement" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the name when the displacement is 8,305 t? ### Response:
SELECT "Name" FROM table_8466 WHERE "Displacement" = '8,305 t'
### Instruction: CREATE TABLE table_51739 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the Time/Retired of Laps of 75? ### Response:
SELECT "Time/Retired" FROM table_51739 WHERE "Laps" = '75'
### Instruction: CREATE TABLE table_71316 ( "Country" text, "Film title used in nomination" text, "Language" text, "Original title" text, "Director" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the film title nominated from the Sweden? ...
SELECT "Film title used in nomination" FROM table_71316 WHERE "Country" = 'sweden'
### Instruction: CREATE TABLE table_204_893 ( id number, "rank" number, "name" text, "nationality" text, "time" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many athletes had times that were at least 8 minutes ? ### Respons...
SELECT COUNT("name") FROM table_204_893 WHERE "time" >= 8
### Instruction: CREATE TABLE table_15382 ( "Category" text, "Film" text, "Director(s)" text, "Country" text, "Nominating Festival" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- (A) Torzija was nominated in which category? ### Response:
SELECT "Category" FROM table_15382 WHERE "Film" = '(a) torzija'
### Instruction: CREATE TABLE table_2503102_1 ( engine VARCHAR, car_sponsor_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What engine does the Fuzzy's Ultra Premium Vodka sponsored car use? ### Response:
SELECT engine FROM table_2503102_1 WHERE car_sponsor_s_ = "Fuzzy's Ultra Premium Vodka"
### Instruction: CREATE TABLE table_name_95 ( team VARCHAR, rank VARCHAR, year VARCHAR, machine VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team had a year over 1995, machine of RS125R, and ranked 1st? ### Response:
SELECT team FROM table_name_95 WHERE year > 1995 AND machine = "rs125r" AND rank = "1st"
### Instruction: CREATE TABLE table_10015132_1 ( school_club_team VARCHAR, years_in_toronto VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What school did the player that has been in Toronto from 2012-present come from? ### Response:
SELECT school_club_team FROM table_10015132_1 WHERE years_in_toronto = "2012-present"
### Instruction: CREATE TABLE table_68206 ( "Heat" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Heat for Smiljana Marinovi ? ### Response:
SELECT COUNT("Heat") FROM table_68206 WHERE "Name" = 'smiljana marinović'
### Instruction: CREATE TABLE table_1425958_1 ( density__pop_km²_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many locations had a density (pop/km ) of 91.8 in the 2011 census? ### Response:
SELECT COUNT(2011 AS _census) FROM table_1425958_1 WHERE density__pop_km²_ = "91.8"
### Instruction: CREATE TABLE table_1817879_2 ( _number_of_new_stations VARCHAR, length__miles_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many new stations have a lenght (miles) of 6.0? ### Response:
SELECT COUNT(_number_of_new_stations) FROM table_1817879_2 WHERE length__miles_ = "6.0"
### Instruction: CREATE TABLE table_name_5 ( date VARCHAR, opponents VARCHAR, competition VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Competition of pl, and a Score of 1-1, and a Opponents of kelantan had what date? ### Response:
SELECT date FROM table_name_5 WHERE competition = "pl" AND score = "1-1" AND opponents = "kelantan"
### Instruction: CREATE TABLE table_name_99 ( enrollment VARCHAR, institution VARCHAR, capacity VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the total enrollment ofr Mcgill University that has a capacity less than 25,012? ### Response:
SELECT COUNT(enrollment) FROM table_name_99 WHERE institution = "mcgill university" AND capacity < 25 OFFSET 012
### Instruction: CREATE TABLE table_204_804 ( id number, "version" text, "length" text, "album" text, "remixed by" text, "year" number, "comment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the shortest song ? ### Response:
SELECT "version" FROM table_204_804 ORDER BY "length" LIMIT 1
### Instruction: CREATE TABLE table_75041 ( "Outcome" text, "Event" text, "Year" text, "Venue" text, "Opponent in the final" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Event has an Outcome of other open tournaments? ### Response:
SELECT "Event" FROM table_75041 WHERE "Outcome" = 'other open tournaments'
### Instruction: CREATE TABLE table_389 ( "Component" text, "Integrated" text, "Allied-Related" text, "Allied-Unrelated" text, "Holding" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the integrated where allied-related is shared...
SELECT "Component" FROM table_389 WHERE "Allied-Related" = 'Shared'
### Instruction: CREATE TABLE table_69340 ( "Game" real, "Date" text, "Location" text, "Time" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the attendance amount of the race with a time of 2:07? ### Response:
SELECT MAX("Attendance") FROM table_69340 WHERE "Time" = '2:07'
### Instruction: CREATE TABLE table_name_26 ( rank INTEGER, studio VARCHAR, gross VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average rank of the movie from Paramount Studios that grossed $200,512,643? ### Response:
SELECT AVG(rank) FROM table_name_26 WHERE studio = "paramount" AND gross = "$200,512,643"
### Instruction: CREATE TABLE table_name_73 ( order_year VARCHAR, fleet_series__quantity_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which order year has a Fleet Series (Quantity) of 12081-12090 (10)? ### Response:
SELECT order_year FROM table_name_73 WHERE fleet_series__quantity_ = "12081-12090 (10)"
### Instruction: CREATE TABLE table_19236587_4 ( series_no VARCHAR, uk_viewers__million_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the series number of the episode seen by 2.43 million viewers in the UK? ### Response:
SELECT series_no FROM table_19236587_4 WHERE uk_viewers__million_ = "2.43"
### Instruction: CREATE TABLE table_62128 ( "Year" real, "Grand Slam" text, "Round" text, "Winner" text, "Loser" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the round for a year earlier than 1987? ### Response:
SELECT "Round" FROM table_62128 WHERE "Year" < '1987'
### Instruction: CREATE TABLE table_71925 ( "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 rank for 1961? ### Response:
SELECT "Rank" FROM table_71925 WHERE "Year" = '1961'
### Instruction: CREATE TABLE table_79779 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the record for May 31? ### Response:
SELECT "Record" FROM table_79779 WHERE "Date" = 'may 31'
### Instruction: CREATE TABLE table_12159115_2 ( production_code VARCHAR, us_viewers__millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the production code of the episode seen by 11.64 million US viewers? ### Response:
SELECT production_code FROM table_12159115_2 WHERE us_viewers__millions_ = "11.64"
### Instruction: CREATE TABLE table_name_83 ( call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the call sign which has a frequency Mhz more than 90.1 and ERP W of 1 ### Response:
SELECT call_sign FROM table_name_83 WHERE frequency_mhz > 90.1 AND erp_w = 1
### Instruction: CREATE TABLE table_27913160_3 ( manufacturer VARCHAR, driver VARCHAR, most_laps_led VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who manufactured the car driven by Will Power and Scott Dixon had the most laps? ### Response:
SELECT manufacturer FROM table_27913160_3 WHERE driver = "Will Power" AND most_laps_led = "Scott Dixon"
### Instruction: CREATE TABLE table_49369 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Date, when Away Team is 'Ipswich Town'? ### Response:
SELECT "Date" FROM table_49369 WHERE "Away team" = 'ipswich town'
### Instruction: CREATE TABLE table_78879 ( "Pick #" real, "Brand (to)" text, "Employee (Real name)" text, "Role" text, "Brand (from)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Pick # 3 works for which brand? ### Response:
SELECT "Brand (from)" FROM table_78879 WHERE "Pick #" = '3'
### Instruction: CREATE TABLE table_name_17 ( goals INTEGER, seasons VARCHAR, order VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the low goal for orders more than 939 during Seasons of 1996 2001? ### Response:
SELECT MIN(goals) FROM table_name_17 WHERE seasons = "1996 – 2001" AND order > 939
### Instruction: CREATE TABLE table_204_981 ( id number, "ep#" number, "title" text, "broadcast date" text, "written by" text, "directed by" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what was the name of the first episode ? ### Response:
SELECT "title" FROM table_204_981 WHERE "ep#" = 1
### Instruction: CREATE TABLE table_58520 ( "Race Title" text, "Circuit" text, "City / State" text, "Date" text, "Winner" text, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What team has a title of calder? ### Response:
SELECT "Team" FROM table_58520 WHERE "Race Title" = 'calder'
### Instruction: CREATE TABLE table_39353 ( "Date" text, "Tournament" text, "Location" text, "Winner" text, "Score" text, "1st prize ( $ )" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which winner had a location of Iowa? ### Response:
SELECT "Winner" FROM table_39353 WHERE "Location" = 'iowa'
### Instruction: CREATE TABLE table_4344 ( "Country/Region" text, "Name" text, "Host" text, "Network" text, "Premiere" text, "Prize" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the host for rtl-tvi ### Response:
SELECT "Host" FROM table_4344 WHERE "Network" = 'rtl-tvi'
### Instruction: CREATE TABLE table_78927 ( "Opposing Teams" text, "Against" real, "Date" text, "Venue" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which venue was there an against of 11? ### Response:
SELECT "Venue" FROM table_78927 WHERE "Against" = '11'
### Instruction: CREATE TABLE table_14504 ( "Status" text, "Name" text, "First Performance" text, "Last Performance" text, "Style" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date of the Last Performance of Rarmian Newton as Billy Ell...
SELECT "Last Performance" FROM table_14504 WHERE "Name" = 'rarmian newton'
### Instruction: CREATE TABLE table_68138 ( "Heat" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Heat for anjelika solovieva? ### Response:
SELECT AVG("Heat") FROM table_68138 WHERE "Name" = 'anjelika solovieva'
### Instruction: CREATE TABLE table_name_52 ( moves VARCHAR, black VARCHAR, result VARCHAR, year VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the total number of moves with a result of and a black of Anand before 1999? ### Response:
SELECT COUNT(moves) FROM table_name_52 WHERE result = "½–½" AND year < 1999 AND black = "anand"
### Instruction: CREATE TABLE table_177766_1 ( per­cent­age VARCHAR, area__sqdeg_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the percentage of this constellation with an area of 248.885 sq. deg.? ### Response:
SELECT per­cent­age FROM table_177766_1 WHERE area__sqdeg_ = "248.885"
### Instruction: CREATE TABLE table_58331 ( "Aircraft" text, "Origin" text, "Role" text, "Registration" text, "Number" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the role of the aircraft that has a registration of s5-hpb? ### Response:...
SELECT "Role" FROM table_58331 WHERE "Registration" = 's5-hpb'