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
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 |
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 |
What is operational data source (ODS)?
What are the reasons to use a chameleon method in data warehousing?
Explain the main differences between star and snowflake schema?
What is hybrid slowly changing dimension?
Can we take backup when the database is opened?
what is the difference between etl tool and olap tools
What is a view as it relates to system modeling?
What is a Decision Tree Algorithm?
Why fact table is in a normal form?
Explain er diagram?
What is conformed dimension?
Suppose we want to display zero when null values coming to report how can we do that?