Silversleaves
E info@silversleaves.com
T +44 121 288 2824
  • Website Design
  •  ·
  • Commercial Photography

  • Database Development
  •  ·
  • Business Intelligence
  • Home
  • Silversleaves
    • Services
    • Portfolio
  • Web
    • CSS
      • Sticky Footer
      • CSS3 Opacity
    • Firefox Addons
      • DGSCheck
  • Database
    • Oracle Certification
      • SQL Fundamentals I - Part 1
        • Introduction
        • Relational Theory
        • DESCRIBE
      • SQL Fundamentals I - Part 2
        • SQL Operators & Expressions
        • WHERE
        • ORDER BY
        • Ampersand Substitution
      • SQL Fundamentals I - Part 3
        • Single Row Functions
        • Conversion Functions
        • Group Functions
      • SQL Fundamentals I - Part 4
        • Joining Tables
        • Subqueries
        • Set Operators
        • DML
        • Transactions
      • SQL Fundamentals I - Part 5
        • Manipulating Tables
        • Schema Objects
  • Business Intelligence
    • Coming Soon
  • Photography
    • Food
      • Sweet
      • Savory
    • Drink
      • Liquids
    • Interior
      • Hotel
  • Graphic Design
    • Branding
      • Logos
    • Print
      • Poster
      • Brochure
      • Advert
  • Partners
    • Élite Hotels, Turkey
    • Terzioğlu İnsaat, Turkey
  • Blog

Oracle Certification - SQL Fundamentals I - Releational Theory

  • Introduction
  • Projection
  • Selection
  • Joining
  • Conclusion

Relational Theory

Relational Theory is branch of mathematics on which relational databases are based, and SQL is an interpretation of relational algebra. There are three sections to a SQL statement which concepts from this theory define, and which are always referred to in the OCP exams.

This is restricting the columns that are returned by the SELECT statement. The restriction of the returned columns is called projection. For example:

Note: Projection only means restricting the columns that are selected. For example using DISTINCT would not constitute projection.

Selection is the process of restricting the rows that are returned by a SELECT statement, i.e. the WHERE clause:

Joining relates tables to each other within a query, again in the WHERE clause:

Whilst these concepts don't exactly add much to my knowledge or Oracle and databases, they are part of the Oracle exam, and so they need committing to memory.

The next topic is going to be the venerable DESCRIBE command.

<< Previous Topic
Next Topic >>
© Silversleaves Limited 2012