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 is the difference between subquery and correlated query?
Are subqueries faster than joins?
Write the order of precedence for validation of a column in a table? I. Done using database triggers. Ii. Done using integarity constraints
What is meant by cursor in sql?
Is sql workbench free?
What are different types of queries in sql?
What is out parameter used for eventhough return statement can also be used in pl/sql?
What is numeric function sql?
Explain lock escalation? : Transact sql
How we can update the view?
What is procedure in pl sql?
What is varchar data type in sql?
How do you clear the screen in sql?
what is the difference between primary key and unique key? : Sql dba
Is it possible to read/write files to-and-from PL/SQL?