I'm trying to join multiple tables together but I'm having a bit of trouble when certain products have more than 1 picture attached them them.
Products                        Pictures
Id                              pic_id
name                            pic_name
picture_id
My query:
SELECT id, name, pic_name
FROM Products 
LEFT OUTER JOIN Pictures p ON id=pic_id 
That displays something like
1   RAM  ram.png
1   RAM  ram2.png
1   RAM  ram4.png
2   CPU  test.png
I'd like to display something like
1   RAM  ram.png, ram2.png, ram4, png
2   CPU  test.png
Any help will be greatly appreciated!
 
     
    