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

Why are recursive relationships are bad? How do you resolve them?

0 Answers  


Briefly describe an outer join.

0 Answers  


What's the difference between file and database?

1 Answers  


What are new features postgre 9.1?

0 Answers  


Is there a database program for mac?

0 Answers  






What is network database?

0 Answers  


How to do replication of firebird databases?

0 Answers  


RDBMS file system can be defined as

0 Answers   3i Infotech,


Which database is best for storing images?

0 Answers  


I'm need to prepare Month Over Month Sales Growth report. Is there any function available in OBIEE to perform this task.

0 Answers   Infosys,


Explain all codd's rules for relational database system?

0 Answers  


What are the characteristics of dbms?

0 Answers  


Categories