0

I have a database table called books

books ('id', 'sku', 'date_added')

where date_added is DATETIME.

I need to run a query to find all books by count added last month. Now i can do it and get a list but for dates nothing was uploaded, i would need a 0. How do i achieve this?

Also what query would give me a count of books uploaded by month?

Ankit Sharma
  • 3,923
  • 2
  • 29
  • 49
daydreamer
  • 153
  • 2
  • 10

0 Answers0