?
Solved

Table Normalization Part 2

Posted on 2004-04-28
11
Medium Priority
?
161 Views
Last Modified: 2010-04-05
OK, to add onto previous question:

http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_20968246.html

i think this design will work, but it will take some re-working of my existing application, any suggesions:

I will then post a question for SQL statements need to calculate points.

Thanx!

Shane



Teams
- id
- Name

Players
- id
- TeamId
- Name  
- Points - Calculated

Matches
- id
- Date
- Team1
- Team2

MatchResults
- id
- MatchId
- Team
- Points - Calculated Field

Games
 - Id
 - MatchId
 - MatchType - {Singles, Doubles}

GameResults
 - Id
 - GamesId
 - Player - Selected from Players
 - Points (not calculated)
0
Comment
Question by:shaneholmes
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 9
  • 2
11 Comments
 
LVL 12

Expert Comment

by:esoftbg
ID: 10943685
May be:

Teams
- id
- Name
- Points - Calculated

Players
- id
- TeamId
- Name  
- Points - Calculated

Matches
- id
- Date
- Team1
- Team1Points - Calculated Field
- Team2
- Team2Points - Calculated Field

Games
 - Id
 - MatchId
 - MatchType - {Singles, Doubles}

GameResults
 - Id
 - GamesId
 - Player - Selected from Players
 - Points (not calculated)
0
 
LVL 11

Author Comment

by:shaneholmes
ID: 10943721
Yeah, i had that before in my original design - see link above
i dont belive its normalized that way - I ran into problems earlier trying to use it like that um then again, i dont know what my new sqls will be like

Shane
0
 
LVL 12

Expert Comment

by:esoftbg
ID: 10943968
I think the fields Team1 and Team2 in the table Matches double the field Team in the table MatchResults:

Teams
- id
- Name
- Points - Calculated

Players
- id
- TeamId
- Name  
- Points - Calculated

Matches
- id
- Date

MatchResults
- id
- MatchId
- TeamId
- Points - Calculated Field

Games
 - Id
 - MatchId
 - MatchType - {Singles, Doubles}

GameResults
 - Id
 - GamesId
 - Player - Selected from Players
 - Points (not calculated)
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 12

Expert Comment

by:esoftbg
ID: 10944090
May be:

Matches
- id
- Date
- MatchType - {Singles, Doubles}

//.......................

Games
 - Id
 - MatchId
0
 
LVL 12

Expert Comment

by:esoftbg
ID: 10944104
Here is 01:16 AM, I will go into the bed. Tomorrow will be a better day for programming :-))
0
 
LVL 12

Expert Comment

by:esoftbg
ID: 10944123
Not tomorrow - today but after the dream....
0
 
LVL 12

Expert Comment

by:esoftbg
ID: 10957995
I have not Access, so i developed a simple hint-example:
http://www.geocities.com/esoftbg/Q_20971121.zip
0
 
LVL 12

Expert Comment

by:esoftbg
ID: 10958184
0
 
LVL 11

Author Comment

by:shaneholmes
ID: 10958871
esoftbg, im getting this message....

We're sorry, but this page is currently unavailable for viewing.
If this site belongs to you, please read this help page for more information and assistance.

Shane
0
 
LVL 12

Expert Comment

by:esoftbg
ID: 10965585
0
 
LVL 12

Accepted Solution

by:
esoftbg earned 400 total points
ID: 10973327
I have no problems to download the file Q_20971121.zip as it is declared above, but you may visit
http://www.geocities.com/esoftbg/
and
http://www.geocities.com/eosoft/
first as a web-pages and then download from the link
Q_20971121.zip
Really I don't understand what happens with my yahoo web-pages. I can access them without problems, but you are the first, who alert me for "currently unavailable for viewing" message, but already is another who alert me about the same ????
These web-sites belong to me, but I don't know what to do for avoiding this problem.
emil
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses
Course of the Month14 days, 10 hours left to enroll

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question