the timestamp field is necessary because you need to know the time the record was inserted.
But, reports needed come by the day.
so yeah, I could do:
"SELECT whatever FROM table GROUP BY DATE_FORMAT('%Y%m%d', EntryTime)
or some approximation of that, BUT we're talking millions of records. And that seems to be very clumsy as it's doing probably a string conversion.
I tried GROUP BY CURDATE(EntryTime) but curdate() doesn't take a parameter it appears.
We should all be allowed 5 coupons on this forum for "free advice without having to do research just 'cause the guy helping you is smart" 🙂 If so, I'd like to present my coupon now. Think I'll go honor some coupons like this on the coding forum..