Description
Table: customer_contracts
+-------------+------+ | Column Name | Type | +-------------+------+ | customer_id | int | | product_id | int | | amount | int | +-------------+------+(
customer_id,product_id) identifies each contract.
Table: products
+------------------+--------------+ | Column Name | Type | +------------------+--------------+ | product_id | int | | product_category | varchar(255) | | product_name | varchar(255) | +------------------+--------------+
product_idis the primary key.
Ask AI Assistant

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