Report: sources: citations with associated individuals, ordered by citation text

From TNG_Wiki
Jump to navigation Jump to search

Description: sources: citations with associated individuals, ordered by citation text


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 c.description, c.sourceID, c.eventID, p.personID, p.lastname, p.firstname, p.living, p.gedcom FROM tng_citations AS c LEFT JOIN tng_people AS p ON (c.persfamID=p.personID AND c.gedcom=p.gedcom) WHERE p.personID<>"" ORDER BY c.description, c.sourceID