DEV Community

Debesh P.
Debesh P.

Posted on

1148. Article Views I | LeetCode | SQL 50 | Interview Questions | MySQL

Problem Link

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


leetcode 1148


Solution

# Write your MySQL query statement below
select 
    distinct author_id as id
from 
    Views
where 
    author_id = viewer_id
order by
    id asc;
Enter fullscreen mode Exit fullscreen mode

Top comments (0)