Skip to content
AccountsISC Class 12 · Chapter 14

Database Management System (DBMS): ISC Class 12 Accounts Notes and SQL

Updated 14 October 2026 · Fact-checked

A Database Management System (DBMS) is software that stores, organises and retrieves related data in tables. ISC Class 12 Accounts (Section C, 10 marks) tests its concept, types and features, basic SQL commands (SELECT, WHERE, AND, OR, UPDATE, DELETE) and functions (AVG, COUNT, MAX, MIN, SUM), and its business uses.

What Database Management System (DBMS) is about

Accounting produces large volumes of related data: customers, suppliers, invoices, payments, assets. A database is an organised collection of such related data, and a Database Management System (DBMS) is the software that lets users define the database, enter and update data, retrieve it with queries and control who can use it. Examples include MySQL, Oracle, Microsoft SQL Server and MS Access; accounting packages use a DBMS behind the screens.

The ISC syllabus asks for a conceptual understanding: the types and features of DBMS; the data hierarchy (data → field → record → file/table → database); data update and retrieval using SQL (Structured Query Language) commands SELECT, WHERE, AND, OR, UPDATE, DELETE and functions AVG, COUNT, MAX, MIN, SUM; and DBMS in business: database design, tables, fields, relationships, forms, reports and indexing, with examples from accounting information, debtors and creditors, bank reconciliation and asset accounting.

Section C is the alternative to Section B. Board reports for 2024 and 2025 note that very few candidates attempted the DBMS questions, so a candidate who prepares this chapter well can score in a part of the paper others avoid. The questions are short (1- and 2-mark definitions, differences and SQL statements) and reward precise terms.

Weightage: Database Management System (DBMS) carries 10 of the 80 theory marks in Section C (Computerised Accounting). Candidates answer either Section B or Section C (20 marks each), after the compulsory 60-mark Section A.Source: CISCE ISC Accountancy (Accounts) syllabus, examination year 2027, distribution of marks

Key concepts

Data, information and the data hierarchy

