DBMS Lab Practical 1
DBMS Lab Practical 1
Question –
1. (Exercise on retrieving records from the table) EMPLOYEES (Employee_Id, First Name,
Last Name, Email, Phone Number, Hire_Date, Job_Id, Salary, Commission_Pct, Manager_Id,
Department_Id)
(a) Find out the employee id, names, salaries of all the employees
(b) List out the employees who works under manager 100
(c) Find the names of the employees who have a salary greater than or equal to 45000
(d) List out the employees whose last name is 'Gaikwad '
(e) Find the names of the employees who works in departments 60,70 and 80
(f) Display the unique Manager_id
Solution -
QUESTIONS
QUESTION – (a) Find out the employee id, names, salaries of all the employees :
QUESTION – (b) List out the employees who works under manager 100 :
QUESTION – (d ) List out the employees whose last name is 'Gaikwad ' :
QUESTION – (e) Find the names of the employees who works in departments 60,70 and 80 :