Grade: X: Database Management System
Grade: X: Database Management System
Grade: X: Database Management System
Grade: X
DBMS
(Database Management
System)
Database
The collection of organized interrelated data/information to any subject or
purpose is known as database.
It is used to store, organize and extract data. Database can be computerize and
non-computerize (manual).
A database may have single table or multiple tables. The data in a database are
organized in rows and columns.
Features/Advantages of DBMS
• Large volume of data can be stored and updated easily
• Centralized control
Disadvantages of DBMS
• Problem associate with centralized
Features of MS-Access
Create sophisticated database quickly.
Analyze and modify your data easily with queries.
Create elaborate reports from your data.
Make customized data entry forms.
Present your data dynamically on World Wide Web.
Table
Table is primary object or building block of database that stores large volume
of data in the form of rows and columns. A single table is used to store data of
a specific purpose or subject.
Fordifferent
The example: Table
ways to create a table in Ms-Access are:
Create table in Design view
Create table by using Wizard
Create table by entering Data
Elements of Database
Field
A column of a table which stores a particular type of data is known as a field.
It is the smallest unit of the database. It is also known as attribute.
Field
For example:
Elements of Database
Record
The collection of multiple related fields in a row is known as record. It gives
complete information about a person or thing. It is also known as tuple.
For example:
Record
Table Relationship
The logical linkage between two or more than two tables with the help of
unique key field is known as relationship. To prevent the duplication of
information in a database by repeating fields in more than one table, table
relationships can be established.
• One - to - One
• One - to - Many
• Many - to - Many
Primary Key
Primary Key is a special field in the table that uniquely identifies each record
from the database. The primary key does not accept duplicate value for a field
and it does not allow a user to leave the field blank or null.
Foreign Key
Foreign key is a field in a relational table that matches the primary key column
of another table.
Data Type
A data type is a feature of a field that determines the
kind of data that can be stored in the field. Each field
can store data relating of only a single data type.
OLE object
Attachment
Date/Time
Currency
Hyperlink
Memo
Lookup
Text
Yes/No Wizard
Number
AutoNumber
OLE Object data type allows pictures, graphs, sound, video
Attachment
Date/Time
Currency
Hyperlink
Memo
Lookup
Text data
Yes/No datadata
data
data
is
Wizard
type
type
data type
used
is
type type
type
is stores
datatostores
also
default attach
stores
type onlyonly
stores
data any
currency
hyperlink
date
documents
displays and
alphanumeric
type
a only
logical the
ofvalue value.
time
data
Ms-Access.
that addresses
or
Itsany
value.
Itstorage
characters
from
can other
Its
ofis 8
another
stores
be only
Number
AutoNumber
etc. Itsof data
storage type
data
size stores
type
isbox
up to generates
1combo numeric uniquevalues.sequential
Long
storage
bytes.
documents.
file
up in
table
oneto the
size
65,535
by
alphanumeric table.
It
ischaracters.
using
two stores
8characters.
bytes.
list up toor isGB.
It2048
The characters.
used box.
forYes/No,
maximum long
Itsstorage
storage
text such sizeasofis 4
size
integer
number the possible
isautomatically.
default number values
Its storagesuch
data as
size
type bytes.True/False,
isin4MS-Access.
remarks,
bytes.
text comment
dataetc.
On/Off etc.characters
typeItsisstorage
255 and default size is 50 in
size is 1 bit.
MS-Access 2003.
Query
Query is an object of database that is used to view, retrieve, change and
analyze records from a table or multiple linked tables based on specified
condition. When a user changes data in the query, the data in the table also
changes. It can use as a source of records for forms and reports.
Form
Form is a type of database object that is primarily used to create an
interface for entering data in a table or multiple linked tables. A form
displays a complete record at a time, so it is more convenient to view and
modify record through the form.
Report
Report is a type of access database object that present data in effective way
in a printed format. It allows a user to print documents according to the user
specifications of the summarize information through queries or tables.
Tuple
Each record row in a table is tuple.
Filtering
The process of viewing required record of a table that matches the specified
criteria is known as filtering.