RienSQL
TASK #95 · Medium · Alfa-Bank

Clients with a purchase amount greater than 9200

Your brief
Display the names of clients whose total purchases for March and April 2024 exceed 9200, and the total amount spent for these 2 months.
Expected columnsname total_spentAlfa-Bank
SQL editor
SQLite
Ctrl / ⌘ + ↵
Result

Write a query and run it to see the results.

Schema
Customercustomer_key, name, age
Productproduct_key, category_key, name, price
Purchasepurchase_key, customer_key, product_key, quantity, date
ProductCategorycategory_key, category