You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|1384|[Total Sales Amount by Year](https://leetcode.com/problems/total-sales-amount-by-year/)|[Solution](../master/database/_1384.sql)|| Hard |
932
933
|1378|[Replace Employee ID With The Unique Identifier](https://leetcode.com/problems/replace-employee-id-with-the-unique-identifier/)|[Solution](../master/database/_1378.sql)|| Easy |
933
934
|1369|[Get the Second Most Recent Activity](https://leetcode.com/problems/get-the-second-most-recent-activity/)|[Solution](../master/database/_1369.sql)|| Hard |
934
935
|1364|[Number of Trusted Contacts of a Customer](https://leetcode.com/problems/number-of-trusted-contacts-of-a-customer/)|[Solution](../master/database/_1364.sql)|| Medium |
--period_start and period_end indicates the start and end date for sales period, both dates are inclusive.
27
+
--The average_daily_sales column holds the average daily sales amount of the items for the period.
28
+
--
29
+
--Write an SQL query to report the Total sales amount of each item for each year, with corresponding product name, product_id, product_name and report_year.
30
+
--
31
+
--Dates of the sales years are between 2018 to 2020. Return the result table ordered by product_id and report_year.
32
+
--
33
+
--The query result format is in the following example:
0 commit comments