Advanced SQL Programming

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

TTSQL005

Intermediate and Beyond

2 Days

Course Overview

A company’s success hinges on responsible, accurate database management. Organizations rely on highly available data to complete all sorts of tasks, from creating marketing reports and invoicing customers to setting financial goals. Data professionals like analysts, developers and architects are tasked with creating, optimizing, managing and analyzing data from databases – with little room for error. When databases aren’t built or maintained correctly, it’s easy to mishandle or lose valuable data. Our SQL Programming and Database Training Series provides students with the skills they require to develop, analyze and maintain data and in correctly structured,  modern and secure databases.

Next Level SQL is a two-day hands-on trainign course that explores how to identify and use advanced querying techniques to manipulate and index tables. All hands-on work in this course is ANSI SQL compliant and should work with most SQL databases such as Oracle, SQL Server, MySQL, MS Access, Informix, Sybase, or any other ANSI SQL compliant database.

Working within in an engaging, hands-on learning environment, guided by our expert team, attendees will explore:
•    Advanced Query Techniques
•    Manipulating Table Data Using SQL's Data Manipulation Language (DML)
•    User-Defined Functions
•    Stored Procedures
•    Triggers

Need different skills or topics?  If your team requires different topics or tools, additional skills or custom approach, this course may be further adjusted to accommodate.  We offer a wide variety of SQL, scripting, database and other related topics that may be blended with this course for a track that best suits your needs.  Our team can help design the course or learning path that best meets your needs and skills goals.

Course Objectives

This “skills-centric” course is about 50% hands-on lab and 50% lecture, designed to train attendees in next level SQL and database skills, coupling the most current, effective techniques with the soundest industry practices. Throughout the course students will be led through a series of progressively advanced topics, where each topic consists of lecture, group discussion, comprehensive hands-on lab exercises, and lab review.

Our engaging instructors and mentors are highly experienced practitioners who bring years of current "on-the-job" experience into every classroom.  Working within in an engaging, hands-on learning environment, guided by our expert team, attendees will explore:

  • Advanced Query Techniques
  • Manipulating Table Data Using SQL's Data Manipulation Language (DML)
  • User-Defined Functions
  • Stored Procedures
  • Triggers

Need different skills or topics?  If your team requires different topics or tools, additional skills or custom approach, this course may be further adjusted to accommodate.  We offer a wide variety of SQL, scripting, database and other related topics that may be blended with this course for a track that best suits your needs.  Our team can help design the course or learning path that best meets your needs and skills goals.

 

Course Prerequisites

This is an intermediate and beyond level SQL course geared for experienced end users, data scientists, business analysts, application developers and database administrators. Students should have recently attended a basic SQL class or have equivalent experience.

Take Before: Attendees should have incoming skills aligned with the topics in the course(s) below or should attended them as a pre-requisite:

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

Take After: Our core training courses provide students with a solid foundation for continued learning based on role, goals, or their areas of specialty.  Our learning paths offer a wide variety of follow-on courses such as:

  • Database or tooling topics (SQL Server, Oracle, OBIEE, TOAD, etc)
  • Data Analytics / Big Data training
  • Please contact us for recommended next steps tailored to your longer-term education, project, role or development objectives.

Please see the Related Courses tab for Pre-Requisite course specifics and links, links to similar courses you might review as an alternative, as well as suggested Next-Step Follow-On Courses and Learning Path recommendations.

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

Student Materials: Each participant will receive a digital Student Guide and/or Course Notes, code samples, software tutorials, step-by-step written lab instructions (as applicable), diagrams and related reference materials and resource links. Students will also receive the project files (or code, if applicable) and solutions required for the hands-on work.

Hands-On Setup Made Simple! Our dedicated tech team will work with you to ensure our ‘easy-access’ cloud-based course environment, or local installation, is accessible, fully-tested and verified as ready to go well in advance of the course start date, ensuring a smooth start to class and effective learning experience for all participants. In some cases we can also help you install this course locally if preferred. Please inquire for details and options.

Every-Course Extras = High-Value & Long-Term Learning Support! All Public Schedule courses include our unique EveryCourse Extras package (Course Recordings, Live Instructor Follow-on Support, Free *Live* Course Refresh Re-Takes, early access to Special Offers, Free Courses & more). Please inquire for details.

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 2 Days Jul 27 to Jul 28 10:00 AM to 06:00 PM EST $1,695.00 Enroll
Advanced SQL Programming 2 Days Sep 14 to Sep 15 10:00 AM to 06:00 PM EST $1,695.00 Enroll
Advanced SQL Programming 2 Days Nov 2 to Nov 3 10:00 AM to 06:00 PM EST $1,695.00 Enroll
Advanced SQL Programming 2 Days Dec 14 to Dec 15 10:00 AM to 06:00 PM EST $1,695.00 Enroll

Learning is Twice as Nice!
Buy One Get One Free!

Enroll by May 31 in any TWO public classes in 2023 for the price of ONE! 

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