Table: orders
+------------+-------+ | Column | Type | +------------+-------+ | order_id | int | | base_offer | float | +------------+-------+
order_idis the primary key.base_offeris the initial offer amount for the order.
Table: requests
+---------------+-------+ | Column | Type | +---------------+-------+ | request_id | int | | order_id | int | | offer_amount | float | +---------------+-------+Each row in
requestsis one offer attempt. A request has an offer increase whenoffer_amount > base_offerof the associated order.
Ask AI Assistant

Ask AI Assistant
Ask me anything about this coding question!
Test Cases
Input
-
Output
-
Expected
-