/* RM Releases Combo */
SELECT rt.rtag_id,
       rt.rtag_name,
       DECODE ( :RTAG_ID, rt.rtag_id, 'selected',NULL ) AS selected
FROM deployment_manager.dm_projects dp,release_manager.release_tags rt
WHERE dp.rm_projects_fk = rt.proj_id
AND   dp.proj_id = :PROJ_ID
AND   rt.official != 'Y' 
ORDER BY UPPER(rt.rtag_name)