I am trying to figure out how to do ALIAS which referring the value of other column.
I am not sure it is possible, but does it acquire some tricks to make it done?
How can I perform query something like code below?
SELECT chd_value AS **chd_key value**
FROM table1 where chd_id = 1;
where the chd_key will be replaced with the value of "chd_key" column in the table.
So I will get output similar like
.