Database Management Systems: Prof. S. K. Majumdar
Database Management Systems: Prof. S. K. Majumdar
MANAGEMENT SYSTEMS
Prof. S. K. MAJUMDAR
14/05/20 1
Introduction
•Database Plays a Key Role in BMIS.
•Management without the support of right Database is unthinkable.
Executive Support
Strategic System
on
ati
Planning
m
Database
uto
System
Control
fic
Of
considered.
• Ref: P-226
Example
Component of Data
Organization SUPPLIERS PARTS
Database
SHIPMENTS
Grade Obtained
Data Field
Attributes
Key Field
Attributes
Key Field
May 14, 2020 Dr. S. K. Majumdar
21
Exercise: 4.1
• 2. Database Programming.
• How does one express queries and other operations on the database?
How does one use other capabilities of a DBMS, such as transactions
or constraints, in an application? How is database programming
combined with conventional programming?
• Attributes
• Entity Relationship
• Data Models
• Schemas
• Instances
• DBMS Environment
• Data Views
is maintained.
2. Data Attribute
• A characteristic or quality of a particular entity.
3. Entity Relationships
• The Relationship these entities have to each other
Application Stored
Program X Database
DBMS
Query
Stored
Data Definitions
Update Reports
May 14, 2020 Dr. S. K. Majumdar
38
Components of DBMS Software
Application
Programs DBMS
Program
Program11 DDL
Program
Program22 Physical
Storage
Program DML of Data
Program33
Task Specific
Data
Data
Dictionary
Dictionary
May 14, 2020 Dr. S. K. Majumdar
39
Example - DDL
• CREATE TABLE PART-MASTER
(
PRODUCT_NUMBER CHAR (8)
DESCRIPTION CHAR (30)
UNIT_PRICE NUMBER (9, 2)
QUANTITY_ON_HAND NUMBER (6) DEFAULT
0
)
• According to Construct:
• Distributed Databases - Storage
• Object Oriented Database (OOBD) - Data Type
• Hypermedia Database (New Generation)- Build in
Networking capability with all types text, graph, sound and Video
relationship.
• One-to-One
• One-to-Many
First Compensation
Job
Assignments Benefits
Child
Grand parent
Nodes
Parent
Children
server
… …
May 14, 2020 Dr. S. K. Majumdar
70
Example: Student Relation
STUDENT
Name Student-id Age GPA
Tuples/Rows
Musharaf 99223367 54 1.19
Advani 96882145 76 9.75
Jaitley 96452165 64 9.99
Modi 96154292 69 9.5
Shusma 96520934 58 7.5