0% found this document useful (0 votes)
11 views

Syllabus (1)

The document outlines a course on Database Management Systems (DBMS) with a focus on relational database concepts, design, and SQL queries. It includes course learning outcomes, content divided into five units, assessment methods, and laboratory exercises. The course emphasizes practical SQL skills and theoretical knowledge, supported by textbooks and online resources.

Uploaded by

Aman Raj
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

Syllabus (1)

The document outlines a course on Database Management Systems (DBMS) with a focus on relational database concepts, design, and SQL queries. It includes course learning outcomes, content divided into five units, assessment methods, and laboratory exercises. The course emphasizes practical SQL skills and theoretical knowledge, supported by textbooks and online resources.

Uploaded by

Aman Raj
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

DATABASE MANGEMENT SYSTEM

Course Code 22ISG62 Credits 4


Hours/Week (L-T-P) 3:0:2 CIE Marks 50
Total Hrs. 52 Hours SEE Marks 50
Exam Hrs. 3 hrs. Course Type PICC
Course Component Theory
COURSE LEARNING OUTCOMES
1. 3. Describe the fundamentals of relational database concepts.
4. Design ER diagram for the given requirement specification.
5. Apply Normalization concept to eliminate anomalies and achieve consistent Database.
6. Design Relational algebra and SQL Queries for the given schema.
7. Describe the properties of database transactions and concurrency control Techniques.
8. Develop Relational Database application.
COURSE CONTENTS
UNIT -1- (8 Hrs.)
Advantages of using DBMS approach; Data models, schemas and instances; DBMS component
module Three- schema architecture and data independence; Database languages;
Classification of Database Management systems
Using High-Level Conceptual Data Models for Database Design; An Example Database
Application; Entity Types, Entity Sets, Attributes and Keys; Relationship types, Relationship
Sets, Roles and Structural Constraints; Weak Entity Types; ER Diagrams, Naming Conventions
and Design Issues; Relationship types of degree higher than two
UNIT -2- (9 Hrs.)
Relational database design using ER to relational mapping; Relational Model Concepts;
Relational Model Constraints and Relational Database Schemas; Update Operations,
Transactions and dealing with constraint violations; Unary Relational Operations: SELECT
and
PROJECT; Relational Algebra Operations from Set Theory; BinaryRelational Operations: JOIN
and DIVISION; Additional Relational Operations; Examples of Queries in Relational Algebra;
UNIT -3- (7 Hrs.)
Informal Design Guidelines for Relation Schemas; Functional Dependencies: Definition of FD,
Inference rulesfor FD; Normal Forms Based on Primary Keys; General Definitions of Second and
Third Normal Forms; Boyce-Codd Normal Form. Multi valued Dependencies and Fourth Normal
Form ; Join Dependencies
UNIT -4- (8 Hrs.)
SQL Data Definition and Data Types; Specifying basic constraints in SQL; Schema change
statements in SQL;Basic queries in SQL; More complex SQL Queries .Insert, Delete and Update
statements in SQL; Specifying constraints as Assertion and Trigger; Views (Virtual Tables) in
SQL
UNIT -5- (7 Hrs.)
Introduction to transaction processing: Transaction and system concepts; Desirable
Properties of transactions; Transactions and Schedules; Characterizing schedules based on
recoverability; Characterizing schedules basedon Serializability;
Concurrency Control Techniques: 2PL techniques for concurrency control;
TEXT BOOKS
SINO Unit Text Book Author(s) Publisher(s) Edition/Year of
Title Publication
1. All Fundamentals Elmasri and McGraw-Hill 7th Edition, 2017
of Database Navathe
Systems
REFERENCE BOOKS
1 All Database Raghu McGraw-Hill 3rd Edition,2003
Management Ramakrishnan
Systems and Johannes
Gehrke
2 Data base Silberschatz, Mc- GrawHill 7th Edition,2019
System Korth and
Concepts Sudharshan
ONLINE RESOURCES (Links to MOOCS, NPTEL, MIT COURSEWARE etc)
Topic/Title Link
Data Base Management System - Course (nptel.ac.in)
COURSE ASSESSMENT METHOD:
i. ii. Course Project for 20 marks.
iii. Three MSEs for 30 Marks (40% of MSE-1+ 40% of MSE-2 + 20% of MSE.
iv. Final examination, of 100 Marks will be conducted and will be evaluated for 50
Marks.
PEDAGOGY
  Blackboard teaching
 Hands on approach for SQL
 PowerPoint presentations (if needed)
CO-PO-PSO MAPPING
PO PSO PSO
CO
1 2 3 4 5 6 7 8 9 10 11 12 1 2
1 3 - - - - - - - - - - - - 3
2 3 2 3 - 3 - - - - - - - - 3
3 3 2 3 - 3 - - - 3 2 2 2 - 3
4 3 2 3 - 3 - - - 3 2 2 2 - 3
5 3 3 3 - 3 - - - 3 2 2 2 - 3
6 3 3 2 - 3 - - - 3 2 2 2 - 3
LABORATORY EXERCISES (LA)- (13 Hrs)

LIST OF EXPERIMENTS
1. College Database
Consider the schema for College Database:
STUDENT(USN, SName, Address, Phone, Gender) SEMSEC(SSID, Sem,
Sec)
CLASS(USN, SSID)
COURSE(Subcode, Title, Sem, Credits)
IAMARKS(USN, Subcode, SSID, Test1, Test2, Test3, FinalIA) Write SQL
queries to

1. List all the student


2. details studying in fourth semester ‘C’ section.
3. Compute the total number of male and female students in each semester and in each section.
4. Create a view of Test1 marks of student USN ‘1BI15CS101’ in all Courses.
5. Calculate the FinalIA (average of best two test marks) and update the corresponding table for all students.
6. Categorize students based on the following criterion:
If FinalIA = 17 to 20 then CAT = ‘Outstanding’ If FinalIA
= 12 to 16 then CAT = ‘Average’
If FinalIA< 12 then CAT = ‘Weak’
Give these details only for 8th semester A, B, and C section students.
2. Library Database
Consider the following schema for a Library Database:
BOOK(Book_id, Title, Publisher_Name, Pub_Year)
BOOK_AUTHORS(Book_id, Author_Name) PUBLISHER(Name, Address,
Phone) BOOK_COPIES(Book_id, Programme_id, No- of_Copies)
BOOK_LENDING(Book_id, Programme_id, Card_No, Date_Out, Due_Date)
LIBRARY_PROGRAMME(Programme_id, Programme_Name, Address)
Library database queries:
1. Retrieve details of all books in the library – id, title, name of publisher, authors, number of
copies in each Programme, etc.
2. Get the particulars of borrowers who have borrowed more than 3 books, but from Jan 2017 to Jun
2017.
3. Delete a book in BOOK table. Update the contents of other tables to reflect this data
manipulation operation.
4. Partition the BOOK table based on year of publication. Demonstrate its working with a simple
query.
Create a view of all books and its number of copies that are currently available in the Library.
3. Game Database-
Creation and insertion of Tables with basic SQL commands(with output)
Suppose you are given the following requirements for a simple database for the National Hockey
League (NHL):
1. the NHL has many teams,
2. each team has a name, a city, a coach, a captain, and a set of players,
3. each player belongs to only one team,
4. each player has a name, a position (such as left wing or goalie), a skill level, and a set of
injury records,
5. a team captain is also a player,
6. a game is played between two teams (referred to as host_team and guest_team) and has a
date (such as May 11th, 1999) and a score (such as 4 to 2).
4. Movie Database
Actor (act_id: integer, act_name, act_gender) Director (did, dname, d_phone) Movies(mov_id,
mov_title, mov_year, did) Movie_cast(act_id, mov_id, role) Ratings(rev_id, mov_id, rev_stars)
Creation, Insertion of Tables with basic SQL commands(with output)
4. Movie Database Queries
1. List the titles of all movies directed by ‘Sanjay Leela Bansali’.
2. Display all artists who acted in a film between 2016 and 2018.
3. Display the names of films with the stars received and sort the result on the basis of
stars.
4. Find the movie names where one or more actors acted in two or more movies.
5. Find the title of movies and number of stars for each movie that has at least one rating and
find the highest number of stars that movie received. Sort the result by movie title.
6. Update rating of all movies directed by ‘Ram Gopal Verma’ to 5.
5. Company Database
EMPLOYEE(SSN, Name, Address, Sex, Salary, SuperSSN, DNo) DEPARTMENT(DNo, DName, MgrSSN,
MgrStartDate) DLOCATION(DNo,DLoc)
PROJECT(PNo, PName, PLocation, DNo) WORKS_ON(SSN, PNo, Hours)
Company database SQL queries:
1. Make a list of all project numbers for projects that involve an employee whose last name is
‘Scott’, either as a worker or as a manager of the department that controls the project.
2. Show the resulting salaries if every employee working on the ‘IoT’ project is given a 10
percent raise.
3. Find the sum of the salaries of all employees of the ‘Accounts’ department, as well as the
maximum salary, the minimum salary, and the average salary in this department.
4. Retrieve the name of each employee who works on all the projects controlled by
department number 5 (use NOT EXISTS operator).
5. For each department that has more than five employees, retrieve the department number
and the number of its employees who are making more than Rs. 6,00,000.

You might also like