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
What are the types of join and explain each?
Is not equal in sql?
What is indexing oracle sql?
What is meant by temporal data?
Which column in the user.triggers data dictionary view shows that the trigger is a pl/sql trigger?
What are schema-level triggers?
How do I enable sql encryption?
Can we use join in subquery?
what is a composite key ? : Sql dba
Mention what problem one might face while writing log information to a data-base table in pl/sql?
What is on delete set null?
what is meant by nl2br()? : Sql dba
Can we use views in stored procedure?
Explain normalization and what are the advantages of it?
What is the use of function in sql?