Database
Database
Library
● When we visit a local library, there may be a computerized
database containing details of the books in the library.
● There will be a computerized index (i.e. automated catalog). which
allows us to find a book with reference to its title, or its author's
name, etc.
Bank Account
● When we withdraw the amount from our bank account through
ATM card , we are accessing a database of customers of a
particular bank.
Database Objects
A database contains various objects that are used to store and retrieve
data.
The main database objects are as follows:
● Table
● Query
● Form
● Report
Table:
● The most important object of the database is "table".
● table is made up of column and rows .
● Each row is divided into columns called fields.
● The field may contain different data values of a particular record.
Query:
● Query means question or inquiry.
● The question like statement that is sent to DBMS: retrieve data
from one or more database tables is called Query.
● It is a powerful and flexibler of selecting, filtering, and sorting
records.
● The user can also change date in the database that fulfills certain
criteria.
● In addition query also allows a user to perform calculations on
different fields.
Form:
● The form object of the database is most commonly used for user
interface to interact with database.
● It is used to enter data in database tables.
Report:
● The Report object of the database is used to retrieve data from
the database and present in on screen in a formatted way.
Metadata
● A database holds related data as well as a description of that data.
● database is also defined as a self-describing collection of
integrated records.
● Metadata means data about data.
● For example when table of database is designed, the data type,
size, format, and other descriptions of the field are specified. This
is the metadata of the table.
● Thus metadata describes the properties of actual data in the
database.
The metadata consists of:
● field names i.e. data item names
● data type of each data item
● length or width of data items
● rules and constraints about data such as minimum and maximum
allowable values
● a brief description of each data item
TYPES OF DATABASES
The databases may be of different types. Based on the databases
architectures, they are divided into three types:
● Centralized Databases
● Distributed Database
● Object-Oriented Databases
Centralized Databases