Can a table have two primary keys?
Answer Posted / sowmya
Hi
A table can have only one primary key.but a primary key can
have two column fields
Ex i have a employee table.and i have fields eno,ename,esal
i can declare primarykey(esal,ename)
let me know if i am wrong
Is This Answer Correct ? | 20 Yes | 12 No |
Post New Answer View All Answers
How can check sql version from command line?
what are wild cards used in database for pattern matching ? : Sql dba
What is primary key and foreign key?
Why should I use postgresql?
Does truncate free space?
how do you know the version of your mysql server? : Sql dba
Explain the rollback statement?
how tsql statements can be written and submitted to the database engine? : Transact sql
Why plvtab is considered as the easiest way to access the pl/sql table?
What are the different types of joins in sql?
How do I access sql anywhere database?
List out the acid properties and explain?
what is self-join? : Sql dba
What is dbo in sql?
What is database white box testing and black box testing?