Advanced SQL Programming
Retail Price: $1,895.00
Next Date: 01/30/2025
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.
- 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
- 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
- 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
- Stored Procedures
- Definition and Benefits of Use
- CREATE PROCEDURE
- Syntax
- Variables and Parameters
- Control of Program Flow
- ALTER and DROP PROCEDURE
- Implementation Differences
- 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 | |
---|---|---|---|---|
1/30/2025 - 1/31/2025 | 10:00 AM - 6:00 PM | Virtual | Enroll | |
4/3/2025 - 4/4/2025 | 10:00 AM - 6:00 PM | Virtual | Enroll | |
6/5/2025 - 6/6/2025 | 10:00 AM - 6:00 PM | Virtual | Enroll | |
7/31/2025 - 8/1/2025 | 10:00 AM - 6:00 PM | Virtual | Enroll | |
10/2/2025 - 10/3/2025 | 10:00 AM - 6:00 PM | Virtual | Enroll | |
11/20/2025 - 11/21/2025 | 10:00 AM - 6:00 PM | Virtual | Enroll |