If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > I can't normalize these tables

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-31-11, 13:00
farhan_pk1 farhan_pk1 is offline
Registered User
 
Join Date: Aug 2011
Posts: 1
I can't normalize these tables

I am in the process of normalization of my database which deals with clients information. I have made one table for clients information in which `client id` is Primary Key.
The problem is that the clients can have either A type of company or B type of company and depending on the TYPE of company, the details needed will be changed like if A type of company then only name should be stored, and if B type of company then name, registration date, accounts info should be stored.
I thought that i should use the PRIMARY KEY of CLIENTS table 'client id' as the PRIMARY key for the A type table and B type table, hence using the same PRIMARY KEY in three tables to relate the data to the same client.
Please advise me what is the best way to achieve best normalization.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On