Hey there,
I've got a user request to generate a table of certain parent and child/grandchild page groupings within a space ordered by last modification date.
They want to be able to see how recently particular parts of the space are updated and which are ignored.
Is there an SQL Query that anyone could suggest that would help with this?
My very basic example below does not pull in child pages but hopefully it will be enough to give you a sense of what I am trying to achieve (of course I imagine the solution will be much more complex to account for the child and grandchild pages). 
select TITLE, LASTMODDATE from CONTENT C
where C.CONTENTTYPE="PAGE" AND C.PARENTID=12345678
order by LASTMODDATE DESC
;
Thanks in advance