waht is the difference between primary key and super key?
Answer Posted / sweety singh
superkey is a set of attributes that can uniquely identify
individual tuples whereas a key or a primary key is a
minimal super key that can identify individual tuples.
ex..eno pno hrs
1 1 2
2 4 7
i.e...here eno,pno,hrs together are a superkey but eno,pno
is primary key and hence eno,pno cant hav null values and
repeated enteries....
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
What is oracle update statement with inner join ?
What is the difference between a primary key & a unique key?
how to handle exceptions in post production
What happens in oracle commit?
Can we store pictures in the database and if so, how it can be done?
Her departmandaki isçilerden empno' su ikinci sirada olan isçilerin empno, deptno, hiredate, sira_no bigilerini döndüren sorguyu yaziniz?
What happens to the current transaction if the session is killed?
What is meant by joins? List out the types of joins.
What is the max number of columns in an oracle table?
How to create a new table by selecting rows from another table?
What are the numeric comparison operations?
There are n numbers of flatfile of exactly same format are placed in a folder.Can we load these flatfile's data one by one to a single relational table by a single session??
Can select statements be used on views in oracle?
How to invoke the original export import utilities?
How to revoke create session privilege from a user in oracle?