A company has several departments. Each department has a supervisor and at least one employee. Employees must be assigned to at least one department. Project will be given to the employee and it will be done in a group. At least one employee is assigned to one project or more. The important data fields are the names of the departments, projects, supervisors and employees, as well as the supervisor and employee number, department code and a unique project number.
You have been requested by a travel agency, EXEL Travels, to build a database for storing information on customers and vacation package that have been booked. Create an ER Diagram based on the information below:
Each customer has information like Customer Number, Name, Address and Telephone number.
Customers may have many addresses and telephone numbers.
A customer may book more than one holiday package and one holiday package may also be booked by many customers.
Examples of payments according to booked holiday package :
Hospital Jaya is based in Kuala Lumpur. This Hospital has a few wards with several patients. This ward has a few types, which depends on types of patients.
Patients will be recorded into file that have ID Patient, Patient name, address, phone number, IC-number, categories either VIP or regular patient and a group of blood patient. Each patient is treated by a doctor at one time but one doctor can treats a number of patients.
The information of doctors recorded is: Doctor ID, name, address, phone number, IC-number and specialization.
The nurses will be assigned to take care of the patients. Nurses in this hospital are graded based on their experience, qualification and duration of working in the hospital.