1890.sql (107B)
1 SELECT user_id, MAX(time_stamp) as last_stamp 2 FROM Logins 3 WHERE YEAR(time_stamp) = '2020' 4 GROUP BY user_id