MySQL Forums
Forum List  »  Stored Procedures

Re: how to get missing year and months
Posted by: Rick James
Date: July 26, 2014 10:10PM

Make a table of all possible months. Then RIGHT JOIN to it.
You may also need IFNULL(..., 0) expressions.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: how to get missing year and months
926
July 26, 2014 10:10PM


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.