Can you tell what a primary key is?
1Times asked
May 2026Last seen
May 2026First seen
💡 Model Answer
A primary key is a column or a set of columns that uniquely identifies each row in a table. It must contain unique values and cannot contain NULLs. Primary keys enforce entity integrity and are often used as the target of foreign keys in related tables. For example, in a Users table, the UserID column can be a primary key because each user has a unique identifier.
This answer was generated by AI for study purposes. Use it as a starting point — personalize it with your own experience.
🎤 Get questions like this answered in real-time
Assisting AI listens to your interview, captures questions live, and gives you instant AI-powered answers — invisible to screen sharing.
Get Assisting AI — Starts at ₹500