Filter interviews by
Primary key uniquely identifies each record in a table, while unique key ensures that each value in a column is unique.
Primary key does not allow NULL values, while unique key allows one NULL value.
A table can have only one primary key, but multiple unique keys.
Primary key automatically creates a unique index, while unique key does not.
Primary key is used to establish relationships between tables, while unique key is u
Top trending discussions
based on 1 interview
Interview experience
Software Engineer
44
salaries
| ₹2.8 L/yr - ₹10.9 L/yr |
Software Developer
36
salaries
| ₹1.8 L/yr - ₹8.7 L/yr |
Senior Software Engineer
32
salaries
| ₹4.6 L/yr - ₹11.6 L/yr |
Java Developer
16
salaries
| ₹2.9 L/yr - ₹8 L/yr |
HR Executive
15
salaries
| ₹1.2 L/yr - ₹5 L/yr |
Infosys
TCS
Wipro
HCLTech