DBMS Assignment 26.02.2021
DBMS Assignment 26.02.2021
2021
Consider the following employee table and execute the queries based on it
Arun is a manager
12. Show the monthly salary details in the following fashion
Monthly Salary Details
Arun’s monthly salary is Rs. 90000
33. Find the Cartesian product between Employee and Department table.
34. Show the employee names and the respective department location.
35. Give an example of the following joins considering employee and department tables.
k. Natural join
l. Inner join
m. Left outer join
n. Right outer join
o. Full outer join
36. Find the Cartesian product between Employee and Department table.
37. Show the employee names and the respective department location.
38. Find the employee name and date of joining who are working in Delhi
39. Create a table ‘Emp_Address’ for storing the permanent address of the employees and insert
the following values:
40. Display the name of employees, department location and the city name the employee belongs
to, from the Employee, Department and Emp_Address tables.
41. Find the name of each department’s manager.
42. Create ‘Job_Grades’ table and insert the following values:
43. Display the employee names with their respective job grades and salary.