How to get previous month and year from current date in sql July 8, 2019 16 32 64 128 How to get last year