Official Kerala Board Solutions for Class 11 Accountancy: Chapter 12 Accounting System Using Database Management System
Access comprehensive textbook solutions for Chapter 12 Accounting System Using Database Management System using the official curriculum guides for Class 11 Accountancy. Designed to align with the 2026-27 Kerala Board standards, these detailed answers help students reinforce core academic concepts.
Chapter-wise Solutions for Accountancy: Chapter 12 Accounting System Using Database Management System
Access the complete solution PDF for Class 11 Accountancy below. Regular practice with these targeted textbook answers builds familiarity with standard question patterns and helps secure higher marks in final school evaluations.
One Mark Questions and Answers
Question 1: Reports, the need for which is not anticipated, are called _______ reports.
Answer:
Casual reports
Exam Tips:
a) Casual reports are the opposite of programmed reports, whose need is anticipated in advance.
Question 2: _______ query does not involve the use of any query function to produce a summary of data.
Answer:
Simple query
Exam Tips:
a) Remember the three types of select queries: simple, parameter and summary. Only the summary query uses functions such as Sum or Avg to summarise data.
Question 3: _______ query prompts the user to enter criteria for selecting a set of records.
Answer:
Parameter query
Exam Tips:
a) Link the word "prompts" with parameter query: it asks the user for a value (such as an account number) every time it is run.
Question 4: _______ clause is used to specify the fields to display data or information.
Answer:
SELECT
Exam Tips:
a) SELECT lists the fields to display, FROM names the tables, and WHERE gives the condition. Keep these three roles clear.
Question 5: _______ is meant to include page number, date and time of a report.
Answer:
Design view
Exam Tips:
a) Page numbers, date and time are added while refining the report in Design view, usually in the page header or page footer section.
Question 6: The purpose of _______ is to organise the information of a report into categories, whereas _______ arranges information into numerical or alphabetical order.
Answer:
Grouping (grouping levels); sorting order
Exam Tips:
a) Grouping puts related records together in categories; sorting only changes their order. Do not use the same word for both blanks.
Question 7: When saved as _______, the contents of reports cannot be modified by the user.
Answer:
Snapshot
Exam Tips:
a) A report snapshot can be viewed and printed by others, even without Access, but it cannot be edited.
Two Mark Questions and Answers
Question 8: List out the ways in which queries may be created in MS Access.
Answer:
1. Wizard method
2. Design view method
3. SQL view method
Exam Tips:
a) Write all three methods; each one is worth part of the marks.
b) Spell it as "query/queries" and not "quarries".
Question 9: List the structure of a good report created in Access.
Answer:
A good report in Access is designed using seven sections, which together make up the structure of the report design. These sections are:
1. Report Header
2. Page Header
3. Group Header
4. Details
5. Group Footer
6. Page Footer
7. Report Footer
Exam Tips:
a) Learn the sections in order: they open as Report, Page, Group headers, then Details, then close as Group, Page, Report footers.
b) Mention that there are seven sections in all.
Question 10: List the ways to refine the design of a report.
Answer:
A report created by any method can be improved by making the following additions and changes:
1. Adding dates and page numbers
2. Adding and deleting report controls
3. Conditionally formatting report controls
4. Setting grouping levels and sorting order
Exam Tips:
a) Four points are expected; list them as separate numbered points.
b) Conditional formatting means a control changes its appearance (for example, colour) when a condition is met.
Question 11: What do you understand by saving a report as a snapshot?
Answer:
Once a report is created, it should be saved in a form that can be viewed whenever needed. A report saved as a snapshot can be viewed by others even without MS Access. This is done by saving the report as a snapshot file.
When this is done, a high-quality image of each page of the report is stored in the snapshot file (.snp), which can be opened with the Snapshot Viewer. Other users can view the report and print any of its pages, but they cannot change its contents.
Exam Tips:
a) Two key points earn the marks: the report can be viewed without Access, and its contents cannot be modified.
b) Relate it to the one-mark fact that snapshot reports are read-only.
Three Mark Questions and Answers
Question 12: State what you understand by accounting reports.
Answer:
An accounting report is the physical form of accounting information. Accounting reports display information that is obtained by processing data and arranging it in an organised manner. Every report is prepared with a definite objective.
Each report is a collection of related information for a particular need and purpose. It must meet the two objectives of reporting:
1. To reduce the level of uncertainty faced by a decision-maker.
2. To influence the behaviour (positive actions) of the decision-maker.
Reports can be classified into two broad categories:
1. Programmed reports, which are of two types: (a) scheduled reports and (b) on-demand reports.
2. Casual reports.
Exam Tips:
a) Begin with a one-line definition, then write the twin objectives of reporting.
b) Ending with the classification (programmed and casual) shows complete understanding.
Question 13: Discuss the capabilities of MS Access.
Answer:
The capabilities of MS Access are:
1. Storing data in an organised manner.
2. Enforcing data integrity constraints.
3. Representing complex relationships among data.
4. Restricting unauthorised access to the database.
5. Allowing fast retrieval of data, with or without processing, by using SQL.
6. Flexibility to create multiple user interfaces.
Exam Tips:
a) For three marks, write at least five or six points.
b) Use the correct terms: "data integrity" and "unauthorised access".
Question 14: What do you mean by a query in Access? Name the types of queries.
Answer:
A query is a request for data or information from a database table. The result may be returned through Structured Query Language (SQL) or as pictorial, graphic or complex results.
A query is used to extract data from a database in a readable form, according to the user's request.
Types of queries:
Access has several queries that are used to generate information. They are called "select queries" because they "select" records with a given set of fields. There are three types:
1. Simple query
2. Parameter query
3. Summary query
Exam Tips:
a) Give the definition first and then the three types as a list.
b) Remember why they are called select queries: they select records with a given set of fields.
Question 15: With the help of an example, briefly state the meaning of parameter queries.
Answer:
A parameter query is a query that asks you for one or more pieces of information before it displays the datasheet. It prompts the user to enter parameters (criteria) through an input box for selecting a set of records.
A parameter query is useful when the same query has to be repeated with different criteria. Unlike a simple query, the criteria are not fixed. For example, while extracting transactions to prepare ledger accounts, the same query has to be run for different account codes. Consider the following SQL statement:
PARAMETERS [Account No] Text;
SELECT Vno, Vdate, Debit, Credit, Amount
FROM Vouchers
WHERE Debit = [Account No] OR Credit = [Account No];
In this query, the PARAMETERS clause declares the variable Account No. When the statement is run, it asks the user to type the value of Account No and then shows only the vouchers of that account.
Exam Tips:
a) The word "example" in the question means you must write an SQL statement with a PARAMETERS clause.
b) Explain what happens when the query runs: an input box asks for the value.
c) Mention the use: the same query is reused for different account codes.
Question 16: Briefly state the purpose of functions in the SQL environment.
Answer:
SQL (Structured Query Language) is the most popular query language for relational DBMS. Most commercial relational database management systems use SQL or a variant of it.
The original version of SQL was called SEQUEL. It is a non-procedural relational query language, and the concept of universal quantifiers is not used in it.
SQL uses a block-structured format of English keywords and is meant for interactive use by people who are not computer specialists.
Functions in SQL are built-in routines that work on field values and return a result, so that information can be produced directly by a query. The functions commonly used in accounting queries are of three types:
1. Aggregate functions, such as Sum, Avg, Count, Min and Max. They work on a group of records (formed using GROUP BY) and give one summary value, for example the total amount debited to each account.
2. Mathematical functions, such as Abs, which gives the value of a number without its sign (used to show a negative net amount as a credit amount).
3. Logical (conditional) functions, such as IIF, which return one value if a condition is true and another if it is false (for example, placing a net amount in the Debit or the Credit column).
Exam Tips:
a) Name at least one function under each type with its use in accounting.
b) Link aggregate functions with GROUP BY and summary queries.
c) IIF and Abs are used together in the trial balance query; quoting that example adds value.
Four Mark Questions and Answers
Question 17: What do you mean by programmed and casual reports?
Answer:
Accounting information, obtained by processing accounting data, is collected to produce an accounting report. To be useful, a report must present information in a way that gives confidence to the user, influences his behaviour and prompts him to take positive action. Accounting reports are classified into two broad categories: programmed reports and casual reports.
1. Programmed reports:
These reports contain information useful for decision making in situations that the users have anticipated. They are of two types:
a) Scheduled reports: Reports produced according to a fixed time frame (daily, weekly, monthly, quarterly or yearly) are scheduled reports. Examples: statement of cash transactions (cash book), statement of ageing of accounts, closing stock report, Profit and Loss Account and Balance Sheet.
b) On-demand reports: Reports generated only when some event triggers them are on-demand reports. Examples: a customer's statement of account, inventory reorder report, stock-in-hand report for a selected group of items.
2. Casual reports:
Casual reports are reports whose need is not anticipated. Their information may be useful but is required only casually. These ad hoc reports are produced by running simple queries without much professional help. Unlike programmed reports, casual reports are generated as and when required.
Exam Tips:
a) Draw the classification clearly: Programmed (Scheduled, On-demand) and Casual.
b) Give one or two examples for each type of programmed report; examples carry marks.
c) The key difference: programmed reports are anticipated, casual reports are not.
Question 18: Describe the procedure of creating the receipts side of a cash book.
Answer:
A cash book is a type of accounting report, so its receipts side is created by the same procedure as any report. To produce the receipts side, we need a set of processed data records that give the code (account number), name of account, particulars and credit amount of each account against which the cash account is debited.
The receipts side deals with cash received. So we first find the amount and particulars of every transaction in which cash is received, that is, in which the cash account is debited. For this, a set of SQL statements is written, and each one is saved in the database as a query with a suitable name.
After the SQL statements are ready, we create the report in MS Access. Select "Create report in Design view" and choose the last saved query as the data source. Access shows a blank report design divided into three sections (page header, detail and page footer) along with the list of available fields of the query.
The report is then designed with the tools provided by Access, such as giving a name to the report and setting its size and colour. All the fields of the query are selected, dragged and dropped into the Detail section. By applying the calculations provided by Access (such as totals), the receipts side of the cash book is obtained.
Exam Tips:
a) State the basic idea first: receipts side = transactions where the cash account is debited.
b) Write the steps in order: SQL queries, then report in Design view, then dragging fields to the Detail section, then totals.
c) Name the three sections of the blank report design.
Five Mark Questions and Answers
Question 19: "MS Access supports different data types." What are the different data types?
Answer:
The different data types are:
1. Text: Used for a string of characters, that is, words or numbers that are not used in calculations. A text field can hold up to 255 characters. It is the default data type. Examples: job name, job department, job type.
2. Memo: Used for storing long comments; it can hold up to 65,535 characters.
3. Number: Used to store numbers, which may be integer, long integer, byte, single, double or decimal. Examples: job unit, job ID.
4. Date/Time: Used to store dates, times or both. Example: job time.
5. Currency: Used for storing amounts in rupees, dollars or other currencies.
6. AutoNumber: A number entered automatically by Access for each new record.
7. Yes/No: Used for a logical field that can have only one of two opposite values, such as Yes or No, On or Off, True or False.
8. OLE Object: OLE stands for Object Linking and Embedding. It refers to an object such as a photograph, a barcode image or a document created in another software application.
9. Hyperlink: Used to store a URL (Uniform Resource Locator) or e-mail address.
Exam Tips:
a) Write each data type with its use and, where possible, an example.
b) Remember the limits: Text up to 255 characters and Memo for long text.
c) Expand OLE (Object Linking and Embedding); examiners often look for it.
Question 20: Briefly explain in steps the method of creating a query using the wizard.
Answer:
The following steps are needed to create a query using the wizard:
1. Select Queries from the Objects list on the left-hand side (LHS) of the Database window.
2. Double-click "Create query by using wizard" on the right-hand side (RHS). A window titled "Simple Query Wizard" opens. It asks the user to select fields from a table or an existing query to be included in the new query. Many fields can be selected according to the information required.
The tables (or queries) chosen are the data source of the query, and the fields selected are the data items the query will display. Use the arrow buttons, or double-click the list of fields on the LHS of this window, to select fields.
3. Click Next after selecting the fields. If the selected fields include a number or currency field, the designer is asked to choose whether the query is a detail query or a summary query.
- If Detail is chosen, running the query displays the records from the data source.
- If Summary is chosen, the user must indicate the type of summary needed (Sum, Average, Minimum, Maximum) for the field, by ticking the check boxes, and then click OK.
4. Click Next, give a name to the query and click Finish to save and run it. The results are displayed in Datasheet view.
Exam Tips:
a) Number the steps; the order of steps is what the examiner checks.
b) Mention the "Simple Query Wizard" window and the detail/summary choice; these are the key points.
c) End with saving the query and viewing the result in Datasheet view.
Question 21: State the procedure for creating a ledger in MS Access.
Answer:
Financial accounting reports can be produced easily in MS Access. A ledger is a financial report that shows the transactions of a particular account during a given period. A ledger has eight columns: Date, Particulars, J.F. and Amount on the debit side, and Date, Particulars, J.F. and Amount on the credit side.
To create a ledger in MS Access, we need a set of processed data records giving the code (account number), name of account, particulars, date, debit amount and credit amount for the particular account.
The ledger is generated by the Design view method as follows:
1. Select Reports from the Objects list in the Database window.
2. Click the New button. The New Report window appears.
3. Select Design View and choose Query L from the combo box.
4. Click OK. Access shows a blank report with three sections: page header, detail and page footer, along with a list of the available fields of Query L for placing on the design.
5. Open the properties of the report and, in the Data tab, set the record source as Query L. This gives the list of available fields of Query L.
6. Choose page header and footer from the report design; Access adds the page header and page footer sections.
7. Pick a label control from the toolbox and place it in the page header section. Set its caption to the account name, font size 12, font colour black, text align left and font weight bold.
8. Select all the fields of Query L by clicking each one while keeping the Ctrl key pressed, and drag and drop them on the Detail section.
9. Select the label controls of all six fields by clicking each while keeping the Shift key pressed. Right-click and choose Cut, then place the mouse in the page header section and paste them.
10. Set the properties of the controls as required.
11. Align the text controls in the Detail section.
12. Select the text controls and the amount field and modify their properties (such as format).
This is the simple procedure for creating a ledger in MS Access.
Exam Tips:
a) Start by saying what a ledger is and what data is needed for it.
b) Write the steps in order; mention Design View, record source (Query L), dragging fields to Detail and moving labels to Page Header.
c) Ctrl key selects fields; Shift key selects the label controls. Such small details show practical knowledge.
Question 22: Discuss, with a set of inter-related data tables, the basics of creating queries in MS Access.
Answer:
A relational database management system stores data in different tables (relations) so that there is little or no data redundancy. A complete view of data stored in different tables is obtained only by running queries based on SQL. A query can display records containing fields from several data tables.
SQL has statements for data definition, query and update. It can also define user-oriented views of the database, specify security and authorisation, define integrity constraints and perform many other operations. Various SQL statements are used to create queries on inter-related tables.
Some basics of creating queries with inter-related tables are shown below.
Example 1:
SELECT Accounts.Code, Accounts.Name, Sum(Vouchers.Amount) AS Total
FROM Accounts INNER JOIN Vouchers ON Accounts.Code = Vouchers.Debit
GROUP BY Accounts.Code, Accounts.Name;
In this query, the Vouchers table is joined with the Accounts table on the Code field of Accounts and the Debit field of Vouchers. The resulting records are grouped on the code and name of accounts, and the sum of the amount of each group is calculated and displayed.
Example 2:
SELECT Accounts.Code, Accounts.Name, AccountType.Category
FROM (Vouchers INNER JOIN Accounts ON Vouchers.Debit = Accounts.Code)
INNER JOIN AccountType ON Accounts.Type = AccountType.CatId
WHERE AccountType.Category = "Expenses";
In this query, the Vouchers, Accounts and AccountType tables are joined on the Debit field and the Code field (and on Type and CatId) to retrieve the code, name and category of the expense accounts that have been debited.
Exam Tips:
a) Explain why joins are needed: data is split across tables to avoid redundancy.
b) In each example, state which fields link the tables (for example, Accounts.Code = Vouchers.Debit).
c) Writing at least one correct SQL statement with JOIN and GROUP BY earns the major part of the marks.
Question 23: Explain the series of SQL statements used for producing the payment side of a cash book.
Answer:
The payment side of a cash book shows the transactions in which cash is paid, that is, in which the cash account is credited. A series of SQL statements retrieves the record set needed for it:
1. The first SQL statement finds the total amount by which the cash account has been credited against each account. It selects the debit account code and Sum(Amount) from the vouchers in which the credit account is the cash account, grouped by the debit account code.
2. The second SQL statement gives the total of the payment side, that is, the sum of all amounts in which the cash account is credited.
3. The next statements retrieve the details of the payment side: account code, name of account, date and amount paid. They join the voucher records with the Accounts table on the account code, taking only those vouchers in which cash is credited. These intermediate statements are saved as queries (Query D1 and Query D2) so that a later statement can use them as its data source.
4. The last SQL statement uses the saved queries to give the final record set, which becomes the record source of the payment side report designed in Access, just as for the receipts side.
Exam Tips:
a) Start with the key idea: payment side = transactions in which the cash account is credited.
b) Write the statements in order and say what each one returns and the name under which it is saved.
c) Compare with the receipts side, where the condition is that the cash account is debited.
Six Mark Questions and Answers
Question 24: Briefly explain the set of SQL statements to produce the receipts side of a cash book.
Answer:
The following series of SQL statements retrieves a record set for producing the receipts side of a cash book:
1. To find the total amount by which the cash account is debited: an SQL statement is written to find, for every transaction, the amount by which the cash account has been debited. It selects the code of the account credited and Sum(Amount) from the vouchers in which the debit account is cash, grouped by that code. It gives the code and amount from which cash is received. This statement is saved as Query C1.
2. To generate the total of the receipts side: an SQL statement is written to find the sum of all amounts received in cash (the sum of the amounts in Query C1). This statement is saved as Query C2.
3. To find the record set consisting of account code, name of account, credit amount and date: an SQL statement joins the vouchers in which cash is debited with the Accounts table on the account code, to give the code, name, date and amount of each receipt. This record set is used as the source of the receipts side report.
Exam Tips:
a) Receipts side = cash account debited; say this at the start.
b) For each statement, write its purpose and the query name (C1, C2).
c) Mention the clauses used: SELECT, FROM, WHERE, GROUP BY and the Sum function.
Question 25: Describe in steps the Design view method to create a query in MS Access.
Answer:
Design method:
The following steps are required to create a query by the design method:
1. Select Queries from the Objects list on the LHS of the Database window. Double-click "Create query in Design view" on the RHS.
2. Access displays the Select Query window and the Show Table window. The Select Query window has two panes. The upper pane shows the data sources (tables or existing queries). The lower pane, called the Query By Example (QBE) grid, has one column for each field to be included in the query.
The rows of this grid show the field name, table (or query), sort order, whether the field is shown in the result or not, and the criteria applied to restrict the result.
The Show Table window is used to add tables, queries or both to the upper pane. If it is closed, it can be opened again by right-clicking the upper pane and choosing Show Table.
3. Click View → Totals and then View → Table Names on the menu bar.
4. Click the Field row of the first column of the QBE grid to select a field for the query. Repeat for the second and later columns to add more fields. These fields become the data items shown after the SELECT clause of the SQL statement.
5. The name of the table or query is shown according to the fields selected. These tables or queries are the data sources shown after the FROM clause. If a table/query is first selected in the second row of the grid, the choice of fields is limited to that table/query.
6. Click the Total row of the grid to specify the GROUP BY clause and aggregate functions, so that a summary query is created.
7. Click the Sort row to set the sort order (ascending or descending) on fields. These fields appear after the ORDER BY clause; ascending is the default.
8. Tick the Show row for the fields to be displayed in the result. A field may also be included only for setting the sort order or criteria.
9. Click the Criteria row to give conditions that limit the records shown. The criteria form a conditional expression shown after the WHERE clause.
10. Click File → Save (or press Ctrl + S) to save the query. A dialog box asks for the name of the query. A default name appears, which can be accepted or replaced by a desired name.
Exam Tips:
a) Explain the two panes and the QBE grid clearly; this is the heart of the answer.
b) Link each grid row with its SQL clause: Field to SELECT, Table to FROM, Total to GROUP BY, Sort to ORDER BY, Criteria to WHERE.
c) End with saving the query using Ctrl + S.
Question 26: Explain MS Access and its components.
Answer:
MS Access is a popular Database Management System (DBMS) used to create, store and manage databases. It is commonly called Access. Access works with the following seven object classes, each of which can create its own objects:
1. Tables: Allow the database designer to create data tables with their field names, data types and properties.
2. Queries: Process the stored data to produce the required information.
3. Forms: Allow the designer to create a suitable user interface to interact with the back-end database defined by tables and queries.
4. Reports: Used to create various reports, designed according to the needs of the end user.
5. Pages: Used to create data access pages that can be posted on an organisation's website through the internet.
6. Macros: A macro is a list of actions that runs as a single unit.
7. Modules: These are the foundation of an application. They let the designer write sets of programming instructions called functions or sub-routines that can be used throughout the application.
Exam Tips:
a) Name all seven objects; a short one-line use for each is enough.
b) A memory aid: T-Q-F-R-P-M-M (Tables, Queries, Forms, Reports, Pages, Macros, Modules).
Eight Mark Questions and Answers
Question 27: Discuss the SQL view method of creating a query.
Answer:
SQL view method:
A query can be typed directly by right-clicking the table pane of the Select Query window and choosing SQL View. The upper and lower panes are replaced by a single pane in which the SQL statement is typed using the keyboard.
The SQL statement is typed in this pane and saved in the same way as in the design method. The following clauses are normally used in information (select) queries:
1. SELECT: Used to specify the fields that display data or information. Example:
SELECT Code, Name, Amount
The fields Code, Name and Amount after SELECT are the data items displayed by the query.
2. FROM: Indicates the source of data, which may be tables, queries or both. Two tables are joined by a JOIN clause based on a join condition. There are three types of join: INNER, LEFT and RIGHT.
3. INNER JOIN: Displays only the exactly matching records of the two data sources. Example:
FROM Accounts INNER JOIN AccountType ON (CatId = Type)
Here, only those records of the Accounts and AccountType tables that match exactly on CatId = Type form the source of the query.
4. LEFT JOIN: Displays all the records of the primary table, whether or not there are matching records in the related table. Example:
FROM Accounts LEFT JOIN AccountType ON (CatId = Type)
Here, all records of Accounts, along with the matching records of AccountType, form the source of the query. The matching condition is CatId = Type.
5. RIGHT JOIN: Displays all the records of the related table, whether or not there are matching records in the primary table. Example:
FROM Accounts RIGHT JOIN AccountType ON (CatId = Type)
Here, all records of AccountType, along with the matching records of Accounts, form the source of the query. The matching condition is CatId = Type.
6. WHERE: Gives the condition that restricts the records returned by the query. Only records satisfying the condition after WHERE are returned. It filters the records.
7. ORDER BY: Specifies the order in which the resulting records should appear, based on the list of fields after ORDER BY. Example:
ORDER BY Type, Code
For the Accounts table, this arranges the records by the Type field, and within each Type, by the Code field.
8. GROUP BY: Groups records to create a summary query. The fields after GROUP BY are the basis of grouping for which summary results are obtained. Example:
SELECT Debit AS Code, Sum(Amount) AS Total
FROM Vouchers
GROUP BY Debit;
Here, GROUP BY uses the debit account codes as the basis for adding up the voucher amounts. The statement gives the total amount by which each transacted account has been debited; the sum of amount is found for each group of records formed by GROUP BY.
Exam Tips:
a) For eight marks, explain every clause with a short SQL example.
b) Clearly contrast the three joins: INNER (only matching), LEFT (all of primary table), RIGHT (all of related table).
c) Mention that WHERE filters records while GROUP BY forms groups for summary results.
d) Start by explaining how to open SQL view (right-click table pane, SQL View).
Question 28: Describe the series of SQL statements to produce a trial balance when the database design for Model II is used.
Answer:
Model II:
The following series of SQL statements retrieves the record set for producing a trial balance when the database design of Model II is used. The accounts are also grouped in the trial balance by account type: Expenses, Revenues, Assets and Liabilities.
1. To find the total amount by which the accounts have been debited:
In Model II, the transacted accounts are stored in AccCode of VouchersMain and in Code of VouchersDetails. So two SQL statements are written.
The first statement gets the required information from VouchersDetails. It joins VouchersMain and VouchersDetails on VouchersMain.Vno = VouchersDetails.Vno and finds Sum(Amount) for each Code of VouchersDetails that has been debited.
The second statement gets the same information from the VouchersMain table. It joins the two tables on VouchersMain.Vno = VouchersDetails.Vno, uses the condition WHERE Type = 1 and groups the records with GROUP BY AccCode.
Both statements extract similar record sets from different sources, so their results are combined into one record set using the UNION clause. This statement is saved as Query101. The totals of debit amounts in this query are positive amounts.
2. To find the total amount by which the accounts have been credited:
A query similar to the one in step 1 is formed. The Debit field in the SELECT and GROUP BY clauses is replaced by the Credit field, and the sum of amount given by Sum(Amount) is multiplied by -1, so that the amount assigned to the Total field is always negative. Thus credit amounts are negative, just as debit amounts are positive. This query is saved as Query102.
3. To find a combined record set of accounts with their debit and credit totals:
A union query between Query101 and Query102 is formed so that the debit and credit amounts of each account are available for finding the net amount:
SELECT * FROM Query101
UNION ALL SELECT * FROM Query102;
This combines the record sets returned by Query101 and Query102 and is saved as Query103.
4. To find the net amount by which an account has been debited or credited:
An SQL statement similar to Query04 of Model I is formed, except that its data source is Query103 instead of Query03:
SELECT Code, Sum(Total) AS Net
FROM Query103
GROUP BY Code;
This is saved as Query104.
5. To find the record set consisting of account code, name of account, debit amount and credit amount:
This query gives the information for the trial balance report. It is similar to Query05 of Model I, but its data source is changed from Query04 to Query104:
SELECT a.Code, b.Name AS [Name of Account], IIF(a.Net > 0, a.Net, Null) AS Debit, IIF(a.Net < 0, Abs(a.Net), Null) AS Credit
FROM Query104 AS a, Accounts AS b
WHERE a.Code = b.Code;
This statement uses the results of Query104 and the data in the Accounts table. It is saved as Query105 and is the source of the Trial Balance report.
Trial balance with sorting and grouping levels:
To prepare a trial balance in which accounts are grouped and sorted by category, two more queries (6 and 7) are needed.
6. To find the record set of accounts with their category and category ID:
The Accounts table is related to the AccountType table through the Type field. The following SQL statement, using INNER JOIN, retrieves the relevant fields:
SELECT Accounts.Code, Accounts.Name, Category, CatId
FROM Accounts INNER JOIN AccountType ON Accounts.Type = AccountType.CatId;
This is saved as Query106.
7. To find the record set of account code, name of account, debit amount and credit amount along with category details:
Compared with step 5, two more fields, Category and CatId, are needed. So the statement saved as Query105 is modified by replacing the Accounts table with Query106:
SELECT a.Code, b.Name AS [Name of Account], IIF(a.Net > 0, a.Net, Null) AS Debit, IIF(a.Net < 0, Abs(a.Net), Null) AS Credit, Category, CatId
FROM Query104 AS a, Query106 AS b
WHERE a.Code = b.Code;
This is saved as Query107. It provides the information for designing the trial balance with grouping and sorting of accounts.
Exam Tips:
a) Number the queries (Query101 to Query107) and state what each one returns; the chain of queries is the core of the answer.
b) Explain why credit totals are multiplied by -1: so that adding debit and credit totals gives the net amount directly.
c) Remember the IIF logic: positive net goes to Debit, negative net (shown with Abs) goes to Credit.
d) Mention the extra queries (Query106, Query107) needed for grouping accounts by category.
Question 29: Discuss the series of SQL statements to produce a trial balance up to a particular date.
Answer:
The following series of SQL statements retrieves a record set for producing the trial balance up to a given date:
1. To find the total amount by which the accounts have been debited:
SELECT Debit AS Code, Sum(Amount) AS Total
FROM Vouchers
WHERE Vdate <= [Enter the date]
GROUP BY Debit;
The GROUP BY clause groups the rows of the Vouchers table account-wise, because the Debit field refers to the account code. The WHERE condition takes only the vouchers up to the given date. This is saved as Query01. The debit totals in this query are positive amounts.
2. To find the total amount by which the accounts have been credited:
SELECT Credit AS Code, Sum(Amount) * -1 AS Total
FROM Vouchers
WHERE Vdate <= [Enter the date]
GROUP BY Credit;
The sum of amount given by Sum(Amount) is multiplied by -1, so the final amount in the Total field is always negative. Negative values separate the credit totals from the debit totals of each account and make simple addition possible to get the net amount. This statement is saved as Query02.
3. To generate a combined record set of accounts with their debit and credit totals:
This is done by a union query between Query01 and Query02:
SELECT * FROM Query01
UNION ALL SELECT * FROM Query02;
This statement is saved as Query03.
4. To generate the net amount by which an account has been debited or credited:
SELECT Code, Sum(Total) AS Net
FROM Query03
GROUP BY Code;
A positive net amount means a debit balance and a negative amount means a credit balance for that account code. This is saved as Query04 and is used to produce the record set for the trial balance.
5. To find the record set of account code, name of account, debit amount and credit amount:
SELECT a.Code, b.Name AS [Name of Account],
IIF(a.Net > 0, a.Net, Null) AS Debit,
IIF(a.Net < 0, Abs(a.Net), Null) AS Credit
FROM Query04 AS a, Accounts AS b
WHERE a.Code = b.Code;
This is saved as Query05 and provides the information for the Trial Balance report.
Exam Tips:
a) The words "up to a particular date" need a WHERE condition on the voucher date in the first two queries; do not forget it.
b) Check the IIF conditions carefully: Debit when Net > 0 and Credit when Net < 0.
c) Write each query with its saved name (Query01 to Query05) so the chain is clear.
Free study material for Accountancy
Kerala Board Solutions for Class 11 Accountancy Chapter 12 Accounting System Using Database Management System
Textbook Solutions for Class 11 Accountancy Chapter 12 Accounting System Using Database Management System
Review comprehensive exercise answers for Class 11 Accountancy Chapter 12 Accounting System Using Database Management System. Fully updated to match current Kerala Board syllabus guidelines, these textbook solutions help students verify their work and maintain accurate study notes.
Mastering Theoretical and Practical Questions
Each solution includes detailed reasoning to foster genuine comprehension of Chapter 12 Accounting System Using Database Management System concepts. Reviewing these step-by-step breakdowns allows learners to master both analytical and descriptive questions expected in school evaluations.
Effective Self-Study and Homework Assistance
These resources act as an effective roadmap for daily homework tasks and independent study. Supplement your review of Chapter 12 Accounting System Using Database Management System with official sample papers and interactive practice tests available on our platform free of charge.
FAQs
The complete and updated Kerala Plus One Accountancy Chapter 12 Accounting System Using Database Management System Questions and Answers is available for free on StudiesToday.com. These solutions for Class 11 Accountancy are as per latest Kerala Board curriculum.
Yes, our experts have revised the Kerala Plus One Accountancy Chapter 12 Accounting System Using Database Management System Questions and Answers as per 2026 exam pattern. All textbook exercises have been solved and have added explanation about how the Accountancy concepts are applied in case-study and assertion-reasoning questions.
Toppers recommend using Kerala Board language because Kerala Board marking schemes are strictly based on textbook definitions. Our Kerala Plus One Accountancy Chapter 12 Accounting System Using Database Management System Questions and Answers will help students to get full marks in the theory paper.
Yes, we provide bilingual support for Class 11 Accountancy. You can access Kerala Plus One Accountancy Chapter 12 Accounting System Using Database Management System Questions and Answers in both English and Hindi medium.
Yes, you can download the entire Kerala Plus One Accountancy Chapter 12 Accounting System Using Database Management System Questions and Answers in printable PDF format for offline study on any device.