Answers for "how to extract only year and month from date in sql"

SQL
0

how to extract only year and month from date in sql

SELECT FORMAT(<your-date-field>,"YYYY-MM") AS year-date FROM <your-table>
Posted by: Guest on March-30-2022

Code answers related to "how to extract only year and month from date in sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language