I know JCR standard don't include ' DISTINCT' in SQL 2. But do you have some recommend way to remove duplicates from query results, and I still can easily implement paging function, like 1st query I want distinct record from 1-20 non-duplicated, 2nd want 21-40 non-duplicated records.
Thanks
