Results 1 to 2 of 2
  1. #1
    chemmiah is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Nov 2012
    Location
    Schenectady, NY
    Posts
    2

    How to design my sports database

    Hello all,

    I have a sports database that is in excel and I want to convert over to access:
    The data is list like this for each team:



    Team B:

    Game Date Team rank score Opponent team rank Opponent Home/Away/Neutral Quality score
    11/28/08 16 87-88 10 Team A H -0.55
    11/30/08 16 90-48 226 Team C H 3.44
    12/4/08 18 57-54 26 Team D A 0.333
    and so on

    What i want to do is have the best design so that in the future i can find the W/L record based on team, conference OR based on other criteria.
    Should i list the scores w/dates in one table or should each team get its on table?

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    in terms of a data structure I would say

    Code:
    tblTeams
    TeamID  TeamName
    1       Team A
    2       Team B
    3       Team C
    
    tblSeason
    SeasonID  SeasonDesc
    1         Spring 2014
    2         Summer 2014
    
    tblSchedule
    Sched_ID  SeasonID  GameDate
    1         1         1/1/2014
    2         1         1/2/2014
    3         1         1/5/2014
    
    tblGameScores
    GS_ID  GameID  TeamID  TeamScore
    1      1       2       5
    2      1       3       4
    Something in this vein.

    alternately you could do something like this

    Code:
    GS_ID  GameID  WinTeamID  WinTeamScore  LoseTeamID  LoseTeamScore
    1      1       2          5             3           2
    this would be a non-normalized structure (at least to me) and may be harder to work with depending on how into your metrics you are beyond simple win/loss records.

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

Similar Threads

  1. Sports Database
    By itsfaz in forum Access
    Replies: 1
    Last Post: 04-02-2014, 12:52 PM
  2. How to list sports scores in a database
    By chemmiah in forum Database Design
    Replies: 1
    Last Post: 11-21-2012, 03:53 PM
  3. Sports Team database
    By Patriot7470 in forum Database Design
    Replies: 2
    Last Post: 03-17-2012, 01:50 PM
  4. Help with Sports database
    By sportinus in forum Database Design
    Replies: 0
    Last Post: 03-16-2010, 09:00 PM
  5. Race Sports Time format
    By flebber in forum Database Design
    Replies: 0
    Last Post: 09-13-2009, 08:38 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