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
Which column in the user.triggers data dictionary view shows that the trigger is a pl/sql trigger?
How show all rows in sql?
how many groups of data types? : Sql dba
What is not equal in sql?
How to check if a column is nullable before setting to nullable?
Why cross join is used?
Why do we need databases?
discuss about myisam key cache. : Sql dba
What are all the different types of indexes?
Is sql the best database?
what are the other commands to know the structure of table using mysql commands except explain command? : Sql dba
Why is sql better than hql?
What is sql rowcount?
what is a trigger in mysql? Define different types of trigger. : Sql dba
Why stored procedures are faster than query?