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
How can I create database in mysql?
Is mysql a server or database?
Is mysql a server?
Is mysql a free database?
How to convert dates to character strings?
How important is to list the column names when doing an insert?
What is definer in mysql?
How to get current MySQL version?
How do you concatenate strings in mysql?
How to load data files into tables with 'mysqlimport'?
Use a regular expression to find records. Use “REGEXP BINARY” to force case-sensitivity. This finds any record beginning with r.
Is blocked because of many connection errors mysql?
How many rows can mysql handle?
what is the difference between between and in operators in mysql?
How to present a past time in hours, minutes and seconds?