I have a datatable that stores location values as such:
CTY_CD, STATE_CD, COUNTRY_CD and I want to select from this table given a city code and select all three location codes as individual rows with another column showing what loc type it is, so the results of the query would look like:
Given city code DEN:
Type | Code
CTY_CD DEN
STATE_CD CO
COUNTRY_CD US
Is there any way to do this?
something like this?