Instructor: Yıldıran Yılmaz Email: yildiran.yilmaz@erdogan.edu.tr Office Hours: Thursday
Download PDF-MS, PDF-MD, DOCX-MD, PPTX-MD, PPTX-MS
A bank stores account information of its customers:
Each customer has customer number, name, surname, phone (work, home and mobile), address and customer type (individual or corporate) information.
Each account has account number, IBAN number, account opening date, account type (currency, TL), account status (active or passive) and balance amount information.
Every customer has at least one account. Each account must belong to a customer, either individually or institutionally. Any account can be opened for multiple customers as a joint account.
Lets Build Model Together...
An airline company will use database automation:
Each aircraft in the company's fleet is registered with a code number. In addition, the brand, model, passenger capacity and range information of this aircraft are also stored. Not all aircraft are in active use, some may be under maintenance/repair.
Every flight has a number. The departure and arrival points of this flight are determined. In addition, the date and time of this flight and which aircraft will be operated are determined.
Each passenger is given a number by company to be used on all flights with that company. In addition, the name, surname, phone (work, home and mobile) and address of that passenger are also stored.
All flights operated by a passenger can be easily accessed by the relationship between flight and passenger information.
There can be more than one passenger on a flight. There must be at least one passenger on a flight. A passenger must have taken at least one flight. A passenger may have joined more than one flight.
An airplane can make more than one flight. An aircraft may not be used on some flights. There must be a plane belonging to a flight.
Below is the entity-relationship diagram of the automation system of a multi-divisional company that produces various projects and sells over the internet.
End−Of−Week−5−ModuleEnd-Of-Week-5-ModuleEnd−Of−Week−5−Module
<iframe width=700, height=500 frameBorder=0 src="../files/week-4.pdf"></iframe>