Untitled

 avatar
unknown
plain_text
2 years ago
173 B
8
Indexable
WITH users AS
    (SELECT user_id,
           ROW_NUMBER() OVER (ORDER BY created_at) AS rang
    FROM tools_shop.users) 
SELECT user_id
FROM users
WHERE rang = 2021; 
Editor is loading...