The Anubhav portal was launched in March 2015 at the behest of the Hon'ble Prime Minister for retiring government officials to leave a record of their experiences while in Govt service .
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
Here’s a clear, interview-ready difference between PRIMARY KEY and UNIQUE KEY:
PRIMARY KEY
Example:
UNIQUE KEY
Example:
Quick Comparison
* Depends on database (SQL Server allows one NULL per UNIQUE column)
When to Use
UserId)Email,Phone,Username