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.