1384. Total Sales Amount by Year
Description
+---------------+---------+
| Column Name | Type |
+---------------+---------+
| product\_id | int |
| product\_name | varchar |
+---------------+---------+
product\_id is the primary key for this table.
product\_name is the name of the product.+---------------------+---------+
| Column Name | Type |
+---------------------+---------+
| product\_id | int |
| period\_start | date |
| period\_end | date |
| average\_daily\_sales | int |
+---------------------+---------+
product\_id is the primary key for this table.
period\_start and period\_end indicates the start and end date for sales period, both dates are inclusive.
The average\_daily\_sales column holds the average daily sales amount of the items for the period.ac
Last updated