Accounting schema design using MYSQL
I excluded datetime and timestamp solution. As two record may be inserted in a millisecond but yet in order.
auto-increment is not good practice as Schema design change in future will break the increment according to SQL Best Practices - Ok to rely on auto increment field to sort rows chronologically?
what I can think of now is
ORDER BY datetime desc, id desc
any suggestion?