mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-25 05:44:06 -06:00
20 lines
717 B
Markdown
20 lines
717 B
Markdown
---
|
|
title: "i201-practice-2"
|
|
aliases:
|
|
tags:
|
|
|
|
---
|
|
|
|
# Section A
|
|
## 1
|
|
a) a member of staff can book and appointment. when this occurs the staff member can optionally add a new customer
|
|
b ) a member of staff can book and appointment. when this occurs the staff member must also add a new customer
|
|
b ) a member of staff can book and appointment. when this occurs the staff member must add a new customer before the appointment is created
|
|
|
|
## 2
|
|
a) this could cause an update anomly. this is because there is reduncancy as same product is stored in the database twice
|
|
b) the database should be normalised to remve the redundancy. it could be separated into three entities: store, product, and an associative entity
|
|
|
|
## 3
|
|
|