Is it possible to have more than one row on the same table
with the same foreign key?

Answers were Sorted based on User's Feedback



Is it possible to have more than one row on the same table with the same foreign key?..

Answer / naveen

Yes, it is possible.

Eg., EMP table consists of many employee records where each
employee is designated to one department#.Here the
department# is the foreign key in the emp table.

Is This Answer Correct ?    10 Yes 0 No

Is it possible to have more than one row on the same table with the same foreign key?..

Answer / pradeeshkumar

Yes, it's possible.
A foreign key in a table can have duplicate values.
For example, One or more employees can belong to same
project.EMPLOYEE_ID is the ptimary key of the Employee
table and PROJECT_ID is a foreign key that references
another table(Project).

EMPLOYEE_ID EMPLOYEE_NAME PROJECT_ID
----------------------------------------
0001 SAM DEX01
0002 MARK DEX01
0003 JUKE MKX02

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More Data Warehouse General Interview Questions

What is Factless fact table? In which purpose we are using this in our DWH projects?Plz give me the proper answer. Thanks, Ramesh

6 Answers   ACS,


What is the difference between constraind base load ordering and target load plan?

0 Answers  


What is load manager?

0 Answers  


What is edw?

0 Answers  


What is ?Data Warehousing??

3 Answers   Accenture,






How can you set the client management?

0 Answers  


What is Cognos script editor?

0 Answers  


How to use the tool Ontobulider

1 Answers  


Explain the differences between normalizer and normalizer transformation?

0 Answers  


Explain why should you put your data warehouse on a different system than your oltp system?

0 Answers  


What are the vaious etl tools in the market?

1 Answers  


What are the main steps to build the data warehouse?

0 Answers  


Categories