What is the difference between primary and unique key
Answer Posted / ashish asthana
Primay key restrict the duplicacy in the records and does
not accept null value or there are only one primary key in
a table
Unique constraint also restict the duplicacy but it accept
the null value one or more then one. We can apply unique
constraint more than one column
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Give string types available for column?
What is mysql community edition?
Can we join 3 tables in mysql?
What is an index? How can an index be declared in mysql?
How to upload a large file through phpmyadmin in mysql?
Why use stored procedures in mysql?
How many rows mysql can handle?
What is meant by sharding?
Write command to import an mysql file?
What is mysql protocol?
How many columns can be used for creating Index?
can you tell what are the different set operations available in mysql? : Mysql dba
How to dump a table to a file with 'mysqldump'?
How can you create and drop view in mysql?
What is row locking in mysql?