alternatekey
An alternate key in a database is a column or a set of columns that can uniquely identify a row in a table. Unlike the primary key, which is mandatory and chosen to be the main identifier for a table, an alternate key is not the primary identifier. However, it must also enforce uniqueness. This means that no two rows in the table can have the same value for the columns that constitute an alternate key.
The purpose of alternate keys is to provide alternative ways to access or identify records within a
When defining an alternate key, a unique constraint is typically applied to the relevant column(s). This constraint