Both keys ensure that a column or a combination of columns in a table or relation is unique. The primary key identifies each record in the table, whereas the unique key, with the exception of NULL values, prevents duplicate entries in a field.
The UNIQUE constraint assures that each column's values are unique. The UNIQUE and PRIMARY KEY constraints both guarantee that a column or collection of columns is unique. A UNIQUE constraint is immediately added to a PRIMARY KEY constraint.
A group of one or more table fields/columns that uniquely identify a record in a database table is known as a unique key. It's similar to a primary key in that it can only accept one null value and cannot have duplicate values.
A group of one or more fields/columns in a table that uniquely identify a record in a database table is known as a unique key. It's similar to a primary key in that it accepts just one null value and cannot have duplicate values.
Learner's Ratings
3.8
Overall Rating
45%
21%
13%
11%
10%
Reviews
A
Arvind Kumar
5
very nice course for begginer to under stand
H
hemant
5
Hello sir, explaination is excellent. I have a request please send the db in excel or SQL file
J
Juboraj Juboraj
4
Explain details & easy to understand.
A
Aman Kanaujia
4
All good , but provide the data also for the assignment , Without data the interest is less day by day from the course. So, try to solve this problem as asap.
S
Snehil
4
Everything is good but keyboard sounds more harsh and overlap your voice whereas this course is best.
F
FAROOK MOHAMMAD
5
Hello sir, explaination is excellent. I have a request please send the db in excel or SQL file.
H
Hari Prakash
4
In SQL Join Function's 2nd video - Teacher's voice dose not match with background content that are plays
A
Aakash Mavar
5
Hello sir
Mera Abhi graduation hu he Mene Mechanical Engineering BTech ki Hai me Data analysis me Apna career Bana skat ho Kya
Share a personalized message with your friends.