Chinastark/bird_dataset huggingface dataset:
Database: hockey
Question: List all goalies who played in the year 2005 season and shorter than 72 inches. List all the team names he play for.
Evidence: shorter than 72 inches refers to height<72
SQL: SELECT DISTINCT T1.firstName, T1.lastName, T3.name FROM Master AS T1 INNER JOIN Goalies AS T2 ON T1.playerID = T2.playerID INNER JOIN Teams AS T3 ON T2.tmID = T3.tmID WHERE T2.year = 2005 AND T1.height < 72
Database: hockey
Question: State the nick name of player ID 'aubinje01'. List all the teams and season he played for.
Evidence: nick name refers to nameNick; team refers to tmID; season refers to year


SQL: SELECT DISTINCT T1.nameNick, T3.year, T3.name FROM Master AS T1 INNER JOIN Goalies AS T2 ON T1.playerID = T2.playerID INNER JOIN Teams AS T3 ON T2.tmID = T3.tmID WHERE T1.playerID = 'aubinje01'
Database: hockey
Question: Name the goalies with the most seasons played. State the average time he played for each season.
Evidence: most seasons played refers to MAX(COUNT(playerID)); average time he played for each season refers to DIVIDE(SUM(T2.Min),COUNT(T2.playerID))
SQL: SELECT T1.firstName, T1.lastName, T2.year, AVG(T2.Min) FROM Master AS T1 INNER JOIN Goalies AS T2 ON T1.playerID = T2.playerID WHERE T1.playerID = ( SELECT playerID FROM Goalies GROUP BY playerID ORDER BY COUNT(playerID) DESC LIMIT 1 ) GROUP BY T1.firstName, T1.lastName, T2.year
Database: hockey
Question: Name the goalie and the season he played where he had 5% shutouts among the number of goals recorded while the goalie was on the ice.
Evidence: shutouts refers to SHO; number of goals refers to GA; 5% shutouts among the number of goals refers to DIVIDE(SHO,GA)*100 = 5.00
SQL: SELECT DISTINCT T1.firstName, T1.lastName, T2.year FROM Master AS T1 INNER JOIN ( SELECT playerID, year FROM Goalies WHERE CAST(SHO AS REAL) / GA > 0.05 ) AS T2 ON T2.playerID = T1.playerID
Database: hockey
Question: Name the deceased players whose death country is different from his birth country order by birth year.
Evidence: death country is different from his birth country refers to birthCountry! = deathCountry
SQL: SELECT firstName, lastName FROM Master WHERE birthCountry != deathCountry ORDER BY birthYear
Database: hockey
Question: Who are the players played both in NHL and WHA. List the given name and first year they were in NHL and first year in WHA.
Evidence: first year they were in NHL refers to firstNHL; first year in WHA refers to firstWHA; play in both refers to firstNHL IS NOT NULL AND firstWHA IS NOT NULL

SQL: SELECT nameGiven, firstNHL, firstWHA FROM Master WHERE firstNHL IS NOT NULL AND firstWHA IS NOT NULL
Database: hockey
Question: List the living players who have two positions. State their given name the position they play.
Evidence: living players refers to deathYear IS NULL; positions refers to pos
SQL: SELECT firstName, lastName, pos FROM Master WHERE deathYear IS NULL AND pos LIKE '%/%'
Database: hockey
Question: State the nick name of the tallest player? If the player had left NHL, mention the last season he was with NHL.
Evidence: nick name refers to nameNick; tallest player refers to MAX(height); had left NHL refers to lastNHL
SQL: SELECT nameNick, lastNHL FROM Master ORDER BY height DESC LIMIT 1
Database: hockey
Question: What is the average height of player who were born in 1990 and after? Compare the average height with players who were born before 1990.
Evidence: average height refers to AVG(height); born in 1990 refers to birthYear = 1990

