Theory Assignment-2
Theory Assignment-2
Mapped to CLO2 [Apply data modeling and normalization techniques to design database for small to medium size
enterprise]
For each of the following problems, first create an entity relationship (ER) diagram and then convert it into a relational
database schema. Assume attributes as per your real-world knowledge for the given scenarios, if not mentioned.
In Malam Jaba, there is a store that rents pair of skis and also sells snowboard to the tourists. The store is interested in
automating its sale and rental process. The store owner has gathered the following requirements and wants you to
design the database:
The store contains two types of equipment: Pair of skis and snowboard. They are identified uniquely by their
equipment ID. For both the equipment, their model needs to be stored. In addition, for pair of skis, their rental
price, while for snowboard their sale price needs to be stored.
Tourists that visit the store are identified by their passport numbers. In addition, their name, nationality and
multiple contact numbers also need to be stored.
There can be two types of tourists: skier or snowboarder. For skiers we want to store their years of experience
too. Skiers rent pair of skis while snowboarders purchase snowboard.
A Skier may rent one or more pair of skis and a pair of skis can be rented by many skiers throughout the
course of its life. For each rental, the store also wants to record the rental date and return date.
A Snowboarder may purchase one or more snowboards. For each purchase, the store wants to record purchase
date too.
The database for Football Match needs to be built. The following set of requirements have been identified:
Football Clubs play Games. Each football club have specific id, name, description, color, and other details.
Football Clubs have specific Uniforms. Each Uniform has unique identification number, name, and
description.
Football Clubs have specific Jargon, such a ‘Fumble’ in the NFL. Jargon have id, phases and meaning.
Football Clubs have a range of Reference Material, such as Footballer Contracts. Reference identification,
reference material title and description.
Games always involve two Football Clubs. Games have different details regarding game like date, results, id,
and description.
Games are played at different Locations. Each location has id, name, and address.
Games always produce Deliverables – such as Goals and Results. Deliverables has name, descriptions, and id.
Football Clubs have Cub Personnel, including Players. Club personals have name, title, gender, address, email
address, contact details etc.
Players are involved in Games as Game Players.
Players in Games can play at specific Positions. Each position has certain details.
Games can involve Value Systems, such as ‘Play by the Rules and Win’. Value system has id, name and
description.