Can a table have two primary keys?

Answer Posted / ramireddy

No, A table having only one primary key.
If you declare as Primary
key(<column_name>,<column_name>,<column_name>) for any
table. This type key is called as composite key.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is an execution plan? When would you use it? How would you view the execution plan? : Sql dba

732


What is the best free sql database?

775


what are all types of user defined functions? : Sql dba

764


Is nosql relational?

708


What is cross join sql?

686


What is pl/sql table? Why it is used?

740


Can we call procedure in select statement?

738


Explain the difference between drop and truncate commands in sql?

745


How show all rows in sql?

801


What is trigger explain it?

742


Why do we need sharding?

736


Why we use cross join?

707


what are different types of keys in sql?

778


Can we insert in sql function?

777


What is pivot query?

831