can someone check this?

Reply

Join Date: Feb 2007
Posts: 6
Reputation: player123 is an unknown quantity at this point 
Solved Threads: 0
player123 player123 is offline Offline
Newbie Poster

can someone check this?

 
0
  #1
Mar 22nd, 2007
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.
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 114
Reputation: davidcairns is an unknown quantity at this point 
Solved Threads: 8
davidcairns davidcairns is offline Offline
Junior Poster

Re: can someone check this?

 
0
  #2
Mar 23rd, 2007
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?
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 6
Reputation: player123 is an unknown quantity at this point 
Solved Threads: 0
player123 player123 is offline Offline
Newbie Poster

Re: can someone check this?

 
0
  #3
Mar 23rd, 2007
thanks!

p.s.

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

2. no. they have branch name as their primary key.
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 114
Reputation: davidcairns is an unknown quantity at this point 
Solved Threads: 8
davidcairns davidcairns is offline Offline
Junior Poster

Re: can someone check this?

 
0
  #4
Mar 25th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 6
Reputation: player123 is an unknown quantity at this point 
Solved Threads: 0
player123 player123 is offline Offline
Newbie Poster

Re: can someone check this?

 
0
  #5
Mar 30th, 2007
ok i've done some chnages to it now..
do u think it will work now:

http://img129.imageshack.us/img129/820/untitledsc0.jpg
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 2
Reputation: temiromi is an unknown quantity at this point 
Solved Threads: 0
temiromi temiromi is offline Offline
Newbie Poster

Re: can someone check this?

 
0
  #6
Jun 16th, 2007
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Database Design Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC