relationwhere
Relationwhere is a conceptual operator used in databases and relational theory to filter a relation by a predicate. Given a relation R over a schema S and a predicate P defined on attributes of S, relationwhere(P, R) yields the subset of tuples t in R for which P(t) holds. In formal terms, relationwhere(P, R) = { t in R | P(t) }. This operator is equivalent to the selection operation in relational algebra, usually denoted sigma_P(R), and it corresponds to applying a WHERE clause in SQL.
In programming and ORM contexts, relationwhere is often exposed as a method such as R.where(P) that returns
Example: If R is a relation of employees with attributes (emp_id, name, dept, salary), relationwhere(salary > 100000,
Notes: The term “relationwhere” is not a standard keyword in typical database systems; it is a descriptive