Member of the LearnItFirst.com Video Training Network Related Video Training Sites: · SQL Server DBA Tutorials · Integration Services Training
   
Transact-SQL Programming and Query Writing
                        Training Videos

Transact-SQL Programming and Query Writing Tutorial: Pt. 7 - Column Aliases, TOP, and ORDER BY

   Chapter: SELECT, INSERT, UPDATE and DELETE - Data Manipulation Language
Download! Skill Level: 100 (Beginner)
Duration: 11:00
Size: 9.01MB
Versions/Editions Covered: SQL Server 2005 , SQL Server 2008 , SQL Server 2000
Added/Updated: Mar 20, 2007

Download this video
This is video number 7 of a series of 7 masterfully recorded videos about working with the Data Manipulation Language (DML) SELECT statement. This video focuses on a review of the ORDER BY clause and the TOP Operator using the Northwind database. Top Trainer, Scott Whigham, properly teaches us in detail about all of the following topics within this video:
  • Default order when utilizing ORDER BY
  • Difference between ASC and DESC
  • Introduction to column aliases (AS)
  • Real world examples using column aliases
  • Limitions of using column aliases
  • Real life environment examples when using ORDER BY
  • Examples containing alternative uses for ORDER BY
  • Introduction to relative positions when using ORDER BY statements
  • The Dos and Don''ts when using the ORDER BY statement
  • Definition of using the TOP clause
  • Real life examples using the TOP clause
  • Common production environment error when using the TOP clause
  • Rectifying a common production error when using the TOP clause
  • Single table processing sequence
  • Processing steps when using SELECT, FROM, WHERE and ORDER BY
  • Step by step instructions for using the TOP clause
  • Simplistic and complex TOP clause examples
This video brings the whole series together and finishes it off with a bang. If you are looking for a new outlook and how to properly work ith ORDER BY and TOP clauses this video is for you.
Everyone should benefit from this video whether you are a beginner, an intermediate user or an advanced user looking to better your understanding of the ORDER BY and/or TOP clause. This video
was reviewed and this description was written by Wayne Leiser.
Tags for this video: clause column aliases DML operator ORDERBY TOP  
< Back Download this video
AddThis Social Bookmark Button
People Who Downloaded this Video Also Downloaded:
TitleSkillDownload
Subqueries, Nested Queries, and Derived Tables - An Introduction to Advanced SQL... 300 Download
Constraint Keys, Index Keys, Composite Keys, Natural keys, and Surrogate Keys 200 Download
When to Use HAVING Instead of WHERE - Aggregates, GROUP BY, and the HAVING Claus... 300 Download
Query Analyzer - Beyond the Basics (SQL Server 2000) 200 Download
JOINs - An Overview of the Five Types of JOINs (Cross, Outer, and Inner) 200 Download
This video is part of the following video series: "A Lengthy Overview of the SELECT Statement"
This lengthy 7-part series is all about working with the Data Manipulation Language (DML) SELECT statement.Covered in this video are also some simple main sequences of SQL focusing on the statements, requirements and their various uses.

Highlights:
  • Returns from a SELECT statement
  • Introduction to the SELECT, FROM, JOIN, WHERE, GROUP BY, HAVING, ORDER BY statements
  • Basic definition for result sets
  • Intro to the AND / OR clauses
  • Proper utilization of parenthesis () when writing queries
  • Proper use of DISTINCT vs Improper use of GROUP BY
  • When and why to use the HAVING clause
  • Simplistic and complex TOP clause examples

To view all videos in this series, click here

About the Instructor:

Scott Whigham Scott Whigham is the founder of LearnItFirst.com, one of the web's most extensive video training libraries focusing on technical training. Scott is also an experienced consultant, trainer, and author with more than a decade of hands-on experience working with SQL Server databases, writing and debugging applications using Visual Studio, and performance tuning. Scott designed the architecture (websites, class libraries, and database) for the LearnItFirst.com websites and, most re... (Scott Whigham's full bio can be found on the About the Author page)

   
 
About Us Video Playback Subscriptions More Video Training More
 
© Copyright 2004-2008 LearnItFirst.com LLC. All rights reserved. All trademarks remain the property of their respective owners. This site is not affiliated in any way with the Microsoft Corporation. Refer a Friend and Get a Free Subscription!
 
1/8/2009 2:58:12 PM