0% found this document useful (0 votes)
4 views3 pages

Aim&Algorithm

The document outlines various database operations, including the implementation of DDL, DML, DQL commands, set operations, joins, nested subqueries, stored procedures, triggers, and views. Each section provides an aim and a step-by-step algorithm for creating tables and executing commands with necessary attributes. The focus is on ensuring constraints and extracting information from the tables created.
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)
4 views3 pages

Aim&Algorithm

The document outlines various database operations, including the implementation of DDL, DML, DQL commands, set operations, joins, nested subqueries, stored procedures, triggers, and views. Each section provides an aim and a step-by-step algorithm for creating tables and executing commands with necessary attributes. The focus is on ensuring constraints and extracting information from the tables created.
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/ 3

3.

2 IMPLEMENTATION OF DDL WITH CONSTRAINT


AIM

To create a table named "Student and Exam" with necessary columns and
then perform the DDL commands with constraint.

ALGORITHM:
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.2 IMPLEMENTATION OF DML COMMANDS (with constraint)
AIM

To create a table named "Student and Exam" with necessary columns and
then perform the DML commands with Constraint.

Algorithm:
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

5.2 IMPLEMENTATION OF DQL COMMANDS (with constraint)


AIM
To create a table named "Student" with necessary columns and then
perform the DQL commands with constraint.

ALGORITHM:
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.
10.1 SET OPERATIONS

AIM

To create a table named "Employee" with necessary columns and then


perform the Set Operations.

ALGORITHM:
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.

10.2 JOINS
AIM
To create a table named "Cseitstudent and Placement" with necessary
columns and then perform the Joins.

ALGORITHM
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

10.3 NESTED SUB QUERIES

AIM

To create a table named "Employee1, Cseitstudent and Placement" with


necessary columns and then perform the Nested Sub Queries.

ALGORITHM:
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.
11. Stored procedure
Aim

To crate table name “stud” and implement the concept of stored


procedures.

ALGORITHM:
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.

12. TRIGGERS
Aim
To create the table “Book” and use Trigger to prevent the database error while DML
statements used.
ALGORITHM:
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.

13. Create View and index


AIM

To create a table named " Cseitstudent and Placement" with necessary


columns and then perform and update View in RDBMS.
ALGORITHM:
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.

You might also like