DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
Experiment1.1
Student Name: Maadhav Hira
UID: 22BCS10380
Branch: BE-CSE
Section/Group: 602/B Semester: 4th
Date of Performance: 21/02/24
Subject Name: Database Management System
Subject Code: 22CSH-254
1. Aim:
Create a TABLE Employee: the following Data Base schema Employee (Eno,
EName, Salary, Dno, Mgr_Eno) Department (Dno, DName) Project (Pno, Pname,
Dno)
Write the following queries in SQL:
a) Display the name of the employee who draws minimum salary.
b) Display the Department number along with the average salary drawn by the
employees of that department.
c) Display the name of all the employees along with the name of their managers.
2. Objective:Provide a structured mechanism for the
addresses of employed people.
• Improve the completeness and accuracy of the employed sperson data stored
in the database.
• Enable the application to maintain a comprehensive profile of each
employed sperson, including their name, city, salary , and
department,project, employee id, and department no. etc.
• Enhance the overall usability and flexibility of the database for employees and
management purposes.
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
3. DBMS script and output:
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
DEPARTMENT OF
COMPUTER SCIENCE & ENGINEERING
4. Learning Outcomes:
• SQL Proficiency: Attain proficiency in SQL syntax, covering table
creation, data retrieval, modification, and querying techniques.
• Database Design Skills: Understand fundamental principles of database
design, including schema creation, data types selection, and normalization.
• Data Manipulation Competence: Develop competence in
manipulating database records, including updating existing data and
inserting new data.
• Data Integrity Awareness: Gain awareness of data integrity principles and
best practices, ensuring accurate and consistent data storage and retrieval.
• Practical Application: Apply SQL skills to real-world scenarios, such as
managing employees data, to gain practical experience and reinforce
learning in database management.