Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

HiTech Computer Security performs computer security audits for contracted customers. Each customer has a unique customer number and an address (more than one customer may

HiTech Computer Security performs computer security audits for contracted customers. Each customer has a unique customer number and an address (more than one customer may be at any given address). When a HiTech engineer has to perform audits they are allocated a van to use on that day. If the engineer finishes auditing all their customers for that day, the van could be reallocated to another engineer. Each van has a unique van number and each engineer has a unique staff number. On any given day, HiTech will only audit a given customer once.

An initial schema for HiTech is:

Audit(custAddress, custNum, date, staffNum, staffName, vanNum)

Q2.1

Identify and describe two sources of redundancy in the Audit relation.

Illustrate, using examples, how the Audit relation could be subject to an

o insert anomaly

o deletion anomaly

o update anomaly

Q2.2

List the functional dependencies. Do not include trivial functional dependencies.

Indicate possible candidate key(s) of the Audit relation.

Q2.3

Explain, with the assistance of functional dependencies, the normal form of the Audit relation.

Q2.4

Perform a lossless decomposition of the Audit relation into relations in 3NF. For each resulting relation, underline the primary key and denote any foreign keys with asterisks (*).

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2019 Wurzburg Germany September 16 20 2019 Proceedings Part 2 Lnai 11907

Authors: Ulf Brefeld ,Elisa Fromont ,Andreas Hotho ,Arno Knobbe ,Marloes Maathuis ,Celine Robardet

1st Edition

3030461467, 978-3030461461

More Books

Students also viewed these Databases questions