SELECT h.playerID,nameFirst,nameLast
FROM hall h INNER JOIN people p
ON h.playerID = p.playerID
WHERE inducted = 'Y'
INTERSECT
SELECT b.playerID,max(nameFirst),max(nameLast)
FROM batting b INNER JOIN people p
ON b.playerID = p.playerID
WHERE teamID = 'PHI'
GROUP BY b.playerID
HAVING count(yearID) >= 10