Technical Discussion :: SQL
Home > Freshers > Technical Interview Questions > SQL
10. What is the difference between UNIQUE and PRIMARY KEY?
Answer:
The UNIQUE KEY column restricts entry of duplicate values but entry of NULL value is allowed. In case of PRIMARY KEY columns entry of duplicate as well as
Asked In :: Wipro TCS iGate Virtusa Accenture Sopra Steria
The UNIQUE KEY column restricts entry of duplicate values but entry of NULL value is allowed. In case of PRIMARY KEY columns entry of duplicate as well as value is also restricted.