RienSQL
TASK #100 · Medium · VK

Number of male users

Your brief
Count the number of unique male users who ordered more than three items (total for all orders). Please note that in the table the male audience has the user_gender field «male» or «m».
Expected columnsunique_male_usersVK
SQL editor
SQLite
Ctrl / ⌘ + ↵
Result

Write a query and run it to see the results.

Schema
Purchasesuser_id, user_gender, items, price