Write SQL query to solve given problem: Please list the name of the coach who has served more than 2 NBA teams.. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT coachID FROM coaches GROUP BY coachID HAVING COUNT(DISTINCT tmID) > 2