I would like to draw a linear chart in my xhtml page. In the abscissa, I want to put the months, and in the ordinate I want to put the quantity of orders per month.
In your opinion, is it possible to create a mysql query to return a list in which each row contains one month and quantity of orders in the second attribute.
here is my table :

and here is the sql query to retrieve all date_envoi :
select date_envoi from commande;
here is the image :

You need to
GROUPrecords byMONTHandYEAR:EDIT: To get month in numeric format:
EDIT 2: