What is the difference between Primary key and Unique Key ?
Primary exists in database table while unique key exists in internal tables. We can perform actions like sorting, searching, modifying, updating on the basis of primary in the database table. Same actions can be performed with unique key in the internal tables.
Internal tables with a unique key cannot contain duplicate entries. The uniqueness depends on the table access method.