Relational Databases and Query Processing

  1. Relational Keys and Minimal Uniqueness

    Distinguish a superkey from a candidate key and check uniqueness against schema assumptions rather than accidental sample data.

    Graduate
  2. Functional Dependencies and Attribute Closure

    Compute the attributes determined by a set and use the closure to prove implication and test candidate keys.

    Graduate
  3. Lossless Joins in Relational Decomposition

    Show when projecting a relation into two schemas and joining them reconstructs each tuple without producing spurious combinations.

    Graduate
  4. Dependency Preservation and Normal Form Tradeoffs

    Check whether each original functional dependency follows from projected rules that can be enforced without rejoining the tables.

    Graduate
  5. Relational Algebra and Expression Trees

    Explain selection, projection and join as typed transformations of rows and identify which variables must remain available to later operators.

    Graduate
  6. SQL Three-Valued Logic and Missing Comparisons

    Evaluate conditions with TRUE, FALSE and UNKNOWN and trace which rows survive filtering.

    Graduate
  7. Bag Semantics and Join Multiplicities

    Calculate how multiplicities combine in SQL-style bag operations and identify where duplicate elimination changes later aggregates.

    Graduate
  8. Join Cardinality from Key Frequencies

    Derive the output size of an equijoin using matching frequency products and identify why a hot key can dominate the result.

    Graduate
  9. Relational Rewrite Laws and Filter Placement

    Push a predicate across a join only when the referenced fields and row-preservation rules justify it.

    Graduate
  10. Nested Loops, Indexed Lookups, and Join Reuse

    Estimate a join that iterates one input and queries the other, then decide when repeated probe keys can share work.

    Graduate
  11. Hash Join Build, Probe, and Partition Spill

    Separate the build and probe phases of an equijoin and account for memory limits, collisions, and skew.

    Graduate
  12. Merge Joins and Repeated Key Runs

    Join two ordered inputs by advancing the smaller key and handle duplicate runs without silently dropping pair combinations.

    Graduate
  13. External Merge Sort and Temporary Runs

    Size sorted runs and merge fan-in under a page-buffer limit and calculate how many complete data passes are required.

    Graduate
  14. Histograms and Selectivity Estimation

    Estimate a range from bucket counts and distinguish information about the whole bucket from assumptions about values within it.

    Graduate
  15. Predicate Selectivity Under Correlation

    Compare a product-of-marginals estimate with an exact joint count and trace its effect on plan choice.

    Graduate
  16. Covering Indexes and Index-Only Scans

    Identify when a leaf entry has every requested value and when row visibility still requires another access.

    Graduate
  17. Composite Indexes and Lexicographic Ranges

    Use the order of a two-column index to identify contiguous search ranges and explain which predicates can narrow them.

    Graduate
  18. Reading an Execution Plan and Actual Row Counts

    Locate an estimation error at the operator that introduced it and distinguish per-loop measurements from total work.

    Graduate
  19. Recursive Queries and Working Relations

    Evaluate reachability by repeatedly extending a working relation and see how row identity determines whether cyclic paths terminate.

    Graduate
  20. Semijoins, Antijoins, and Existential Filters

    Preserve an outer row based on existence of a match and avoid accidental multiplicity changes or null-sensitive comparisons.

    Graduate