relational algebra
play

Relational Algebra Rolf Fagerberg DM505, Spring 2006, 4th Quarter - PowerPoint PPT Presentation

Relational Algebra Rolf Fagerberg DM505, Spring 2006, 4th Quarter 1 Algebra Algebra: operands (values) and operators (ways of generating new values from old). Example: Arithmetic algebra Operands: Numbers Operators: Unary: Sign change


  1. Relational Algebra Rolf Fagerberg DM505, Spring 2006, 4th Quarter 1

  2. Algebra Algebra: operands (values) and operators (ways of generating new values from old). Example: Arithmetic algebra Operands: Numbers Operators: Unary: Sign change Binary: Addition, subtraction, multiplication, division. Expressions: 4 · ( − (2 · (3 + 5)) Can be viewed as expression trees. 2

  3. Relational algebra Codd, 1970 Operands: Relations Operators: Unary: Selection ( σ ), projection ( π ), renam- ing ( ρ ) Binary: Set operations ( ∩ , ∪ , \ ), cross prod- uct ( × ), various joins ( ⊲ ⊳ ), division ( / ) Again: Expressions and expression trees. Query in relational model = expression of relational algebra. SQL (query part) based very much on relational algebra. 3

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend