Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8824755
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T06:42:46+00:00 2026-06-14T06:42:46+00:00

I have a problem in logical design of a SQL Server database. Still I

  • 0

I have a problem in logical design of a SQL Server database.

Still I can not distinct which relation has to be one-to-many and which one has to be many-to-many.
Someone told me if both entity tables are independent, they can have a many-to-many relation, else they will have one-to-many.

But now I am working on a project that collects personal information of the employees, in one part there is a table known as JobStatus which is for the personnel’s current job. This table has a relationship with Person (table) that is many-to-many, of course there is a junction table between them.

I made this type of relation because one job position’s name is assigned to several persons and with different performance.

For instance :

Person A ----->Operator
Person B------>Operator and so on...

And in other side there are some cases that a person has two Job position, I mean he is either a director and a teacher .

For instance :

Person C ------>Director & Teacher

So would you please guide me in this ambiguous logical mean?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T06:42:47+00:00Added an answer on June 14, 2026 at 6:42 am

    Simply put, you would recognize a many to many when either table can not have the PK from the other table as its foreign key

    Taking a Student and Course table

    • Student can take many courses
    • Courses can belong to more than one Students

    Putting a FK of course (CourseID) on student will restrict the Student to ONE course

    Putting a FK of student (StudentID) on course will restrict the course to ONE student

    To solve this, a third table StudentCourse will have the StudentID and the CourseID, therefore making either table independent.

    That is Many to Many.

    For one to many, that happens when you can easily put the ID of one table as the FK of the other.

    In your case, Two Employees can be Operator at the same time and an Employee can be an Operator and Teacher – that design is MANY to MANY. You are right

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are developing an enterprise-size accounting system and we have logical design problem which
I have a logical problem i am not sure how to solve.. Basically i
I have this logical problem regarding on how to pass value from one JFrame
I have a problem with DataContextChanged not being raised on a logical child of
I have more of a logical problem then a programming one. I have a
I have a problem in MATLAB. I have a NxM logical array called L
I have problem SIMILAR to preventing form data reposting, but not quite the same
Hello guys, I have a general design problem with iPhone application. I want to
i have a bit of logical problem here. I have a catalog of products
Currently I'm experiencing a little logical problem. Assume I have an object where I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.