Schedule Introduction

Breadcrumb

Training Schedule

DsgCourseListingWeb

(100677) Introduction to Writing SQL Queries (TTSQL003)

Code: 100677 v0521
Type:
Tuition (USD): $1795
Length: 3Days

Have a question? Contact Us

Location: Date Guaranteed to Run:
Live Virtual, US 08/22/2022
Live Virtual, US 10/03/2022
Live Virtual, US 11/14/2022
Live Virtual, US 12/12/2022

Not finding any suitable dates? Contact us for additional availability: training@dunnsolutions.com

Skills Gained:
Join an engaging hands-on learning environment, where you’ll learn: Maximize the potential of SQL to build powerful, complex and robust SQL queries Query multiple tables with inner joins, outer joins and self joins Construct recursive common table expressions Summarize data using aggregation and grouping Execute analytic functions to calculate ranks Build simple and correlated subqueries Thoroughly test SQL queries to avoid common errors Select the most efficient solution to complex SQL problems This course has a 50% hands-on labs to 50% lecture ratio with engaging instruction, demos, group discussions, labs, and project work.
Who Should Attend?
This course is for professionals who are developing applications using relational databases or who are using SQL to extract and analyze data from databases and want to use the full power of SQL queries.
Prerequisites:
  • You should have a basic understanding of SQL.
What You Will Learn:
  • Introduction and Overview
  • SQL fundamentals
  • Why SQL can be both easy and difficult
  • Recommendations for thorough testing
  • Retrieving data with SELECT
  • Expressions
  • Literals
  • Handling NULLs properly
  • Executing queries
  • Analyzing query plans
  • Enhancing query performance
  • Retrieving partly results with FETCH and OFFSET
  • Selecting the best alternatives
  • Avoiding errors and pitfalls
  • Querying Multiple Tables
  • Implementing various types of joins
  • Inner joins
  • Cross joins
  • Left, right and full outer joins
  • Equijoins vs. theta joins
  • The performance implications of joins
  • Adding filter conditions to outer joins
  • Writing self joins
  • Joining a table to itself
  • Chaining self joins
  • Solving time-interval problems
  • Combining queries with set operators
  • UNION
  • UNION ALL
  • INTERSECT
  • EXCEPT
  • Aggregate Functions
  • Summarizing data with aggregate functions
  • COUNT
  • SUM
  • AVG
  • MIN
  • MAX
  • Managing NULLs
  • identifying duplicates
  • Grouping data
  • GROUP B
  • Applying conditions with HAVING
  • Calculating moving averages
  • Building crosstab reports
  • Extending group queries
  • Nesting grouped aggregates
  • Joins and grouping
  • Introducing subtotals with CUBE and ROLLUP
  • Performing Extensive Analysis with Analytic Functions
  • The OVER clause
  • Specifying the ordering before applying the function
  • Splitting the result set into logical partitions
  • Calculating ranks
  • RANK and DENSE_RANK
  • ROW_NUMBER with ordered sets
  • Calculating percentiles
  • Extending the use of aggregates
  • Partitioning in multiple levels
  • Computing running totals
  • Comparing row and aggregate values
  • Top-N queries
  • Defining sliding window boundaries
  • Self-contained subqueries
  • Subqueries in conditions and column expressions
  • Creating multilevel subqueries
  • Avoiding problems when subqueries return NULLs
  • Handling multirow subquery results
  • Finding gaps in number series
  • Correlated subqueries
  • Accessing values from the outer query
  • EXISTS vs. IN
  • Identifying duplicates
  • Avoiding accidental correlation
  • Common table expressions
  • Reusable subqueries
  • Recursive subqueries
  • Traversing hierarchies
  • Breaking Down Complex Queries
  • Overcoming SQL limitations
  • Reducing complexity and improving performance
Course Info:
SQL is the cornerstone of all relational database operations. In this hands-on course, you’ll learn how to employ the full potential of the SELECT statement to write robust queries using the best query method for your application. You’ll also test your queries and learn to avoid common errors and pitfalls. It also teaches alternative solutions to given problems, enabling you to select the most efficient solution in each situation.

The course describes the ANSI/ISO SQL standard, but also identifies deviations from the standard in the two most widely used database products, Oracle and Microsoft SQL Server.

RELATED CERTIFICATIONS
None

Follow-On Courses:
None

Terms and conditions may apply. Learn more about our Microsoft training exclusives by contacting training@dunnsolutions.com

Live Virtual:
Get engaging and impactful live, instructor-led training, regardless of your location.

Our Virtual Classroom Live online training format combines premium skills development technologies and our industry-leading instructors, content, exercises and peer collaboration to ensure that you get the highest quality professional development experience possible. Gain the skills and expertise that matter from the convenience of your home, work or wherever you have an Internet connection.

Engage with your instructor and fellow students via a learning platform and course material designed to ensure a stimulating and productive skills development experience.

Choose from sessions across a variety of time zones for training options that suit your schedule. Save time, money and effort without sacrificing learning quality by accessing our expert-led online training from the convenience of your home, office or anywhere with an Internet connection.

Attend from your PC, Mac or any iOS/Android tablet or smartphone. Connect with the class through your device audio or via toll-free phone number†, depending on available technologies and your interaction preferences.
New – Learn the current and most efficient SQL query techniques and industry practices.