Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Problem 2 a . In MySQL , you will find a table called PROBLEM 2 . b . Draw a functional dependency diagram for the
Problem
a In MySQL you will find a table called PROBLEM
b Draw a functional dependency diagram for the table shown below. The following
business rules apply:
Law enforcement authorities periodically seize material suspected of being
drugs during traffic stops, or arrests at places of resident. When they do
the material collected is known as a collection. Each collection is given a
unique case number. The date and location on which the collection was
made is recorded. Each collection is also seized by a single law
enforcement agency.
A law enforcement agency has a unique name and is one of several
types: policy department PD sheriffs office SO etc.
From the collection, one or more exhibits are taken. An exhibit is a portion
of a collection. It is given a unique number. Law enforcement records an
estimate of the amount of material that makes up an exhibit. A description
of each exhibit is also recorded.
An exhibit is sent to a laboratory for analysis. The laboratory divides the
exhibit up into samples for further testing. The lab gives each sample a
unique identifier a lab number runs the tests, and records the analysis
date and analysis results for the sample.
c State the highest normal form this table could be in in its present form ie if the
table shown here satisfies NF but does not satisfy NF then the answer would
be NF
d Normalize this table through BCNF Decompose the Problem table
appropriately. Name each of the resulting tables PX where X some
appropriate name for the table.
CREATE TABLE PROBLEM
LABNUMBER VARCHAR
TYPE VARCHAR
DESCRIPTION VARCHAR
LOCATION VARCHAR
ESTIMATEDAMOUNT numeric
EXHIBITUNITS VARCHAR
ANALYSISDATE DATE,
RESULTS VARCHAR
EXHIBITNO VARCHAR
COLLECTIONDATE DATE,
CASENUMBER VARCHAR
AGENCY VARCHAR
;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started