Relation has key and functional dependencies and . What is the highest normal form satisfies?
Databases
ER model, relational algebra, SQL, normalisation, transactions, concurrency and indexing. 8 questions with worked solutions.
Relation has functional dependencies , , and . How many candidate keys does it have?
Relation has , and . How many attributes are in the closure ?
A B+ tree internal node fits in a 512-byte block. Keys take 8 bytes and child pointers take 8 bytes. What is the maximum number of child pointers per internal node?
How does COUNT(column) differ from COUNT(*)?
Basic two-phase locking (2PL) guarantees:
A schedule is conflict serialisable if and only if its precedence graph:
Which relational algebra operator naturally expresses queries like "students who took all courses"?