Thanks. Hope to test this solution for large data sets soon.
In reply to Re^2: Cliques solution pertinent to my use case by Sanjay in thread Cliques solution pertinent to my use case by Sanjay