Database of a hotel
Entities:
- Employees (Employee code, Full name, Age, Sex, Address, Phone number, Passport data, Position code).
- Positions (Position Code, Position Name, Salary, Responsibilities, Requirements).
- Rooms (Room Code, Name, Capacity, Description, Cost, Employee Code).
- Services (Service Code, Name, Description, Cost).
- Clients (full name, passport data, check-in date, check-out date, room code, service code 1, service code 2, service code 3, cost, employee code).
Queries:
- Human Resources Department (joins the "Employees" and "Positions" tables by the "Position Code" field).
- Numbers (joins the "Employees" and " Rooms" tables by the "Employee Code" field).
- Clients (Joins the tables "Clients", "Rooms", "Services" and "Employees" in the fields "Rooms code", "Service code", "Service code 1", "Service code 2", "Service code 3" and "Employee Code").
Parameter queries:
- Display employees of specified positions (based on the request "Human Resources").
- Display clients living in specified rooms (based on the "Clients" query).
- Display rooms of specified capacities (based on the request "Numbers").
5 years ago
20
Answer(0)
other Questions(10)
- IT
- Critical Analysis 3
- CMIS 440 Programming Project 2 Project 2 involves building a Web application that is designed using Model 2 architecture. This project is intended to...
- need help
- MAT 120 college algebra,
- term paper macroeconomics (Paula Hog)
- Suppose that there are two products: clothing and soda. Both Brazil and the United States produce each product. Brazil can produce...
- math QAs
- 2 pages! easy!
- Assignment 2: LASA 1 – Coercive Interrogations **FOR SOLUTIONS PRO.***