Mapping cardinalities and participation constraints
3.7
Weak entity types
3.8
Relationship types of degree higher than two
3.9
ER diagrams, naming conventions and ER design issues
3.10
Enhanced ER (EER) concepts: specialization and generalization, disjoint and overlapping constraints, total and partial specialization constraints, aggregation
3.11
Relational model concepts: relation, tuple, attribute, domain, degree and cardinality
3.12
Characteristics of relations, relational schema and relational database state
3.13
Relational keys (super, candidate, primary, alternate, composite and foreign key)
3.14
Integrity constraints: domain, key, entity integrity and referential integrity
3.15
Handling constraint violations during insert, delete and update
3.16
Mapping ER/EER diagrams into relational tables: strong and weak entities, simple, composite and multivalued attributes
3.17
Mapping 1:1, 1:N and M:N relationships, higher-degree relationships, specialization and generalization
3.18
Case study: designing an ER/EER schema for a real-world system and converting it into relational tables
4Database Normalization
4.1
Informal design guidelines for relation schemas
4.2
Update, insertion and deletion anomalies
4.3
Functional dependencies
4.4
Closure of a set of functional dependencies and of attribute sets
4.5
Properties of relational decomposition: lossless-join and dependency preservation
4.6
Normal forms based on primary keys: First, Second and Third Normal Forms
4.7
Boyce-Codd Normal Form (BCNF) and comparison of BCNF and 3NF
4.8
Multivalued dependency and Fourth Normal Form
5Structured Query Language (SQL)
5.1
Data Definition Language: data and domain types, create, alter, drop, rename, truncate, schema definition
5.2
Specifying constraints: NOT NULL, UNIQUE, PRIMARY KEY, FOREIGN KEY, CHECK, DEFAULT and referential actions
5.3
Data Manipulation Language: SELECT, INSERT, UPDATE and DELETE
5.4
FROM and WHERE clauses, SQL alias, tuple variables, string operations (LIKE), ORDER BY, DISTINCT
5.5
Set operations (UNION, INTERSECT, EXCEPT)
5.6
Aggregate functions, GROUP BY and HAVING, null values
5.7
Joined relations: INNER, OUTER, CROSS and NATURAL joins and join conditions
5.8
Nested subqueries: set membership, set comparison, test for empty relations, test for absence of duplicate tuples
5.9
Views: creating, querying and updating views
5.10
Transaction Control Language (begin, commit, rollback, savepoint, rollback to) and Data Control Language (GRANT, REVOKE)
5.11
Introduction to stored procedures and functions
5.12
DML triggers (insert, update, delete)
5.13
Indexing: clustered and non-clustered indexes
5.14
Introduction to embedded and dynamic SQL
6Transaction Processing, Concurrency Control and Recovery
6.1
Introduction to transaction processing, transaction and system concepts, transaction states
6.2
Desirable properties of transactions (ACID)
6.3
Schedules: serial, serializable, conflict-serializable and recoverable schedules
6.4
Concurrency problems: lost update, dirty read, unrepeatable read and phantom
6.5
Lock-based protocols, two-phase locking and its types