Search code examples
databaserelational-databaserelational-algebratuple-relational-calculusdomain-calculus

What is TRC and DRC in DBMS?


What is tuple relational calculus (TRC) and domain relational calculus (DRC)? How do they differ with relational algebra?

I am new in DBMS field. But I have learned basics of relational algebra.


Solution

    • In relational algebra, variables contain relations and operators derive relations by transforming or combining relations.
    • Relational calculii use set builder notation and logical connectives to define a new relation by describing the tuples and attributes that make it up.
    • In tuple relational calculus, variables denote tuples and attributes are referred by name.
    • In domain relational calculus, variables denote attributes and tuples are constructed via a positional notation.