Unit 9: Transaction Management and Concurrency Control (Exam Revision Notes)

1. Introduction to Transaction A transaction is a logical unit of work that performs one or more database operations (like INSERT, UPDATE, DELETE) and ensures data integrity.  Example:When transferring money between two accounts: Both operations must succeed together — otherwise, neither should happen. 2. Properties of a Transaction (ACID) Transactions must satisfy ACID properties to…

Read More

 Unit 7: Developing Stored Procedures, DML Triggers, and Indexing (Exam Revision Notes)

1. Introduction As databases grow larger and more complex, performing the same SQL operations repeatedly or ensuring data integrity manually becomes inefficient.To handle this, SQL provides Stored Procedures, Triggers, and Indexes — advanced features to improve automation, consistency, and performance. A. Stored Procedures 1. Definition A Stored Procedure is a precompiled set of SQL statements…

Read More

Unit 6: Manipulating and Querying Data (SQL DML Commands) (Exam Revision Notes)

1. Introduction Once database and tables are created, we need to manipulate (insert/update/delete) and query (retrieve) data stored in them.For this, we use DML (Data Manipulation Language) and DQL (Data Query Language) commands. 2. Major SQL DML Commands Command Purpose Example INSERT Adds new rows of data INSERT INTO Students VALUES (…); SELECT Retrieves data…

Read More

Unit 4: Relational Database Design & Normalization (Exam Revision Notes)

1. Introduction A good database design ensures: The process used to achieve this is called Normalization. 2. What is Normalization? Normalization is the process of organizing data in a database to reduce redundancy and improve data integrity. It divides large tables into smaller ones and defines relationships between them. Goal: 3. Problems in Unnormalized Databases…

Read More

Unit 2: Database Design, Architecture and Models (Exam Revision Notes)

1. Overview of Database Designing Process Database design is the process of structuring data logically to store, manage, and retrieve it efficiently. Steps in Database Design: Goal: To produce a well-structured database that supports efficient data access, integrity, and scalability. 2. View of Data DBMS provides multiple views to represent data according to user needs:…

Read More