Report: Orphaned families

From TNG_Wiki
Jump to navigation Jump to search

Description: Orphaned families, families with no spouses.

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, husband AS husbandPersonID, wife AS WifePersonID, marrdate, living, gedcom FROM tng_families WHERE husband="" AND wife="" ORDER BY CAST(SUBSTRING(familyID, 2) AS UNSIGNED)