0% found this document useful (0 votes)
19 views

Dbms 10 - 1007

1. The experiment involves designing a case study for a company database, hospital management system, or railway reservation system. 2. The requirements for the case study include using SQL server or Oracle. 3. An entity relationship diagram is provided that models the key entities and relationships for a company database, including employees, departments, projects, and dependents as entities, and relationships such as employees working in departments and on projects.

Uploaded by

Pikach
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

Dbms 10 - 1007

1. The experiment involves designing a case study for a company database, hospital management system, or railway reservation system. 2. The requirements for the case study include using SQL server or Oracle. 3. An entity relationship diagram is provided that models the key entities and relationships for a company database, including employees, departments, projects, and dependents as entities, and relationships such as employees working in departments and on projects.

Uploaded by

Pikach
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

EXPERIMENT: 10

Student Name: Divyansh UID: 21CDO1007


Branch: CSE-DevOps Section & Group: 21BCD-1
Semester: 3rd Date:
Course Name: DBMS Course Code: 21CSH-243

1. Experiment Title: Design a case study for Company database/ Hospital Management System/
Railway Reservation System

2. Requirements: SQL server, Oracle

3. ER Diagram:

UID: 21BCS5103
Case Study
This Company ER diagram illustrates key information about Company, including entities such as employee,
department, project and dependent. It allows us to understand the relationships between entities.
Entities and their Attributes are
• Employee Entity: Attributes of Employee Entity are Name, Id, Address, Gender, Dob and Doj. Id is
Primary Key for Employee Entity.
• Department Entity: Attributes of Department Entity are D_no, Name and Location. D_no is Primary
Key for Department Entity.
• Project Entity: Attributes of Project Entity are P_No, Name and Location. P_No is Primary Key for
Project Entity.
• Dependent Entity: Attributes of Dependent Entity are D_no, Gender and relationship.
Relationships are:
• Employees work in Departments –
Many employees works in one Department but one employee can not work in many departments.
• Manager controls a Department – employee works under the manager of the Department and the
manager records the date of joining of employee in the department.
• Department has many Projects –
One department has many projects but one project can not come under many departments.
• Employee works on project –
One employee works on several projects and the number of hours worked by the employee on a
single project is recorded.
• Employee has dependents –
Each Employee has dependents. Each dependent is dependent of only one employee.
UID: 21BCS5103

You might also like