Module1&2_QB
Module1&2_QB
Module2
1. Explain the different types of update operations on relational database. How basic operation deals with constraint
violation?
2. Explain the different Relational Model constraints.
3. Explain Unary relational operations with examples.
4. What is an Integrity Constraint? Explain the importance of Referential Integrity Constraint.
5. Explain the following relational algebra operation. JOIN, DIFFERENCE, SELECT, UNION and PROJECT, DIVISION.
6. Discuss Equi join and Natural join with suitable examples
7. Explain the relational algebra operation for set theory with examples.
8. Explain Aggregate functions and grouping.
9. Discuss the characteristics of the relation that makes them different from ordinary tables and files
10. Consider the following COMPANY database EMP(Name,SSN,Salary,SuperSSN,Gender,Dno)
DEPT(DNum,Dname,MgrSSN,Dno)
DEPT_LOC(Dnum,Dlocation)
DEPENDENT(ESSN,Dep_name,Sex)
WORKS_ON(ESSN,Pno,Hours)
PROJECT(Pname,Pnumber,Plocation,Dnum)
Write the relational algebra queries for the following
(i)Retrieve the name, address, salary of employees who work for the Research department.
(ii) find the names of employees who work on all projects controlled by department number4.
iii) Retrieve the SSN of all employees who either in department no :4 or directly supervise an employee
who work in department number :4
(iv) Retrieve the names of employees who have no dependents
(v) Retrieve each department number, the number of employees in the department and their average salary.
11. Consider the following two tables
14. Summarize the steps involved in converting the ER constructs to corresponding relational tables or Describe the steps of
an algorithm for ER to relational mapping
15. Create Table
16. Solve