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

T-SQL Fundamentals LiveLessons (Video Training)

Video Description

Overview

Learn T-SQL from the world's #1 SQL Server developer and author, Alison Balter! Gain deep mastery in just six hours… just watch!

 

Description

In just six hours, you'll gain the in-depth practical understanding of T-SQL you need to create superior solutions with SQL Server. Your video instructor, Alison Balter, has spent nearly 25 years building Microsoft database solutions for top organizations… she's the world's #1 Microsoft database author. Now, Balter guides you step-by-step through every skill you'll need, from simple SELECT statements to powerful query and view techniques… flexible stored procedures, triggers, and UDFs… even query analysis and optimization. Whether you're a DBA, database or web developer, or power user, these LiveLessons deliver practical knowledge for writing high-quality T-SQL code—fast!

 

About the Instructor

Alison Balterhas 24 years of real-life experience developing Access and SQL Server applications with T-SQL and related technologies. Her clients include USC, MIT, Southern California Edison, Cisco Systems, the Drug Enforcement Administration, and many other corporate and government entities. She has written 15 books and authored more than 300 computer training videos on Access and SQL Server development: work that has earned exceptionally high ratings at Amazon.com and elsewhere.

Skill Level

  • Intermediate
  • Advanced

 

What You Will Learn

  • Database fundamentals every T-SQL developer needs to know
  • How to make the most of common T-SQL statements, keywords, clauses, and functions
  • How to write powerful queries using joins, subqueries, and other techniques
  • How to take full advantage of Views to display, modify, index, and secure data
  • How to design and improve SQL Server stored procedures
  • How to create and work with triggers and User-Defined Functions (UDFs)
  • How to analyze query performance

 

Who Should Take This Course

  • SQL Server database administrators (DBAs) who need to efficiently create tables, views, stored procedures, functions, and triggers
  • Database developers who cannot rely on DBAs and must perform all T-SQL-related tasks on their own
  • .NET, web, and client/server developers whose responsibilities include data/database access
  • Microsoft Access power users seeking to deepen their skills in creating new solutions
  • Microsoft Access developers moving to SQL Server

 

Course Requirements

  • Experience with either the SQL Server or Access databases as a DBA, developer, or intermediate-to-advanced user

 

Table of Contents

Lesson 1. Introduction to Databases

1.1. What is a Database?

1.2. What Field Types are Available?

1.3. What is a Relationship?

1.4. Creating a Database

1.5. Creating a Table

Lesson 2. T-SQL Basics

2.1. Introduction to T-SQL

2.2. The SELECT Statement

2.3. The FROM Keyword

2.4. The WHERE Clause

2.5. IN and BETWEEN

2.6. The ORDER BY Clause

Lesson 3. T-SQL - Beyond the Basics

3.1. The DISTINCT Keyword

3.2. The GROUP BY Clause

3.3. Aggregate Functions

3.4. The HAVING Clause

3.5. Combining Conditions

3.6. Top Values Queries

3.7. Working with Aliases

3.8. Working with Null

3.9. The COMPUTE Clause

Lesson 4. Join Types

4.1. Inner Joins

4.2. Outer Joins

4.3. Full Joins

4.4. Self-Joins

Lesson 5. Specialized T-SQL Queries

5.1. Union Queries

5.2. Subqueries

Lesson 6. Modifying Data with Action Queries

6.1. The UPDATE Statement

6.2. The INSERT Statement

6.3. The SELECT INTO Statement

6.4. The DELETE Statement

6.5. The TRUNCATE Statement

Lesson 7. T-SQL Functions

7.1. Numeric Functions

7.2. String Functions

7.3. Date/Time Functions

7.4. Working with Nulls

Lesson 8. Working With SQL Server Views

8.1. Using T-SQL to Create or Modify a View

8.2. Creating Views Based on Data in Multiple Tables

8.3. Views and Subqueries

8.4. Views and Outer Joins

8.5. Sorting View Results

8.6. Views and Top Values

8.7. Views and Functions

8.8. Using Views to Secure Data

8.9. Modifying Data in a View

8.10. Indexed Views

8.11. Optimizing the Views that You Build

Lesson 9. Designing SQL Server Stored Procedures

9.1. Stored Procedure Basics

9.2. Declaring and Working with Variables

9.3. Controlling the Flow

9.4. The SET NOCOUNT Statement

9.5. Using the @@Functions

9.6. Working with Parameters

Lesson 10. Enhancing the Stored Procedures that You Build

10.1. Working with Cursors

10.2. Errors and Error Handling

10.3. Modifying Data with Stored Procedures

10.4. Stored Procedures and Transactions

10.5. Stored Procedures and Temporary Tables

10.6. Stored Procedures and Cursors

10.7. Stored Procedures and Security

10.8. Debugging the Stored Procedures that You Build

Lesson 11. Building and Working with User-Defined Functions

11.1. User-defined Functions Explained

11.2. Scalar Functions

11.3. Inline Table-Valued Functions

11.4. Multi-Statement Table-Valued Functions

11.5. Functions, Views, and Stored Procedures

Lesson 12. Creating and Working with Triggers

12.1. Triggers Explained

12.2. Creating Triggers

12.3. INSTEAD OF Triggers

Lesson 13. Analyzing Performance

13.1. Determining the Query Execution Plan

13.2. Viewing Query Statistics

13.3. Using the SQL Profiler

About LiveLessons Video Training

