1069. Product Sales Analysis II
Description
+-------------+-------+
| Column Name | Type |
+-------------+-------+
| sale\_id | int |
| product\_id | int |
| year | int |
| quantity | int |
| price | int |
+-------------+-------+
sale\_id is the primary key of this table.
product\_id is a foreign key to Product table.
Note that the price is per unit.
+--------------+---------+
| Column Name | Type |
+--------------+---------+
| product\_id | int |
| product\_name | varchar |
+--------------+---------+
product\_id is the primary key of this table.ac
Last updated