Professional Documents
Culture Documents
Questions :
a. Construct an ER diagram of the Indian
cricket team.
b. Construct an ER diagram of tennis player.
c. Illustrate the super type / sub type
relationship where the overlap rule applies
taking the ER diagram of the Indian cricket
team as an example.
d. Illustrate the super type / sub type
relationship where the disjoint rule applies
taking the ER diagram of the Indian cricket
team as an example.
3. Is DBMS usage always advisable or some times
we may depend on file base systems? Comment
on the statement by describing the situation
where DBMS is not a better option and file base
systems is better.
4. Consider the following employee database
schema:
EMPLOYEE (ESSN, ENAME, DEPT_NO, SALARY)
DEPENDENT (ESSN, DEPEND_NAME, RELATION, DOB)
DEPARTMENT (DEPT_NO, DEPT_NAME, MANAGER)
(a) Create the procedures for following queries:
1. Find details of dependents for employee
having name SUERSH.
2. Find the name of the manager of the
department in which employee with ESSN
code 5078 works.
3. Find the name of all employees whose age is
less than 18 years.
4. Find the DOB of the son of the employee
having employee code ESSN 5078.
5. Find the details of the departments in which
the employee having employee code ESSN
5078 has worked.
9
(b) Write appropriate triggers, exceptions and
functions for the above employee database
schema :
10
1.7 MANAGEMENT INFORMATION SYSTEM