Гробници и паметници


Немога да изпълня заявката: SELECT DISTINCT tng_media.mediaID, description, notes, path, thumbpath, status, plot, showmap, usecollfolder, form, mediatypeID, abspath, newwindow FROM tng_media LEFT JOIN tng_medialinks on tng_media.mediaID = tng_medialinks.mediaID WHERE mediatypeID = "headstones" AND cemeteryID = "" AND (tng_media.gedcom = "0000001" || tng_media.gedcom = "") ORDER BY description LIMIT 50