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
Can I join the same table twice?
What does select top 1 do in sql?
What is trigger with example?
Why we use sql profiler?
Why do we use sqlite?
Is and as keyword in pl sql?
How do you remove duplicates without using distinct in sql?
- Types of triggers - View - Dcl - Procedures, packages, functions - Metasolve - Can use Dcl in triggers - package case study - Cursor and its types - triggers schedule - Wrap - Why we are using fetch and for in cursor. difference?
What is oracle and pl sql?
What does the hierarchical profiler does?
How can get second highest salary in sql?
What are procedures used for?
Can a composite key be null?
What is the use of pl/sql table?
What do we need to check in database testing?