SQL: SELECT AVG(IIF(birthYear < 1990, height, NULL)) - AVG(IIF(birthYear >= 1990, height, NULL)) FROM Master
Database: hockey
Question: Name the goalies who are good at left hand and also has become a coach after retirement. Name all teams he had played before.
Evidence: good at left hand refers to shootCatch = 'L'; goalies refers to pos = 'G'
SQL: SELECT DISTINCT firstName, lastName, T3.name FROM Goalies AS T1 INNER JOIN Master AS T2 ON T2.playerID = T1.playerID INNER JOIN Teams AS T3 ON T1.lgID = T3.lgID WHERE T1.playerID IS NOT NULL AND T2.coachID IS NOT NULL AND T2.shootCatch = 'L' AND T2.pos = 'G'
Database: hockey
Question: List all the deceased goalies and the teams he had played whose birth country was in Canada.
Evidence: goalies refers to pos = 'G'; deceased goalies refers to deathYear IS NOT NULL

SQL: SELECT DISTINCT firstName, lastName, T3.name FROM Goalies AS T1 INNER JOIN Master AS T2 ON T2.playerID = T1.playerID INNER JOIN Teams AS T3 ON T1.lgID = T3.lgID WHERE T2.birthCountry = 'Canada' AND T2.deathYear IS NOT NULL AND T2.pos = 'G'
Database: hockey
Question: Name the goalies and season they played when Boston Bruins won number 1 in rank.
Evidence: goalies refers to pos = 'G'; season refers to year

