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

Assignment 2

This document outlines Lab Assignment 2 for BCA 2nd Year students, focusing on various database operations using Oracle. It includes tasks such as counting clients, inserting a new column for balance due, calculating averages, and demonstrating SQL functions. The assignment also requires sorting data and filtering clients based on specific criteria, with a submission deadline of March 7, 2025.

Uploaded by

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

Assignment 2

This document outlines Lab Assignment 2 for BCA 2nd Year students, focusing on various database operations using Oracle. It includes tasks such as counting clients, inserting a new column for balance due, calculating averages, and demonstrating SQL functions. The assignment also requires sorting data and filtering clients based on specific criteria, with a submission deadline of March 7, 2025.

Uploaded by

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

DATABASE LAB (ORACLE)

Code: BCAC491

LAB ASSIGNMENT 2 BCA 2nd YEAR

Student Name……………………………… Roll No…………

Problem Problem Description Signature &


No.
Date
1. Count the number of clients.
2. Insert a column as “balance_due” and insert the following values.
Client_no Balance_due
C01 15000
C02 0
C03 5000
C04 0
C05 2000
3. Find the average value of balance_due.
4. Find the minimum value of balance_due.
5. Find the maximum value of balance_due.
6. Find the number of clients.

7. Find the summation value of balance_due.

8. Show the use of following function.


1.Abs() 2.power() 3.round() 4.sqrt() 5.lower 6.upper()
7.initcap() 8.length() 9.substr() 10.ltrim() 11.rtrim() 12.lpad()
13.rpad()

9. Display the system date.

10. Calculate 2*2 from dual.

11. Sort the value of the table in order of balance_due in ascending order.

12. Sort the value of the table in in order of balance_due in descending order.

13. Count how many different cities are there in client table.

14. Find out the clients details whose city is Bombay and balance_due is greater than 5000.

Submission Date:07/03/2025

You might also like