Skip to main content

CS410: Advanced Databases

Page path
  • Home /
  • Courses /
  • Course Catalog /
  • Computer Science /
  • CS410: Advanced Databases /
  • Unit 1: Advanced SQL
Back to course 'CS410: Advanced Databases'
  • Unit 1: Advanced SQL

    In this unit, we will look at SQL DML commands beyond the basic "select", "join", and "group by", as you will sometimes find it useful to filter a group using a having clause and/or to perform subqueries, which can be used to compare two results set in special ways. We will also study the self-join as well as several set-theoretic operators.

    Completing this unit should take you approximately 13 hours.

    • Unit 1 Learning Outcomes Page
    • 1.1: Relational Algebra Review and Join Commands

      •  Gonzaga University: Shawn Bowers' "Relational Algebra and Complex SQL" URL

        Read slides 3 through 33 (pages 2-17). As you read this lecture be sure to think of how the necessary mathematical operations are likely to affect the outcome of your database actions.

    • 1.2: Additional Join Operations

      •  Gonzaga University: Shawn Bowers' "Relational Algebra and Complex SQL" URL

        Read slides 3 through 48 (pages 3-24).

      • 1.2.1: SELF Join

        •  TutorialsPoint: "SQL SELF JOINS" URL

          Read this page for a solid overview of the SELF JOINS command and how it is used to join a table. Practice utilizing the SQL commands using MySQL or another available SQL database.

      • 1.2.2: FULL Joins

        •  TutorialsPoint: "SQL FULL JOINS" URL

          Read this page for a solid overview of the FULL JOINS command and how it is used to achieve a full join of the left and right outer joins of a table. Practice utilizing the SQL commands using MySQL or another available SQL database.

    • 1.3: Set-Theoretic Operators

      •  Tom Jewett's "Database Design with UML and SQL: Union and Minus" URL

        Read this page for an overview of using the Union, Union All, Minus, and Intersect operators in SQL.

    • 1.4: The HAVING Clause

      •  Gonzaga University: Shawn Bowers' "Complex SQL" URL

        Read slides 3 through 31 (pages 3-16).

      •  TutorialsPoint: "SQL HAVING Clause" URL

        Read this page for a solid overview of the basics of using the HAVING clause command in SQL. Practice utilizing the SQL commands using MySQL or another available SQL database.

    • 1.5: Views

      •  Tom Jewett's "Database Design with UML and SQL: SQL Technique: Views and Indexes" URL

        Read this page for an overview of views and indexes in SQL.

Navigation

Art History
Biology
Business Administration
Chemistry
Communication
Economics
English
History
Mathematics

Creative Commons License
© Saylor Academy 2010-2018 except as otherwise noted. Excluding course final exams, content authored by Saylor Academy is available under a Creative Commons Attribution 3.0 Unported license. Third-party materials are the copyright of their respective owners and shared under various licenses. See www.saylor.org/open/licensinginformation for detailed licensing information.

Saylor Academy and Saylor.org® are trade names of the Constitution Foundation, a 501(c)(3) organization through which our educational activities are conducted.

Terms of Use | Privacy Policy