BIT202 Database Management System

Database Management SystemTU Board 2080

From the the relations given below, answer the following questions. EMPLOYEE (Ssn, Fname, Bdate, Address, Sex, Salary, Super ssn, Dno) DEPARTMENT (Dname, Dnumber, Mgr ssn, Mgr start date) PROJECT…

10

From the the relations given below, answer the following questions. EMPLOYEE (Ssn, Fname, Bdate, Address, Sex, Salary, Super_ssn, Dno) DEPARTMENT (Dname, Dnumber, Mgr_ssn, Mgr_start_date) PROJECT (Pname, Pnumber, Plocation, Dnum) DEPENDENT (Essn, Dependent_name, Sex, Bdate, Relationship) DEPT_LOCATIONS (Dnumber, Dlocation) a) Retrieve the name and address of all employees who work for the 'Computer' department in SQL b) For each Department, retrieve the department number, the number of employees in the department, and their average salary using SQL. c) Retrieve the employees name and their Dname and Pname ordered by the employee's Dname. d) Retrieve the name and salary of all employees who work in department number 5 using Relational Algebra. e) Retrieve the name of the manager of each department using Relational Algebra.

A worked answer is on its wayMeanwhile, read the Database Management System notes for this topic.

Discussion

Loading…

More Database Management System questions

All Database Management System old questions