SELECT ID,NAME,VALUE1,VALUE2 FROM my_table where ID=1 ;
The query would give me output like
ID|NAME|VALUE1|VALUE2
1|XYZ|123|325
But I want the output in the below format
ID |1
NAME |XYZ
VALUE1|123
VALUE2|325
My columns will be fixed and each time the result will be a single row, how can I modify the query to get the below result?