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 edw?

0 Answers  


What is the difference between filter and lookup transformation?

0 Answers  


Explain the data types present in bo n wht happens if we implement view in the designer n report?

0 Answers  


Compare ?Data mining? and ?Data Warehousing??

5 Answers  


Explain what are fact, dimension, and measure?

0 Answers  


Explain a linked cube?

0 Answers  


Difference between ODS and Staging

4 Answers   HeadStrong, TCS,


What are the steps to build the datawarehouse?

0 Answers  


What is meant by metadata in context of a data warehouse and how it is important?

0 Answers  


Explain what are necessary tasks to install reportnet software?

0 Answers  


Could any one explain me how to create cascading prompts?

0 Answers  


Explain what are non-additive facts in detail?

0 Answers  


Categories