MERCHANT ENGINEERING COLLEGE, BASNA
B.E. SEMESTER III (CE)
DATABASE MANAGEMENT SYSTEMS
LIST OF EXPERIEMENTS
Book: SQL, PL/SQL, 3rd Revised Edition by Ivan Bayross
1. Introduction to Structured Query Language (SQL)
2. To study and implement Create, Insert, Select, Delete, Update, Alter
and Drop command
3. To study and implement various Data Constraints of SQL
Chapter 8: Interactive SQL PART- II
The Primary Key Constraint: 1st paragraph, Primary Key
constraints defined at the column level, syntax, Example 1,
Output
The Foreign Key (Self Reference) Constraint: 1st paragraph,
Principals of Foreign Key/References constraint, Foreign Key
constraint defined at the column level, Syntax, Example 3,
Output
The Unique Key Constraint: 1st paragraph, Unique Key
Constraint defined at the column level, syntax, Example 9,
Output
The Not Null Constraint: Not Null constraint defined at the
column level, 1st paragraph, syntax, Example 12, output
The CHECK Constraint: 1st paragraph, Check constraint defined
at the column level, syntax, Example 13, output
4. Computations done on table data and various oracle functions
Chapter 9: Interactive SQL PART- III
The IN and NOT IN predicates: 1st paragraph, Example 12
(synopsis, solution, output)
Aggregate Functions: Description & syntax of all functions
Numeric Functions: Description & syntax of all functions
String Functions: Description & syntax of all functions
Date Functions: Description & syntax of all functions
5. To study and implement Grouping and Subqueries
Chapter 10: Interactive SQL PART- IV
Grouping data from tables in SQL: GROUP BY Clause (1st
paragraph, syntax, Example 1, synopsis, solution, output)
SUBQUERIES: 1st paragraph, use of subqueries, Example 10,
synopsis, solution, output
Using Exists/ Not Exists operator: 1st, 2nd and 3rd paragraph,
Example 18 (synopsis, solution, output)
6. To study and implement Joins
Chapter 10: Interactive SQL PART- IV
JOINS: Joining multiple tables (1st paragraph, Description of
Inner, Outer and Cross Join, Example 20, 24, 25 and 26
(synopsis, solution, output)
7. To study and implement view and its types
Chapter 11: SQL performance tuning
VIEWS: 2nd & 5th paragraph, syntax, Example 13
8. To study and implement cursors
Chapter 16: PL/SQL Transactions
What is a Cursor: 1st paragraph
Types of cursors: 1st paragraph, general cursor attributes,
Example 4 with output
9. To study and implement stored procedures and stored functions
Chapter 18: PL/SQL database objects
What are procedures/functions: 1st, 2nd and 3rd paragraph
Procedures versus functions
Creating stored procedure: syntax
Creating a functions: syntax
10. To study and implement database triggers
Chapter 18: PL/SQL database objects
Introduction
Types of triggers: you have to write only description of row,
statement, before and after triggers
Syntax for creating a trigger