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

Explain the difference between data ware house & data mart?

0 Answers  


Describe a data warehouse.

0 Answers  


What is the limit to the number of sources and targets you can have in a mapping?

0 Answers  


What are the different ways to represent the loading of dimension tables?

0 Answers  


How can we run the graph? How can we schedule the graph in unix?

0 Answers  






How Materialized Views are linked with Oracle DataWare house?

1 Answers   Kirloskar,


what are the all possible features supported modify stage?

0 Answers  


Explain what is a staging area? Do we need it? What is the purpose of a staging area?

0 Answers  


Can a dimension table contain numeric values?

0 Answers  


What is the function of etl when used in data warehousing?

0 Answers  


i have scheduled a report in a job in the cognos8.3 which would send the reports to the respective user ,now the repot ran and is sent to the respective user but it contains some unwanted data. So based on the senario can any one tell me that can we recall back the report ??????

0 Answers   Wipro,


Can you explain how analysis service works?

1 Answers  


Categories