I have the following query
select r.role_id,
r.role_name,
p.permission_name
from t_user_role ur, t_role r, t_role_permission rp, t_permission p
where ur.role_id=r.role_id
and ur.role_id=rp.role_id
and rp.permission_id=p.permission_id
and ur.contact_id=505;
which gives me the follwing result
I want to club the rows having similar row id to get the result like below:
ROLE_ID ROLE_NAME PERMISSION_NAME
100 ops_center List Dashboard
106 oc_public RunETN Activity Detail | Run Test View | .... and so on
Please Help