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 are the all possible features supported modify stage?
What is the goal of optimizer?
Where the applications and where
What are the advantages and disadvantages of using stored procedures versus calling sql inline in cold fusion?
explain about dirty dimension?
What is informatica architecture?
What are the advantages of raid 1, 1/0, and 5. What type of raid setup would you put your tx logs?
Explain where do we use semi and non additive facts?
How to generate the cubes in framework manager?
Explain what are the advantages of query studio compared to report studio?
What is Drill by? drill through?
Can we take backup when the database is opened?