Chapter 1 - Introduction and Data Modeling
Chapter 1 - Introduction and Data Modeling
• What is Information?
• What is Knowledge?
• What is Database?
• Data abstraction
View Level
Logical Level
Physical Level
• Database Sublanguages:
– Data Control Language
• INSERT INTO employee (id, name, dept, age, salary) VALUES (105,
'Srinath', 'Aeronautics', 27, 33000);
▪ SAVEPOINT - It identifies a point in a transaction to which you can later roll back
▪ The model is later transformed into a Logical model (e.g. relational) on which the physical database is
built
▪ ER Model perceives the real world as consisting of basic objects called as entities and relationship
among these entities.
Entity Set
Entity Set
▪ Simple attribute
▪ Composite attribute
▪ Derived attribute
▪ Single-value attribute
▪ Multi-value attribute
Attribute
9. Discriminating
Attribute
7/19/2018 10:01 AM BY Ms. B.K.Ugale, CSE Dept, RIT. 40
Constraints
– Mapping Cardinalities
– Participation Constraints
• Entities
– Person
– Car
– Accident
▪ Generalization
▪ Specialization
▪ Aggregation
Bottom-Up
Approach
Top Down
Approach
■ Naïve users – invoke one of the permanent application programs that have been
written previously
• Examples, people accessing database over the web, bank tellers, clerical staff
■ Specialized users – write specialized database applications that do not fit into the
• Schema definition
▪ DML Compiler
▪ Translate DML in query language to evaluation plan
▪ Query Optimization