-
[level 3] 헤비 유저가 소유한 장소SQL/SQL 연습문제 풀이 2022. 1. 19. 13:08반응형
https://programmers.co.kr/learn/courses/30/lessons/77487
MySQL, Oracle
SELECT ID, NAME, A.HOST_ID FROM PLACES A JOIN (SELECT HOST_ID FROM PLACES GROUP BY HOST_ID HAVING COUNT(ID) > 1) B ON A.HOST_ID = B.HOST_ID ORDER BY ID
반응형