Możesz użyć od- unixtime()
select FROM_UNIXTIME(`date`, '%d.%m.%Y') as ndate,
count(id) as post_count
from your_table
group by ndate
Możesz użyć od- unixtime()
select FROM_UNIXTIME(`date`, '%d.%m.%Y') as ndate,
count(id) as post_count
from your_table
group by ndate