Professional Documents
Culture Documents
AM.EN.U4AIE20038
Lab Assignment 1
21AI304 BIG DATA AND DATABASE MANAGEMENT
1. Create the tables and insert values in the employee and dept tables
2. Display all the records from the above tables
3. Display the empno and name of all the employees from department ‘Research’
4. Display empno, name, dept no and salary in the descending order of salary
5. Display the empno and name of all employees whose salary is between 20000 and 50000
7. Display the dept name and total salary of employees of each department.
11. Find the sum of the salaries of all employees of the ‘Accounts’ department, as well as the
maximum salary, the minimum salary, and the average salary in this department
12. Retrieve the name of each dept and number of employees working in each department which
has at least 2 employees
13. Retrieve the name of employees who born in the year 1990’s
THANK YOU