MLR Institute of Technology
DATABASE MANAGEMENT SYSTEMS LAB
II B. TECH- I SEMESTER
Course Code Category Hours / Week Credits Maximum Marks
L T P C CIE SEE Total
A5CS06 PCC
- - 3 1.5 30 70 100
COURSE OBJECTIVES
The course should enable the students to:
1. Apply the basic concepts of Database Systems and Applications.
2. Use the basics of SQL and construct queries using SQL in database creation and interaction
3. Design a commercial relational database system (Oracle, MySQL) by writing SQL using the
system.
4. Analyze and Select storage and recovery techniques of database system.
COURSE OUTCOMES
The course should enable the students to:
1. Apply the basic concepts of Database Systems and Applications.
2. Develop an ER model for a given database.
3. Use the basics of SQL and construct queries using SQL in database creation and interaction.
4. Design a commercial relational database system (Oracle, MySQL) by writing SQL using the system.
5. Analyze and Select storage and recovery techniques of database system.
6. Develop Procedures, Cursors, and Triggers in database system.
LIST OF EXPERIMENTS
WEEK -1 DDL Commands
Creation of Tables using SQL- Overview of using SQL tool and Data types in SQL
Altering Tables and
Dropping Tables
WEEK -2 Create Table with Primary key and Foreign Key& DML Commands
Creating Tables (along with Primary and Foreign keys),
Practicing DML commands-
Insert,
Update
Delete.
WEEK -3 Selection Queries
Practicing Select command using following operations
AND, OR
ORDER BY
BETWEEN
LIKE
Apply CHECK constraint
WEEK -4 AGGREGATE FUNCTIONS and Views
O
Orde
B.Tech- Computer Science and Engineering – MLR20 P a g e | 73
MLR Institute of Technology
Practice Queries using following functions
COUNT,
SUM,
AVG,
MAX,
MIN,
Apply constraint on aggregation using
GROUP BY,
HAVING,
VIEWS Create , Modify and Drop
WEEK -5 Nested QUERIES
Practicing Nested Queries using
UNION,
INTERSECT,
CONSTRAINTS
IN
WEEK -6 CO- RELATED NESTED QUERIES
Practicing Co – Related Nested Queries using
EXISTS,
NOT EXISTS. ANY, ALL
WEEK -7 JOIN QUERIES
Practicing Join Queries using
Inner join
Outer join
Equi join
Natural join
WEEK -8 TRIGGERS
Practicing on Triggers - creation of trigger, Insertion using trigger, Deletion using trigger, Updating
using trigger.
WEEK -9 PROCEDURES
Procedures- Creation of Stored Procedures, Execution of Procedure, and Modification of Procedure
WEEK -10 CURSORS
Cursors- Declaring Cursor, Opening Cursor, Fetching the data, closing the cursor.
WEEK -11 PL/SQL Part 1
. Practice PL/SQL –
block structure,
variables,
data types,
B.Tech- Computer Science and Engineering – MLR20 P a g e | 74
MLR Institute of Technology
WEEK -12 PL/SQL Part 2
. Practice PL/SQL –
operators,
control structures;
aseca
Case study 1: College Management
Case study 2 : An Enterprise/Organization
Case study 3 : Library Management system
Case study 4: Sailors and shipment system
TEXT BOOKS
1. Abraham Silberschatz, Henry F. Korth, S. Sudharshan, “Database System Concepts”, Sixth Edition,
Tata McGraw Hill, 2011.
2. Raghurama Krishnan, Johannes Gehrke, “Data base Management Systems”, TATA McGraw Hill,
3rd Edition, 2007.
WEB REFERENCES
1. http://www.learndb.com/databases/how-to-convert-er-diagram-to-relational-database
2. https://www.w3schools.com/sql/sql_create_table.asp
3. http://www.edugrabs.com/conversion-of-er-model-to-relational-model/?upm_export=print
4. http://ssyu.im.ncnu.edu.tw/course/CSDB/chap14.pdf
5. http://web.cs.ucdavis.edu/~green/courses/ecs165a-w11/8-query.pdf
B.Tech- Computer Science and Engineering – MLR20 P a g e | 75