Write SQL query to solve given problem: Name the goaltenders who had played in both PCHA and NHL league.. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT T1.firstName, T1.lastName FROM Master AS T1 INNER JOIN Goalies AS T2 ON T1.playerID = T2.playerID WHERE T2.lgID IN ('PCHA', 'NHL') GROUP BY T2.playerID HAVING COUNT(DISTINCT T2.lgID) > 1