본문 바로가기

IT/코딩테스트

[Leetcode] 1148. Article Views I

728x90

https://leetcode.com/problems/article-views-i/

SELECT 
  DISTINCT(viewer_id) AS id 
FROM Views 
WHERE author_id = viewer_id
ORDER BY id ASC;
728x90