mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 23:41:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -9,21 +9,21 @@
|
||||
| event_date | date |
|
||||
| games_played | int |
|
||||
+--------------+---------+
|
||||
(player_id, event_date) is the primary key of this table.
|
||||
(player_id, event_date) is the primary key (combination of columns with unique values) of this table.
|
||||
This table shows the activity of players of some games.
|
||||
Each row is a record of a player who logged in and played a number of games (possibly 0) before logging out on someday using some device.
|
||||
</pre>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>Write an SQL query to report the <strong>first login date</strong> for each player.</p>
|
||||
<p>Write a solution to find the <strong>first login date</strong> for each player.</p>
|
||||
|
||||
<p>Return the result table in <strong>any order</strong>.</p>
|
||||
|
||||
<p>The query result format is in the following example.</p>
|
||||
<p>The result format is in the following example.</p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong>
|
||||
|
Reference in New Issue
Block a user