Define the five basic operators of relational algebra, Database Management System

Assignment Help:

Define the five basic operators of relational algebra?

Five basic operators of relational algebra are:
1. Union (∪∪∪∪) - Selects tuples which are in either P or Q or in both of them. The duplicate tuples are eliminated.
R = P ∪ Q
2. Minus (-) - Removes generally common tuples from the first relation.
R = P - Q
3. Cartesian Product or Cross Product (××××) - The cartesian product of two relations is the concatenation of tuples belonging to the two relations and consisting of all probable combination of the tuples.
R = P × Q
4. Projection (ππππ) - The projection of a relation is described as a projection of all its tuples over a few set of attributes, i.e., it yields a vertical subset of the relation. It is used to either decrease the number of attributes (degree) in the resultant relation or to reorder attributes. The projection of a relation T on the attribute A is denoted through πA(T).
5. Selection (σσσσ) - Selects only some of the tuples, those satisfy given criteria, from the relation. It yields a horizontal subset of a given relation, i.e., the action is defined over a complete set of attribute names but just a subset of the tuples are involved in the result.
R = σB(P)

 


Related Discussions:- Define the five basic operators of relational algebra

Explain entity integrity and referential integrity rules, Explain entity in...

Explain entity integrity and referential integrity rules within relational model. Show how these are realized in SQL? Entity Integrity Rule - No primary key value could be nu

What is the use of rename operation, What is the use of rename operation? ...

What is the use of rename operation? Rename operation is used to rename both relations and an attributes. It uses the as clause, taking the form: Old-name as new-name.

The file based system in dbms, The File Based System File based systems...

The File Based System File based systems are an early attempt to computerise the manual filing system. For example, a manual file can be set up to hold all the correspondence r

Horizontal Fragmentation, I want to fragment existing table using java code...

I want to fragment existing table using java code... help me..!!

What is relationship, What is relationship? Give examples A relationshi...

What is relationship? Give examples A relationship is an association between several entities. Example: A depositor relationship associates a customer with every account tha

Explain the term- data flows, Explain the term- Data Flows Data Flows:...

Explain the term- Data Flows Data Flows: A data flow connects output of an object or process to input of another process or object. It represents an in-between data value wit

What is alternate key, What is Alternate Key Alternate Key: This is t...

What is Alternate Key Alternate Key: This is the candidate key which is not taken as the primary key of the table. They are named so because although not the primary key, the

What is data defination language, What is DDL? Make a list of commands with...

What is DDL? Make a list of commands with short description used in DDL Ans: Data Definition Language that is abbreviated as DDL is a computer language for defining data struct

Explain the form of the create view command, We define a view in SQL throug...

We define a view in SQL through using the create view command. To describe a view, we must provide the view a name and must state the query in which computers the view. The form of

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd