what are the advantages of primary key over unique+notnull
Answer Posted / charumathi
Unique-Duplicates not allowed
Nulls allowed
Not null-NUlls not allowed
Primary key-No Duplicates
No Nulls
A Foriegn key can refer to the primary key.
| Is This Answer Correct ? | 4 Yes | 7 No |
Post New Answer View All Answers
What is the purpose of a sql?
Are subqueries faster than joins?
what are properties of a transaction? : Sql dba
list out some tools through which we can draw e-r diagrams for mysql. : Sql dba
How do I sort a table in sql?
How can you load multi line records? : aql loader
What is difference between pls_integer and integer?
what are the security recommendations while using mysql? : Sql dba
Can I create table without primary key?
How do I find duplicates in sql?
Is sql microsoft?
How to make a copy values from one column to another in sql?
Is sql between inclusive?
What's the difference between inner join and left join?
How delete all records from table in sql?