December 4th, 2012, 07:51 AM
Originally Posted by zubair_h
Is there a way to write a query using specific date range that groups by the title? So for example if I would get distinct title with the sum of views for date range specified?
Um, all you have to do is translate your question into an SQL query:
`date` BETWEEN '2012-12-02' AND '2012-12-03'