Database Management System
LAB WORK
Submitted in a particular fulfilment of the requirement
for the award PF degree technology in computer
engineering.
By
Gokul S.H Danu
( Course :- B.Tech CE )
(Semester :- 3)
(Roll no. :- 23UGBCE09118)
SUBMITED TO :- MRS. MAMTA
(SKILL ASSISTANT PROFESSER, CSE , SFET)
(Department of skill faculty of engineering and technology)
SHRI Vishwakarma SKILL University , (dhudhola, Palwal)
QUESTION 1:- Create the following schemas:
1). EMPLOYEE Schema (Reference given below 👇)
Operation code:-
Output:-
2). DEPARTMENT Schema(Reference given below 👇).
Operation code:-
s
Output:-
QUESTION 2:- Perform the following queries:
1. Query to display Employee Name, Job, Hire Date, Employee Number; for
each employee with the Employee Number appearing first.
Operation code:-
Output:-
2. Query to display unique Jobs from the Employee.
Operation code:-
Output:-
3. Query to display the Employee Name concatenated by a Job separated
by a comma.
Operation code:-
Output:-
4. Query to display all the data from the Employee Table. Separate each
Column by a comma and name the said column as THE_OUTPUT.
Operation code:-
Output:-
5. Query to display the Employee Name and Salary of all the employees
earning more than $2850
Operation code:-
Output:-
6. Query to display Employee Name and Department Number for the
Employee No= 790
Operation code:-
Output:-
7.Query to display Employee Name and Salary for all employees whose salary
is not in the range of $1500 and $2850.
Operation code:-