Changed families
Jump to navigation
Jump to search
Families changed within the last 90 days
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 familyID, h.personID, h.lastname, h.firstname, w.personID AS WifepersonID,
w.lastname AS WifeName,
w.firstname AS WifeVorname, marrdate, marrplace, f.changedate, f.living, f.gedcom
FROM tng_families AS f LEFT JOIN tng_people AS h ON f.husband=h.personID
LEFT JOIN tng_people AS w ON f.wife=w.personID
WHERE DATE_SUB(CURDATE(),INTERVAL 90 DAY)<=f.changedate ORDER BY changedate DESC;