1What is the difference between UNIQUE and PRIMARY KEY constraints?
2There should be only one PRIMARY KEY
3in a table whereas there can be
4any number of UNIQUE Keys.
5PRIMARY KEY doesn’t allow NULL
6values whereas Unique key allows NULL values.
7
1What is the difference between UNIQUE and PRIMARY KEY constraints?
2There should be only one PRIMARY KEY
3in a table whereas there can be
4any number of UNIQUE Keys.
5PRIMARY KEY doesn’t allow NULL
6values whereas Unique key allows NULL values.