O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

SQL: Beyond the Basics

Video Description

In this SQL: Beyond the Basics training course, expert author Guy Vaccaro will dive deeper into SQL and covers advanced techniques. This course is designed for users that already have experience with SQL.
You will start by learning a variety of useful skills, including how to convert datatypes, create a temporary table, and declare and use variables. From there, Guy will teach you about sub queries, the CASE statement, and numbering and ranking. This video tutorial also covers using built in functions, creating and using your own functions, and creating views. Finally, you will learn about stored procedures, such as how to create and run a stored procedure, loop with WHILE and IF, and dynamically build SQL statements.
Once you have completed this computer based training course, you will have expanded your skills and be able to make more efficient use of SQL. Working files are included, allowing you to follow along with the author throughout the lessons.

Table of Contents

  1. The Warm Up
    1. About This SQL Advanced Title 00:05:00
    2. About The Author 00:01:48
    3. Relational Databases And Key Terms Explained 00:07:46
    4. Recap Of SQL SELECT Command 00:07:39
    5. Overview Of The Other DML Statements 00:05:30
    6. How To Access Your Working Files 00:01:15
    7. Installing The Sample Data And Using The Working Files 00:03:05
  2. Useful Skills
    1. Converting Datatypes 00:07:59
    2. Creating A Temporary Table 00:06:03
    3. The DISTINCT And TOP Keywords In Action 00:05:21
    4. Indexing To Speed Up Your Life 00:08:00
    5. Declaring And Using Variables 00:06:50
  3. The Subquery
    1. What Is A Subquery? 00:06:01
    2. Subquery Vs Joins 00:04:59
    3. Using Correlated Subqueries 00:07:05
    4. Using The EXISTS Keyword 00:04:47
    5. Finding Duplicate Records 00:05:45
  4. The CASE Statement
    1. Getting Started With The CASE Statement 00:06:35
    2. Using The CASE Statement With Criteria On Multiple Columns 00:05:34
    3. Multiple Criteria Within The CASE Statement 00:06:11
    4. CASE In WHERE, ORDER BY, And GROUP BY Clauses 00:04:50
    5. CASE In UPDATE And INSERT Statements 00:06:33
    6. CASE Within Subqueries 00:06:05
  5. Numbering And Ranking
    1. Numbering Or Ranking Records In A SELECT Statement 00:06:21
    2. Filtering Results Based On Numbering Ranking 00:05:54
    3. Using Numbering Within Groups 00:04:45
    4. Filtering A Ranked Group To Determine Top N 00:05:18
  6. Functions
    1. Using Built In Functions 00:07:35
    2. Creating And Using Your Own Functions (UDF) 00:05:08
    1. Creating A View 00:05:20
    2. Example Views And Views In Views 00:05:06
    3. Using The UNION Clause 00:06:24
  8. Stored Procedures
    1. What Is A Stored Procedure? 00:08:04
    2. Creating A Stored Procedure 00:05:34
    3. Running A Stored Procedure 00:04:56
    4. Stored Procedures Within Stored Procedures 00:05:28
    5. The Global Variables @@Identity And @@Rowcount 00:08:06
    6. Looping With WHILE And IF 00:06:59
    7. Dynamically Build SQL Statements 00:07:44
    8. TRY And CATCH For Error Trapping 00:04:30
    9. Cursors In Use - Part 1 00:06:33
    10. Cursors In Use - Part 2 00:05:31
    11. Use Of Transactions 00:06:42
  9. Conclusions
    1. Wrap Up 00:06:37