SQL 문제집 레벨 6.8

다음 테이블들이 주어졌습니다:

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

이 테이블들에 대해 다음 문제들을 해결하세요:

Задание 1

가장 큰 금액의 상품을 주문한 고객 목록을 작성하세요. 내림차순으로 출력하세요.

Задание 2

상품 목록과 해당 상품이 주문된 횟수를 작성하세요.