Here's a query you can use. Find me all cq:PageContent nodes, where properties exists: jcr:created, jcr:createdBy, jcr:primaryTypeand it must be nodes under the paths of /libs/fd/af/components/aemform or /content SELECT page.* FROM [cq:PageContent] AS page
WHERE page.[jcr:created] IS NOT NULL
A...