My query is as follows:
mysql> select product_id, presentation, price from Variant where product_id = "1604";
+------------+-------------------------+-------+
| product_id | presentation | price |
+------------+-------------------------+-------+
| 1604 | Unitário = R$ 11,90 | 11.9 |
| 1604 | 5 Peças = R$ 5,00 cada | 25 |
| 1604 | Bluesky Todas | 15 |
+------------+-------------------------+-------+
3 rows in set (0,00 sec)
How would I do to separate these 3 results for the same ID 1604 into separate columns in SQL?
Example: presentation1, presentation2, presentation3
separated in columns