[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Table Normalization Part 2

Posted on 2004-04-28
11
Medium Priority
?
163 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

656 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