[코드카타] SQL 19 Article Views I

Data_Student·2024년 11월 6일
0

코드카타

목록 보기
26/57

[코드카타] SQL 19 Article Views I

19. Article Views I
https://leetcode.com/problems/article-views-i/

Write a solution to find all the authors that viewed 
at least one of their own articles.
Return the result table sorted by id in ascending order.
select author_id id
from views
where author_id = viewer_id
group by 1
order by 1
#그룹화

0개의 댓글