Hi @Dipti_Chauhan, Our use case only can search via JCR-Sql2 from CRX console, it's due to I have no permission to deploy bundle code in AEM.Otherwise, to fetch duplicate node by sql that is more simply. Please let me know if you know the correct Query syntax.Thanks very much.