Group by ( here tnsnames)