What is the diff. bwt. primary key and unique key?

Answer Posted / janhvee

diff. between primary key and unique is unique key can be
null but primary key can't be null.

one table can have only one primary key but unique key can
be multiple keys

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is mysql free download?

470


What port is mysql running on?

468


How to use mysqldump to create a copy of the database?

495


Can not connect to mysql server 10060?

496


What do you mean by % and _ in the LIKE statement?

532






What is query log in mysql?

490


What are all the Common SQL Function?

563


Why do we write stored procedures?

470


Why is mysql popular?

479


How to Set a root password if there is on root password.

576


What is the difference between float and double?

585


How to enter numeric values as hex numbers?

527


How to write after insert event update trigger on the same table in mysql?

494


What is offset limit?

478


How many types of indexes are there in mysql?

472