I have a table which has two columns - city and country. Given a string 'X', how to know the column name which has the value 'X'?
For example, if 'X' is new york, query should return column name City and if 'X' is USA, query should return column name Country.