Question

Question 1 Relational model and Normalisation                                   

Question 1 Relational model and Normalisation                                      

The following table identifies the information that the funding managers trade the stocks. But this table has been wrongly designed. It has been assumed that the combination of ManagerID, StockCode and TradeDate uniquely identifies each tuple in this relation.

StockTrade

ManagerID

ManagerName

StockCode

CompanyName

Action

Quantity

Price

TradeDate

M101

James Cook

ORG

Origin Energy

Buy

10,000

10.10

12-1-2019

M101

James Cook

RIO

Rio Tinto

Sell

20,000

88.50

15-1-2019

M102

Shirley Lin

ORG

Origin Energy

Sell

10,000

11.50

15-1-2019

M102

Shirley Lin

BHP

BHP Billiton

Buy

50,000

31.20

18-1-2019

M103

David Johnson

AGL

AGL Energy

Sell

30,000

17.90

19-2-2019

M104

Linda Coles

RIO

Rio Tinto

Buy

70,000

75.90

19-2-2019

Quesation 1 : On the above table, if we want to add a record related to the stock - TLS (Telstra), what kind of anomaly will happen? Justify your answer.

Quesation 2 : What is the highest normal form that this relation satisfies and why?     (1 mark)

Quesation 3 : Normalise the relation into a set of relations that satisfy 3NF using the format as follows:

Customer (CustomerID, CustomerName)

Order (OrderID, Amount, Date, CustomerID)

         Foreign key (CustomerID) references Customer

                     

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Q1.

Adding TSL stock might cause inserion anamoloy since any manager might not be available to manage it.

Q2, 3

Stock The Trade Date Stock Code → normal form FD, the Since the FD above are primary key of given relation is ㅓ Managerlo, Th

If you have any questions comment down. Please don't simply downvote and leave. If you are satisfied with answer, please? upvote thanks

Add a comment
Know the answer?
Add Answer to:
Question 1 Relational model and Normalisation                                   
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT