Querying & Processing SQL Server 2005 with SQL Statements (MS50027)

Overview

Having T/SQL skills is a prerequisite skill for many involved in the management and development of solutions utilising SQL Server 2005. T/SQL skills are also required to attend the more advanced SQL 2005 courses.
This two-day, hands-on course covers everything database administrators and developers need to know to query SQL Server databases using SELECT statements ranging from simple to complex, and use INSERT, UPDATE and DELETE statements to modify and maintain data. Creating and using of VIEWS is also covered, along with accessing data through stored procedures and userdefined functions.
Please note that although this course is validated and supplied by Microsoft, the content is not based on MOC.

Prerequisites

Delegates should have experience of using a Microsoft Windows operating system and have an understanding of relational database concepts including:

  • Logical and physical database design.
  • Data integrity concepts.
  • Relationships between tables and columns (primary key and foreign key, one-to-one, one-to many, and many-to-many).
  • How data is stored in tables (rows and columns).
  • Familiarity with the role of the database administrator.

Objectives

Upon completion users will be able to:

  • Describe the uses of and ways to execute the SQL language.
  • Use querying tools.
  • Write SELECT queries to retrieve data.
  • Group and summarize data by using SQL.
  • Join data from multiple tables.
  • Write queries that retrieve and modify data by using subqueries.

Duration

2 days.

Course Content

Lesson 1: Quick Intro to SQL Query Basics

  • Establish baseline knowledge required elsewhere in course
  • Elements of the SELECT statement
  • Optional clauses
  • Learn how to learn more, efficiently and effectively

Lesson 2: Advanced SQL Query Tactics

  • Everything you need to know about JOINS
  • UNION queries
  • GROUP BY queries
  • Sub-queries

Lesson 3: Data Manipulation Statements

  • Insert statements
  • Update statements
  • Delete statements
  • Manipulation over JOINs

Lesson 4: Working with Views

  • Nature and purpose of views
  • Creating and modifying view
  • Limitations and cautions

Lesson 5: Calling Stored Procedures and Functions

  • Calling a procedure for effect versus data
  • Using parameters
  • Calling a user-defined function

Lesson 6: Task-Oriented Queries

  • Finding unmatched or missing records
  • Finding duplicates
  • Calculating running sums
  • Changing a primary key

Back


Download

Download this profile here.