Please list the name of the coach who has served more than 2 NBA teams.
"NBA" is the lgID; server more than 2 teams refers to Count(tmID) = 2
SELECT coachID FROM coaches GROUP BY coachID HAVING COUNT(DISTINCT tmID) > 2