Académique Documents
Professionnel Documents
Culture Documents
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
1.
2.
3.
4.
5.
6.
7.
8.
9.
What is a trigger and what is the difference between Row Level and Statement Level
trigger??
What is Autonomous transaction in PL/SQL?
What is Global Temporary Tables and What is it Purpose?
What is Mutating error in PL/SQL Triggers?
What is RAISE_APPLICATION_ERROR is PL/SQL?
What is SYS_GUID() function? and what is the purpose of SYS_GUID function?
What is the maximum number of triggers, can apply to a single table?
What steps are included in the compilation process of a PL/SQL block?
How to avoid usage of Cursors in PL/SQL?
How to return more than one value from a Function in PL/SQL
How is the Cursor declared in Procedure is different from Cursor defined in Package
Specification?
What is RAISE_APPLICATION_ERROR in PL/SQL Exception handling??
What is PRAGMA EXECPTION_INIT?
What happens if a procedure which updates a column of table X is called in a database
trigger of the same table?
What is the purpose of WHERE CURRENT OF statement in PL/SQL?
Why cant we use SQLERRM and SQLCODE in INSERT Statement?
Can we write When OTHERS Exception at the beginning of the exception block and some
other exceptions after that ?
What is Cursor Variables or REF CURSOR ?
What are the Disadvantages of Cursor Variables?
What are the advantages of using %TYPE and $ROWTYPE in PL/SQL?
How to find Package/Procedure name and Line Number where the program got errored
out???
What is BULK COLLECT in PL/SQL?
10.
11.
How to display those employees who joined the company before 15 of the month?
How to display employee name and his salary whose salary is greater than highest average
of department number?
12. How to display those employee whose 10% of salary is equal to the year of joining?
13. How to display those employee who joined in the company in the month of Dec?
14. How to display those employee whose salary is ODD value?
15. How to find out last 5 (least) earners of the company.?
16. How to display employee name, sal, comm and net pay for those employee whose net pay is
greater than or equal to any other employee salary of the company?
17. How to display those managers name whose salary is more than average salary of his
employee?
18. How to display dname where at least 3 are working and display only department name?
19. How to find out the top 5 earners of company based on emp dept table?
20. How to display all employees name,job,salary,grade and depart name for every one in the
company except CLERK.Sort on salary display the highest salary?
21. How to display grade and employees name for the dept no 10 or 30 but grade is not 4 while
joined the company before 31-dec-82?
22. How to display those employees who are working in the same dept where his manager is
work?
23. How to display employee name, dept name, salary and comm for those sal in between 2000
to 5000 while location is Chicago?
24. How to display the Job groups having total salary greater than the maximum salary for
managers?
25. How to display the names of the employees who earn highest salary in their respective
departments?
26. How to display the names of clerks who earn a salary more than the lowest salary of any
salesman?
27. How to display the employee number and name for employee working as clerk and earning
highest salary among clerks?
28. How to display name,salary,hra,pf,da,total salary for each employee. The output should be in
the order of total salary,hra 15% of salary,da 10% of salary,pf 5% salary,total salary will
be(salary+hra+da)-pf?
29. How to display the names of employees whose names have second alphabet A in their
names?
30. How to display the names of the employees who are working in the company for the past 5
years?
31. How to display the names of all the employees who are working as clerks and drawing a
salary more than 3000?
32. How to display the employee name and annual salary for all employees including
commission?