I am working on a mySQL data table. As per the first image attached.
My desired result is that: I would like to display the table where the Table column will be transposed to the left and the data also transposed as per the image below.
Hope to get some advise on how to achieve this using a mysql query?
In addition i would also like to further acheive to outcome.
1) What should i add to my mysql query so that i can set PropertyID to "Property ID" and PropertyName to "Property Name" in the transposed table?
2) What should i add to the query if i only want to show the transposed data of only a particular PropertyId?
Mysql data table:
Expected Transposed data: