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

Answer Posted / ck

Primary key is a key which will not allow any null values.
whereas unique key which will allows null value only once.

Foreign key is a key which values should match some values
in the primary key value.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What the various ways to tune a teradata query

2795


How many types of locks are present in a database?

610


What is the role of tester in discovery(in Checklist)?

1461


Is data lake a database?

567


What is lagging in DBMS ?

818






Is database a hardware or software?

542


What do you mean by database?

594


what is rcp,if rcp disabled what happen?

1716


What is replicaset?

594


Does facebook use graph database?

609


5. Explain about relational algebra.

1735


What is the importance of database partitioning?

615


What is ole db source in ssis?

554


Is storing images in a database a good idea?

548


What is ole db in ssis?

616