Kan ikke utføre spørringen: SELECT tng_xnotes.ID as ID, tng_xnotes.note as note, tng_xnotes.gedcom as gedcom FROM (tng_xnotes, tng_notelinks) LEFT JOIN tng_families ON tng_notelinks.persfamID = tng_families.familyID AND tng_notelinks.gedcom = tng_families.gedcom LEFT JOIN tng_sources ON tng_notelinks.persfamID = tng_sources.sourceID AND tng_notelinks.gedcom = tng_sources.gedcom LEFT JOIN tng_repositories ON tng_notelinks.persfamID = tng_repositories.repoID AND tng_notelinks.gedcom = tng_repositories.gedcom LEFT JOIN tng_people ON tng_notelinks.persfamID = tng_people.personID AND tng_notelinks.gedcom = tng_people.gedcom WHERE tng_xnotes.ID = tng_notelinks.xnoteID ORDER BY reponame, tng_sources.title, lastname, lnprefix, firstname, note LIMIT 50