0% found this document useful (0 votes)
3 views4 pages

IT Notes

Uploaded by

ahana.s.tws
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views4 pages

IT Notes

Uploaded by

ahana.s.tws
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

IT NOTES- DBMS

Databases and DBMS


A database is a collection of logically related data items stored in an
organised manner. The information being stored in a database can
be added, modified, deleted or displayed according to the
requirements of the user. The software that is used to create, update
and retrieve data is known as database management system (DBMS).
It facilitates planning and maintenance of the database for the user.
Some of the common examples of DBMS are MS Access, Open Office
or LibreOffice Base, Oracle, Ingress, MySQL.

advantages of DBMS:

• Organised Storage.
• Data Analysis.
• Data Sharing
• Minimal Data Redundancy.
•Increases Efficiency
• Increases accurancy
• Increases Validity
•Security

DATA MODEL
A database can be designed in different ways depending on the data
being stored. This structure of database is known as data model that
describes the manner in which data will be stored and retrieved.
There are different data models such as hierarchical data model,
network data model and relational data model.
Hierarchical Data Model
In this model the data is organized into a tree like structure. The data is
stored in the form of records. A record is a collection of fields and its data
values.

Network Data Model


In this model, multiple records are linked to same master file. It is also
considered as an inverted tree

Relational Data Model


This data model is based on the principle of setting relationships between
two or more tables of the same database
Relational Database – A relational database is a collection of related
tables
In Student Registration Table, ‘Enrolment_Number’ is the primary key and in
the Student Marks Table, ‘Roll_Number’ is the primary key, whereas
‘Enrollment_ Number’ is the foreign key. This foreign key can be used to set a
relation between two tables.

• Numeric Data Type – Numeric data types consists of numbers. The numbers
can be integer or real numbers on which any type of arithmetic calculations
can be performed.
• Currency Data Type
• Date Data Type
• Boolean – In boolean data type there can be only two values- True or False.
This also can be given in multiple formats like Yes/No, True/False, On/Off.
• Binary – The Binary data type used to store digitized images and sounds that
comes as long string of zeros and ones. It is possible to store photos of the
products or employees, or sound snippets or voice messages in Base database.

steps to create the database using libre office base


step 1: . In Windows, click Start > LibreOffice or double click on the LibreOffice
icon
Step 2. A Database Wizard opens as shown in Fig. 9.2. It allows you to create a
new database or open an existing database.
Step 3. click Create a new database radio button. If any database that has
already been created is to be opened, then select Open an Existing Database
option to select the database to be opened. Thereafter click Next button.
Step 4 . gives the option to register our database with LibreOffice.org. If we
register the database, then our database is made public and hence can be
accessed by other people. As of now, we would not like to register, so we click
and select the radio button with option, ‘No, do not register the database’.
Step 5. Click on open the database for editing
Step 6. Click Finish button. The Save As dialog box appears. The database in
Base is saved with an extension .odb. Also note that if no name is given to the
database, then it is saved with a default name as NewDatabse.odb.

You might also like