While a table's primary key is usually assigned to a specific field, it can also be comprised of multiple values. For example, a database of news articles might use both the title and date fields to uniquely identify each entry. By combining the "Title" and "Date" fields as the primary key, it would ensure no entries have the same title on the same day.
If multiple fields in a table cannot have duplicate values, most database management system (DBMS) also allow fields to be defined as "Unique." This is similar to setting a field as the primary key, but is not exactly the same thing. The primary key also acts as a pointer to the record and provides a simple way for the DBMS to search, sort, and access the records. It also helps relate records across multiple tables. Therefore, while multiple fields within a table can be defined as "Unique," each table can only have one primary key. The primary key field must also be defined for each record and not set to null. After all, a undefined identifier is not very useful.