Which is better in id automation, is it you access the last entry on self table or in a separate table?
The situation goes like this, I have this different branches with different reservations the id must have prefix with a number and it should be sequential. I was thinking if i will access the last entry on that table or is it better to save the last entry to another table and then access it whenever they need a new ID? Any advise
Thank You!