0% found this document useful (0 votes)
3 views

SQLIntermediate-CourseOutline311023

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

SQLIntermediate-CourseOutline311023

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

[Type here] Course Outline

SQL Intermediate

SQL
Intermediate Level

Duration: 1 Day (9am – 4pm)

Course Pre-Requisites: Knowledge of SQL at an beginner level is


recommended for this course.

Course Overview
Dive deeper into the world of Structured Query Language (SQL) with this intermediate
course, designed to empower data enthusiasts with advanced techniques for data retrieval
and manipulation. Through hands-on experience with Microsoft's Transact-SQL (T-SQL) in
an Azure SQL environment, participants will master a range of functions, from built-in to
user-defined, and explore complex querying methods, ensuring they can effectively access,
analyse, and manage data across various database platforms.

1. Introduction
In this introductory topic, learners will embark on a journey into the foundational elements of
SQL (Structured Query Language). They'll gain a solid understanding of SQL's core
principles and how it's utilised to interact with databases. Furthermore, the course will delve
into T-SQL, Microsoft's extension of SQL, enhancing participants' knowledge of its unique
features and capabilities. By the end of this section, participants will have a robust grasp of
both SQL and T-SQL, setting the groundwork for more advanced topics to come.

2. Data Types
In this segment, learners will delve into SQL's data types and their importance. They'll
master techniques for data conversion, particularly using functions like CAST, CONVERT,
and PARSE. By the end, participants will be skilled in managing and converting data types
effectively within their database operations.

3. Functions in T-SQL
This section introduces learners to the diverse range of functions within T-SQL. From built-in
functions that offer ready-made solutions, to aggregate functions for data summarisation,
and scalar functions for single-value outputs, participants will deepen their understanding.
They'll also explore ranking functions for data ordering and will learn to craft their own user-

Aust: nexacu.com.au E: [email protected] Global: nexacu.com


[Type here] Course Outline
SQL Intermediate

defined functions for tailored operations. By the end of this topic, learners will be equipped to
harness the full power of functions in T-SQL for more efficient data processing.

4. Aggregate Functions and Group by Extension


In this module, learners will delve into the intricacies of aggregate functions and advanced
grouping techniques in T-SQL. They'll explore the capabilities of GROUP BY extensions
such as CUBE, ROLLUP, and GROUPING SETS, which offer dynamic ways to summarise
and categorise data. The course will also shed light on the versatile CASE statement and its
alternatives, along with functions like COALESCE and NULLIFF for handling null values. By
the end, participants will have a nuanced understanding of data aggregation and the tools
available for flexible data grouping and evaluation.

5. String Functions
In this section, participants will delve into the world of string manipulation using T-SQL.
They'll learn essential techniques like concatenation to join strings, replacement methods to
modify string content, and formatting techniques to present data in a desired structure. By
mastering these string functions, learners will be equipped to efficiently handle and transform
textual data within their database operations.

6. Date and Time Functions


Navigating through date and time in databases is a pivotal skill, and this segment ensures
learners master it using T-SQL. From simple tasks like retrieving today's date to more
complex operations like calculating date differences and formulating new dates, participants
will cover a comprehensive range. They'll also learn to extract specific date components and
craft custom date values. By the end of this topic, learners will confidently manipulate and
utilise date and time data in their database endeavours.

7. Logical Functions
In this module, learners will immerse themselves in the logical functionalities offered by T-
SQL. They'll explore the conditional capabilities of the IIF function, delve into decision-
making with the CHOOSE function, and learn to identify maximum and minimum values
using GREATEST and LEAST. These logical functions enhance the decision-making
prowess of database operations. By the end, participants will have a sound grasp of
incorporating logic seamlessly into their data processing tasks.

8. Mathematical Functions
This section introduces participants to the mathematical side of T-SQL. Learners will explore
functions like ROUND for precise value approximation, CEILING to fetch the smallest integer
greater than or equal to a specified value, and FLOOR for the largest integer less than or
equal to a number. By mastering these mathematical functions, participants will be equipped
to handle numerical data with accuracy and efficiency in their database operations.

Aust: nexacu.com.au E: [email protected] Global: nexacu.com


[Type here] Course Outline
SQL Intermediate

9. Writing Complex Queries


Venturing into the deeper layers of T-SQL, this segment focuses on crafting intricate queries
to extract richer insights. Participants will unravel the potential of Subqueries, nested
queries that provide data for the main query. They'll also get hands-on with Local Variables
to store data temporarily for processing and delve into Views to simplify complex queries. By
the end of this module, learners will be adept at formulating sophisticated queries, enhancing
their data retrieval capabilities.

10. Window (Analytic) Functions


This section dives into the advanced realm of window functions in T-SQL, offering learners
tools for detailed data analysis without altering data structure. They'll explore the
foundational OVER clause, segment data with PARTITION BY, and sort it using ORDER
BY. Key concepts like ROWS or RANGE will be covered, enabling precise data framing.
Additionally, learners will master calculations of group metrics such as totals, averages,
percentages, and running totals. The segment will also introduce lead and lag functions like
LAG and LEAD, and concepts of FIRST_VALUE and LAST_VALUE for data positioning. By
the end, participants will be proficient in using window functions for in-depth data insights.

11. Ranking Functions


In this module, participants will delve into the domain of ranking functions within T-SQL, tools
that are pivotal for ordering datasets based on specific criteria. They'll explore
ROW_NUMBER, which assigns a unique sequential integer to rows. The distinctions and
applications of RANK and DENSE RANK will be covered, offering learners techniques to
rank data with and without gaps. Lastly, the NTILE function will be introduced, equipping
participants to divide a dataset into approximate percentiles or portions. By the end of this
section, learners will be adept at applying ranking functions to structure and analyse data
effectively.

12. User-Defined Functions


This segment delves into the customisation capabilities of T-SQL. Learners will be
introduced to User-Defined Functions, empowering them to create, utilise, and modify their
tailor-made scalar functions for bespoke operations. Alongside, the concept of Schemas will
be covered, providing insights into the structured layout of database objects. By mastering
these topics, participants will be equipped to mould the database environment to their
specific needs, ensuring greater efficiency and precision in their tasks.

Aust: nexacu.com.au E: [email protected] Global: nexacu.com

You might also like