NewThe Learning module is now liveSee what's new

Description

Table: transactions

+------------------+-----------+
| Column Name      | Type      |
+------------------+-----------+
| user_id          | integer   |
| amount           | float     |
| transaction_date | timestamp |
+------------------+-----------+

There is no single primary key; each row is a purchase transaction. A user may have multiple transactions on the same day.

Test Cases
Input
-
Output
-
Expected
-