Domanda di colloquio di Tata Consultancy Services

Difference between unique key and primary key?

Risposta di colloquio

Anonimo

15 mar 2018

Unique key means for every tuple we have a unique value for unique key.There can be one or more or none unique keys in any table. Primary key is ' unique' and 'not null' key which is used to differentiate the tuples. There can be only one primary key.