what are primary key and foreign key ?

Answers were Sorted based on User's Feedback



what are primary key and foreign key ?..

Answer / neo devan

Primary key is the attribute which satisfies both
uniqueness and Not null constraints.
The foreign key is a attribute that points to a valid
column in a parent table.
its used for referencing primary key.

Is This Answer Correct ?    8 Yes 1 No

what are primary key and foreign key ?..

Answer / rukumanikhandhan

primary key is the key which follows uniqueness in the
entire table.
primary key of one table will be called as foreign key in
another table.

Is This Answer Correct ?    7 Yes 2 No

what are primary key and foreign key ?..

Answer / sabeena parveen

primary key is an attribute which uniquely identifies each
record in the table.

Is This Answer Correct ?    4 Yes 0 No

what are primary key and foreign key ?..

Answer / radha

Columns acting as a primary key will always hold unique
values.
Foreign key should always be a primary key of some table

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Database Management Interview Questions

What is the maximum line size that dbms_output can handle?

0 Answers  


How do you create a simple database?

0 Answers  


Define view, sequence and index in DBMS.

0 Answers   HAL,


What is equi-join?

1 Answers  


What are the advantages of a database?

0 Answers  






How to retrive a single data from a database

0 Answers   MCN Solutions,


Mention the different types of cursor?

0 Answers  


What is a database in computer?

0 Answers  


Can MULTIPLE DOCUMENT INTERFACE (MDI) be used in Forms 4.5 ?

1 Answers  


Is google scholar a database?

0 Answers  


What is in a database?

0 Answers  


What database should I learn first?

0 Answers  


Categories