Data Base Management ENTC - 9-6-2021
Data Base Management ENTC - 9-6-2021
Data Base Management ENTC - 9-6-2021
Course Contents
Unit I Introduction to DBMS (7 Hrs)
Introduction to Database Management Systems, Purpose of Database Systems, Database-System
Applications, Data Abstraction and Database System Structure.
Relational Model: Structure of relational databases, Domains, Relations, Relational algebra –
fundamental operators and syntax, relational algebra queries, tuple relational calculus.
Entity-Relationship model: Basic Concepts, Entity Set, Relationship Sets and Weak Entity Sets,
Mapping Cardinalities, Keys, E-R diagrams, Design Issues, Extended E-R Features, Converting E-R &
EER diagram into tables.
Mapping of Course CO1: Ability to implement the underlying concepts of a database system.
Outcomes for Unit I
Learning Resources
Text Books:
1. Database System Concepts, Abraham Silberschatz, Henry F. Korth& S. Sudarshan, McGraw
Hill
2. An introduction to Database Systems, C J Date, Addition-Wesley
Reference Books:
1. Understanding SQL by Martin Gruber, BPB
2. SQL- PL/SQL by Ivan Bayross
3. S.K.Singh, ―Database Systems : Concepts, Design and Application‖, Pearson, Education, ISBN
978-81-317-6092-5
MOOC / NPTEL Courses:
2. Design and develop at SQL DDL statements which demonstrate the use of SQL
objects such as Table, View, Index, Sequence and Synonym.
3.
Design and develop at least 5SQL queries for suitable database application using SQL
DML statements: Insert and Select with operators and functions.
4. Design and develop at least 5 SQL queries for suitable database application using SQL
DML statements: Update and Delete with operators and functions.
5. Design and develop at least 5 SQL queries for suitable database application using SQL
DML statements: all types of Join and Sub-Query.
Frame the problem statement for writing PL/SQL block in line with above
statement.
Problem Statement: Consider table Stud(Roll, Att,Status)
Write a PL/SQL block for following requirement and handle the exceptions. Roll no. of
student will be entered by user. Attendance of roll no. entered by user will be checked in
Stud table. If attendance is less than 75% then display the message “Term not granted”
and set the status in stud table as “D”. Otherwise display message “Term granted” and set
the status in stud table as “ND”
7. Cursors: (All types: Implicit, Explicit, Cursor FOR Loop, Parameterized Cursor)
Write a PL/SQL block of code using parameterized Cursor that will merge the data
available in the newly created table N_RollCall with the data available in the table
O_RollCall. If the data in the first table already exist in the second table then that data
should be skipped.
Frame the separate problem statement for writing PL/SQL block to implement all
types of Cursors in line with above statement. The problem statement should clearly
state the requirements.
9. Database Trigger (All Types: Row level and Statement level triggers, Before and After
Triggers). Write a database trigger on Library table. The System should keep track of the
records that are being updated or deleted. The old value of updated or deleted records
should be added in Library_Audit table.
Frame the problem statement for writing Database Triggers of all types, in-line with
above statement. The problem statement should clearly state the requirements.
11. Using the database concepts covered in Group A & Group B & connectivity concepts
covered in Group C, students in group are expected to design and develop database
application with following details:
Requirement Gathering and Scope finalization
Database Analysis and Design:
• Design Entity Relationship Model, Relational Model, Database Normalization
• Implementation :
• Front End : Java/Perl/PHP/Python/Ruby/.net
• Backend : MYSQL/Oracle
• Database Connectivity : ODBC/JDBC