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 270963
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T00:05:11+00:00 2026-05-12T00:05:11+00:00

I have some tables that benefit from many-to-many tables. For example the team table.

  • 0

I have some tables that benefit from many-to-many tables. For example the team table.

Team member can hold more than one ‘position’ in the team, all the positions are listed in the position db table. The previous positions held are also stored for this I have a separate table, so I have

  • member table (containing team details)
  • positions table (containing positions)
  • member_to_positions table (id of member and id of position)
  • member_to_previous_positions (id of member and id of position)

Simple, however the crux comes now that a team member can belong to many teams aghhh.
I already have a team_to_member look-up table.
Now the problem comes how do I tie a position to a team? A member may have been team leader on one team, and is currently team radio man and press officer on a different team. How do I just pull the info per member to show his current position, but also his past history including past teams.
Do I need to add a position_to team table and somehow cross reference that, or can I add the team to the member to positions table?

It’s all very confusing, this normalization.

  • 1 1 Answer
  • 2 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-05-12T00:05:11+00:00Added an answer on May 12, 2026 at 12:05 am

    It’s perfectly legitimate to have a TeamPositionMember table, with the columns

    Team_Id
    Position_Code
    Member_Id
    Start_Date
    End_Date NULLABLE
    

    And and a surrogate ID column for Primary Key if you want; otherwise it’s a 3-field composite Primary Key. (You’ll want a uniqueness constraint on this anyway.)

    With this arrangement, you can have a team with any set of positions. A team can have zero or more persons per position. A person can fill zero or more positions for zero or more teams.

    EDIT:

    If you want dates, just revise as shown above, and add Start_Date to the PK to allow the same person to hold the same position at different times.

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

Sidebar

Related Questions

I have 2 tables with some columns and another table that I want its
I have some tables in Oracle enviroment which I have found could benefit from
We have a table in our system that would benefit from a numeric column
I have some tables that I build as a part of my report rollup.
I have some tables that represent various types. They usually just consist of an
I have some nested tables that I want to hide/show upon a click on
Greetings, I have some mysql tables that are currently using an md5 hash as
I have some transliteration tables in code that are formated to make it easier
I'm using MySQL 4.1. Some tables have duplicates entries that go against the constraints.
I have some PHP code that generates dynamic tables of data on the fly.

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.