RDBMS Practical Index
RDBMS Practical Index
INDEX
Assignment -1
Sr. Title Page No Sign
No
1 Create Customer table that stores customer id, name and
address.
2 Insert 5 records in above table.
3 Relational Algebra: SELECT and PROJECT Operations
4 Relational Algebra: UNION and INTERSECTION
Operations
5 Relational Algebra: RENAME Operation.
6 Transaction Control Language (TCL) - COMMIT,
SAVEPOINT, and ROLLBACK
Assignment -2
Sr. Title Page No Sign
No
1 Creating and inserting data into a table (Students).
2 Retrieving ROWID and using the DUAL table for date
functions.
3 Creating a stored procedure to fetch student details.
4 Working with date functions like SYSDATE, TO_CHAR,
LAST_DAY, and ADD_MONTHS.
5 Creating and dropping an index on a column.
6 Executing different types of joins (INNER, LEFT, RIGHT)
between
7 Students and Class tables.
8 Using subqueries in INSERT, UPDATE, and DELETE
operations.
Assignment -3
Sr. Title Page No Sign
No
1 Write a PL/SQL block to display "Hello, World!"
2 Declare and assign values to variables.
3 Create and use a user-defined record.
4 Use an IF…THEN statement to check if an employee’s salary is
greater than 50,000.
5 Use IF…ELSE to check if a number is even or odd.
6 Use multiple conditions to display employee status based on
experience.
7 Write a nested IF statement to check marks and display
"Excellent" or "Passed."
8 Use a CASE statement to display department names based on
codes.
9 THEN statement to check if an employee’s salary is greater than
50.
Assignment -4
Sr. Title Page No Sign
No
1 WAP To PL/SQL Loop…END Loop Using IF condition.
2 WAP To PL/SQL Loop…END Loop Using EXIT WHEN
condition.
3 WAP To PL/SQL Loop And Loop using Nested Loop.
4 WAP To WAP Perform To PL/SQL using FOR LOOP
5 WAP PL/SQL for Nested Loop using FOR LOOP.
6 WAP Perform To PL/SQL using WHILE LOOP
7 WAP PL/SQL for Nested Loop using WHILE LOOP.
8 WAP Perform To PL/SQL using CONTINUE Statement using
To print all odd numbers between 1 to 20.
Assignment -5
Sr. Title Page No Sign
No
1 Write a PL/SQL block using an implicit cursor to insert data.
2 Write a PL/SQL block using an explicit cursor to display
employee details.
3 Use %FOUND and %NOTFOUND to check for record existence.
4 Use %ROWCOUNT to count the number of rows fetched by a
cursor.
5 Handle NO_DATA_FOUND and ZERO_DIVIDE exceptions.
6 Write a user-defined exception for an invalid salary value