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
Domain 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!
In [[computer science]], '''domain relational calculus''' ('''DRC''') is a calculus that was introduced by Michel Lacroix and [[Alain Pirotte]] as a [[declarative programming|declarative]] [[query language|database query language]] for the [[relational model|relational data model]].<ref name="LP77">Michel Lacroix, Alain Pirotte: [https://dl.acm.org/citation.cfm?id=1286620 Domain-Oriented Relational Languages]. VLDB 1977: 370-378</ref> In DRC, ''queries'' have the form: :<math> \{\langle X_1, X_2, ...., X_n \rangle \mid p(\langle X_1, X_2, ...., X_n\rangle) \} </math> where each X<sub>i</sub> is either a domain variable or constant, and <math>p(\langle X_1, X_2, ...., X_n \rangle)</math> denotes a DRC ''formula''. The result of the query is the set of tuples X<sub>1</sub> to X<sub>n</sub> that make the DRC formula true. This language uses the same operators as [[tuple calculus]], the logical connectives ∧ (and), ∨ (or) and Β¬ (not). The [[existential quantification|existential quantifier]] (β) and the [[universal quantification|universal quantifier]] (β) can be used to bind the variables. Its computational expressiveness is equivalent to that of [[relational algebra]].<ref name="Codd72a">[[E. F. Codd]]: [http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.444.3426&rep=rep1&type=pdf Relational Completeness of Data Base Sub-languages]. In R. Rustin, editor, Data Base Systems. Prentice Hall, 1972</ref>
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)