Today, my boss told the below SQL query and went out without explaining it. Its working good. But i want to know the way how it works.
SELECT NAME
FROM PERMISSIONTOKENS
WHERE ID IN (SELECT TOKENID
FROM ROLETOKENASSOCIATION
WHERE ROLEID = '1');