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