Professional Documents
Culture Documents
MODULE 2 Classification
As per Blooms
Questions Taxonomy
Consider the following company database.
1. L3
Emp (name, ssn, salary, superssn, gender, dno)
Dept (dnum, dname, mgrssn)
Dept_loc (dnum, dlocation)
Dependent (essn, pno, hours)
Project (pname, pnumber, plocation,dnum)
i) Retrieve the name of all employee who work with the same department as Shravan.
ii) Retrieve the name and no of dependents for an employee Chandan.
iii) Retrieve the names of managers working in location sadahalli and has no female
dependents.
iv) List female employees from dno=25 earning more than 50000
v) List CSE department details.
vi) Retrieve all the employee name who is working on all the projects in which John Smith
works.
Retrieve all the project numbers along with number of employee working on each project
Given the schema:
2. L3
Passenger (pid, pname, pgender, pcity)
Agency (aid, aname, acity)
Flight (fid, fdate, time, src, dest)
Booking (pid, aid,fid, fdate)
Explain cursors and its properties in embedded SQL with suitable example.
3. L2
How are assertions and triggers defined in SQL. Explain with an example.
4. L2
6. Describe the process of insert, updating and delete records in a SQL, and discuss the potential L2
challenges associated with insert, update and delete operations.
Provide examples to illustrate each.
7. Describe the role of aggregate, Set Theory and rename in the context of SQL. L2
Module - 4
Module - 5