You are on page 1of 3

# SET-A

1. Write a query to find out details of all employees who has hired in the month of
January.

2. List out employees those who have hired as clerk and analyst.

3. Calculate the sum, average of employees whose job is as like as smiths job.

## 6.write a PL/SQL program to calculate DA(20%),HRA(40%) and TA(25%)from basic

salary of all employee.

SET-B

1. Write a query to find out the total and grant total of employees of each
department.

2. Write a query to list out those employees whose earning is greater than the
smiths.

## 4. Write a PL?SQL program to calculate the summation of given number.

(123=1+2+3)

5. Write a PL/SQL program to enter the name and department of employee and
display the details of that employee.

## 6. Write a program to calculate the area of a square.

SET-C

Write a query to display the following format of data from employee table-

## 1. Write a query to find the corresponding day of the following date-

‘01-apr-98’
2. Write a Query to display the sum and average salary of each department but
job should be ANALYST.

table called

Cir_area.

## 5. Create Function to calculate the power of a number.(22=4)

SET –D

1. Write a query to view name of those employee whose names second letter is
L.

PRESIDENT.

with nocycle.

## 6. Write a PL/SQL program for Fibonacci series 1, 1, 2, 3….

SET-E

1. Find the number of months between two date ’01-jan-98’ and ‘01-aug-98’.

2. Llist out the employees whose comm. Is greater than the salary.

## 3. crate a sequence which is start with 2 ,end in 30 ,increment by 1with cycle.

4. write a PL/SQL program to calculate the area of a triangle.

## 5. Create a procedure for reverse of a number.

6. Write a program to enter the department number and display the department
name from

Dept table.