SQL Taskbook Level 6.8

The following tables are given:

customers
id name email
1 John john@gmail.com
2 Max max@gmail.com
3 Andrew andrew@gmail.com
products
id name price
1 product-12311 350
2 product-69993 899
3 product-75757 799
orders
id product_id customer_id order_date
1 3 1 2023-01-10
2 3 2 2023-01-12
3 2 3 2023-01-13
4 3 3 2023-01-14
5 3 1 2023-01-15
6 1 2 2023-01-20
7 2 3 2023-01-21
8 1 1 2023-01-22
9 2 2 2023-01-30

Solve the following tasks for them:

Задание 1

Make a list of customers who ordered goods for the largest amount. Display them in descending order.

Задание 2

Make a list of products and the number of times they were ordered.