Sunteți pe pagina 1din 9

EX: NO: 1

STUDY OF DDL COMMANDS

DATE:
AIM
To execute and verify the Basic SQL commands.
PROCEDURE
STEP 1: Start
STEP 2: Create the table with its essential attributes.
STEP 3: Add some attribute into the table
STEP 4: Alter modify a field width for a specified attribute.
STEP 5: Stop

EX: NO: 2

STUDY OF DML COMMANDS

DATE:
AIM;
Algorithm:
You have to write

To execute and verify the Basic SQL commands

EX:NO:3

SQL COMMANDS FOR NESTED QUERIES AND JOIN

QUERIES
DATE:
AIM
To execute and verify the SQL commands using nested queries and Join queries.
PROCEDURE
STEP 1: Start
STEP 2: Create the table with its essential attributes.
STEP 3: Insert attribute values into the table
STEP 4: Execute different Commands and extract information from the table.
STEP 5: Stop

4-SUB QUERIES
DATE:
AIM
To execute and verify the SQL commands using nested queries and Join queries.
PROCEDURE
STEP 1: Start
STEP 2: Create the table with its essential attributes.
STEP 3: Insert attribute values into the table
STEP 4: Execute different Commands and extract information from the table.
STEP 5: Stop

EX:NO: 5

SQL COMMANDS FOR VIEWS

DATE:
AIM
To execute and verify the SQL commands for Views.
PROCEDURE
STEP 1: Start
STEP 2: Create the table with its essential attributes.
STEP 3: Insert attribute values into the table.
STEP 4: Create the view from the above created table.
STEP 5: Execute different Commands and extract information from the View.
STEP 6: Stop

EX:NO: 6

PL/SQL PROCEDURES

DATE:
AIM
To write a PL/SQL procedures for the given queries.
ALGORITHM
STEP1:Start
STEP2:Create a table with necessary attributes.
STEP3:Insert the values into the table .
STEP4: Execute the procedure function to extract the data from the table.
STEP5: Display the information.
STEP6: End.

EX:NO: 7

PL/SQL FUNCTIONS

DATE:
AIM
To write a PL/SQL function for the given query.
ALGORITHM
STEP1:Start
STEP2:Create a table with necessary attributes.
STEP3:Insert the values into the table .
STEP4: Execute the procedure function to extract the data from the table.
STEP5: Display the information.
STEP6: End.

EX:NO:8

CURSOR

AIM
To write a Cursor Procedure for the queries.
PROCEDURE
STEP 1: Start
STEP 2: Initialize the Cursor Procedure based on the table attributes to which the
actual operation has to be carried out.
STEP 3: Develop the procedure with the essential operational parameters.
STEP 4: Specify the Individual operation to be each attribute.
STEP 5: Execute the Cursor procedure.
STEP 6: Stop

EX:NO:9

TRIGGER

DATE:
AIM
To develop and execute a Trigger for Before and After update, delete, insert
operations on a table.
PROCEDURE
STEP 1: Start
STEP 2: Initialize the trigger with specific table id.
STEP 3:Specify the operations (update, delete, insert) for which the trigger has to be
executed.
STEP 4: Execute the Trigger procedure for both Before and After sequences
STEP 5: Carryout the operation on the table to check for Trigger execution.
STEP 6: Stop

S-ar putea să vă placă și