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

Table: orders

+------------+-------+
| Column     | Type  |
+------------+-------+
| order_id   | int   |
| base_offer | float |
+------------+-------+

order_id is the primary key. base_offer is the initial offer amount for the order.

Table: requests

+---------------+-------+
| Column        | Type  |
+---------------+-------+
| request_id    | int   |
| order_id      | int   |
| offer_amount  | float |
+---------------+-------+

Each row in requests is one offer attempt. A request has an offer increase when offer_amount > base_offer of the associated order.

Test Cases
Input
-
Output
-
Expected
-