RienSQL
TASK #93 · Medium · Alfa-Bank

Average age of Smartwatch buyers

Your brief
What is the average age of customers who bought a Smartwatch (use product.name) in 2024?
Expected columnsaverage_ageAlfa-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