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 > Need help in finding the candidate key.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-02-11, 07:37
lavane_10 lavane_10 is offline
Registered User
 
Join Date: Mar 2011
Posts: 2
Need help in finding the candidate key.

Hi,

I need to find 2 possible candidate keys of this un-normalised relation and find a possible primary key.

The company has a number of branches and agents employed.Each agent is paid a salary and commission. The salary and the rate of commission
depend on the agent's type (Fresh, Experienced, Senior).Each customer is allotted to an agent who helps the customer. A customer may have
many deposits.


InvestmentFirm ( CustomerId, CustomerName DepositNo, Amount, DepositAmount, Interest-Rate, Period –of-Deposit, Maturity-Value, AgentId, AgentName, Years-ofservice, Salary, Category, Rate-of-commission, BranchNo, BranchAddress, BranchPhone)

Could you help me to find out the answer.

Thanks and regards.
Reply With Quote
  #2 (permalink)  
Old 04-02-11, 08:54
mike_bike_kite mike_bike_kite is offline
vaguely human
 
Join Date: Jun 2007
Location: London
Posts: 2,519
Rather than posting all your homework on the forum wouldn't it be better to just find an easier course that you're more suited to?
__________________
Mike
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