数据库中元组关系演算
Tuple Relational Calculus is a non-procedural and declarative query language. The declarative query procedure gives logical condition which is required to be satisfied by the results. In the non-procedural query language, the user always tries to find out the details of how to get the results. Tuple Relational Calculus explains what to do by describing query but not explain how to do by does not provide the methods to solve.
元组关系演算是一种非过程性和声明性查询语言。 声明性查询过程给出了结果必须满足的逻辑条件。 在非过程查询语言中,用户始终尝试查找如何获取结果的详细信息。 元组关系演算通过描述查询来解释做什么,但没有解释如何做则没有提供解决方法。
Tuple Relational Calculus in a relation is specified in the selection of tuples with details. In relation, the tuples are used by filtering variables. The result which comes out as a resultant relation can have one or more than one tuples in a resultant relation. It is easy to use by someday who is not a skilled person also. Tuple variable which integrated with a relation is called the range relation.
在选择具有详细信息的元组时,指定了关系中的元组关系演算 。 相对地,元组通过过滤变量来使用。 作为结果关系得出的结果在结果关系中可以具有一个或多个元组。 也有一天不是技术人员也容易使用。 与关系集成的元组变量称为范围关系。
In Tuple Calculus, the notation of a query is:
在Tuple Calculus中,查询的符号为:
{T | P (T)} or {T | Condition (T)}
Where,
哪里,
T = resulting tuples,
T =结果元组,
P(T) = called as Predicate and It is a condition which is used to fetch T.
P(T