Professional Documents
Culture Documents
?
Loyola Institute of Techology And Management ?
DEPARTMENT OF CSE?
? a)Write a query for Creating and inserting rows into a table examples using SELECT command??
b)Creation of simple PL/SQL program which includes declaration section, executable section and exception ±
Handling section (Ex. Student marks can be selected from the table and printed forthose who secured first class and an
exception can be raised if no records were found)?
b)Display the employee number & name who do not earn any comm.?
c)Display the names of employees who working as clerks ,salesman or analyst and drawing a salary more than
3000??
??????a)Display the names of employees who are not working as Salesman or Analyst or Clerk??
b)Display the names of employees who working are in dept. number 10 or 20 or 40 or employees working as clerks
,Salesman or Analyst??
c)Display the employee name,deptname,salary and comm. for those Sal in between 2000 and 5000 while location is
Chicago??
d)Write a simple PL/SQL to print the reverse of a given number using WHILE LOOP??
?????4.a)Display the employee no. and total salary to all the employees??
b)Display the names of all employees who working are in department. number 10??
c) Display the names of all employees who working as clerks drawing a salary more than 3000??
d)Write a simple PL/SQL program to print the fibonacci series using FOR loop??
?????5.a)Display the employee number & name for employee working as clerk and earning highest salary among clerks??
b)Display the names of salesman who earns a salary more thn the lowest salary of the salesman??
c)Display the names of all employees who are working in accounting department??
d)Write a simple PL/SQL program to print the factorial of a given number by using a simple loop??
ô
?
m
?
6.a)Display the job groups having total salary greater than the salary for the manager??
b))Display the names of employee from department number 40 with salary greater than that of any employee
working in other department??
d)Write a simple PL/SQL program to check whether the given number is palindrome or not and insert into a table
reverse if the given number is palindrome??
d)Write a simple PL/SQL program to develop a simple cusor program by including cursor attributes??
d)Write a simple PL/SQL program to calculate the total wages paid to employee in department 20 and determine how
many of the employees have salaries higher than $2000 & how many have commission larger than their salries by
parameterized cursor with for loop??
d)Write a simple PL/SQL program to print the factorial of a given number by using a simple loop??
è
?