LiveLessons Video Training series publishes hundreds of hands-on, expert-led video tutorials covering a wide selection of technology topics designed to teach you the skills you need to succeed. This professional and personal technology video series features world-leading author instructors published by your trusted technology brands: Addison-Wesley, Cisco Press, IBM Press, Pearson IT Certification, Prentice Hall, Sams, and Que. Topics include: IT Certification, Programming, Web Development, Mobile Development, Home and Office Technologies, Business and Management, and more. View all LiveLessons on InformIT at: http://www.informit.com/livelessons

Table of Contents

  1. Introduction
    1. T-SQL Fundamentals LiveLessons: Introduction 00:03:23
  2. Lesson 1: Introduction to Databases
    1. Learning Objectives 00:00:28
    2. 1.1 What is a Database? 00:04:44
    3. 1.2 Creating a Database 00:03:37
    4. 1.3 Creating a Table 00:07:22
    5. 1.4 Creating Check Constraints 00:05:52
    6. 1.5 Establishing Relationships between Tables 00:05:46
  3. Lesson 2: T-SQL Basics
    1. Learning Objectives 00:00:28
    2. 2.1 The SELECT Statement 00:03:40
    3. 2.2 The FROM Keyword 00:01:36
    4. 2.3 The WHERE Clause 00:03:40
    5. 2.4 IN and BETWEEN 00:03:57
    6. 2.5 The ORDER BY Clause 00:02:21
  4. Lesson 3: TSQL - Beyond the Basics
    1. Learning Objectives 00:00:33
    2. 3.1 The DISTINCT Keyword 00:02:01
    3. 3.2 The GROUP BY Clause 00:01:31
    4. 3.3 Aggregate Functions 00:04:26
    5. 3.4 The HAVING Clause 00:01:26
    6. 3.5 Combining Conditions 00:06:39
    7. 3.6 Top Values Queries 00:04:03
    8. 3.7 Working with Aliases 00:02:04
    9. 3.8 Working with Null 00:02:23
  5. Lesson 4: Join Types
    1. Learning Objectives 00:00:22
    2. 4.1 Inner Joins 00:01:55
    3. 4.2 Outer Joins 00:02:04
    4. 4.3 Full Joins 00:01:37
    5. 4.4 Self Joins 00:05:15
  6. Lesson 5: Specialized T-SQL Queries
    1. Learning Objectives 00:00:37
    2. 5.1 Union Queries 00:05:59
    3. 5.2 Subqueries 00:02:00
  7. Lesson 6: Modifying Data with Action Queries
    1. Learning Objectives 00:00:25
    2. 6.1 The UPDATE Statement 00:03:35
    3. 6.2 The INSTER Statement 00:02:50
    4. 6.3 The SELECT INTO Statement 00:01:23
    5. 6.4 The DELETE Statement 00:01:30
    6. 6.5 The TRUNCATE Statement 00:00:56
  8. Lesson 7: T-SQL Functions
    1. Learning Objectives 00:00:36
    2. 7.1 Numeric Functions 00:03:02
    3. 7.2 String Functions 00:04:26
    4. 7.3 Date/Time Functions 00:05:52
    5. 7.4 Working with Nulls 00:04:21
  9. Lesson 8: Working with SQL Server Views
    1. Learning Objectives 00:00:29
    2. 8.1 Creating a Simple View 00:05:31
    3. 8.2 Creating Views Based on Data in Multiple Tables 00:04:06
    4. 8.3 Views and Subqueries 00:02:22
    5. 8.4 Views and Outer Joins 00:03:00
    6. 8.5 Sorting View Results 00:03:15
    7. 8.6 Views and Top Values 00:03:37
    8. 8.7 Views and Functions 00:02:53
    9. 8.8 Using Views to Secure Data 00:00:58
    10. 8.9 Modifying Data in a View 00:02:48
  10. Lesson 9: Designing SQL Server Stored Procedures
    1. Learning Objectives 00:00:37
    2. 9.1 Stored Procedures Basics 00:04:19
    3. 9.2 Declaring and Working with Variables 00:04:03
    4. 9.3 Controlling the Flow 00:10:44
    5. 9.4 The SET NOCOUNT Statement 00:00:46
    6. 9.5 Using the @@ Functions 00:05:26
    7. 9.6 Working with Paramaters 00:06:15
  11. Lesson 10: Enhancing the Stored Procedures that You Build
    1. Learning Objectives 00:00:36
    2. 10.1 Working with Cursors 00:04:18
    3. 10.2 Errors and Error Handling 00:08:43
    4. 10.3 Modifying Data with Stored Procedures 00:03:39
    5. 10.4 Stored Procedures and Transactions 00:03:19
    6. 10.5 Stored Procedures and Temporary Tables 00:02:55
    7. 10.6 Stored Procedures and Cursors 00:01:06
    8. 10.7 Stored Procedures and Security 00:06:29
  12. Lesson 11: Building and Working with User-Defined Functions
    1. Learning Objectives 00:00:29
    2. 11.1 User-defined Functions Explained 00:06:47
    3. 11.2 Scalar Functions 00:03:13
    4. 11.3 Inline Table-Valued Functions 00:02:14
    5. 11.4 Multi-Statement Table-Valued Functions 00:01:58
  13. Lesson 12: Creating and Working with Triggers
    1. Learning Objectives 00:00:26
    2. 12.1 Triggers Explained 00:00:34
    3. 12.2 Creating Triggers 00:06:09
  14. Lesson 13: Analyzing Performance
    1. Learning Objectives 00:00:29
    2. 13.1 Determining the Query Execution Plan 00:02:48
    3. 13.2 Viewing the Query Statistics 00:01:02
    4. 13.3 Using the SQL Profiler 00:04:23
  15. Summary
    1. T-SQL Fundamentals LiveLessons: Summary 00:01:04