Results 1 to 2 of 2
  1. #1
    JoshLewis is offline Novice
    Windows 8 Access 2013
    Join Date
    Apr 2013
    Posts
    4

    Table Relationship Help

    I am creating a database for a high school athletic program. I currently have the following tables:

    tblAthletes (AthleteID, name, date of birth, grade, etc)
    tblSports (SportID, sport) - football, basketball, baseball, etc...
    tblSeasons (SeasonID, season) - Fall, Winter, Spring.
    tblLevel (LevelID, level) - C Team, Junior Varsity, Varsity.

    One athlete can play multiple sports. Multiple sports are played per season, but each sport only has one season per year (Football, Fall or Basketball, Winter). Some sports have all 3 levels, some sports only have Varsity level.

    I would like to ultimately be able to easily create rosters, injury reports (by Varsity Football, Junior Varsity Football, etc), and sort Athletes by season.

    I'm looking for ideas on the best way to create table relationships with this information. As of right now, these are the relationships I've formed:

    tblAthletes {AthleteID}
    tblAthletes_Sport {AthleteID, SportID}


    tblSports {SportID, Sport, SeasonID}

    I'm not sure what to do with the Level data.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Could put Level in tblSports which means Sport and Season will repeat for the various levels. The other place for this is another attribute in tblAthletes_Sport.

    Suggest not saving ID but instead save the descriptive names for season, sport, level, because values are short. I am sure you won't run out of memory and this elminates lookups and table joins to retrieve names. Can still have tables as sources for combobox RowSources.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 04-08-2012, 03:04 PM
  2. relationship between query and table
    By dumbledown in forum Database Design
    Replies: 6
    Last Post: 03-28-2012, 09:23 AM
  3. Relationship Table Help
    By Nick F in forum Database Design
    Replies: 5
    Last Post: 10-10-2011, 01:28 PM
  4. Table Relationship Help Required!
    By REAPER_110 in forum Database Design
    Replies: 6
    Last Post: 08-12-2011, 04:53 PM
  5. Conditional Table relationship?
    By srf.ucd in forum Database Design
    Replies: 1
    Last Post: 05-13-2011, 10:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums