PDF4PRO ⚡AMP

Modern search engine that looking for books and documents around the web

Example: marketing

Relational Algebra and Relational Calculus

Relational Algebra and Relational Calculus Chapter 4. Comp 521 Files and Databases Fall 2014 1. Formal Query Languages ! What is the basis of Query Languages? ! Two formal Query Languages form the basis of real query languages ( SQL): " Relational Algebra : Operational, it provides a recipe for evaluating the query. Useful for representing execution plans. " Relational Calculus : Lets users describe what they want, rather than how to compute it. (Non- operational, declarative.). Comp 521 Files and Databases Fall 2014 2. What is an Algebra . ! Set of operands and operations that they are closed under all compositions ! Examples " Boolean Algebra - operands are the logical values True and False, and operations include AND(), OR(), NOT(), etc. " Integer Algebra - operands are the set of integers, operands include ADD(), SUB(), MUL(), NEG(), etc. many of which have special in-fix operator symbols (+,-,*,-).

Comp 521 – Files and Databases Fall 2014 5 Relational Algebra ! Basic operations: " Selection ( ) Selects a subset of rows from relation. " Projection ( ) Deletes unwanted columns from relation. " Cross-product ( ) Allows us to combine two relations. " …

Loading..

Tags:

  Relational, Algebra, Relational algebra

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Spam in document Broken preview Other abuse

Transcription of Relational Algebra and Relational Calculus

Related search queries