1 of 35

Dear Teachers,

These slides have been prepared based on the SCERT syllabus to support you in teaching Plus One and Plus Two Accountancy and Computerised Accounting.

Please review and verify the content before using it in your classrooms. If you find any errors or have feedback, please let me know.

Mujeeb Rahiman C

HSST Commerce

GHSS Pattikkad

Malappuram Dt.

✉️ mujeebchemmala@gmail.com

9995983075

2 of 35

Chapter- 6

Database Management System

LibreOffice Base

Tables | Queries | Forms | Reports

3 of 35

Your school intends to prepare a new identity card for plus one students.

What are the particulars to be collected for this purpose?

Name of the student, date of birth, address, course, admission number etc.

4 of 35

The task of manual collection of data is more easy if 50 students each are enrolled in science and commerce course, since the volume of data is less. If these student data are consolidated, we can call this as data base of students.

5 of 35

Similarly, Government of Kerala is collecting the details of entire students of our State as part of school automation using Sampoorna Software. Such a huge volume of data when manually collected would consume much time, labour, money and storage space. Usage of computer assisted programmes can act as an effective tool to overcome the above limitations.

6 of 35

Application of computer software in storing, processing and retrieving of large quantity of data helps in managing the database effectively and efficiently.

Software packages like 'LibreOffice Base', 'MS Access', 'Oracle' are very popular in handling database.

7 of 35

Data

Data are facts and figures about people, objects, entities or events.

Eg : date of transaction, debit account, credit account, amount etc..

8 of 35

Database

A database is an organised collection of data. It is arranged in such a way that the relevant information can be quickly and easily accessed. Data is always organised in data table consisting of rows and columns.

Eg: Admission register, stock register etc..

Roll No

Name

BS

ACC

ECO

1

SANDRA M

35

50

60

2

SANITHA AP

48

65

55

3

SHAHNA MB

70

45

80

4

ROHINI P

25

35

40

9 of 35

Database Management System (DBMS)

It is a collection of programs that enables users to create/delete database. It is used to add, retrieve, delete and modify data.

Eg. LibreOffice Base, Oracle, MySQL, Foxpro, MS Access.....

10 of 35

If volume of data and area of operation are limited then desktop database is preferred. Server database is preferred in case of handling of data in large scale and requires updating of data by various users.

11 of 35

Entity and Attribute

All details related to an object is known as Entity and each entity will have different features called Attributes.

Name of students, admission number, class, sex etc. are the attributes of the entity School Transport.

12 of 35

Front­end interface (FE)

It is an interactive link between the user and database, through which the user communicates to the back­end database. Eg. Purchase Voucher to enter purchase transactions.

13 of 35

Back­end database (BE)

It is the data storage system which is hidden from the user.

14 of 35

Data Processing

It is a series of actions by which the data are transformed into useful information meant for decision making.

15 of 35

Reporting System

Reporting is an integrated set of objects, which provides meaningful information to the users.

16 of 35

Logical structuring of data in tables

All the data must be logically arranged in different tables based on its nature. Eg: a payroll statement contains information related with employee details, salary details etc. If all these data are entered in a single table it will cause for data redundancy when we prepare payroll statement for subsequent months.

Normalisation is the process of removing data redundancy.

17 of 35

Relational Database Management System (RDBMS)

It refers to a database in which data is stored in multiple tables. These tables are linked to one another through common field.

Student

Admn

Name

DOB

1001

Shameer

25/12/2002

1002

Sunil

20/05/2002

1003

Rasheed

18/04/2003

Marks

Admn

BS

ACC

1001

75

45

1002

80

55

1003

65

44

1004

74

58

1005

48

65

1006

48

59

Primary Key / Identifier

18 of 35

Relationship

Relationship means the connection among different tables in a database. When this connection is established it is called RDBMS (Relational Database Management System).

Tools >> Relationship >> Add Tables to make relationship >>

Create relationship by dragging the fields between two tables.

When a table has a relationship with another it is called One to one relation, and if a table is connected with more than one table, it is called One to many relations.

19 of 35

Relationship

Tools -> Relationship

20 of 35

LibreOffice Base and its Components

1. Tables

2. Queries

3. Forms

4. Reports

It is one of the popular Database Management System (DBMS) to create and manage database. It has the following objects or components.

21 of 35

1. Tables

Tables allows a database designer to create the data tables with their respective field names and data types.

22 of 35

Field Name

Field Type / Data Type

23 of 35

Field Type / Data Type

Integer Whole numbers

Numeric, Decimal, Double Numbers with decimals

Text Variable / Character

Date, Time, Date/Time Date and Time

Boolean Yes/No or True/False

24 of 35

Field (Column)

Record (Row)

25 of 35

Primary Key

After defining all the columns of the table, the primary key column of the table can be specified as any of the columns that are expected to have unique data values.

Set Primary Key: Select the field >> Right Click >> Select Primary Key

26 of 35

2. Queries

This component is used to retrieve filtered data and information from the table. Structured Query Language (SQL) is most widely used language to handle queries.

27 of 35

28 of 35

Query Criteria

Important operators and symbols to develop query criteria.

29 of 35

3. Forms

It allows the user for entering data to a database file. It also facilitates displaying, updating and deleting the data.

30 of 35

31 of 35

4. Reports

This component is used to create various reports by using the data from tables and queries.

32 of 35

33 of 35

Front­end interface (FE)

Back­end database (BE)

Data Processing

Reporting System

Forms

Tables

Queries

Reports

34 of 35

Steps for Creation of Database in LibreOffice Base

1. Open LibreOffice Base:

Applications >> Office >> LibreOffice Base

2. Creating Tables in LibreOffice Base:

Click on Tables >> Create table in design view

3. Creating Queries

Click on query >> Create query in design view

4. Creating Forms

Click on Forms >> Use Wizard to create form

5. Creating Report

Click on the Report >> Use Wizard to create form

35 of 35

MUJEEB RAHIMAN C

HSST COMMERCE

GHSS PATTIKKAD

MALAPPURAM DT