I have a Mysql table full of statistics.
The statistics are gathered once a day.
There are 10 items.
9 of these are statistic numbers. The tenth item is the UNIX TIMESTAMP (seconds since epoch date)
Occasionally the 9 items are the same as the previous day.
When this occurs, I dont want the identical stats data from the previous day displayed but I do want the oldest timestamp displayed.
Is it possible to do a SELECT DISTINCT mysql query in a way that performs this?
It works perfect if I just SELECT DISTINCT the 9 items without the date but I need the date in there as well... It needs to be one query because the html table structure is populated based on the query results.
Start Free Trial