MySQL Forums
Forum List  »  Newbie

Re: Sakila database, film_actor table. How do we order them?
Posted by: Melissa Melbourne
Date: August 15, 2022 10:08AM

So what is better?
To have surrogate key (id autoincrement primery key) or not?
I came across controversial opinions. Some of them say pivot tables shouldn't have autoincrement id, others claim every table should have.
That's why I'm asking on mysql forum.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.