Skip to main Content

SQL Querying Advanced

  • Course Code GK821709
  • Duration 1 day

Course Delivery

Public Classroom Price

$1,050.00

excl. VAT

Request Group Training Add to Cart

Course Delivery

This course is available in the following formats:

  • Company Event

    Event at company

  • Public Classroom

    Traditional Classroom Learning

  • Virtual Learning

    Learning that is virtual

Request this course in a different delivery format.

Course Overview

Top

In today's competitive environment, information is one of the most important factors in determining the success of an organization. If you are able to manage and retrieve information efficiently, you can streamline the organization's processes and give it a competitive edge. Some data analysis tasks may require that you query multiple tables simultaneously or create complex views of data.

In this course, you will learn advanced querying techniques such as writing nested queries, using JOINs to combine data from multiple tables, summarizing query results, using advanced filtering, and using views to simplify repetitive querying tasks. You will also learn how to perform common database administration tasks such as duplicating tables, modifying table structures, inserting, updating, or deleting data, and indexing tables to optimize query performance, and learn how to work with multiple tasks as a transaction.

Course Schedule

Top

Target Audience

Top

Business Analysts, Data Analysts, Developers, and those needing to know how to query in a SQL database.

Course Objectives

Top

In this course, you will work with advanced queries to manipulate and index tables. You will also create transactions so that you can choose to save or cancel the data entry process.

You will:

  • Use nested queries to generate query output.
  • Manipulate table data by inserting and updating records in a table and deleting records from a table.
  • Manipulate table structure.
  • Create views, manipulate data through views, modify the view structure, and drop views.
  • Create indexes on table columns and drop inefficient indexes.
  • Mark the beginning of a transaction, roll back a transaction, and commit a transaction.

Course Content

Top

Lesson 1: Using Nested Queries

  • Topic A: Search Based on Values from a Subquery
  • Topic B: Compare Values from a Subquery
  • Topic C: Search Based on the Existence of Records
  • Topic D: Generate Output Using Correlated Subqueries
  • Topic E: Filter Grouped Data Within Subqueries
  • Topic F: Perform Multiple-Level Subqueries

Lesson 2: Manipulating Table Data

  • Topic A: Insert Rows
  • Topic B: Modify and Delete Data

Lesson 3: Manipulating Table Structure

  • Topic A: Create a Table
  • Topic B: Create a Table with Constraints
  • Topic C: Modify a Table's Structure
  • Topic D: Delete Tables

Lesson 4: Working with Views

  • Topic A: Create a View
  • Topic B: Manipulate Data in Views
  • Topic C: Modify and Delete Views

Lesson 5: Indexing Data

  • Topic A: Create Indexes
  • Topic B: Drop Indexes

Lesson 6: Managing Transactions

  • Topic A: Define Transactions
  • Topic B: Commit Transactions
  • Appendix A: The Pub2 Database

 

Course Prerequisites

Top

Students should have a foundational understanding of SQL querying, basic computer skills and SQL skills, and be familiar with concepts related to database structure and terminology.

Cookie Control toggle icon