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

Assignment 3

This document outlines a lab assignment for BCA 2nd year students, focusing on various SQL tasks using Oracle. The problems include manipulating client data, formatting dates, and performing calculations related to dates and balances. Students are required to complete tasks such as adding columns, finding dates, and sorting client details.

Uploaded by

moujhuri.patra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Assignment 3

This document outlines a lab assignment for BCA 2nd year students, focusing on various SQL tasks using Oracle. The problems include manipulating client data, formatting dates, and performing calculations related to dates and balances. Students are required to complete tasks such as adding columns, finding dates, and sorting client details.

Uploaded by

moujhuri.patra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

DATABASE LAB (ORACLE)

Code: BCAC491

LAB ASSIGNMENT 3 BCA 2nd YEAR

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

Problem Problem Description Signature &


No.
Date
1. Add Rs.500 to balance_due of client table where city is Bombay using to_number function.

2. Show the system date in the format of ‘Month,DD,YYYY’ using to_char function.

3. Add a column ‘doj’ to enter date of joining of each client in the client master table.
Client_no doj
C01 25-dec-1998
C02 15-aug-1997
C03 14-feb-1980
C04 17-jun-1982
C05 29-aug-1987
4. For some reason add 2 months to doj of each client of client_master table.

5. Find out the last day of current system month.


6. Find out the number of months between 2nd, Feb,2023 and 2nd,April,2024.

7. Find out the next Thursday after today.


8. Show the client whose doj is greater than14-dec-1990.

9. Show the client whose doj is between 01-oct-1987 and 01-oct-1997.

10. Display the client details and day on which the client join.

11. Sort the client details in order of doj.

12. List the doj of clients in the format of ‘dd/month/yyyy’.

13. Find the date, 15 days later from today’s date.

14. Display the client name for those who joined in the month of June.
15. Display the difference between highest and lowest balance_due.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy