db5 PDF

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

DATABASE MANAGEMENT SYSTEM

DATA BASE MANAGEMENT SYSTEMS

LAB ASSIGNMENT-5

NAME:-Ashish Singh

REG.NO:-18BCE2411

SLOT NO:-L55+L56

FACULTY NAME:-Anand Bihari

1) Write a simple PL/SQL block to solve the following

m
1. Add two number

er as
co
eH w
o.
rs e
ou urc
o
aC s
vi y re
ed d
ar stu

2. Find odd even.


is
Th
sh

This study source was downloaded by 100000832717836 from CourseHero.com on 12-08-2021 06:08:26 GMT -06:00

https://www.coursehero.com/file/67835723/db5pdf/
DATABASE MANAGEMENT SYSTEM

m
er as
co
eH w
o.
rs e
ou urc
3. Reverse the number.
o
aC s
vi y re
ed d
ar stu
is
Th
sh

4. Write a function to print fibonacci series

This study source was downloaded by 100000832717836 from CourseHero.com on 12-08-2021 06:08:26 GMT -06:00

https://www.coursehero.com/file/67835723/db5pdf/
DATABASE MANAGEMENT SYSTEM

m
er as
co
eH w
o.
rs e
ou urc
o
aC s
vi y re
ed d
ar stu

5. Write a procedure to find factorial of a number


is
Th
sh

This study source was downloaded by 100000832717836 from CourseHero.com on 12-08-2021 06:08:26 GMT -06:00

https://www.coursehero.com/file/67835723/db5pdf/
DATABASE MANAGEMENT SYSTEM
Write a cursor for the following
1.Display the train name and type.

m
er as
co
eH w
o.
rs e
ou urc
o
aC s
vi y re

2. Display the passenger name whose reservation status is confirmed.


ed d
ar stu
is
Th
sh

This study source was downloaded by 100000832717836 from CourseHero.com on 12-08-2021 06:08:26 GMT -06:00

https://www.coursehero.com/file/67835723/db5pdf/
DATABASE MANAGEMENT SYSTEM
3. Write a cursor to check whether the passenger information is stored or not. If data is not
stored then print “Your information is not given”, otherwise displays the information.

m
er as
co
eH w
o.
rs e
ou urc
o
aC s
vi y re
ed d
ar stu
is
Th
sh

This study source was downloaded by 100000832717836 from CourseHero.com on 12-08-2021 06:08:26 GMT -06:00

https://www.coursehero.com/file/67835723/db5pdf/
Powered by TCPDF (www.tcpdf.org)

You might also like