# #511 Game Play Analysis I

#### [https://leetcode.com/problems/game-play-analysis-i/](https://leetcode.com/problems/game-play-analysis-i/)

{% tabs %}
{% tab title="MS SQL Server" %}
```sql
SELECT player_id, MIN(event_date) AS first_login
FROM Activity
GROUP BY player_id
```
{% endtab %}
{% endtabs %}
