instruction
stringlengths
231
6.3k
output
stringlengths
2
2.03k
### Instruction: CREATE TABLE table_76975 ( "Nation" text, "Gold" text, "Silver" text, "Bronze" text, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Total, when Silver is 1, and when Bronze is 7? ### Response:
SELECT COUNT("Total") FROM table_76975 WHERE "Silver" = '1' AND "Bronze" = '7'
### Instruction: CREATE TABLE table_79739 ( "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 is the to par number of the person who won in 2003? ### Response:
SELECT "To par" FROM table_79739 WHERE "Year(s) won" = '2003'
### Instruction: CREATE TABLE table_name_7 ( ngc_number INTEGER, right_ascension___j2000__ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average NGC number of everything with a Right ascension (J2000) of 05h33m30s? ### Response:
SELECT AVG(ngc_number) FROM table_name_7 WHERE right_ascension___j2000__ = "05h33m30s"
### 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. -- list each of the high schools which joined in the year 1976 . ### Response:
SELECT "high school" FROM table_203_591 WHERE "join\nyear" = 1976
### Instruction: CREATE TABLE table_name_24 ( result VARCHAR, home_captain VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the matches with home captain Graham Gooch played on the dates 3,4,5,6,7 June 1993, what was the result? ### Response:
SELECT result FROM table_name_24 WHERE home_captain = "graham gooch" AND date = "3,4,5,6,7 june 1993"
### Instruction: CREATE TABLE table_74722 ( "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 away team played Footscray? ### Response:
SELECT "Away team" FROM table_74722 WHERE "Home team" = 'footscray'
### Instruction: CREATE TABLE table_72402 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the election incumbent Brent Spence took place in? ### Response:
SELECT "Result" FROM table_72402 WHERE "Incumbent" = 'Brent Spence'
### Instruction: CREATE TABLE table_60823 ( "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. -- Which player has a to par greater than 11, with a total less than 155? ### Response:
SELECT "Player" FROM table_60823 WHERE "To par" > '11' AND "Total" < '155'
### Instruction: CREATE TABLE table_78089 ( "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 at MCG? ### Response:
SELECT "Away team" FROM table_78089 WHERE "Venue" = 'mcg'
### Instruction: CREATE TABLE table_66543 ( "Elimination" text, "Wrestler" text, "Team" text, "Eliminated by" text, "Elimination move" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's the eliminated by when the elimination was 1? ### Response:
SELECT "Eliminated by" FROM table_66543 WHERE "Elimination" = '1'
### Instruction: CREATE TABLE table_name_41 ( longitude VARCHAR, name VARCHAR, year_named VARCHAR, diameter__km_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the longitude named zipaltonal fluctus in 1997 with a diameter smaller than 490? ### Response:
SELECT longitude FROM table_name_41 WHERE year_named = 1997 AND diameter__km_ < 490 AND name = "zipaltonal fluctus"
### Instruction: CREATE TABLE table_41711 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the first leg score when team 2 is Wagad Mogadishu? ### Response:
SELECT "1st leg" FROM table_41711 WHERE "Team 2" = 'wagad mogadishu'
### Instruction: CREATE TABLE table_18549 ( "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 was the result of the election with jamie l. whitten? ### Response:
SELECT "Result" FROM table_18549 WHERE "Incumbent" = 'Jamie L. Whitten'
### Instruction: CREATE TABLE table_10497 ( "Title" text, "Format" text, "Label" text, "Catalog number" text, "Formats" text, "Year" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the label for digital format with nebula remixes ### Response:
SELECT "Label" FROM table_10497 WHERE "Formats" = 'digital' AND "Title" = 'nebula remixes'
### Instruction: CREATE TABLE table_15645 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Crowd" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the record with opponent of bos and loss of morris ### Response:
SELECT "Record" FROM table_15645 WHERE "Opponent" = 'bos' AND "Loss" = 'morris'
### Instruction: CREATE TABLE table_204_696 ( id number, "issue" number, "volume" number, "title" text, "main feature story" text, "first/early appearance story/stories" text, "release date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many total wolverine volumes are there ? ### Response:
SELECT "volume" FROM table_204_696 WHERE "title" = 'wolverine'
### Instruction: CREATE TABLE table_9069 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which date has a Week larger than 5, and an Attendance of 54,803? ### Response:
SELECT "Date" FROM table_9069 WHERE "Week" > '5' AND "Attendance" = '54,803'
### Instruction: CREATE TABLE table_710 ( "District" text, "Incumbent" text, "Party" text, "Elected" real, "Status" text, "Opponent" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the election in the district whose incumbent is Tom Foley? ### Response:
SELECT "Status" FROM table_710 WHERE "Incumbent" = 'Tom Foley'
### Instruction: CREATE TABLE table_15230 ( "Date" text, "Venue" text, "Opponents" text, "Score" text, "Comp" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Comp on 2007-08-06? ### Response:
SELECT "Comp" FROM table_15230 WHERE "Date" = '2007-08-06'
### Instruction: CREATE TABLE table_36746 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the incumbent that retired to run for the senate democratic hold? ### Response:
SELECT "Incumbent" FROM table_36746 WHERE "Result" = 'retired to run for the senate democratic hold'
### Instruction: CREATE TABLE table_204_429 ( id number, "battle" text, "location" text, "date(s)" text, "engagement remarks" text, "victor" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of battles that took place in 1836 ? ### Response:
SELECT COUNT("battle") FROM table_204_429 WHERE "date(s)" = 1836
### Instruction: CREATE TABLE table_23680 ( "Year" real, "Mens singles" text, "Womens singles" text, "Mens doubles" text, "Womens doubles" text, "Mixed doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who won mens doubles when zhou mi won womens singles ### Response:
SELECT "Mens doubles" FROM table_23680 WHERE "Womens singles" = 'Zhou Mi'
### Instruction: CREATE TABLE table_19397 ( "#" real, "Episode Title" text, "Situation" text, "Date of Situation" text, "Nature of Situation" text, "Original U.S. Airdate" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many entries are there for date of situation for #4? ### Response:
SELECT COUNT("Date of Situation") FROM table_19397 WHERE "#" = '4'
### Instruction: CREATE TABLE table_68149 ( "Championship" text, "Champion(s)" text, "Previous champion(s)" text, "Date Won" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which championship was won on July 7, 2010? ### Response:
SELECT "Championship" FROM table_68149 WHERE "Date Won" = 'july 7, 2010'
### Instruction: CREATE TABLE table_80364 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When the team had their record of 16 14, what was the total attendance? ### Response:
SELECT COUNT("Attendance") FROM table_80364 WHERE "Record" = '16–14'
### Instruction: CREATE TABLE table_18452 ( "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. -- How many districts have W. Arthur Winstead as elected official? ### Response:
SELECT COUNT("District") FROM table_18452 WHERE "Incumbent" = 'W. Arthur Winstead'
### Instruction: CREATE TABLE table_47095 ( "Asomtavruli" text, "Nuskhuri" text, "Mkhedruli" text, "Letter name" text, "Phoneme" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the letter name for the Asomtavruli ? ### Response:
SELECT "Letter name" FROM table_47095 WHERE "Asomtavruli" = 'ⴙ'
### Instruction: CREATE TABLE table_56496 ( "Date" text, "Venue" text, "Opponent" text, "Result" text, "Tournament" text, "Scored" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent with a score of 40-20? ### Response:
SELECT "Opponent" FROM table_56496 WHERE "Result" = '40-20'
### Instruction: CREATE TABLE table_23217 ( "Institution" text, "Location" text, "Nickname" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What school is located in Chestnut Hill, Massachusetts? ### Response:
SELECT "Institution" FROM table_23217 WHERE "Location" = 'Chestnut Hill, Massachusetts'
### Instruction: CREATE TABLE table_203_348 ( id number, "number" number, "name" text, "team" text, "position" text, "years with franchise" text, "note" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many chicago bulls have a retired nba jersey ? ### Response:
SELECT COUNT(*) FROM table_203_348 WHERE "team" = 'chicago bulls'
### Instruction: CREATE TABLE table_name_44 ( goals_scored INTEGER, goals_conceded VARCHAR, draw VARCHAR, points VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the goals scored when draw is less than 8, points is 19 and goals conceded is more than 26? ### Response:
SELECT SUM(goals_scored) FROM table_name_44 WHERE draw < 8 AND points = 19 AND goals_conceded > 26
### Instruction: CREATE TABLE table_50956 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which country earned place T3 with a score of 70-68=138? ### Response:
SELECT "Country" FROM table_50956 WHERE "Place" = 't3' AND "Score" = '70-68=138'
### Instruction: CREATE TABLE table_23298 ( "#" real, "Player" text, "Age" real, "Australian Open" real, "French Open" real, "Wimbledon" real, "US Open" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times did Roy Emerson win the Australian Open? ### Response:
SELECT COUNT("Australian Open") FROM table_23298 WHERE "Player" = 'Roy Emerson'
### Instruction: CREATE TABLE table_67414 ( "2000" text, "2004" text, "2009" text, "2013" text, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 2009 when the 2013 is 4th? ### Response:
SELECT "2009" FROM table_67414 WHERE "2013" = '4th'
### Instruction: CREATE TABLE table_76726 ( "Date" text, "Home team" text, "Score" text, "Away team" text, "Venue" text, "Box Score" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the home team at Gold Coast Convention Centre? ### Response:
SELECT "Home team" FROM table_76726 WHERE "Venue" = 'gold coast convention centre'
### Instruction: CREATE TABLE table_name_18 ( opponents_in_the_final VARCHAR, partnering VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Opponents in the final has a Partnering of tom s carbonell on march 28, 1995? ### Response:
SELECT opponents_in_the_final FROM table_name_18 WHERE partnering = "tomás carbonell" AND date = "march 28, 1995"
### Instruction: CREATE TABLE table_31911 ( "Name" text, "Investigation" text, "Route of administration" text, "In-vitro / in-vivo" text, "Imaging / non-imaging" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the naame of Investigation of thrombus imaging ### Response:
SELECT "Name" FROM table_31911 WHERE "Investigation" = 'thrombus imaging'
### Instruction: CREATE TABLE table_12472 ( "State" text, "Type" text, "Name" text, "Title" text, "Royal house" text, "From" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the type for Duke when the from is 512 bc? ### Response:
SELECT "Type" FROM table_12472 WHERE "Title" = 'duke' AND "From" = '512 bc'
### Instruction: CREATE TABLE table_26615 ( "Week" real, "Date" text, "Opponent" text, "Location" text, "Final Score" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the date for l 28 15 ### Response:
SELECT "Date" FROM table_26615 WHERE "Final Score" = 'L 28–15'
### Instruction: CREATE TABLE table_56030 ( "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 Melbourne play as the home team? ### Response:
SELECT "Date" FROM table_56030 WHERE "Home team" = 'melbourne'
### Instruction: CREATE TABLE table_name_84 ( total_viewers VARCHAR, share VARCHAR, bbc_one_weekly_ranking VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of total viewers with a share of 18.8% and a weekly ranking under 16? ### Response:
SELECT COUNT(total_viewers) FROM table_name_84 WHERE share = "18.8%" AND bbc_one_weekly_ranking < 16
### Instruction: CREATE TABLE table_204_215 ( id number, "airline" text, "destination(s)" text, "aircraft scheduled" text, "service date(s)" text, "comments" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the only destination served by american eagle airlines ? ### Response:
SELECT "destination(s)" FROM table_204_215 WHERE "airline" = 'american eagle airlines'
### Instruction: CREATE TABLE table_77560 ( "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 position of the player from round 2 from Sweden? ### Response:
SELECT "Position" FROM table_77560 WHERE "Round" = '2' AND "Nationality" = 'sweden'
### Instruction: CREATE TABLE table_33307 ( "Year" real, "Gold" text, "Silver" text, "Bronze" text, "Venue" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the tournament where Finland received the bronze and the United States received the silver? ### Response:
SELECT "Venue" FROM table_33307 WHERE "Bronze" = 'finland' AND "Silver" = 'united states'
### Instruction: CREATE TABLE table_204_961 ( id number, "title" text, "director" text, "production" text, "music" text, "cast" text, "release date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- who is the director next to the title diwan bahadur ? ### Response:
SELECT "director" FROM table_204_961 WHERE "title" = 'diwan bahadur'
### Instruction: CREATE TABLE table_2061 ( "Teams With Division Titles" text, "Division Championships" real, "Playoff Berths" real, "AFC Titles" real, "Super Bowl Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many afc titles were there when there were 2 super bowl wins? ### Response:
SELECT MAX("AFC Titles") FROM table_2061 WHERE "Super Bowl Wins" = '2'
### Instruction: CREATE TABLE table_4583 ( "Stage" text, "Start time" text, "Stage name" text, "Distance" text, "Winning driver" text, "Time" text, "Avg. Speed" text, "Rally leader" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the finishing time of Stage SS6? ### Response:
SELECT "Time" FROM table_4583 WHERE "Stage" = 'ss6'
### Instruction: CREATE TABLE table_13019 ( "Player" text, "Height" real, "Position" text, "Year born (Age)" text, "Current Club" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Height has a Position of c, and a Player of yiannis bourousis? ### Response:
SELECT SUM("Height") FROM table_13019 WHERE "Position" = 'c' AND "Player" = 'yiannis bourousis'
### Instruction: CREATE TABLE table_61801 ( "Province, Community" text, "Contestant" text, "Height" text, "Hometown" text, "Geographical Regions" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the province with a contestant of tatiana vargas rosales? ### Response:
SELECT "Province, Community" FROM table_61801 WHERE "Contestant" = 'tatiana vargas rosales'
### Instruction: CREATE TABLE table_202_289 ( id number, "country" text, "name" text, "title, position" text, "grand cross\nwith collar" text, "year of appointment" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which nation has the most order of st. olaf recipients ? ### Response:
SELECT "country" FROM table_202_289 GROUP BY "country" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: CREATE TABLE table_79741 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In which year(s) did the person with a total greater than 286 win? ### Response:
SELECT "Year(s) won" FROM table_79741 WHERE "Total" > '286'
### Instruction: CREATE TABLE table_75675 ( "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 did the Jet's play with an attendance of 11,309? ### Response:
SELECT "Game site" FROM table_75675 WHERE "Attendance" = '11,309'
### Instruction: CREATE TABLE table_4402 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where was the fight against Gray Maynard? ### Response:
SELECT "Location" FROM table_4402 WHERE "Opponent" = 'gray maynard'
### Instruction: CREATE TABLE table_46589 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Score when the Home team is Chicago Black Hawks and the Record is 3-3? ### Response:
SELECT "Score" FROM table_46589 WHERE "Home" = 'chicago black hawks' AND "Record" = '3-3'
### Instruction: CREATE TABLE table_name_40 ( points INTEGER, lost VARCHAR, goals_scored VARCHAR, goals_conceded VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points are there when they have under 27 goals scored, conceded 24 goals, and lost less than 6 times? ### Response:
SELECT SUM(points) FROM table_name_40 WHERE goals_scored < 27 AND goals_conceded = 24 AND lost < 6
### Instruction: CREATE TABLE table_train_229 ( "id" int, "hemoglobin_a1c_hba1c" float, "active_metabolic" bool, "body_weight" float, "hba1c" float, "age" float, "NOUSE" float ) -- Using valid SQLite, answer the following questions for the tables provided above. -- active metabolic ### Response:
SELECT * FROM table_train_229 WHERE active_metabolic = 1
### Instruction: CREATE TABLE table_name_8 ( lane INTEGER, country VARCHAR, time VARCHAR, react VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average lane of the athlete from cuba who has a time greater than 22.57 and react less than 0.245? ### Response:
SELECT AVG(lane) FROM table_name_8 WHERE time > 22.57 AND react < 0.245 AND country = "cuba"
### Instruction: CREATE TABLE table_11561 ( "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. -- Who was the home team at MCG? ### Response:
SELECT "Home team" FROM table_11561 WHERE "Venue" = 'mcg'
### Instruction: CREATE TABLE table_38117 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What record has Glenn Robinson (16) as the leading scorer? ### Response:
SELECT "Record" FROM table_38117 WHERE "Leading scorer" = 'glenn robinson (16)'
### Instruction: CREATE TABLE table_35602 ( "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 total grid for someone with a time/retire of +44.831 ### Response:
SELECT COUNT("Grid") FROM table_35602 WHERE "Time/Retired" = '+44.831'
### Instruction: CREATE TABLE table_2372 ( "Rd." real, "Race Title" text, "Circuit" text, "City / State" text, "Date" text, "Winner" text, "Team" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the report for the winton race? ### Response:
SELECT "Report" FROM table_2372 WHERE "Race Title" = 'Winton'
### Instruction: CREATE TABLE table_name_97 ( round INTEGER, overall VARCHAR, pick__number VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Round is the lowest one that has a Pick # larger than 10, and a Position of tight end, and an Overall smaller than 132? ### Response:
SELECT MIN(round) FROM table_name_97 WHERE pick__number > 10 AND position = "tight end" AND overall < 132
### Instruction: CREATE TABLE table_55294 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who were the runners-up at the Alfred Dunhill Links Championship? ### Response:
SELECT "Runner(s)-up" FROM table_55294 WHERE "Tournament" = 'alfred dunhill links championship'
### Instruction: CREATE TABLE table_22799 ( "Year" text, "League" text, "Reg. Season" text, "Playoffs" text, "Owner(s)" text, "Avg. Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- in the year 1998/99 what was the league ### Response:
SELECT "League" FROM table_22799 WHERE "Year" = '1998/99'
### Instruction: CREATE TABLE table_12503 ( "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. -- The golfer who won in 1993 had what total has his total? ### Response:
SELECT SUM("Total") FROM table_12503 WHERE "Year(s) won" = '1993'
### Instruction: CREATE TABLE table_name_63 ( laps INTEGER, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When renault is the constructor, the grid is over 6, and the time was labeled ignition, what's the largest amount of laps on record? ### Response:
SELECT MAX(laps) FROM table_name_63 WHERE grid > 6 AND constructor = "renault" AND time_retired = "ignition"
### Instruction: CREATE TABLE table_55852 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Grid for jj lehto with over 51 laps? ### Response:
SELECT MIN("Grid") FROM table_55852 WHERE "Laps" > '51' AND "Driver" = 'jj lehto'
### 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 above. -- What are the names and revenues of the companies with the highest revenues in each headquarter city? ### Response:
SELECT name, MAX(revenue), headquarter FROM manufacturers GROUP BY headquarter
### Instruction: CREATE TABLE table_name_78 ( fencing_victories__pts_ VARCHAR, equestrian_time__pts_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Fencing Victories (pts) that has a Equestrian Time (pts) of 67.88 (1144)? ### Response:
SELECT fencing_victories__pts_ FROM table_name_78 WHERE equestrian_time__pts_ = "67.88 (1144)"
### Instruction: CREATE TABLE table_77679 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the record of the game where the Rockets were the visiting team? ### Response:
SELECT "Record" FROM table_77679 WHERE "Visitor" = 'rockets'
### Instruction: CREATE TABLE table_30993 ( "No. in series" real, "No. in 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. -- who directed 'grampires'(part 1) ### Response:
SELECT "Directed by" FROM table_30993 WHERE "Title" = 'Grampires"(Part 1)'
### Instruction: CREATE TABLE table_10145 ( "Team" text, "Winners" real, "Runners-up" real, "Years won" text, "Years runner-up" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many runners up for the team that won in 1993? ### Response:
SELECT MIN("Runners-up") FROM table_10145 WHERE "Years won" = '1993'
### Instruction: CREATE TABLE table_72072 ( "Player" text, "No." text, "Nationality" text, "Position" text, "Years in Toronto" text, "School/Club Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who are all of the players on the Westchester High School club team? ### Response:
SELECT "Player" FROM table_72072 WHERE "School/Club Team" = 'Westchester High School'
### Instruction: CREATE TABLE table_21704 ( "Class" text, "Part 1" text, "Part 2" text, "Part 3" text, "Part 4" text, "Verb meaning" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many different meanings does the verb with part 4 gegeven have? ### Response:
SELECT COUNT("Verb meaning") FROM table_21704 WHERE "Part 4" = 'gegeven'
### Instruction: CREATE TABLE table_name_49 ( engine_configuration_ VARCHAR, _notes_0_100km_h VARCHAR, engine_type VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the engine configuration & notes 0-100km/h with an engine type with b5252 fs? ### Response:
SELECT engine_configuration_ & _notes_0_100km_h FROM table_name_49 WHERE engine_type = "b5252 fs"
### Instruction: CREATE TABLE table_55620 ( "Year" real, "Rank" real, "Games" real, "Win%" real, "Postseason" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What number of win% has a postseason of did not qualify and rank larger than 8? ### Response:
SELECT COUNT("Win%") FROM table_55620 WHERE "Postseason" = 'did not qualify' AND "Rank" > '8'
### Instruction: CREATE TABLE table_70857 ( "Tournament" text, "2009" text, "2010" text, "2011" text, "2012" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which 2012 tournament had 2r in 2010? ### Response:
SELECT "2012" FROM table_70857 WHERE "2010" = '2r'
### Instruction: CREATE TABLE table_name_37 ( opposing_pitcher VARCHAR, inning VARCHAR, team VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the Opposing Pitcher when Team is phillies, Location is pittsburgh, and Inning is 8th? ### Response:
SELECT opposing_pitcher FROM table_name_37 WHERE team = "phillies" AND location = "pittsburgh" AND inning = "8th"
### Instruction: CREATE TABLE table_24683 ( "No" real, "Driver" text, "Entrant" text, "Constructor" text, "Chassis" text, "Engine" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many entrants was yves giraud-cabantous? ### Response:
SELECT COUNT("Entrant") FROM table_24683 WHERE "Driver" = 'Yves Giraud-Cabantous'
### Instruction: CREATE TABLE table_203_173 ( id number, "year(s)" text, "serial name" text, "role" text, "co-star" text, "note(s)" text, "channel" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which show ran the longest ? ### Response:
SELECT "serial name" FROM table_203_173 ORDER BY "year(s)" - "year(s)" DESC LIMIT 1
### Instruction: CREATE TABLE table_1610496_3 ( gdp_per_capita_adjusted__$_ VARCHAR, population__millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the adjusted GDP per capita when the population is 37.376 million? ### Response:
SELECT gdp_per_capita_adjusted__$_ FROM table_1610496_3 WHERE population__millions_ = "37.376"
### Instruction: CREATE TABLE table_42797 ( "Name" text, "Position" text, "Number" real, "Season" text, "Acquisition via" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name from the 2002 season, and acquired via free agency? ### Response:
SELECT "Name" FROM table_42797 WHERE "Season" = '2002' AND "Acquisition via" = 'free agency'
### Instruction: CREATE TABLE table_39530 ( "Pos." real, "Car #" real, "Driver" text, "Make" text, "Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Pos has a Team of roush fenway racing, and a Car # of 99? ### Response:
SELECT SUM("Pos.") FROM table_39530 WHERE "Team" = 'roush fenway racing' AND "Car #" = '99'
### Instruction: CREATE TABLE table_57729 ( "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 80 laps with a Grid larger than 2? ### Response:
SELECT "Time/Retired" FROM table_57729 WHERE "Laps" = '80' AND "Grid" > '2'
### Instruction: CREATE TABLE table_33450 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date had a Result of l 23 17 in a week later than 7? ### Response:
SELECT "Date" FROM table_33450 WHERE "Week" > '7' AND "Result" = 'l 23–17'
### Instruction: CREATE TABLE table_57472 ( "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. -- Where did South Melbourne play? ### Response:
SELECT "Venue" FROM table_57472 WHERE "Away team" = 'south melbourne'
### Instruction: CREATE TABLE table_203_721 ( id number, "school" text, "location" text, "control" text, "type" text, "enrollment" number, "founded" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the number of us technological schools in the state of california ? ### Response:
SELECT COUNT("school") FROM table_203_721 WHERE "location" = 'california'
### Instruction: CREATE TABLE table_49827 ( "Year" text, "Champion (seed)" text, "Score" text, "Runner-up (seed)" text, "Most valuable player" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Champion of the Tournament with a Score of 79 75 OT? ### Response:
SELECT "Champion (seed)" FROM table_49827 WHERE "Score" = '79–75 ot'
### Instruction: CREATE TABLE table_35986 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the opponent for the tournament of rio de janeiro? ### Response:
SELECT "Opponent" FROM table_35986 WHERE "Tournament" = 'rio de janeiro'
### Instruction: CREATE TABLE table_19661 ( "Year" real, "Mens Singles" text, "Womens Singles" text, "Men Doubles" text, "Womens Doubles" text, "Mixed Doubles" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of men doubles for 2007 ### Response:
SELECT COUNT("Men Doubles") FROM table_19661 WHERE "Year" = '2007'
### Instruction: CREATE TABLE table_22123920_4 ( dates__mdy_ VARCHAR, gross_sales VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which specific dates encompass the time period when 'The Show Girl Must Go On' showed a gross sales figure total of $2,877,906? ### Response:
SELECT dates__mdy_ FROM table_22123920_4 WHERE gross_sales = "$2,877,906"
### Instruction: CREATE TABLE table_24089 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Wildcats points" real, "Opponents" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What did they do against Villanova? ### Response:
SELECT "Result" FROM table_24089 WHERE "Opponent" = 'Villanova'
### Instruction: CREATE TABLE table_53836 ( "Year" text, "Winner" text, "Jockey" text, "Trainer" text, "Owner" text, "Distance" text, "Time" text, "Purse" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was Burning Roma the winner? ### Response:
SELECT "Year" FROM table_53836 WHERE "Winner" = 'burning roma'
### Instruction: CREATE TABLE table_70123 ( "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 when the style is street dance and the name is George Maguire? ### Response:
SELECT "Last Performance" FROM table_70123 WHERE "Style" = 'street dance' AND "Name" = 'george maguire'
### Instruction: CREATE TABLE table_71222 ( "Date" text, "Opponents" text, "Result F\u2013A" text, "Attendance" real, "League position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance on 21 August 2004? ### Response:
SELECT SUM("Attendance") FROM table_71222 WHERE "Date" = '21 august 2004'
### Instruction: CREATE TABLE table_50304 ( "Release" real, "Start" text, "Pieces" real, "Board (inches)" text, "Board (cm)" text, "Type" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the lowest number of pieces for a board released in 1984? ### Response:
SELECT MIN("Pieces") FROM table_50304 WHERE "Release" = '1984'
### Instruction: CREATE TABLE table_61683 ( "Opposing Teams" text, "Against" real, "Date" text, "Venue" text, "Status" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the venue where Argentina was the opposing team in a test match? ### Response:
SELECT "Venue" FROM table_61683 WHERE "Opposing Teams" = 'argentina' AND "Status" = 'test match'
### Instruction: CREATE TABLE table_204_891 ( id number, "name" text, "hanzi" text, "population (2005)" number, "area (km2)" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many divisions had a population of at least 15,000 ? ### Response:
SELECT COUNT("name") FROM table_204_891 WHERE "population (2005)" >= 15000
### Instruction: CREATE TABLE table_2075 ( "Player" text, "Years with Dodgers" text, "Role with Dodgers" text, "Inducted as" text, "Year inducted" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the player for 1945 for player ### Response:
SELECT "Player" FROM table_2075 WHERE "Year inducted" = '1945' AND "Inducted as" = 'Player'
### Instruction: CREATE TABLE table_46054 ( "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 the points against when try diff is +23? ### Response:
SELECT "Points against" FROM table_46054 WHERE "Try diff" = '+23'