Skip to Main Content

MySQL Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How To Compute For The YTD and MTD in My SQL?

ce3e664a-8376-4d05-ab0b-62bd398d641cNov 27 2016 — edited Nov 28 2016

Hi,

How do I compute for the YTD and MTD in My SQL? I have fields that has yearly and monthly data in the same table. What is the best way to filter the month and year to get the YTD and MTD sales?

Thanks,

Comments
Post Details
Added on Nov 27 2016
1 comment
728 views