Both of these answers work, but the BillDHS answer works twice as fast.
BillDHS, could you explain how that query works? Specially the DT(CID, MTime) part. I've never seen that before.
thanks
I need some help.
My table daily_stats has these fields:
rowid, collectorid, entrytime, numcomplete
Each collectorid has an entry once a day at time entrytime, but sometimes the entry is not complete. What I'm trying to get:
For each collectorid, what is the rowid of the last entry that has...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.