Establishing many to many relationship in SQL

How will you establish many to many relationship in SQL?

Ramco Systems dt. 02 Feb' 2008

Questions by Pavithara   answers by Pavithara

Showing Answers 1 - 6 of 6 Answers

rakeshn

  • Feb 19th, 2008
 

Employee
Department
lets say one employee can work in multiple department.
It needs many to many relationship
Create another table EmpDeptMap.
it will have foreign key with employee and Deptartment too.
In this table (empid+deptid) is the primary key

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions