1-800-THE-TREE (1-800-843-8733)
TRAINING YOU CAN TRUST
 
 

Developing SQL Queries for SQL Server: Hands-On

 
Course: 534   Type: Hands-On Training   Duration: 4 Days
 
 

You Will Learn How To

  • Develop complex and robust SQL queries for SQL Server 2005 and SQL Server 2000
  • Query multiple tables with inner joins, outer joins and self joins
  • Transform data with built-in functions
  • Summarize data using aggregation and grouping
  • Execute analytic functions to calculate ranks
  • Build simple and correlated subqueries

Course Benefits

Microsoft's Transact-SQL is the cornerstone of all SQL Server database operations. In this hands-on course, you learn to exploit the full potential of the SELECT statement to write robust queries using the best query method for your application, test your queries, and avoid common errors and pitfalls.

Who Should Attend

Those who are developing systems using SQL Server databases, or who are using SQL to extract and analyze data from SQL Server databases. Knowledge of SQL Server at the level of Course 131, "SQL Server 2005 Comprehensive Introduction," or Course 925, "SQL Programming Language Introduction," is assumed.

Hands-On Training

Learn by doing as you use Transact-SQL to solve problems and maximize performance. Instructor-led exercises include:
  • Handling NULL values in expressions and conditions
  • Coding inner and outer joins
  • Implementing self joins
  • Computing aggregate results
  • Adding subtotals and grand totals to aggregate results
  • Employing ranking and analytic functions
  • Reusing subqueries as common table expressions
  • Analyzing query plans and tuning queries

Related Courses

 
SQL Server is a registered trademark of Microsoft Corporation.
 

Upcoming Dates

Jan 13 - 16, 2009
 Toronto
Jan 20 - 23, 2009
 Washington, DC (Reston, VA)
Feb 17 - 20, 2009
 Los Angeles
Feb 24 - 27, 2009
 Philadelphia
Mar 10 - 13, 2009
 New York
Mar 17 - 20, 2009
 Chicago (Schaumburg)
Mar 24 - 27, 2009
 San Francisco Bay Area
Mar 31 - Apr 3, 2009
 Washington, DC (Rockville, MD)
Apr 7 - 10, 2009
 Atlanta
Apr 7 - 10, 2009
 N. New Jersey
Apr 21 - 24, 2009
 Dallas
Apr 28 - May 1, 2009
 Boston (Waltham)
Apr 28 - May 1, 2009
 Ottawa
May 5 - 8, 2009
 Baltimore
May 5 - 8, 2009
 New York

For complete schedule, please visit www.learningtree.com
 
http://www.learntree.com/courses/534pf.htm
 
 
1-800-THE-TREE (1-800-843-8733)
TRAINING YOU CAN TRUST
 
 

Developing SQL Queries for SQL Server: Hands-On

 
Course: 534   Type: Hands-On Training   Duration: 4 Days
 
 
Course 534 Content
 

Introduction and Overview

SQL fundamentals

  • Retrieving data with SELECT
  • Expressions
  • Literals
  • Handling NULLs properly

Executing queries

  • Analyzing query plans
  • Enhancing query performance
  • Testing queries
  • 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

Scalar and Aggregate Functions

Taking advantage of scalar functions

  • Converting datatypes
  • Handling dates
  • Manipulating strings
  • Choosing the right function for the job

Summarizing data with aggregate functions

  • COUNT
  • SUM
  • AVG
  • MIN
  • MAX
  • Managing NULLs
  • Suppressing duplicates

Grouping data

  • GROUP BY vs. GROUP BY ALL
  • Applying conditions with HAVING
  • Calculating moving averages

Extending group queries

  • Nesting grouped aggregates
  • Joins and grouping
  • Introducing subtotals with CUBE and ROLLUP

Building crosstab reports

  • Using CASE to turn rows into columns
  • Applying PIVOT and UNPIVOT

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

Building Subqueries

Simple subqueries

  • Subqueries in conditions and column expressions
  • Creating multilevel subqueries
  • Avoiding problems when subqueries return NULLs
  • Handling multirow subquery results

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
  • Exploring alternatives for decomposing: tables, views, common table expressions, table-valued functions
 
http://www.learntree.com/courses/534pf.htm
 
 
1-800-THE-TREE (1-800-843-8733)
TRAINING YOU CAN TRUST
 
 

Developing SQL Queries for SQL Server: Hands-On Tuition

 
Course: 534   Type: Hands-On Training   Duration: 4 Days
 
 

Course Tuition
$ 2,790 Standard Tuition
Tuition with a Savings Plan
$ 1,800 10-Day Pass
$ 1,670 Training Passport
$ 1,625 Premium-Pass
$ 2,200 Voucher 10-Pack
$ 2,515 Alumni Gold Discount
$ 2,484 Government Discount
 

 

Your Course Tuition Entitles You To...

  • Class participation
  • Team workshops
  • Use of in-class hands-on equipment
  • Comprehensive course materials
  • Morning and afternoon refreshments
  • Course Completion Certificate awarding Continuing Education Units
  • FREE participation in Professional Certification
  • FREE participation in College Credit programs (including related exams)
 
 

Tuition Savings Plans

Training Passport
  • 3 courses in 12 months
  • As little as $1,670 per course
  • Savings as much as 45%
  • Only $5,000
Premium Pass
  • 4 courses in 24 months
  • As little as $1,625 per course
  • Save as much as 45%
10-Day Pass
  • A NEW way to save on training
  • 10 days of training for one person
  • Save as much as $990 per course
  • Only $4,500
Training Vouchers
  • Save as much as $990 per course
  • Fully transferable
  • As low as $2,200 per course
Alumni Gold Discount Attend your first course and you'll receive a personalized Alumni Gold Discount card, entitling you to save as much as $305 on each course you take within the following 12 months. Take just one course each year and you'll be entitled to ongoing discounts...year after year!

Your Guarantee of Satisfaction

Unless you feel 100% satisfied that Learning Tree delivered even more than you expected, there is no fee for your course attendance. Our Guarantee of Quality lets you experience the value of the course--and then pay only if you feel the course was well worth the tuition.

Enrolling is Easy and Flexible!

Enroll by phone or online. If your plans change, just let us know and, without a fee, you can transfer to another course or cancel your enrollment. Pay after you've taken the course, and then only if you are 100% satisfied.

 
http://www.learntree.com/courses/534pf.htm