Subquery
SELECT 문에서 subquery 사용 시
SELECT * FROM Player
WHERE (Team_ID, Height) IN (
SELECT Team_ID, MIN(Height) FROM Player
GROUP BY Team_ID )
ORDER BY Team_ID, Player_name;
SELECT * FROM PLACES
WHERE HOST_ID IN (
SELECT HOST_ID FROM PLACES
GROUP BY HOST_ID
HAVING COUNT(HOST_ID) > 1
)