Unit Ii - TRC, DRC
Unit Ii - TRC, DRC
Notation:
Example : 1
Example : 2
OUTPUT: This query selects the tuples from the AUTHOR relation. It returns
a tuple with 'name' from Author who has written an article on 'database'.
Example : 3
Output: This query will yield the same result as the previous one.
2. Domain Relational Calculus (DRC) :
Notation :
Example : 1
Output: This query will yield the article, page, and subject from the relation
University, where the subject is a database.
Difference between Tuple Relational Calculus (TRC) and Domain
Relational Calculus (DRC) :
Examples to Solve: