Indivuals ordered by ascending age
Jump to navigation
Jump to search
Description: individuals ordered by ascending age (only deceased)
Copy and paste the text between the lines into the reports section below "OR Leave Display, Criteria and Sort fields blank and enter direct SQL SELECT statement here:" and give it the title you think is appropriate
SELECT lastname, firstname, personID, birthdate, birthdatetr, deathdate, deathdatetr,
YEAR(deathdatetr)-YEAR(birthdatetr) AS Age, gedcom FROM tng_people
WHERE (birthdatetr<>"0000-00-00") AND (deathdatetr<>"0000-00-00") ORDER BY Age, lastname, firstname