0% found this document useful (0 votes)
50 views12 pages

ADB - Practical Material 2024

This document is a lab manual for an Advanced Database Systems course prepared by Dr. Vasanthi Muniasamy and others. It contains 9 activities to complete PL/SQL programming assignments with marks assigned for each. The activities involve writing programs to calculate factorials and Fibonacci series, display names and numbers in triangle formats, print tables, greetings based on time, print odd numbers in a range, use cursors to display student data, and implement triggers.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views12 pages

ADB - Practical Material 2024

This document is a lab manual for an Advanced Database Systems course prepared by Dr. Vasanthi Muniasamy and others. It contains 9 activities to complete PL/SQL programming assignments with marks assigned for each. The activities involve writing programs to calculate factorials and Fibonacci series, display names and numbers in triangle formats, print tables, greetings based on time, print odd numbers in a range, use cursors to display student data, and implement triggers.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 12

Dr. Vasanthi Muniasamy, Mrs. Sridevi Tharanidharan, Mrs.

Anamika Raj,
Department of Computer Science, Al-Mahala Female Campus

Lab Manual

2223 NAL - 2
Advanced Database Systems
[PRACTICAL ACTIVITY BOOK]

Prepared by
Dr. Vasanthi Muniasamy

Department of Computer Science,


Program: Information Systems
Academic year-2023-2024

1
Dr. Vasanthi Muniasamy, Mrs. Sridevi Tharanidharan, Mrs. Anamika Raj,
Department of Computer Science, Al-Mahala Female Campus

Index Page

S. No Marks Given Date Submission Date Signature

1 3

2 3

3 3

4 2

5 2

6 2

7 2

8 5

9 8

2
Dr. Vasanthi Muniasamy, Mrs. Sridevi Tharanidharan, Mrs. Anamika Raj,
Department of Computer Science, Al-Mahala Female Campus

Activity - 1
Marks: 3

1.Write a PL/SQL program to find the Factorial value of given numbers.

Result:

3
Dr. Vasanthi Muniasamy, Mrs. Sridevi Tharanidharan, Mrs. Anamika Raj,
Department of Computer Science, Al-Mahala Female Campus

Activity - 2
Marks: 3

1. Write a PL/SQL program to produce the Fibonacci series up to the given number limit.

Result:

4
Dr. Vasanthi Muniasamy, Mrs. Sridevi Tharanidharan, Mrs. Anamika Raj,
Department of Computer Science, Al-Mahala Female Campus

Activity – 3
Marks: 3

1. Write a PL/SQL program to display the characters of your name in right triangle format.

Result:

5
Dr. Vasanthi Muniasamy, Mrs. Sridevi Tharanidharan, Mrs. Anamika Raj,
Department of Computer Science, Al-Mahala Female Campus

Activity – 4
Marks: 2

1. Write a PL/SQL program to display the numbers up to N in right triangle format.

Result:

6
Dr. Vasanthi Muniasamy, Mrs. Sridevi Tharanidharan, Mrs. Anamika Raj,
Department of Computer Science, Al-Mahala Female Campus

Activity – 5
Marks: 2

1. Write a PL/SQL program to print a table for a given number.

Result:

7
Dr. Vasanthi Muniasamy, Mrs. Sridevi Tharanidharan, Mrs. Anamika Raj,
Department of Computer Science, Al-Mahala Female Campus

Activity – 6
Marks: 2

1. Write a PL/SQL program to greet according to the system time.

Result:

8
Dr. Vasanthi Muniasamy, Mrs. Sridevi Tharanidharan, Mrs. Anamika Raj,
Department of Computer Science, Al-Mahala Female Campus

Activity – 7
Marks: 2

1. Write a PL/SQL program to print odd numbers within the given range.

Result:

9
Dr. Vasanthi Muniasamy, Mrs. Sridevi Tharanidharan, Mrs. Anamika Raj,
Department of Computer Science, Al-Mahala Female Campus

Activity – 8
Marks: 5

1. Write a PL/SQL program to display the information [ID, NAME] of student table also display the number of
records in the table using CURSOR.

Step 1: Create a table student with ID, NAME, MARKS.

Step 2: Insert the following values.

1 AAA 100
2 BBB 78
3 CCC 65
Step3:;.ne

Result:

Activity – 9
10
Dr. Vasanthi Muniasamy, Mrs. Sridevi Tharanidharan, Mrs. Anamika Raj,
Department of Computer Science, Al-Mahala Female Campus
Marks: 8

1. Write a PL/SQL program to implement the concept of trigger.

Step 1: Create a table student with ID, NAME, MARKS

Step 2: Insert the following values.

1 JACK 90
2 BILLY 58
3 ROSE 70
Step 3:

create a table studummy with ID, NAME, MARKS

Step 4:

Step 5:

delete from student where id=2;

Step 6:
Select * from studummy;
Step 7:
Select * from student;

Result:

11
Dr. Vasanthi Muniasamy, Mrs. Sridevi Tharanidharan, Mrs. Anamika Raj,
Department of Computer Science, Al-Mahala Female Campus

12

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