Create Database Test
Create Database Test
Create Database Test
CONNECT test;
2. Display employees earning more than Rs.5,000. Label the column name “Employee”.
Ans: Select emp_name as Employee from EMP where salary>5000;
3. Display all employee names and employee numbers in the alphabetical order of names.
Ans: select emp_no,emp_name from EMP order by emp_name ASC;
7. Display the list of employees along with their department name and its manager.
9. Delete the records of all the employees hired in 1981 from EMP table.
Ans: delete from EMP where joining_date like ‘1981%’;