I have a table that is like this:
id field_label field_value
123 field1 abc
123 field2 bbb
123 field3 ccc
555 field1 cba
555 field2 uhu
555 field3 ddd
Now, I need it to display like this:
id field1 field2 field3
123 abc bbb ccc
555 cba uhu ddd
Is there any way of doing this with just MySQL? I am trying to avoid running a procedure and want to display the data with just a query so that I can use a virtual table. Any help would be greatly appreciated!