RienSQL
TASK #32 · Medium

Average age of people

Your brief
Display the average age of people (in full years) stored in the database. The result is rounded down to the nearest integer.
Expected columnsageFamily
SQL editor
SQLite
Ctrl / ⌘ + ↵
Result

Write a query and run it to see the results.

Schema
family_membersmember_id, status, member_name, birthday
goodsgood_id, good_name, type
good_typesgood_type_id, good_type_name
paymentspayment_id, family_member, good, amount, unit_price, date