Professional Documents
Culture Documents
DBMS Imp QNS Mid !
DBMS Imp QNS Mid !
2. Explain the difference between external, logical and physical level schemas. How
are these different schema layers related to the concepts of logical and physical
data independence?
4. Define Instance and Schema. Explain the three tier schema architecture and
queries:
deptno number(2,0),
constraint fk_deptno foreign key (deptno) references dept (deptno)); a) Display the
empno, ename and deptno of employees who joined between 05-
b) Display the empno, ename and annual salary(sal X 12) of those employees who are
working in deptno 20 or whose job is 'MANAGER
c) Display the employee details whose ename starts with 'S' and end with 'H' d)
Display the count of employees whose commission(comm) is NULL
e) Display the employee details who are working in the same department as *JONES'
f) Display the distinct jobs of those employees who are working in deptno 20.
g) Display the employee who are working with a designation (job) is other than
those designations(job) of employees in deptno 10. h) Display the employee details
whose manager(mgr) is "JONES'
10. Explore the purpose and importance of NULL. How NVL and NVL2 functions will
help in handling NULL values.
12. Explore symbolic representation of entity, entities, attributes,
i) Display employees who are joined in years 1980, 1982, 1987 i) Display employees
who joined in Feb 1981