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 Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/154997-group-by-multiple-columns/#findComment-816376 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.