I want to display statistics from my database.

I have a quote request form on my page, each time  a quote is requested it is saved to the database and given a timestamp yyyy-mm-dd-tt:tt:tt. I want to make select statments that show how many quotes were requested in different months

during the current month and the same month the previous year,
during the previous month and same month month the previous year

total quotes this current year and the total quotes the previous year

total quotes ever

Can someone please help me?

it is a mysql database and i am using php by the way

this is to be displayed in a table.