Professional Documents
Culture Documents
LDD For Relational Database Management System: Internal
LDD For Relational Database Management System: Internal
INTERNAL
COPYRIGHT NOTICE
All ideas and information contained in this document are the intellectual property of
Education and Research Department, Infosys Technologies Limited. This document is
not for general distribution and is meant for use only for the person they are
specifically issued to. This document shall not be loaned to anyone, within or outside
Infosys, including its customers. Copying or unauthorized distribution of this
document, in any form or means including electronic, mechanical, photocopying or
otherwise is illegal.
Education and Research Department
Infosys Technologies Limited
Electronics City
Hosur Road
Bangalore - 561 229, India.
Tel: 91 80 852 0261-270
Fax: 91 80 852 0362
www.infy.com
mailto:E&R@infy.com
Table of Contents
Contents
Contents ....................................................................................................................................... iii
LDD for RDBMS ............................................................................................................................. 1
1
Introduction ............................................................................................................................ 1
1.1
1.2
1.3
ER Modeling .......................................................................................................................... 1
2.1
2.2
2.3
2.4
Normalization ......................................................................................................................... 3
3.1
3.2
3.3
Normalization .............................................................................................................. 4
3.4
3.5
3.6
SQL ......................................................................................................................................... 4
4.1
4.2
4.3
4.4
4.5 Case Study to solve the Query using different concept (Join, Independent
and Correlated sub Query) ................................................................................................... 5
4.6
Views .............................................................................................................................. 5
4.7
INTERNAL
2 ER Modeling
2.1 ER Modeling basic concepts
2.1.1 Entity type
2.1.1.1 Strong entity
2.1.1.2 Weak entity
2.1.1.3 Entity instance
ER/CORP/CRS/DB92
Page 1 of 6
2.1.2 Attributes
2.1.2.1 Key attribute
2.1.2.2 Simple attribute
2.1.2.3 Composite attribute
2.1.2.4 Stored attribute
2.1.2.5 Derived attribute
2.1.2.6 Single valued attribute
2.1.2.7 Multi-valued attribute
2.2.2 Attribute
2.2.2.1 Key attribute
2.2.2.2 Multi valued attribute
2.2.2.3 Composite attribute
ER/CORP/CRS/DB92
Page 2 of 6
2.2.3 Relationship
2.2.3.1 Degree of relationship
2.2.3.2 Role names
2.2.3.3 Cardinality of relationship
2.2.3.4 Relationship participation
2.2.3.5 Attributes of relationships
3 Normalization
ER/CORP/CRS/DB92
Page 3 of 6
4 SQL
4.1 DDL statements
4.2 DML statements
ER/CORP/CRS/DB92
Page 4 of 6
4.5 Case Study to solve the Query using different concept (Join,
Independent and Correlated sub Query)
4.6 Views
4.6.1 Creation of Views
4.6.2 Updating through View
4.6.3 View Restriction
4.6.4 Advance concepts in View
Page 5 of 6
4.7.4 Rollback
4.7.5 Savepoint
ER/CORP/CRS/DB92
Page 6 of 6