Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Relational calculus
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Theory of relational databases}} {{No footnotes|date=November 2021}} The '''relational calculus''' consists of two calculi, the [[tuple relational calculus]] and the [[domain relational calculus]], that is part of the [[relational model]] for databases and provide a declarative way to specify database queries. The raison d'Γͺtre of relational calculus is the formalization of [[query optimization]], which is finding more efficient manners to execute the same query in a database. The relational calculus is similar to the [[relational algebra]], which is also part of the relational model: While the relational calculus is meant as a declarative language that prescribes no execution order on the subexpressions of a relational calculus expression, the [[relational algebra]] is meant as an imperative language: the sub-expressions of a relational algebraic expression are meant to be executed from left-to-right and inside-out following their nesting. Per [[Codd's theorem]], the relational algebra and the domain-independent relational calculus are [[logical equivalence|logically equivalent]].
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)