Can a table have two primary keys?
Answer Posted / damini
No.A table can have only one primary key .if it is having
more than one primary key then we say it as composite
primary key...A composite primarykey is a primary key of 2
or more columns together..A composite primary key is
different from primary key..
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is foreign key and example?
define sql update statement ? : Sql dba
What is nosql vs sql?
How many primary keys can a table have?
Why do we use sql constraints? Which constraints we can use while creating database in sql?
What is auto increment feature in sql?
Are subqueries better than joins?
List and explain the different types of join clauses supported in ansi-standard sql?
What is cursor and why it is required?
define data blocks ? : Sql dba
What is the syntax and use of the coalesce function?
What is sql entity?
What are the types of sql commands?
Define commit?
What are the different types of functions in sql?