What is difference between Primary Key and Unique Key in SQL
What is the difference between Primary Key and Unique Key in SQL? Please tell me in your words only. I request you don't post a link to read further.I need answer in simple way.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jaish MathewsPosted Feb 29, 2020, 12:11 PM
Rajeev KumarPosted Mar 6, 2023, 1:41 PM
The primary key is accepted as a unique or sole identifier for every record in the table. In the case of a primary key, we cannot save NULL values. In the case of a unique key, we can save a null value, however, only one NULL value is supported
Priyanka SinghPosted Feb 29, 2020, 11:55 PM
Sanghdeep SanghratnePosted Feb 29, 2020, 9:54 AM
Rajanikant HawaldarPosted Feb 29, 2020, 6:18 AM