Extract only year and month from date sql July 8, 2019 16 32 64 128 Extract only year from date in sql Extract month and year from date in sql