mysql pivot table image list (vertical to horizontal data) -
mysql pivot table image list (vertical to horizontal data) -
i have been searching hours limited mysql knowledge can't figure out answer.
i want transform table:
listingsdb_id listingsimages_file_name ----------- ------------ 93 name-a.jpg 93 name-b.jpg 94 name-c.jpg 95 name-d.jpg 95 name-e.jpg 95 name-f.jpg 95 name-g.jpg
into this:
listingsdb_id image1 image2 image3 image4, image5,image6... ----------- ------------ ------------ ------------ ------------ 93 name-a.jpg name-b.jpg 94 name-c.jpg 95 name-d.jpg name-e.jpg name-f.jpg name-g.jpg
using mysql
mysql table pivot
Comments
Post a Comment