select 'CTY_CD' AS Type, CTY_CD AS Code FROM tableName WHERE CTY_CD = 'DEN'
UNION
select 'STATE_CD' AS Type, STATE_CD AS Code FROM tableName WHERE CTY_CD = 'DEN'
UNION
select 'COUNTRY_CD' AS Type, COUNTRY_CD AS Code FROM tableName WHERE CTY_CD = 'DEN'