Advanced SQL Programming (TTSQL005)

Explore Advanced Querying Techniques, Manipulating Table Data with DML, Stored Procedures, Triggers & More

TTSQL005

Intermediate and Beyond

2 Days

Course Overview

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.

NOTE: This course uses Oracle SQL Developer in the labs, however the tooling is just the means used to teach SQL. This is not a SQL Developer focused course, and prior SQL Developer knowledge is not required.  The course focuses on skills and concepts that can be applied to other databases and platforms. If you need a specific alternate database, please inquire for details and options.

 

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.

Course Objectives

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.

 

Course Prerequisites

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 Materials

Setup Made Simple! Learning Experience Platform (LXP) 

All applicable course software, digital courseware files or course notes, labs, data sets and solutions, live coaching support channels and rich extended learning and post training resources are provided for you in our “easy access, no install required” online Learning Experience Platform (LXP), remote lab and content environment. Access periods vary by course. We’ll collaborate with you to ensure your team is set up and ready to go well in advance of the class. Please inquire about set up details and options for your specific course of interest.

Raise the bar for advancing technology skills

Attend a Class!

Live scheduled classes are listed below or browse our full course catalog anytime

Special Offers

We regulary offer discounts for individuals, groups and corporate teams. Contact us

Custom Team Training

Check out custom training solutions planned around your unique needs and skills.

EveryCourse Extras

Exclusive materials, ongoing support and a free live course refresh with every class.

Attend a Course

Please see the current upcoming available open enrollment course dates posted below. Please feel free to Register Online below, or call 844-475-4559 toll free to connect with our Registrar for assistance. If you need additional date options, please contact us for scheduling.

Course Title Days Date Time Price
Advanced SQL Programming (TTSQL005) 2 Days Jun 4 to Jun 5 10:00 AM to 06:00 PM EST $1,695.00 Enroll
Advanced SQL Programming (TTSQL005) 2 Days Jul 25 to Jul 26 10:00 AM to 06:00 PM EST $1,695.00 Enroll
Advanced SQL Programming (TTSQL005) 2 Days Sep 12 to Sep 13 10:00 AM to 06:00 PM EST $1,695.00 Enroll
Advanced SQL Programming (TTSQL005) 2 Days Oct 31 to Nov 1 10:00 AM to 06:00 PM EST $1,695.00 Enroll
Advanced SQL Programming (TTSQL005) 2 Days Dec 12 to Dec 13 10:00 AM to 06:00 PM EST $1,695.00 Enroll

Mix, Match & Master!
2FOR1: Two Courses, One Price!

Enroll in *any* two public courses (for 2023 *OR* 2024 dates!) by December 31, for one price!  Learn something new, or share the promo!

Click for Details & Additional Offers

Learn. Explore. Advance!

Extend your training investment! Recorded sessions, free re-sits and after course support included with Every Course
Trivera MiniCamps
Gain the skills you need with less time in the classroom with our short course, live-online hands-on events
Trivera QuickSkills: Free Courses and Webinars
Training on us! Keep your skills current with free live events, courses & webinars
Trivera AfterCourse: Coaching and Support
Expert level after-training support to help organizations put new training skills into practice on the job

The voices of our customers speak volumes

Special Offers
Limited Offer for most courses.

SAVE 50%

Learn More