Save 25%Black Friday: 25% off all plans — use code BLACKFRIDAY2026 at checkout. Ends Monday, Dec 7.Claim the deal

Table: transactions

+-----------------------+----------+
| Column Name           | Type     |
+-----------------------+----------+
| transaction_id        | integer  |
| merchant_id           | integer  |
| credit_card_id        | integer  |
| amount                | integer  |
| transaction_timestamp | datetime |
+-----------------------+----------+

transaction_id is the unique identifier for each transaction.

Test Cases
Input
-
Output
-
Expected
-