what is primary key,unique key, foreign key? can u teach me
in simple language?

Answer Posted / doraswamy

One table allows only one primary key but there is no
restriction for unique keys.
These two are same but one difference is unique key will
allow nulls.
Primary key create on a combination of mulitiple colums.

Foreign key is reference of another table primiary key. It
will not allow null values.

~Doraswamy

Is This Answer Correct ?    106 Yes 43 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different types of joins used in?

614


What are the various ways to execute a query in teradata?

2182


Explain transaction manager?

598


Explain database partitioning.

627


Explain about ur projets on teradata???

1342






hai if any one having any project sample table structure please froward to my mail id tauseefwst@yahoo.com

1933


diff b/w inter process and in process

1541


What is the use of graph database?

539


aht is the difference b/w network & hierarchial & relational dbms????

1759


If the master device is full, how do I make the master database bigger?

512


What do you mean by cluster and non cluster index?

559


What does specialization in DBMS mean?

631


Display the employees whose salary is less than average salary.

622


What is redis good for?

543


can u combine pipeline parallelism and partition parallalism? how and whan?

1873