I want to do basically the opposite of This. I have a table which is like;
property, client, address, postcode, phone_number
This House, John Doe, Here, AB1 1CD, 0123456789
I want to get a table like;
column_name, value
property, This House
client, John Doe
address, Here
postcode, AB1 1CD
phone_number, 0123456789
Ideally i'd like to also be selecting a single row from the first table (which in reality has many rows) and renaming the columns so that they appear in the "column_name" column with their new names.