944,156 Members | Top Members by Rank

Ad:
Mar 22nd, 2007
0

can someone check this?

Expand Post »
hi! i have just designed a new database and i was wondering of any could just quickly check that is passes all the first 3 normal forms.
this is an image of it:

http://img233.imageshack.us/img233/4174/untitledqg6.jpg

thanks!
Last edited by player123; Mar 22nd, 2007 at 1:23 pm.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
player123 is offline Offline
6 posts
since Feb 2007
Mar 23rd, 2007
0

Re: can someone check this?

A couple of suggestions

1. Ensure all tables have a PK
2. Merger EMPLOYEE with EMPLOYMENT DETAILS, they have the same pk and are 1 to 1. You could have separate tables if an employee held multiple positions over time
3. Link ACCOUNT to CUSTOMER, the customer has an account, the account has an account type

And some questions

1. Are accounts of 1 or more types?
2. Do branches have ID values?
Reputation Points: 12
Solved Threads: 8
Junior Poster
davidcairns is offline Offline
114 posts
since Feb 2007
Mar 23rd, 2007
0

Re: can someone check this?

thanks!

p.s.

1. yes. an account can have more than one account type.

2. no. they have branch name as their primary key.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
player123 is offline Offline
6 posts
since Feb 2007
Mar 25th, 2007
0

Re: can someone check this?

1. In that case have a table called AccountType table as a lookup of the different types of account and a CustomerAccountType table to join from Account to AccountType

2. Then you have the correct detail there, however I would never allow this in a real world situation, names change but a PK should never change


Good luck with the rest of it

Cheers

D
Reputation Points: 12
Solved Threads: 8
Junior Poster
davidcairns is offline Offline
114 posts
since Feb 2007
Mar 30th, 2007
0

Re: can someone check this?

ok i've done some chnages to it now..
do u think it will work now:

http://img129.imageshack.us/img129/820/untitledsc0.jpg
Reputation Points: 10
Solved Threads: 0
Newbie Poster
player123 is offline Offline
6 posts
since Feb 2007
Jun 16th, 2007
0

Re: can someone check this?

I would like to do something similar but with different names and references can you help me out cos I am new in the system (database)

it me ur co project builder temiromi
Reputation Points: 10
Solved Threads: 0
Newbie Poster
temiromi is offline Offline
3 posts
since Jun 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Database Design Forum Timeline: database relationship gong show
Next Thread in Database Design Forum Timeline: Help on General Best Practices for Table/Database Design





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC