Can a table have two primary keys?
Answer Posted / kumar navdeep shanker
Ya, it is possible..
try with this Query..
create table cust11
(
cno int not null,
balance int not null,
cname varchar(10),
CONSTRAINT cust primary key (
cno,balance)
)
If there is any Problem.. plz reply
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are the types of optimization?
Show the two pl/sql cursor exceptions.
What does subquery mean in sql?
Where not exists in sql?
how tsql statements can be written and submitted to the database engine? : Transact sql
What is a file delimiter?
Which sql most popular?
Explian rowid, rownum?
what is the difference between blob and text? : Sql dba
What is pls_integer in pl sql?
What is information schema in sql?
How do I run sql profiler?
Explain the order of sql statement execution?
Mention what is the use of function "module procedure" in pl/sql?
What are different joins used in sql?