MySQL Forums
Forum List  »  PHP

Working with joins
Posted by: Ebaad Ahmed
Date: August 16, 2017 03:11PM

I have following table, and want to list a totals of all entries and then totals of entries in each category grouped by month in DATE2.

Any help will be appreciated.

VAL1 1/2/2017 CAT1 3/3/2017
VAL2 2/3/2017 CAT2 4/3/2017
VAL3 3/7/2017 CAT3 5/3/2017
VAL4 4/8/2017 CAT1 6/3/2017
VAL5 5/10/2017 CAT2 5/20/2017
VAL6 6/11/2017 CAT3 3/20/2017
VAL7 3/13/2017
VAL8 2/14/2017
VAL9 1/15/2017

Options: ReplyQuote

Written By
Working with joins
August 16, 2017 03:11PM
August 18, 2017 08:59PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.