SQL to view those with Application Designer Access

select
OC.OPRID,
OC.OPRCLASS
from
PSOPRCLS OC
where
OPRCLASS = 'PSADMIN' or OPRCLASS in (
select CLASSID
from PSAUTHITEM
where MENUNAME = 'APPLICATION_DESIGNER'
and AUTHORIZEDACTIONS >= 1
)
order by OC.OPRID, OPRCLASS