Professional Documents
Culture Documents
Database
Database
Student Name
Course
Tutor
Date
Question 1
(a) . The current plan for the GRAND SLAM relation displays a few potential change
irregularities:
Update Anomalies: If any data about a competition (like the scene, dates, or surface)
transforms, we would have to refresh different columns for every event of that
assuming the update is missed in certain columns. Likewise, if any data about a player
(like their nation) transforms, we would have to refresh different lines for every event
Insertion Anomalies: Assuming another competition is added to the data set, yet no
player from a specific nation partakes in it, we can't embed that competition without
disregarding element trustworthiness. Similarly, in the event that another player wins
a competition however their nation isn't yet addressed in the data set, we can't embed
where just a single player from their nation partook, we lose data about that country's
who was the main victor from their country, we lose data about that country's progress
in the competition.
These abnormalities show that the ongoing plan isn't as expected standardized and
respectability. To resolve these issues, the information base plan should be changed
investigating the information, the applicant key(s) for this connection could be
specific competition, its year, the occasion type (e.g., Men's singles, Ladies' singles),
and the victor. No two lines have similar mix of these properties.
reliance issues. First Normal Form (1NF) in light of the fact that it contains nuclear
qualities in every cell, and there are no rehashing gatherings. In any case, it may not
be in higher typical structures, (for example, 2NF or 3NF) because of expected overt
repetitiveness and reliance issues. For instance, on the off chance that a player wins
different competitions around the same time and occasion type, their data (like nation)
Reasoning:
each tuple in the connection. The connection is possible in 1NF because of nuclear
repetitiveness and reliance issues, for example, copied player data for different
competition wins. This examination demonstrates that while the connection is in 1NF,
it might require further standardization to kill overt repetitiveness and reliance issues
(c) To convert the GRAND SLAM relation to a set of relations in at least the Third
Normal Form (3NF), there is need to identify functional dependencies and split the
No foreign keys
PlayerDetails:
No foreign keys
EventDetails:
No foreign keys
TournamentEvent:
TournamentWinner:
redundancy and ensured data integrity by properly defining primary keys and foreign
keys.
(d).To make sense of how the new plan resolves the issues distinguished in (a) and
safeguards all the data in the first plan, we should recap the issues recognized and
Erasing a competition or victor's subtleties might bring about loss of related data.
Update Inconsistencies: By parting the first connection into different relations, each
with its own essential key, update oddities are limited. For instance, in the new plan,
the Competition connection has an essential key made out of Competition and Year,
while the Player connection has Victor as its essential key. Along these lines,
separating the first connection into more modest, related relations. Every connection
is planned with its own essential key, lessening the opportunity to accidentally erase
connection won't influence the Player connection as well as the other way around.
Inclusion Irregularities: The new plan guarantees that embedding new information is
without the gamble of deficient passages. In general, the new plan saves all the data
present in the first plan while tending to the distinguished standardization issues. It
Question 2
To make an entity-relationship diagram (ERD) for the Western Highlands Zoo data
set, Initially recognize the primary substances and their connections in view of the
gave querying necessities and contextual investigation depiction. Then, at that point,
list and make sense of any presumptions made in making the information model. At
long last, guarantee the ERD incorporates properties, essential and unfamiliar keys,
Entities:
Animal
Animal Type
Class
Region
Enclosure
Zone
Keeper
Note
Attributes:
Animal: AnimalID (PK), Name, Gender, DateOfBirth, PlaceOfBirth, ChildFriendly
ConservationStatus
NextOfKin, NextOfKinContactNumber
Relationships:
An animal belongs to an animal type. An animal type can have many animals.
An animal type belongs to a class. A class can have many animal types.
An animal type comes from a region. A region can have many animal types.
An enclosure can contain multiple animals. Each animal belongs to one enclosure.
A keeper looks after multiple animals, and an animal can be looked after by multiple
keepers.
Each class of animals has one head keeper who supervises the relevant keepers.
An animal can have multiple notes. Each note is associated with one animal.
Assumptions:
Every enclosure can house different animal types, and a animal type can be
the zoo to actually examine their business and plan for what's in store
ERD DIAGRAM
Reference
https://perthzoo.wa.gov.au/animal/koala