Why Business Rules Are Important For A Good Database Design? Give 3 Examples of Business Rules in Academic Environment
Why Business Rules Are Important For A Good Database Design? Give 3 Examples of Business Rules in Academic Environment
DATABASE
SEM 1, 2022/2023
Tutorial 3
1. Why business rules are important for a good database design? Give 3 examples of business
rules in academic environment.
2. What is the definition of DDL and DML? Explain the differences between DDL and DML.
i. Identify each relationship type and write all of the business rules.
4. i. How would you identify entity and relationship types from a user’s requirements
specification?
ii. How would you identify attributes from a user’s requirements specification and
then associate the attributes with entity or relationship types?
where
Hotel contains hotel details and hotelNo is the primary key;
Room contains room details for each hotel and (roomNo, hotelNo) forms the
primary key;
Booking contains details of the bookings and (hotelNo, guestNo, dateFrom)
forms the primary key;
and
Guest contains guest details and guestNo is the primary key.