# SQL Server Level III

Canonical URL: <https://training-nyc.com/courses/sql-level-3>

## Overview

In this advanced SQL course, you will learn how to complete complex tasks in Microsoft SQL Server through hands-on projects.

Learn how to employ If-Else logic to queries through CASE statements, use string functions to extract specific text, and retrieve data from anywhere in a database via subqueries. You'll also find out how to query using Views instead of tables when you do not have the required database permissions and become knowledgable about functions and stored procedures to make your SQL code reusable, adaptable, and reproducible. 

Upon completion of this course, you will be better equipped to pursue a career in data analysis, data science, or any other role that requires you to use SQL to manipulate data in relational databases.

## What you'll learn

- Use Subqueries to grab data from anywhere in a database and use that result in another query
- Query from Views instead of tables
- Add If-Else logic to queries using CASE
- Learn how to use Functions, and execute reusable Stored Procedures  
- Use String Functions to get just the part of text you need

## Prerequisites

SQL proficiency equivalent to our [SQL Level 2](/courses/sql-level-2) course is required, including JOINs, aggregate functions, GROUP BY and HAVING, as well as working with CAST and date/time.

## Curriculum

### Advanced Query Techniques

#### Subqueries

- Subqueries: Queries within queries
- Single-Value vs Multi-Value vs Table-Value Subqueries

#### Aggregate Window Functions

- Using OVER and PARTITION BY to apply Aggregate Functions

#### Conditionals with CASE

- Adding If-Else Logic with CASE
- Simple CASE vs Searched CASE
- IIF (Inline IF)

#### String Functions

- Manipulating text using string functions
- Using SUBSTRING, LEFT/RIGHT, CHARINDEX, UPPER, etc.
- Combining with Inline IF statements (IIF)

#### Self Join

- How a Self Join is different from other types of joins
- Using a Self Join

### Views, Functions, & Stored Procedures

#### Using Views

- What are Views?
- The Advantages & Disadvantages of using Views
- How to Use & Query a View

#### User-Defined Functions with Parameters

- Using Scalar-Value (Single-Value) Functions
- Using Table-Value Functions

#### Executing Stored Procedures

- The difference between Views, Functions, and Stored Procedures
- Using Stored Procedures

## Schedule
- Jul 29, 2026 10:00am–5:00pm — NYC
- Sep 24, 2026 10:00am–5:00pm — NYC
- Nov 4, 2026 10:00am–5:00pm — NYC

## Pricing

**Tuition:** $425
