Snoopy [리트코드/SQL] 24. Game Play Analysis I (511)
코딩테스트/리트코드 SQL

[리트코드/SQL] 24. Game Play Analysis I (511)

Sooyoon Jeong 2022. 12. 18.

🤔 문제 분석

1) Write an SQL query to report the first login date for each player.

 

💡 풀이

SELECT player_id, min(event_date) AS first_login
FROM Activity
GROUP BY player_id

댓글