Comment extraire uniquement l'année et le mois de la date à SQL
SELECT FORMAT(<your-date-field>,"YYYY-MM") AS year-date FROM <your-table>
Badthumbs
SELECT FORMAT(<your-date-field>,"YYYY-MM") AS year-date FROM <your-table>