Leetcode Note: MySQL - Article Views I

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

  • Go 言語で取り組んだメモ

回答

Three approaches (MYSQL) - LeetCode Discuss
https://leetcode.com/problems/article-views-i/discuss/422348/Three-approaches-(MYSQL)

SELECT DISTINCT author_id AS id FROM Views 
where author_id = viewer_id 
ORDER BY id