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 query panel?

1 Answers  


Explain about Control M JObs detaily?How to execute this.

2 Answers   Scope International,


Can you describe me a problem you faced when you were trying to load data from R3 system and another system outside sap systems?

1 Answers  


What is difference between Business Objects and Hyperion Essbase? Please help me

1 Answers   Cap Gemini, TCS,


How to improve session performance in aggregator transformation?

1 Answers  


Explain Process flow in data warehouse??

1 Answers   BirlaSoft,


How to know the time taken for particular report execution?

1 Answers  


Suppose we have some 10,000 odd records in source system and when load them into target.how do we ensure that all 10,000 records that are loaded to target doesnt contain any garbage values?

1 Answers  


How can Oracle Materialized Views be used to speed up data warehouse queries?

3 Answers  


What is BCP?

1 Answers  


What is the difference between star and snowflake schemas?

1 Answers  


What is ETL process in Data warehousing?

3 Answers  


Categories