Project : This is also unary operator ,that chooses subset of attributes or columns of a relation and restricts all the tuples of a relation to those attributes. Thisis represented by<
>(<relation name>).For ex.:
Cartesian Product : This is binary operator that combines information across tworelations. Cartesian product of two relationsR=(A1,A2,A3,A4,…..) and S=(B1,B2,B3,…)can be represented as:Q=R*S= (A1, A2, A3….B1, B2, B3…).
Join : This is also a binary operator which is widely used and this operator concatenates only tuples that satisfy certain conditions .This is represented byR |
Union ,Intersection and Difference : These operators are similar to set unio, setinterection and set difference .To have union relations must have same number of attributes and corresponding attributes must have same domain.
Divide : This is operators is useful when the query involves the world all. Divisionoperator can be used to answer queries of the form: Names of employees working inall projects, Names of the student’s registerd for all courses etc...This operator isdenoted by /.
Renaming : This is often required to refer to the same relation twice in a query indifferent contexts. This is done by calling a relation by some other name.
Assignment: This is used to assign a relational algebra expression to a relation. Therelation can subsequently used wherever the relation algebra expression is needed.This is denoted by T=R S.
Semi –join : Semi –Join operator is basically a join followed by a project on theattributes of first relation. These are used in distributed databases to send only thosetuples of the relation which participate in the join to other site. This is denoted by(R S) where denotes project on all attributes of R.
It is known fact that the needs of the organization are different at different levels of management. Basically one classifies the needs into three categories as below:1)Operational databaseWhich contains data assisting day to day activities of the organization?2)Control databaseWhich contains data assisting needs of middle management to monitor andcontrol business activities by effective and efficient management of man,machines and money?3)Strategic planning database which contains data required for top management for taking long-term decision?