spillage Posted April 21, 2009 Share Posted April 21, 2009 you ll have to forgive me as i know very little about mysql. i have a db which contains multiple columns of the product codes and quantities. i am not to sure how to group by product code with multiple columns. would i be roughly select * from db sum(quantities) group by product1;product2. does this look about right. cheers Link to comment https://forums.phpfreaks.com/topic/154997-group-by-multiple-columns/ Share on other sites More sharing options...
fenway Posted April 22, 2009 Share Posted April 22, 2009 I don't understand. Link to comment https://forums.phpfreaks.com/topic/154997-group-by-multiple-columns/#findComment-816376 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.