0% found this document useful (0 votes)
294 views

PLSQL Lab Assignment 1 PDF

The document contains instructions for 6 PL/SQL lab assignments - to write blocks that: 1) find the sum of two numbers, 2) update the total salary for employee 100, 3) find the larger of two numbers, 4) find the greatest of three numbers, 5) calculate overdue fines for return number 100 based on number of late days, and 6) generate a multiplication table from 3 to a given number.

Uploaded by

HarshSingh
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
294 views

PLSQL Lab Assignment 1 PDF

The document contains instructions for 6 PL/SQL lab assignments - to write blocks that: 1) find the sum of two numbers, 2) update the total salary for employee 100, 3) find the larger of two numbers, 4) find the greatest of three numbers, 5) calculate overdue fines for return number 100 based on number of late days, and 6) generate a multiplication table from 3 to a given number.

Uploaded by

HarshSingh
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

PL/SQL Lab Assignment-1

1) Write a PL/SQL block to find the sum of two numbers.

2) Write a PL/SQL block to update total sal for empno 100.

Eno,ename, bp,da,hra,total.

3) Write a PL/SQL block to find the larger of two numbers

4) Write a PL/SQL block to find the geatest of three numbers

5) Write a PL/SQL block to calculate fine for rno 100

Rno, bookno, doi, dor, fine

Fine is Rs 1 if days<7

Fine is Rs 2 if days<14 and >7

Fine is Rs 3 if days>14

Amount mentioned is for each day.

6) Write a PL/SQL block to generate multiplication table for 3 to n.

You might also like