select
fav.application_short_name,
fav.application_name,
fpi.patch_level,
decode(fpi.status,'N','None',' I','Installed','S','Shared',fp i.status)
from
fnd_application_vl fav,
fnd_product_installations fpi
where
fav.application_id=fpi.applica tion_id
order by 1,2;