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
How to connect a sql*plus session to an oracle server?
What is a procedure in pl sql?
What are the different sql commands?
How many sql commands are there?
Why function is used in sql?
How to avoid duplicate records in a query?
What is difference between nchar and nvarchar?
what is the different between now() and current_date()? : Sql dba
How global cursor can be declare with dynamic trigger ?
what is dbms? : Sql dba
How to add a column ‘salary’ to a table employee_details?
Can we use pl sql in sql server?
Is pl sql still used?
Can you selectively load only those records that you need? : aql loader
What is sqlite used for?