artist_id in the artist table. Obviously, it’s much better to use a consistent naming convention to avoid confusion. Some designers put fk_
in front of columns that contain
foreign keys for example, in the album table, we could store the artist ID in the fk_artist_id column. We don’t use this convention in this book.
Share with your friends: