Database Management System: Mini Project
Database Management System: Mini Project
1. Introduction
2. Software and Hardware Requirements
3. Entity, Attribute and Relationship
4. ER Diagram
5. Relational Schema
6. Implementation
7. Result of the project
8. Database Normalization
9. Future Scope
10. Conclusion
11. References
Introduction
Hardware Requirements:-
1. Laptop/Desktop
2. Minimum 1 GB of RAM
3.Minimum 100 GB HDD
Software Requirements:-
1. Windows Operating System
2. Python 3.7 or its equivalent software
3. MySQL Server 5.1 must be installed on the system.
4. Mysql connector must be installed along with MySQL in the Python Program.
ER Diagram
Schema
Implementation:
Class Employee:
def __init__(self, username, password, name, email, employee_id, department, hire_date, salary):
self.username = username
self.password = password
self.name = name
self.email = email
self.employee_id = employee_id
self.department = department
self.hire_date = hire_date
self.salary = salary
def __init__(self):
self.employees = []
self.employees.append(employee)
def total_employees(self):
return len(self.employees)
def total_salary(self):
total_salary = sum(employee.salary for employee in self.employees)
return total_salary
return True
return False
departments = {
“D001”: “HR”,
“D002”: “Finance”,
# Sample usage:
# Adding employees
ems.add_employee(emp2)
# Login example
if ems.login(username, password):
print(“Login successful!”)
else:
department_name = ems.get_department_name(employee.department)
BOOKS
Fundamentals of database systems, Ramez Elmasri and S B Navathe, 7th Edition,
2017, Pearson.
Database management systems, Ramakrishnan, and Gehrke, 3rd Edition, 2014,
McGraw Hill.
LIST OF WEBSITES
https://www.w3schools.com/
https://www.udemy.com/
https://www.youtube.com
THANK YOU
KUBRA FATIMA 3PD21CS030
MADIHA RUHEEN 3PD21CS032
MAHEK SULTANA 3PD21CS033