I am currently using the mysql query:
SELECT COUNT(*), time FROM visit GROUP BY time ORDER BY time DESC LIMIT 14
to get the 14 most recent “COUNT(*)”s from a mysql database. Unfortunately, they are in backwards order.
If I replace DESC with ASC they are in the right order, but I get the 14 oldest rather than the 14 newest. How would I go about getting these in the right order? Any help appreciated. Thanks 🙂
You have to add an alias