NewProject Coding is here — build features and fix bugs in real codebases with an AI assistantSee what's new

Table: transactions

+------------------+-----------+
| Column Name      | Type      |
+------------------+-----------+
| user_id          | integer   |
| spend            | decimal   |
| transaction_date | date      |
+------------------+-----------+

(user_id, transaction_date) identifies each transaction row.

Test Cases
Input
-
Output
-
Expected
-