Database Management Systems
Database Management Systems
database.
e.g. 1.record of students stored in files
2. information stored over internet
2. CONCEPTUAL LEVEL:
It describes what data are actually stored in database.
It is closest to the database manager.
It is an intermediate level of database abstraction.
(DBMS Programmer)
Internal
Stored-acc. length=60
Account # type=bytes(15) offset=0
Name type=bytes(20) offset=15
Type type=bytes(10) offset=35
Amount type=bytes(15) offset=45
DATA MODELS
Table : Items 1.Relational Data Model
Item # Item- Price Table : Shipments
name
Supp# Item# Qty-
I1 Cake 50.00 Supplie
I2 Bread 9.00 d
I3 Biscuits 6.00 S1 I2 20
I4 Snacks 16.00 S1 I3 25
S1 I4 10
Table : Suppliers
S2 I1 5
Supp# Supp-name
S2 I3 10
S1 Britannia
S2 New Bakers
S1 Britannia
20 25 10
S1 Britannia
I2 Bread 9.00
I3 Biscuits 6.00
I4 Snacks 16.00 20
25
10
The relational model was put forward by E.F. Codd of the IBM.
It is considered as a very important concept in DBMS.
A view is a (virtual) table that does not really exist in its own right but is
instead derived from one or more underlying base tables.
It is an excellent way to give people access to some but not all
information (data abstraction).
Table : Location
Area_code Area State
156 Mumbai Maharashtra
221 Bengaluru Karnataka
223 Pune Maharashtra
Primary Keyin
this table