Data are raw facts and figures (an employee's name, days worked, basic pay). Information is data processed into a meaningful form for a decision (the bonus payable to that employee, or a ledger balance).

Data hierarchy (smallest to largest):

1. Data item / character: a single value.
2. Field (attribute, column): one characteristic of an entity, such as Balance.
3. Record (tuple, row): all fields about one entity, such as one debtor.
4. File / table: a collection of related records, such as the DEBTORS table.
5. Database: a collection of related tables.

Arranged from the top for creating a DBMS: File → Record → Field → Data.

An entity is an object about which data is stored (a customer); its attributes are its characteristics (name, city, balance).

Worked example

Suppose a firm stores each supplier's code, name and amount due. Identify a field, a record and a file in this case. [2 marks]

Try it first, then show the solutionSolution
  1. Field: "Amount due" (one characteristic).
  2. Record: all the details of one supplier.
  3. File/table: the collection of all supplier records (CREDITORS).

Answer: Field: amount due; record: one supplier's row; file: the CREDITORS table.

Types and features of DBMS

Types by data model: hierarchical (tree, parent-child), network (records linked in many-to-many fashion), relational (data in tables linked by common keys: the most common), object-oriented.

Types by location: desktop database (single user, one computer, for example MS Access) and server database (multi-user, on a server, for example SQL Server, Oracle, MySQL). Before choosing, consider: what data is to be stored, who will capture or modify it, how often it changes, how many users and what tasks they perform, whether access is over LAN or the Internet, and the hardware and operating system available.

Features (advantages): reduced data redundancy; data consistency and integrity; data sharing among many users; security through access control; backup and recovery; independence of data from programs; quick retrieval through queries.

A data model is a collection of conceptual tools to describe data, data relationships, data semantics and constraints. The storage manager has components: authorisation and integrity manager, transaction manager, file manager and buffer manager.

Worked example

Suppose a chain of 40 stores wants all branches to update stock in one database at the same time. Should it choose a desktop or a server database? Give two reasons. [2 marks]

Try it first, then show the solutionSolution
  1. Many users at many locations need simultaneous access: a server database supports multi-user, networked access.
  2. A server database offers stronger security, central backup and better handling of large volumes.

Answer: A server database, for multi-user network access and central security and backup.

SQL: languages and basic commands

SQL (Structured Query Language) is the standard language for relational databases. Its parts:

  • DDL (Data Definition Language): defines structure: CREATE TABLE, ALTER TABLE, DROP TABLE, TRUNCATE.
  • DML (Data Manipulation Language): works with the data: SELECT, INSERT INTO, UPDATE, DELETE. DML can be embedded in a host programme.
  • DCL (Data Control Language): GRANT, REVOKE (access rights).

Syllabus commands:

  • SELECT retrieves columns: SELECT Name, Balance FROM DEBTORS;
  • WHERE filters rows: … WHERE City = 'Delhi';
  • AND / OR combine conditions: WHERE City = 'Delhi' AND Balance > 30000;
  • UPDATE changes existing rows: UPDATE DEBTORS SET Balance = 40000 WHERE Code = 'D01';
  • DELETE removes rows: DELETE FROM DEBTORS WHERE Balance = 0;

Always end a statement with a semicolon and put text values in single quotes.

Worked example

Suppose a DEBTORS table has columns Code, Name, City and Balance. Write SQL statements to (i) display names of Delhi debtors with balance over ₹30,000; (ii) reduce D03's balance to ₹20,000. [2 marks]

Try it first, then show the solutionSolution
  1. (i) SELECT Name FROM DEBTORS WHERE City = 'Delhi' AND Balance > 30000;
  2. (ii) UPDATE DEBTORS SET Balance = 20000 WHERE Code = 'D03';

Answer: As above.

SQL aggregate functions

Aggregate functions work on a column and return one value:

  • SUM(column): total.
  • AVG(column): average.
  • COUNT(column) or COUNT(*): number of values or rows.
  • MAX(column) / MIN(column): highest / lowest value.

They can be combined with WHERE: SELECT SUM(Balance) FROM DEBTORS WHERE City = 'Delhi';

In accounting these give totals of debtors and creditors, the largest outstanding balance, the number of overdue accounts and average invoice value.

Worked example

Using the DEBTORS table below, give the output of SELECT SUM(Balance), AVG(Balance), MAX(Balance) FROM DEBTORS; [2 marks]

Table DEBTORS

CodeNameCityBalance (₹)LastPaid
D01Arora TradersDelhi45,0002026-01-10
D02Basu & CoKolkata82,0002025-12-02
D03Chopra StoresDelhi27,0002026-02-18
D04Desai AgenciesMumbai61,0002025-11-25
D05Eapen MartKochi15,0002026-03-05
Try it first, then show the solutionSolution
  1. SUM = ₹2,30,000; AVG = 2,30,000 ÷ 5 = ₹46,000; MAX = ₹82,000.

Answer: 2,30,000; 46,000; 82,000.

DELETE, TRUNCATE and DROP
DELETETRUNCATE
Removes only the rows specified by WHERE (all rows if no WHERE)Removes all rows from the table
Can be rolled backCannot be rolled back
Keeps a log of each deleted row, so it is slowerDoes not log individual rows, so it is faster
Uses row locksUses a table lock
A DML commandA DDL command

DROP TABLE removes the table itself (structure and data). TRUNCATE empties it but keeps the structure.

Worked example

Suppose at the start of a new year a firm wants to clear all records from a TEMP_ENTRIES table quickly but keep the table for re-use. Which command should it use and why? [1 mark]

Try it first, then show the solutionSolution
  1. All rows go and the structure stays; speed matters.

Answer: TRUNCATE TABLE TEMP_ENTRIES; because it removes all rows quickly while keeping the table structure.

DBMS in business: design, tables, relationships, forms, reports, indexing
  • Database design: describing the structure of the parts of the database: which tables, fields and data types, keys and relationships.
  • Table: rows (records) and columns (fields). A primary key uniquely identifies each record (Code); a foreign key links to another table.
  • Relationships: one-to-one, one-to-many (one customer, many invoices), many-to-many (through a linking table).
  • Forms: screens for entering and editing data with validation.
  • Reports: formatted outputs for printing or sharing (debtors' ageing report, asset register).
  • Indexing: an index on a field speeds up searching and sorting, like a book's index.

Business applications named in the syllabus:

  • Accounting information: vouchers, ledgers, trial balance generated from transaction tables.
  • Debtors and creditors: party master tables linked to invoices and payments; ageing reports.
  • Bank reconciliation statement: matching the cash book table with the bank statement table to list unmatched items.
  • Asset accounting: asset register with cost, date, depreciation method; depreciation schedules.

Worked example

Suppose a firm wants to prepare its bank reconciliation statement using a DBMS. Explain how. [2 marks]

Try it first, then show the solutionSolution
  1. Keep two tables: CASH_BOOK (bank column entries) and BANK_STATEMENT, each with date, cheque number and amount.
  2. A query matching on cheque number and amount lists items in one table but not the other (cheques issued but not presented, deposits not credited); a report presents these as the reconciliation.

Answer: By matching two tables with a query and reporting the unmatched items.

Database Management System (DBMS) in real life

Each concept, met in an everyday situation. Read the situation, answer the question in your own words, then compare with the model answer. The one-line hook is what to remember.

Queries replace manual searching

Suppose a wholesaler has 3,000 debtors and the owner asks, "How many customers in Mumbai owe more than ₹50,000?"

Write the SQL that answers this.

Try it first, then show the solutionSolution
  1. Count rows meeting two conditions joined by AND.
  2. SELECT COUNT(*) FROM DEBTORS WHERE City = 'Mumbai' AND Balance > 50000;

Answer: One COUNT query with WHERE … AND … gives the answer instantly.

Memory hook: WHERE filters, AND narrows, COUNT counts.

Primary key prevents duplicates

Imagine two customers called "R. Sharma" in the same city, and payments from one keep being posted to the other.

How does a DBMS design avoid this?

Try it first, then show the solutionSolution
  1. Give each customer a unique code as the primary key.
  2. Link invoices and payments to the code, not the name.

Answer: Use a unique customer code (primary key) for every record and transaction.

Memory hook: Names can repeat; keys cannot.

Indexing for speed

Suppose an asset register with 50,000 items takes a long time to find assets by location.

Which DBMS feature helps and how?

Try it first, then show the solutionSolution
  1. Create an index on the Location field.
  2. The DBMS uses the index to jump to matching records instead of scanning the whole table.

Answer: Indexing the Location field speeds up searches and sorting.

Memory hook: An index is a shortcut, like the index of a book.

Topics in this chapter

Database Management System (DBMS): key facts

Retrieve
SELECT column1, column2 FROM table WHERE condition;
Combine conditions
WHERE condition1 AND condition2 / WHERE condition1 OR condition2
Change data
UPDATE table SET column = value WHERE condition;
Remove rows
DELETE FROM table WHERE condition;
Aggregates
SELECT SUM(col), AVG(col), COUNT(*), MAX(col), MIN(col) FROM table;

How the board asks Database Management System (DBMS)

The question patterns to expect, and the method that works for each.

Question typeHow it is askedMethod
Objective (Q15)Term for the characteristic of an entity (attribute); component of DBMS language that can be embedded (DML).Use the exact technical term.
Short answers (Q16, 3 marks; Q17, any three of four, 2 marks each)Use of UPDATE; data versus information; data hierarchy; two SQL commands; server versus desktop database; data model; storage manager; DELETE versus TRUNCATE.Definition + example, or two clear points of difference.

Tricks to remember Database Management System (DBMS)

Short memory aids. Say each one aloud once, then use it on a question the same day.

  • Hierarchy: "Data Fills Rows in Files"

    Data → Field → Record → File → Database (small to large).

    Use it when: Hierarchy questions.

  • DDL builds, DML fills

    DDL (CREATE, ALTER, DROP, TRUNCATE) builds the structure; DML (SELECT, INSERT, UPDATE, DELETE) fills and reads it.

    Use it when: Classifying commands.

  • Five aggregates: "SAC-MM"

    SUM, AVG, COUNT, MAX, MIN.

    Use it when: Function questions.

Database Management System (DBMS): board-level solved questions

Ordered from board level to HOTS. Cover the solution, write your own, then compare step by step.

Example 1: Characteristics of an entity · 1 mark · MCQBoard level

In a DBMS, the characteristics of an entity (such as a debtor's name and balance) are called:
(a) records
(b) attributes
(c) relationships
(d) tables

Try it first, then show the solutionSolution
  1. Characteristics of an entity are its attributes (fields).

Answer: (b) attributes

Example 2: Embedded language · 1 mark · Very short answerHarder board level

Name the component of the DBMS language that can be embedded in a programme.

Try it first, then show the solutionSolution
  1. The data manipulation language is used inside host programs to read and change data.

Answer: Data Manipulation Language (DML).

Example 3: Data versus information · 2 marks · Short answerBoard level

Distinguish between data and information with an accounting example of each.

Try it first, then show the solutionSolution
  1. Data: raw facts, e.g. each day's cash sales figures entered from bills.
  2. Information: processed data useful for decisions, e.g. the month's total cash sales and comparison with the previous month.

Answer: Data are raw inputs; information is the processed, meaningful output.

Example 4: DELETE versus TRUNCATE · 2 marks · Short answerHarder board level

Give two differences between the DELETE and TRUNCATE commands.

Try it first, then show the solutionSolution
  1. DELETE removes rows specified by WHERE and can be rolled back; TRUNCATE removes all rows and cannot be rolled back.
  2. DELETE is a DML command that logs each row (slower); TRUNCATE is a DDL command without row logs (faster).

Answer: Any two of: scope of rows, rollback, logging/speed, DML vs DDL, row vs table lock.

Example 5: SQL on a debtors table · 6 marks · Case-basedHOTS / competency

Using the DEBTORS table, write SQL and give the output for: (i) total balance of Delhi debtors; (ii) number of debtors with balance above ₹50,000; (iii) names of debtors in Delhi or Kochi; (iv) delete debtors whose last payment was before 1st December 2025.

Table DEBTORS

CodeNameCityBalance (₹)LastPaid
D01Arora TradersDelhi45,0002026-01-10
D02Basu & CoKolkata82,0002025-12-02
D03Chopra StoresDelhi27,0002026-02-18
D04Desai AgenciesMumbai61,0002025-11-25
D05Eapen MartKochi15,0002026-03-05
Try it first, then show the solutionSolution
  1. (i) SELECT SUM(Balance) FROM DEBTORS WHERE City = 'Delhi'; → ₹72,000.
  2. (ii) SELECT COUNT(*) FROM DEBTORS WHERE Balance > 50000; → 2.
  3. (iii) SELECT Name FROM DEBTORS WHERE City = 'Delhi' OR City = 'Kochi'; → Arora Traders, Chopra Stores, Eapen Mart.
  4. (iv) DELETE FROM DEBTORS WHERE LastPaid < '2025-12-01'; → removes D04 Desai Agencies.

Answer: 72,000; 2; three names; one row deleted.

Example 6: Choosing a server or desktop database · 3 marks · Short answerHarder board level

State three requirements a business should consider before choosing between a server database and a desktop database.

Try it first, then show the solutionSolution
  1. How many users will use it and what tasks they will perform.
  2. Whether access is needed over a LAN or the Internet.
  3. How frequently data will be modified, and the hardware and operating system available.

Answer: Any three: users and tasks, network access, frequency of change, data to be stored, who captures data, hardware/OS, use by other front-end applications.

Case-study practice (Section A style)

Read the situation, then answer every part. In the board paper this is a 6-mark question split into 2 + 2 + 2 marks.

An asset register for a school

Suppose a school wants to track 2,500 assets (computers, furniture, lab equipment) across 40 rooms. Each asset has a tag number, description, room, cost, purchase date and depreciation rate. The bursar wants a report each March of assets older than five years.

  1. (i) · 2 marks

    Suggest a primary key and two other fields for the ASSETS table.

    Answer

    Answer: Primary key: TagNo. Other fields: Room, Cost (also PurchaseDate, Rate).

    1 mark key, 1 mark fields.

  2. (ii) · 2 marks

    Write SQL to show the total cost of assets in room 'Lab2'.

    Answer

    Answer: SELECT SUM(Cost) FROM ASSETS WHERE Room = 'Lab2';

    1 mark SUM, 1 mark WHERE.

  3. (iii) · 2 marks

    Which DBMS feature produces the March list in a printable format, and which speeds up searching by room?

    Answer

    Answer: A report produces the list; an index on Room speeds up searches.

    1 mark each.

Where the marks are

How a typical answer is split into step marks. Show every step: a right final answer alone rarely earns full marks.

Requirements for choosing a server or desktop database (3 marks) (3 marks)

StepMarks
Each valid requirement stated clearly (1 mark each)3

SQL statements on a given table, any three of four (6 marks) (6 marks)

StepMarks
Each statement: correct command and clause (SELECT/UPDATE/DELETE with WHERE, AND/OR) (1 mark each)3
Each statement: correct column, function and output (1 mark each)3

Where students lose marks in Database Management System (DBMS)

The slips examiners see most often, and what to write instead.

  • Mistake: Not attempting DBMS questions

    CISCE examiners' comments, 2024 and 2025, on Questions 16 and 17: "Very few candidates attempted this question."

    Do this: Learn the short definitions and SQL statements; they are quick marks in Section C.

    Usually costs: Up to 9 marks across Questions 16 and 17.

  • Mistake: Hierarchy written in the wrong order

    The 2024 answer key arranges the hierarchy as FILE, RECORD, FIELD, DATA; mixing up field and record loses the mark.

    Do this: Record = one row (one entity); field = one column (one attribute).

    Usually costs: 1-2 marks.

  • Mistake: SQL without WHERE or with wrong syntax

    UPDATE or DELETE without WHERE changes every row; text values need quotes and statements end with a semicolon.

    Do this: Write the full statement: command, table, SET/columns, WHERE condition, semicolon.

    Usually costs: ½-1 mark per statement.

  • Mistake: Confusing DELETE with TRUNCATE or DROP

    The 2025 answer key expects differences such as WHERE-based deletion, rollback, logging and DML versus DDL.

    Do this: DELETE: chosen rows, DML; TRUNCATE: all rows, DDL, structure kept; DROP: table removed.

    Usually costs: 1-2 marks.

Practice questions on Database Management System (DBMS)

Write each answer on paper first. Open the hint only if you are stuck, and the answer only when you have finished.

  1. Q1 · 1 mark · Very short answerBoard level

    Arrange in hierarchy (largest first) to create a DBMS: FIELD, DATA, FILE, RECORD.

    Hint

    Top-down.

    Answer

    FILE, RECORD, FIELD, DATA.

  2. Q2 · 1 mark · Very short answerBoard level

    What is the use of the UPDATE command in SQL?

    Hint

    Existing rows.

    Answer

    It modifies existing rows of a table, e.g. UPDATE DEBTORS SET Balance = 0 WHERE Code = 'D05';

  3. Q3 · 1 mark · Very short answerBoard level

    What is a data model?

    Hint

    Conceptual tools.

    Answer

    A set of concepts used to describe a database: the data, how the data items relate to one another, what they mean, and the rules (constraints) they must obey; it shows how entities and their attributes are related.

  4. Q4 · 2 marks · Short answerHarder board level

    List the components of the storage manager.

    Hint

    Four managers.

    Answer

    Authorisation and integrity manager, transaction manager, file manager, buffer manager.

  5. Q5 · 2 marks · Short answerHarder board level

    Write SQL to show the highest and lowest balances in the CREDITORS table.

    Hint

    MAX and MIN.

    Answer

    SELECT MAX(Balance), MIN(Balance) FROM CREDITORS;

  6. Q6 · 1 mark · Very short answerHarder board level

    Give the meaning of database design.

    Hint

    Structure.

    Answer

    The description of the structure of the different parts of the overall database: tables, fields, keys and relationships.

  7. Q7 · 2 marks · Short answerHOTS / competency

    Explain one-to-many relationship with an accounting example.

    Hint

    Customer and invoices.

    Answer

    One record in a table relates to many in another: one customer (CUSTOMERS) can have many invoices (INVOICES), linked by CustomerCode.

  8. Q8 · 2 marks · Short answerHOTS / competency

    A clerk ran DELETE FROM DEBTORS; intending to remove only zero-balance debtors. What went wrong and what should he have written?

    Hint

    Missing clause.

    Answer

    Without WHERE, every row was deleted. Correct: DELETE FROM DEBTORS WHERE Balance = 0;

  9. Q9 · 1 mark · Very short answerBoard level

    Name two SQL basic commands and two aggregate functions in the ISC syllabus.

    Hint

    Any two each.

    Answer

    Commands: SELECT, UPDATE (also WHERE, AND, OR, DELETE). Functions: SUM, AVG (also COUNT, MAX, MIN).

Test your recall

Answer in your head or on paper first, then open the card. Pulling an answer out of memory makes it stick far better than re-reading.

  1. 1.What is a record?Show answer

    All fields about one entity: a row of a table.

  2. 2.Which SQL clause filters rows?Show answer

    WHERE.

  3. 3.Is TRUNCATE DDL or DML?Show answer

    DDL.

  4. 4.Name the five aggregate functions in the syllabus.Show answer

    AVG, COUNT, MAX, MIN, SUM.

  5. 5.What uniquely identifies a record?Show answer

    The primary key.

Best order to study it

  1. Data, information and the data hierarchy.
  2. Types and features of DBMS; desktop versus server.
  3. SQL language parts; SELECT, WHERE, AND, OR, UPDATE, DELETE.
  4. Aggregate functions.
  5. DELETE versus TRUNCATE versus DROP.
  6. Business applications: design, tables, relationships, forms, reports, indexing.

Quick revision checklist

The night before the exam: can you do each of these without looking?

  • Hierarchy: File → Record → Field → Data.
  • DDL: CREATE, ALTER, DROP, TRUNCATE; DML: SELECT, INSERT, UPDATE, DELETE.
  • SELECT … FROM … WHERE … AND/OR …;
  • SUM, AVG, COUNT, MAX, MIN.
  • Primary key unique; foreign key links tables.
  • Business uses: accounting information, debtors and creditors, BRS, asset accounting.

Database Management System (DBMS): frequently asked questions

Do I need to write full SQL programs?

No. The syllabus needs a conceptual understanding and basic commands and functions; single SQL statements are enough.

Which DBMS software should I mention?

Any common one: MS Access (desktop), MySQL, Oracle or SQL Server (server databases).

Is DBMS the same as a spreadsheet database?

No. A spreadsheet can sort and filter a list, but a DBMS manages many related tables with keys, multi-user access, security and SQL queries.

Based on: CISCE ISC 2027 Accountancy (Accounts) syllabus; CISCE ISC 2026 Accountancy (Accounts) specimen question paper and answer key (the 2026 format applies in 2027); CISCE Analysis of Pupil Performance, ISC Accountancy (Accounts), 2025; CISCE Analysis of Pupil Performance, ISC Accountancy (Accounts), 2024