Advanced SQL Programming

SQL, or Structured Query Language, is the essential language that allows you to communicate with and manipulate databases. Advanced SQL Programming not only adds flair to basic database management but opens up new avenues for data retrieval, analysis, and optimization. Geared for experienced SQL users, Advanced SQL Programming is a two-day course designed to transform your SQL skills, leading to enhanced data retrieval, analysis, and optimization. You’ll explore techniques that enable them to solve complex challenges and contribute to organizational efficiency and innovation. This course includes interactive discussions, group activities, and a balanced approach of lectures and hands-on labs. Expect to build, design, and troubleshoot complex SQL queries, create robust data manipulation techniques, and explore the intricate world of triggers, all under the guidance of a seasoned industry expert. You’ll apply these skills in a practical context, simulating real-world projects and utilizing innovative tools and techniques. You’ll exit this course able to design and execute intricate SQL queries, manage data with unprecedented accuracy, and implement unique functions and procedures, ready to apply these skills on the job.

Retail Price: $1,795.00

Next Date: 07/25/2024

Course Days: 2


Enroll in Next Date

Request Custom Course


Learning Objectives

Working in a hands-on learning environment led by our expert practitioner, attendees will explore:

  • Advanced Query Techniques: Dive into Inner and Outer Joins, Subqueries, and Aggregate Functions. Mastering these will allow for precise data extraction and comprehensive analysis, forming a solid foundation for developing complex SQL queries.
  • Manipulating Table Data Using SQL's DML: Learn techniques like Inserting, Updating, Deleting Records, and Transactions. These skills enable control over data integrity and efficient data manipulation, essential for maintaining high-quality database operations.
  • User-Defined Functions: Create and manage Scalar vs. Table Functions. By understanding these, you can craft customized solutions, leading to flexible and dynamic data handling.
  • Stored Procedures: Explore Variables, Parameters, and Program Flow. With these, you can streamline repetitive tasks, promoting efficient database management.
  • Triggers: Grasp the creation and management of Triggers. Triggers automate tasks within the database, enhancing responsiveness and making systems more robust.

 

Audience

This intermediate and beyond skill level course is suited for experienced SQL developers and database professionals who are eager to expand their expertise into more complex areas of database manipulation and analysis. This includes Data Analysts, Database Administrators, Software Developers, and IT Professionals who work with databases regularly and seek to infuse their projects with innovative techniques and higher efficiency.

 

Pre-Requisites

To ensure a smooth learning experience and maximize the benefits of attending this course, you should have the following prerequisite skills:

  • Basic SQL Programming experience. This course is not for students new to SQL.

Take Before: Students should have incoming practical skills aligned with those in the course(s) below, or should have attended the following course(s) as a pre-requisite:

  • TTSQL002     Introduction to SQL Programming Basics– 3 days
  • TTSQL003     Introduction to Writing SQL Queries – 3 days

Course Agenda

Please note that this list of topics is based on our standard course offering, evolved from typical industry uses and trends. We’ll work with you to tune this course and level of coverage to target the skills you need most. Topics, agenda and labs are subject to change, and may adjust during live delivery based on audience needs and skill-level.

 
  1. Advanced Query Techniques
  • Inner Joins
  • Outer Joins (Left, Right, Full)
  • Performing Self-Joins
  • Subqueries
  • Simple
  • Correlated
  • Using the EXISTS Operator
  • Tips for Developing Complex SQL Queries
  • Using Aggregate Functions
  • AVG, COUNT
  • SUM
  • MIN
  • MAX
  • Performing Set Operations
  • UNION
  • INTERSECT
  • EXCEPT/MINUS
  • Aggregating Results Using GROUP BY
  • Restricting Groups with the HAVING Clause
  • Creating Temporary Tables

 

  1. Manipulating Table Data Using SQL's Data Manipulation Language (DML)
  • Inserting Data into Tables
  • Updating Existing Data
  • Deleting Records
  • Truncating Tables
  • Implementing Data Integrity with Transactions
  • Beginning Explicit Transactions
  • Committing Transactions
  • Rolling Back Transactions

 

  1. User-Defined Functions
  • Definition and Benefits of Use
  • CREATE FUNCTION
  • Syntax
  • RETURN Clause and the RETURNS Statement
  • Scalar vs. Table Functions
  • Comparison with Stored Procedures
  • Returning Scalar Values and Tables
  • ALTER and DROP FUNCTION

 

  1. Stored Procedures
  • Definition and Benefits of Use
  • CREATE PROCEDURE
  • Syntax
  • Variables and Parameters
  • Control of Program Flow
  • ALTER and DROP PROCEDURE
  • Implementation Differences

 

  1. Triggers
  • Definition and Benefits of Use
  • Alternatives (e.g., Constraints)
  • CREATE TRIGGER
  • Syntax
  • Trigger Types
  • "Inserted" (or "NEW") and "Deleted" (or "OLD") Tables
  • Event Handling and Trigger Execution
  • ALTER and DROP TRIGGER
Course Dates Course Times (EST) Delivery Mode GTR
7/25/2024 - 7/26/2024 10:00 AM - 6:00 PM Virtual Enroll
9/12/2024 - 9/13/2024 10:00 AM - 6:00 PM Virtual Enroll
10/31/2024 - 11/1/2024 10:00 AM - 6:00 PM Virtual Enroll
12/12/2024 - 12/13/2024 10:00 AM - 6:00 PM Virtual Enroll