I have a table as follows:
block int not null
day datetime not null
user int
i want to
select day, count(*)
from TABLE
where date between date() and TARDATE
group by day
order by day desc
The thing is, that i want to group by date only, and not time.
How would i do that in MySQL/php?
try