SQL: SELECT T1.firstName, T1.lastName, T3.year FROM Master AS T1 INNER JOIN Goalies AS T2 ON T1.playerID = T2.playerID INNER JOIN Teams AS T3 ON T2.year = T3.year AND T2.tmID = T3.tmID WHERE T1.deathYear IS NOT NULL AND T3.name = 'Boston Bruins' AND T3.rank = 1 AND T1.pos = 'G'
Database: hockey
Question: Among all goalies who are still alive, whose first season in NHL in before 1950. List the team names they were in.
Evidence: first season in NHL in before 1950 refers to firstNHL<1950; goalies who are still alive refers to deathYear IS NOT NULL
SQL: SELECT DISTINCT T3.name FROM Master AS T1 INNER JOIN Goalies AS T2 ON T1.playerID = T2.playerID INNER JOIN Teams AS T3 ON T2.lgID = T3.lgID AND T2.year = T3.year WHERE T1.deathYear IS NOT NULL AND T1.firstNHL < 1950
Database: hockey
Question: For all players who becomes coach after retirement, state the given name of coach and which teams and years did they coach?
SQL: SELECT DISTINCT T2.nameGiven, T3.name, T3.year FROM Coaches AS T1 INNER JOIN Master AS T2 ON T2.coachID = T1.coachID INNER JOIN Teams AS T3 ON T1.lgID = T3.lgID WHERE T2.playerID IS NOT NULL AND T2.coachID IS NOT NULL
Database: hockey
Question: Among the coaches who was never a player, who has highest percentage of game winning? Provide the given name of the coach and team he coached.
Evidence: highest percentage of game winning refers to MAX(DIVIDE(w,g)*100)
SQL: SELECT T2.nameGiven, T3.name FROM Coaches AS T1 INNER JOIN Master AS T2 ON T2.coachID = T1.coachID INNER JOIN Teams AS T3 ON T1.lgID = T3.lgID WHERE T1.coachID IS NOT NULL ORDER BY CAST(T1.w AS REAL) / T1.g DESC LIMIT 1
Database: hockey
Question: Which coach has the best performance for team DET in history? What was the winning percentage? Name the coach and the year he coached.
Evidence: winning percentage refers to DIVIDE(w,g)*100; team DET refers to tmID = 'DET'
SQL: SELECT CAST(T2.W AS REAL) / T2.G, T1.firstName, T1.lastName, T2.year FROM Master AS T1 INNER JOIN Coaches AS T2 ON T1.coachID = T2.coachID INNER JOIN ( SELECT coachID FROM Coaches ORDER BY CAST(w AS REAL) / g DESC LIMIT 1 ) AS T3 ON T2.coachID = T3.coachID
Database: hockey
Question: Who is the coach who had coached the the most seasons in MTL? State his given name, date of birth and all teams he had coaches before.
Evidence: date of birth refers to birthDay + birthMon + birthYear
SQL: SELECT T2.nameGiven , T2.birthYear, T2.birthMon, T2.birthDay, T3.name FROM Goalies AS T1 INNER JOIN Master AS T2 ON T2.playerID = T1.playerID INNER JOIN Teams AS T3 ON T3.lgID = T1.lgID WHERE T3.tmID = 'MTL' GROUP BY T2.nameGiven, T2.birthYear, T2.birthMon, T2.birthDay, T3.name ORDER BY COUNT(T2.coachID) DESC LIMIT 1
Database: hockey
Question: List all goalies with more lost than won games for two seasons or more. State the name of the player and team he played.
Evidence: lost refers to L; won refers to W
SQL: SELECT DISTINCT T1.firstName, T1.lastName, T3.name FROM Master AS T1 INNER JOIN Goalies AS T2 ON T1.playerID = T2.playerID INNER JOIN Teams AS T3 ON T2.year = T3.year AND T2.tmID = T3.tmID WHERE T1.pos = 'G' AND T2.L > T2.W GROUP BY T1.firstName, T1.lastName, T3.name HAVING COUNT(T3.year) > 2
Database: hockey
Question: For all the goalies born in year 1987, who are good in both right hand and left hand? Calculate his percentage of winning for every season he played.
Evidence: good in both right hand and left hand refers shootCatch IS NULL; winning refers to W; every season he played refers to GP; percentage of winning for every season he played refers to DIVIDE(W,GP)*100
SQL: SELECT T1.firstName, T1.lastName, T2.year, CAST(T2.W AS REAL) / T2.GP FROM Master AS T1 INNER JOIN Goalies AS T2 ON T1.playerID = T2.playerID WHERE T1.birthYear = 1987 AND T1.shootCatch IS NULL
Database: hockey
Question: What is given name for player 'aebisda01'. Calculate the average time in minutes for the all his games played as goaltender.
Evidence: played as goaltender refers to pos = 'G'; time in minutes refers to Min; all his games played refers to GP; average time in minutes refers to DIVIDE(SUM(Min)/SUM(GP))
SQL: SELECT T1.nameGiven, CAST(SUM(T2.Min) AS REAL) / SUM(T2.GP) FROM Master AS T1 INNER JOIN Goalies AS T2 ON T1.playerID = T2.playerID WHERE T1.playerID = 'aebisda01' GROUP BY T1.nameGiven
Database: hockey
Question: List all living goalies who have greater than 50% wins among all games played. State their last name and first name.
Evidence: wins refers to W; all games played refers to GP;greater than 50% wins among all games played refers to DIVIDE(SUM(W),GP)*100>50
SQL: SELECT T1.firstName, T1.lastName FROM Master AS T1 INNER JOIN Goalies AS T2 ON T1.playerID = T2.playerID WHERE T1.deathYear IS NOT NULL GROUP BY T1.playerID HAVING CAST(SUM(T2.Min) AS REAL) / SUM(T2.GP) > 0.5
Database: hockey
Question: How many players and coaches are awarded after death?
Evidence: awarded after death refers to note = 'posthumous'
SQL: SELECT COUNT(note) FROM AwardsMisc WHERE note IS NOT NULL
Database: hockey
Question: Among the players who won an award in the year 1983, how many of them play the position of goalie?
Evidence: position of goalie refers to pos = 'G'
SQL: SELECT COUNT(playerID) FROM AwardsPlayers WHERE pos = 'G' AND year = 1983
Database: hockey
Question: How many coaches worked a temporary term in the year 2007?
Evidence: worked a temporary term refers to notes = 'interim'
SQL: SELECT COUNT(coachID) FROM Coaches WHERE year = 2007 AND notes = 'interim'
Database: hockey
Question: How many shoutouts are there in the regular season of 1977?
Evidence: regular season refers to `R/P` = 'R'
SQL: SELECT COUNT(year) FROM CombinedShutouts WHERE year = 1977 AND `R/P` = 'R'
Database: hockey
Question: How many teams scored against their opponent who had pulled their goalie in the year 2005?
Evidence: teams scored against their opponent who had pulled their goalie refers to ENG is not null
SQL: SELECT COUNT(tmID) FROM Goalies WHERE year = 2005 AND ENG IS NULL
Database: hockey
Question: Please list the years in which the NHL League had shots recorded while the goalie was on the ice.
Evidence: shots recorded while the goalie was on the ice refers to SA IS NOT NULL; NHL League refers to lgID = 'NHL'
SQL: SELECT DISTINCT year FROM Goalies WHERE lgID = 'NHL' AND SA IS NOT NULL
Database: hockey
Question: How many teams have the same total number of postseason wins and postseason loses?
Evidence: same total number of postseason wins and postseason loses refers to PostW = PostL
SQL: SELECT DISTINCT COUNT(tmID) FROM Goalies WHERE PostW = PostL
Database: hockey
Question: Please list the name of the person who was in the Hall of Fame in the year 1978.
SQL: SELECT name FROM HOF WHERE year = 1978
Database: hockey
Question: How many people were in the Hall of Fame's Builder category?
SQL: SELECT COUNT(hofID) FROM HOF WHERE category = 'Builder'
Database: hockey
Question: Among the people who got into the Hall of Fame after the year 1980, how many of them belong to the category of "Player"?
Evidence: after the year 1980 refers to year>1980
SQL: SELECT COUNT(hofID) FROM HOF WHERE year > 1980 AND category = 'Player'
Database: hockey
Question: Please list the Nicknames of the players who got in the Hall of Fame in 2007.
Evidence: nicknames refers to nameNick
SQL: SELECT DISTINCT T1.nameNick FROM Master AS T1 INNER JOIN HOF AS T2 ON T1.hofID = T2.hofID WHERE T2.year = 2007
Database: hockey
Question: Did the tallest player got in the Hall of Fame? If yes, please list the year when he got in the Hall of Fame.
Evidence: tallest player refers to max(height)
SQL: SELECT CASE WHEN T1.hofID IS NULL THEN 'NO' ELSE T2.year END FROM Master AS T1 LEFT JOIN HOF AS T2 ON T1.hofID = T2.hofID WHERE T1.height = ( SELECT MAX(height) FROM Master )
Database: hockey
Question: Please list the awards the coaches who are born in Canada have won.
Evidence: born in Canada refers to birthCountry = 'Canada'
SQL: SELECT DISTINCT T2.award FROM Master AS T1 INNER JOIN AwardsCoaches AS T2 ON T1.coachID = T2.coachID WHERE T1.birthCountry = 'Canada'
Database: hockey
Question: Among the coaches whose team has over 30 wins in a year, how many of them are born in the USA?
Evidence: over 30 wins refers to w>30; born in the USA refers to birthCountry = 'USA'
SQL: SELECT COUNT(T2.coachID) FROM Master AS T1 INNER JOIN Coaches AS T2 ON T1.coachID = T2.coachID WHERE T2.W > 30 AND T1.birthCountry = 'USA'
Database: hockey
Question: Among the coaches who have taught teams from the NHL League, how many of them are from Canada?
Evidence: from Canada refers to birthCountry = 'Canada'; NHL league refers to lgID = 'NHL'
SQL: SELECT COUNT(T2.coachID) FROM Master AS T1 INNER JOIN Coaches AS T2 ON T1.coachID = T2.coachID WHERE T2.lgID = 'NHL' AND T1.birthCountry = 'Canada'
Database: hockey
Question: Please list the awards won by coaches who were born in 1952.
Evidence: born in 1977 refers to birthYear = '1977'
SQL: SELECT T2.award FROM Master AS T1 INNER JOIN AwardsCoaches AS T2 ON T1.coachID = T2.coachID WHERE T1.birthYear = 1952
Database: hockey
Question: Among the coaches who have received an award in 1940, how many of them are born in Toronto?
Evidence: born in Toronto refers to birthCountry = 'Toronto'
SQL: SELECT COUNT(T1.coachID) FROM Master AS T1 INNER JOIN AwardsCoaches AS T2 ON T1.coachID = T2.coachID WHERE T2.year = 1940 AND T1.birthCity = 'Toronto'
Database: hockey
Question: Among the coaches who have received an award after the year 1940, how many of them have already died?
Evidence: after the year 1940 refers to year>1940; have already died refers to deathYear IS NOT NULL
SQL: SELECT COUNT(T1.coachID) FROM Master AS T1 INNER JOIN AwardsCoaches AS T2 ON T1.coachID = T2.coachID WHERE T1.deathYear IS NOT NULL AND T2.year > 1940
Database: hockey
Question: Please list the awards won by coaches who taught the NHL League and have already died.
Evidence: have already died refers to deathYear IS NOT NULL; NHL league refers to lgID = 'NHL'
SQL: SELECT DISTINCT T2.award FROM Master AS T1 INNER JOIN AwardsCoaches AS T2 ON T1.coachID = T2.coachID WHERE T1.deathYear IS NOT NULL AND T2.lgID = 'NHL'
Database: hockey
Question: Among the coaches who have gotten in the Hall of Fame, how many of them have a weight of over 195?
Evidence: weight of over 195 refers to weight>195
SQL: SELECT COUNT(DISTINCT T1.coachID) FROM Master AS T1 INNER JOIN HOF AS T2 ON T1.hofID = T2.hofID WHERE T1.weight > 195
Database: hockey
Question: Please list the first name of the players who are good at both left hands and right hands for goalie and have gotten in the Hall of Fame.
Evidence: good at both left hands and right hands for goalie refers to shootCatch IS NULL
SQL: SELECT DISTINCT T1.firstName, T1.lastName FROM Master AS T1 INNER JOIN HOF AS T2 ON T1.hofID = T2.hofID WHERE T1.shootCatch IS NULL
Database: hockey
Question: Among the players who became coaches, how many of them have gotten in the Hall of Fame?
Evidence: players who became coaches refers to playerID IS NOT NULL AND coachID IS NOT NULL
SQL: SELECT COUNT(T1.playerID) FROM Master AS T1 INNER JOIN HOF AS T2 ON T1.hofID = T2.hofID WHERE T1.playerID IS NOT NULL AND T1.coachID IS NOT NULL
Database: hockey
Question: Please list the birth cities of the players who have won an award in the year 1970.
SQL: SELECT DISTINCT T1.birthCity FROM Master AS T1 INNER JOIN AwardsPlayers AS T2 ON T1.playerID = T2.playerID WHERE T2.year = 1970
Database: hockey
Question: How many players born in Toronto have won the All-Rookie award?
Evidence: born in Toronto refers to birthCity = 'Toronto'
SQL: SELECT COUNT(T1.playerID) FROM Master AS T1 INNER JOIN AwardsPlayers AS T2 ON T1.playerID = T2.playerID WHERE T2.award = 'All-Rookie' AND T1.birthCity = 'Toronto'
Database: hockey
Question: Among the players who have won the All-Rookie award, how many of them have died?
Evidence: have died refers to deathYear IS NOT NULL
SQL: SELECT COUNT(T1.playerID) FROM Master AS T1 INNER JOIN AwardsPlayers AS T2 ON T1.playerID = T2.playerID WHERE T2.award = 'All-Rookie' AND T1.deathYear IS NOT NULL
Database: hockey
Question: Among the players who died in Massachussets, how many of them have won an award?
Evidence: died in Massachussets refers to deathState = 'Massachussets'
SQL: SELECT COUNT(DISTINCT T1.playerID) FROM Master AS T1 INNER JOIN AwardsPlayers AS T2 ON T1.playerID = T2.playerID WHERE T1.deathState = 'MA'
Database: hockey
Question: Please list the awards the players who died in Arlington have won.
Evidence: died in Arlington refers to deathCity = 'Arlington'
SQL: SELECT T2.award FROM Master AS T1 INNER JOIN AwardsPlayers AS T2 ON T1.playerID = T2.playerID WHERE T1.deathCity = 'Kemptville'
Database: hockey
Question: Please list the nicknames of the players who have won the All-Rookie award and are born in March.
Evidence: born in March refers to birthMon = '3'; nicknames refers to nameNick
SQL: SELECT DISTINCT T1.nameNick FROM Master AS T1 INNER JOIN AwardsPlayers AS T2 ON T1.playerID = T2.playerID WHERE T2.award = 'All-Rookie' AND T1.birthMon = 3
Database: hockey
Question: Among the players who were born in July and August, how many of them got in the Hall of Fame?
Evidence: born in July and August refers to birthMon IN('7','8')
SQL: SELECT COUNT(T1.playerID) FROM Master AS T1 INNER JOIN HOF AS T2 ON T1.hofID = T2.hofID WHERE T1.birthMon IN (7, 8)
Database: hockey
Question: In which month was the player who has won the most awards born?
Evidence: who has won the most awards refers to max(count(award)); the month player was born refers to birthMon
SQL: SELECT T1.birthMon FROM Master AS T1 INNER JOIN AwardsPlayers AS T2 ON T1.playerID = T2.playerID GROUP BY T2.playerID ORDER BY COUNT(T2.award) DESC LIMIT 1
Database: hockey
Question: Players born in which year have received the most awards in total?
Evidence: received the most awards in total refers to max(count(award))
SQL: SELECT T1.birthYear FROM Master AS T1 INNER JOIN AwardsPlayers AS T2 ON T1.playerID = T2.playerID GROUP BY T1.birthYear ORDER BY COUNT(T2.award) DESC LIMIT 1
Database: hockey
Question: Which country is the most award-winning player from?
Evidence: most award-winning refers to max(count(award)); country player is from refers to birthCountry
SQL: SELECT T1.birthCountry FROM Master AS T1 INNER JOIN AwardsPlayers AS T2 ON T1.playerID = T2.playerID GROUP BY T1.birthCountry ORDER BY COUNT(T2.award) DESC LIMIT 1
Database: hockey
Question: Which country has the most players in the Hall of Fame?
Evidence: country refers to birthCountry
SQL: SELECT T1.birthCountry FROM Master AS T1 INNER JOIN HOF AS T2 ON T1.hofID = T2.hofID GROUP BY T1.birthCountry ORDER BY COUNT(T1.playerID) DESC LIMIT 1
Database: hockey
Question: Please list the positions of the players who were born in Canada and have won the All-Rookie award.
Evidence: born in Canada refers to birthCountry = 'Canada'; pos = 'LW' refers to left winger; pos = 'RW' refers to right winger; pos = 'C' refers to center; pos = 'G' refers to goalie; pos = 'D' refers to defenceman; pos = 'W' refers to winger; pos = 'F' refers to forward
SQL: SELECT DISTINCT T1.pos FROM Master AS T1 INNER JOIN AwardsPlayers AS T2 ON T1.playerID = T2.playerID WHERE T1.birthCountry = 'Canada' AND T2.award = 'All-Rookie'
Database: hockey
Question: What is the average BMI of all the coaches who have gotten in the Hall of Fame?
Evidence: average BMI = divide(sum(divide(weight, multiply(height, height))), count(coachID))
SQL: SELECT SUM(T1.weight / (T1.height * T1.height)) / COUNT(T1.coachID) FROM Master AS T1 INNER JOIN HOF AS T2 ON T1.hofID = T2.hofID
Database: hockey
Question: What is the percentage of American players among all the players who have gotten in the Hall of Fame?
Evidence: percentage of American players = divide(count(hofID where birthCountry = 'USA'), count(hofID))*100%
SQL: SELECT CAST(COUNT(CASE WHEN T1.birthCountry = 'USA' THEN T1.playerID ELSE NULL END) AS REAL) * 100 / COUNT(T1.playerID) FROM Master AS T1 INNER JOIN HOF AS T2 ON T1.hofID = T2.hofID
Database: hockey
Question: How many years did player Id "healygl01" play?
Evidence: years of playing = MAX(year)-MIN(year)
SQL: SELECT COUNT(year) FROM Goalies WHERE playerID = 'healygl01'
Database: hockey
Question: Which team did player Id "roypa01" play in 1992? Give the team id.
Evidence: team id refers to tmID
SQL: SELECT tmID FROM Goalies WHERE playerID = 'roypa01' AND year = 1992
Database: hockey
Question: What was the total number of the games that player Id "rutlewa01" played in 1967?
Evidence: total number of the games refers to GP
SQL: SELECT GP FROM Goalies WHERE playerID = 'rutlewa01' AND year = 1967
Database: hockey
Question: Show me how many minutes player Id "valiqst01" played in the game in 2007 season.
Evidence: show me how many minutes refers to Min
SQL: SELECT Min FROM Goalies WHERE playerID = 'valiqst01' AND year = 2007
Database: hockey
Question: How many games did player Id "vanbijo01" win in the 1990 season?
Evidence: the number of wins refers to W
SQL: SELECT W FROM Goalies WHERE playerID = 'vanbijo01' AND year = 1990
Database: hockey
Question: In how many games did player Id "vernomi01" end up with a tie or an overtime loss in the 1998 season?
Evidence: end up with a tie or an overtime loss refers to T/OL
SQL: SELECT `T/OL` FROM Goalies WHERE playerID = 'vernomi01' AND year = 1998
Database: hockey
Question: For the coach who won Second Team All-Star in 1933, how many wins did he have that year?
Evidence: the number of wins refers to count(w)
SQL: SELECT SUM(T1.W) FROM Coaches AS T1 INNER JOIN AwardsCoaches AS T2 ON T1.coachID = T2.coachID WHERE T2.year = 1933 AND T2.award = 'Second Team All-Star'
Database: hockey
Question: Did legendsID "P194502" personally attend his Hall of Fame dedication?
Evidence: note = 'posthumous'refers to "didn't personally attend"
SQL: SELECT IIF(T1.note = 'posthumous', 'YES', 'NO') FROM AwardsMisc AS T1 RIGHT JOIN Master AS T2 ON T1.ID = T2.playerID WHERE T2.legendsID = 'P194502'
Database: hockey
Question: Which position did Mike Antonovich play?
Evidence: pos = 'LW' refers to left winger; pos = 'RW' refers to right winger; pos = 'C' refers to center; pos = 'G' refers to goalie; pos = 'D' refers to defenceman; pos = 'W' refers to winger; pos = 'F' refers to forward
SQL: SELECT T1.pos FROM Master AS T1 INNER JOIN AwardsPlayers AS T2 ON T1.playerID = T2.playerID WHERE T1.firstName = 'Mike' AND T1.lastName = 'Antonovich'
Database: hockey
Question: For the coach who co-coached with Dave Lewis in 1998, where was his birth place?
Evidence: co-coached refers to notes = 'co-coach'; birth place refers to 'birthCountry-birthState-birthCity'
SQL: SELECT T1.birthCountry FROM Master AS T1 INNER JOIN Coaches AS T2 ON T1.coachID = T2.coachID WHERE T2.year = 1998 AND T2.notes = 'co-coach with Dave Lewis'
Database: hockey
Question: Which player who showed as the third goalie in a game has the biggest weight? Give the full name of the player.
Evidence: the third goalie refers to stint = 3; the biggest weight refers to max(weight)
SQL: SELECT T1.firstName, T1.lastName FROM Master AS T1 INNER JOIN Goalies AS T2 ON T1.playerID = T2.playerID WHERE T2.stint = 3 ORDER BY T1.weight DESC LIMIT 1
Database: hockey
Question: Among the players who had 10 empty net goals in their career, who is the tallest? Show his full name.
Evidence: 10 empty net goals refers to ENG = 10; the tallest refers to max(height)
SQL: SELECT T1.firstName, T1.lastName FROM Master AS T1 INNER JOIN Goalies AS T2 ON T1.playerID = T2.playerID GROUP BY T2.playerID, T1.height HAVING SUM(T2.ENG) > 10 ORDER BY T1.height DESC LIMIT 1