Relational Calculus in DBMS
Relational Calculus in DBMS
In the previous tutorial, we discussed Relational Algebra which is a procedural query language.
In this tutorial, we will discuss Relational Calculus, which is a non-procedural query language.
Last_Name
---------
Singh
Query to display all the details of students where Last name is ‘Singh’
Exercise
2. Domain Relational Calculus (DRC)
In domain relational calculus the records are filtered based on the domains.
Again we take the same table to understand how DRC works.
Table: Student
Output:
First_Name Age
---------- ----
Ajeet 30
Chaitanya 31
Carl 28
Exercise