Orderdepends
Orderdepends is a constraint in relational database theory, also referred to as an order dependency (OD). It expresses a relationship between the orderings of data values across different sets of attributes within a relation. In practical terms, an OD links how tuples are arranged when data are sorted on one group of attributes to how they must be arranged when sorted on another group.
Formally, let R be a relation with attributes, and let X and Y be finite sets of
Example: If a table has attributes Date and TicketNumber, an OD {Date} ->_OD {TicketNumber} would imply that
Applications and significance: OD constraints are studied to improve query processing, particularly for optimizing ORDER BY
Relation to other concepts: Order dependencies generalize some ideas from functional dependencies and are related to
See also: Functional dependency, database normalization, order theory, query optimization.