Chen notation for entities, weak entities, relationships and the attribute kinds; cardinality ratio, participation and (min, max) notation; specialization and aggregation; mapping each construct to tables and counting the minimum number of tables.
2 sheetsDB-02DB-03
Relations as sets of tuples, degree and cardinality; superkeys, candidate, primary, alternate and foreign keys with superkey counting; domain, NOT NULL, entity, key, referential and CHECK constraints; which operations can violate each one, and the referential actions CASCADE, SET NULL, SET DEFAULT, RESTRICT and NO ACTION.
1 sheetDB-04
Selection, projection, rename, union, difference, product and the derived intersection, joins and division; result schemas and size bounds; set versus bag semantics; theta, equi, natural, semi and outer joins; equivalence rules and how to disprove a claimed equivalence with a small instance.
2 sheetsDB-05DB-06
Tuple relational calculus: tuple variables, free and bound variables, existential and universal quantifiers, implication, safe expressions and domain independence, and translation to and from relational algebra and SQL, including division.
1 sheetDB-07
DDL and DML, the logical evaluation order of a SELECT, SQL joins, duplicates and DISTINCT, set operations with bag counts, NULL and three-valued logic, aggregates and GROUP BY / HAVING, and nested or correlated subqueries with IN, EXISTS, ANY and ALL, with results run on SQLite and PostgreSQL.
3 sheetsDB-08DB-09DB-10
Armstrong's axioms and derived rules, attribute closure, finding every candidate key and the prime attributes, counting FDs and superkeys, implied FDs and equivalence of FD sets, minimal cover step by step, and projecting FDs onto a decomposed relation.
2 sheetsDB-11DB-12
1NF, 2NF, 3NF and BCNF with their exact conditions and the anomalies they remove, a routine for the highest normal form, lossless-join tests (common attributes and the chase), dependency preservation, 3NF synthesis and BCNF decomposition; 4NF as a marked note.
2 sheetsDB-13DB-14
Blocking factor, spanned and unspanned records, heap, sorted and hashed files with their access costs; primary, clustering and secondary indexes, dense and sparse; multilevel indexes; B-tree and B+ tree node layouts, order and fan-out, height bounds, insertion with splits and block-access counts.
3 sheetsDB-15DB-16DB-17
ACID properties and transaction states, schedules and conflicts, precedence graphs, conflict and view serializability, counting schedules, and the recoverable, cascadeless and strict schedule classes with cascading rollback and isolation anomalies.
2 sheetsDB-18DB-19
Shared and exclusive locks and their compatibility, basic, strict, rigorous and conservative two-phase locking, deadlock handling with wait-die and wound-wait, timestamp ordering and the Thomas write rule, and a short note on log-based recovery with undo and redo.
1 sheetDB-20
The traps sheet, the question-pattern sheet and the master last-day sheet for the whole Databases pack.
3 sheetsDB-21DB-22DB-23