Structuring Database For Accounting Class 11 Notes
Structuring Database For Accounting Class 11 Notes
Accounting
When you observe a chef making a dish, you can clearly see that he
has arranged a variety of components systematically in front of him.
The perfect arrangement of these components is required to cancel the
confusion and prepare the dish efficiently. Same is the case with
accountancy. Data processing is the carrying out systematic operations
on data, especially by a computer, to retrieve, store, transform, or
classify information.
Source Documents
Input of Data
Data storage
The above clear record that is utilized for accumulating the input of
data regarding code of account, the name of the account and the
category type to which it belongs is demonstrated below;
Manipulation of Data
Output of Data
(Source: DataIreland)
The Structured Query Language or SQL makes it easy for the user to
interact with the database. It is a comprehensive database language
and contains statements for data definition, query, and update.
SQL also facilitates the migration of the users from one database
application to another database application. Data Query Language
(DQL) is a subset of SQL and is mostly in use to get the answer of
most of the basic queries. The basic set of queries consists of:
Explain the queries that we need to consider while using the database
design given in Model-I and Model-II.
Ans.
Solution:
SELECT *
Solution:
Solution:
FROM vouchers:
The SQL allows the use of the same name for two or more
characteristics as long as such characteristics are in different relations.
Therefore, in a case where the use of a common characteristic with a
particular name across the relations persists, it is essential to qualify
the characteristic name with relation name in which it exists.
For example, the query is to recover a list of accounts and the amounts
credited due to bank receipts. The Bank A/c Code is 420.
Solution:
Model I
FROM Vouchers
ER Diagram
Total participation of E2 in R
Cardinality Ratio 1 : N
for E1 : E2 in R
Entity
The properties that portray or further depict an element are called its
traits. Each question must be independently recognized as a substance.
Recognizing and ordering the items into an element can be
troublesome in light of the fact that a question can have a place with
various substances in the meantime or at least two elements might be
comparative.
In such cases, they should be additionally depicted so every element is
recognized and independently distinguished. Substances are
recognized and displayed utilizing their qualities or properties.
Think about the representatives of the firm. The firm keeps up certain
data, for example, name, date of birth, address, assignment, name, and
relationship of wards, about every representative. In any case, this data
can coordinate with the data of some other representative. Along these
lines, one of a kind data like worker distinguishing proof number or
code is fundamental about every one of them by which they can be
recognized. This one of a kind number is known as an identifier.
Relationships
Ans: A weak entity is one which does not have an identifier of its
own. A weak entity type is identified with respect to its relationship
because it cannot be identified without own owner entity. Let us
consider a voucher.
Ans. Updates and retrieval are the two categories of operations on the
relational model. The basic types of updates are:
2018
Employees
Emp_I
Fname Minit LName Address PhoneNo Super_Id
d
Raveen
B001 Akshay S A001
a
Vouchers
VDat
Vno Debit Amount Credit Narration AuthBy PrepBy
e
2018
Commenced
73100 Apr. 11000
01 600000 business with A001 B001
1 01 1
cash
Purchased
81100 Apr. 73200 goods and paid
03 120000 A001 B001
1 05 1 by cheque no.
756431
Salary paid in
81200 Apr. 73200 advance by
04 10000 A001 B001
2 07 1 cheque no.
756432
Support
Purchase invoice
03 1
no….dated….
03 2 Delivery challan
Purchase invoice
05 1
no….dated….
Accounts
811001 Purchases 1
812002 Salary 1
811001 Wages 1
Account Type
Cat_Id Category
1 Expenditure
2 Income
3 Assets
4 Liabilities
Ans. An effort to fit the Debit and Credit vouchers results in the
addition of a new column Sno to Vouchers table of accounting
database. This results in the data redundancy. ER Model is a
conceptual model. We need to transform it into a representational data
model so that we can form a database design for the implementation
and operation upon while using the DBMS.