Can a table have two primary keys?
Answer Posted / hari
no. a table can have only one primary key.some times table
can use composite primary key
ex create table std
(stdid bigint(10) not null,
e mailid varchar(20) not null);
primary key(stdid,e mailid)
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is example of database?
What is the difference between the sql*loader and import utilities? : aql loader
What is materialized view. What are different methods of refresh?
what are the different type of normalization? : Sql dba
what are the 'mysql' command line arguments? : Sql dba
What is an oracle stored procedure?
Explain locks? : Transact sql
Why truncate is used in sql?
what is a database transaction? : Sql dba
How can get second highest salary in sql?
What is a temp table?
How we can create a table in pl/sql block. Insert records into it? Is it possible by some procedure or function? Please give example?
Can dml statements be used in pl/sql?
What does sign mean sql?
What is cte sql?