BMBA205

Database Management System and SQL

L-T-P2-0-2 Credits3 Session2024-25 TypeTheory
Appears in 1 semester

MBA Business Analytics · Sem 2 (Core)

Syllabus

5 units · 40 lecture hours
Unit1

Unit 1

8 hrs

Introduction to Databases: Definition, characteristics, and types of databases (hierarchical, network, relational). DBMS Overview: Definition, advantages, components, and architecture of DBMS (schema, instances, and database languages). Data Models: Overview of different data models (hierarchical, network, relational, object-oriented). Introduction to Relational Databases: Basic concepts of relational databases, tables, rows, columns, and keys. Database Applications: Examples of database applications in business (CRM, ERP, e-commerce).

Unit2

Unit 2

8 hrs

Entity-Relationship (ER) Model: Entities, attributes, relationships, ER diagrams, and converting ER diagrams to relational schemas. Relational Database Design: Designing relational schemas, primary keys, foreign keys, and constraints. Normalization: Concept of normalization, functional dependencies, normal forms (1NF, 2NF, 3NF, BCNF), and their importance in database design. Designing Relational Databases: Practical steps in designing a relational database, identifying entities, relationships, and attributes.

Unit3

Unit 3

8 hrs

Introduction to SQL: Overview of SQL, history, and importance in database management. Basic SQL Queries: SELECT statement, filtering data with WHERE clause, sorting data using ORDER BY, and using DISTINCT to eliminate duplicates. Working with Multiple Tables: JOIN operations (INNER JOIN, LEFT JOIN, RIGHT JOIN, FULL JOIN) to retrieve data from multiple tables. Data Aggregation: Aggregate functions (COUNT, SUM, AVG, MIN, MAX), GROUP BY and HAVING clauses. Subqueries: Writing subqueries in SQL and understanding their use in complex queries.

Unit4

Unit 4

8 hrs

SQL Functions: String functions, date functions, and mathematical functions. Views in SQL: Creating and managing views, advantages of using views in database management. Transactions in SQL: Understanding transactions, ACID properties, COMMIT, ROLLBACK, and SAVEPOINT commands. Indexes: Introduction to indexing, types of indexes, and their role in query optimization. Stored Procedures and Triggers: Introduction to stored procedures and triggers, creating and managing them in SQL.

Unit5

Unit 5

8 hrs

Database Security: Importance of database security, user roles, privileges, and access control. Backup and Recovery: Techniques for database backup, recovery, and ensuring data integrity. Database Performance Tuning: Basic concepts of performance tuning, query optimization, and database maintenance. Case Study 1: Designing and implementing a database for a small business application (e.g., inventory management). Case Study 2: Analyzing a business dataset using SQL queries to generate insights and reports.

Course Objectives5 points
  • To provide a comprehensive understanding of database management systems (DBMS) and their importance in business applications.
  • To equip students with the skills to design, implement, and manage databases using SQL.
  • To enable students to retrieve and manipulate data using SQL for business decision-making.
  • To develop an understanding of database normalization, relationships, and indexing.
  • To prepare students to use advanced SQL techniques for complex queries and database management.
Course Outcomes (COs)5 outcomes

After completion of the course student will be able to:

  1. CO1Students will be able to explain the fundamental concepts of DBMS and describe their applications in business contexts.K2 (Understand)
  2. CO2Students will be able to design a normalized relational database schema based on business requirements.K3 (Apply)
  3. CO3Students will be able to write basic SQL queries to retrieve, filter, and manipulate data from a relational database.K3 (Apply)
  4. CO4Students will be able to use advanced SQL techniques, such as indexing and transactions, to optimize database performance.K4 (Analyze)
  5. CO5Students will be able to administer a database, ensure its security, and apply SQL knowledge to solve real-world business problems.K6 (Evaluate)

Suggested Readings

  1. Database System Concepts by Abraham Silberschatz, Henry F. Korth, and S. Sudarshan, McGraw- Hill
  2. SQL in 10 Minutes, Sams Teach Yourself by Ben Forta, Kindle Edition
  3. Learning SQL: Generate, Manipulate, and Retrieve Data by Alan Beaulieu, O’Reilly Publication
  4. Fundamentals of Database Systems by Ramez Elmasri and Shamkant B. Navathe, Pearson
  5. SQL Performance Explained by Markus Winand
  6. The Practical SQL Handbook: Using SQL Variants by Judith S. Bowman, Sandra L. Emerson, and Marcy Darnovsky, Addison-Wesley Professional

Official AKTU syllabus

This subject is on page 31, 32 of the original AKTU PDF.

Official AKTU syllabus PDF ↗