HomeAbout UsWhy UsLocation MapContact UsJoin Us

Course Information

Stay competitive, get trained. In collaboration with our learning partners, Iverson offers you the most comprehensive training that enables you to build technical solutions and stay competitive today and in the future.
Search course(s) again

Code : SQL2778
Title : Writing Queries Using Microsoft SQL Server 2008 Transact-SQL
Fees : 12000
Days : 3
Product : Microsoft SQL Server 2008
Main : Developers
schedule
Date/month/year
27-29/10/2010
15-17/12/2010
Request This

Course Outline

Print

 Writing Queries Using Microsoft SQL Server 2008 Transact-SQL

SQL2778: Three days; Instructor-Led

Introduction
At the end of this three-day course, students who are new to SQL Server will learn how to write basic Transact-SQL queries for Microsoft SQL Server 2005.

Audience
IT Professionals, IT generalists, and Information Workers who want to learn about writing queries for Microsoft SQL Server 2005. Candidates should have at least 3 years experience working in the IT field-typically in the area of databases. No experience with SQL Server is necessary.

At Course Completion
After completing this course, students will be able to:

· Get started with databases and Transact-SQL.

· Perform basic queries.

· Group and summarize data.

· Join data from multiple tables.

· Work with subqueries.

· Modify data.

· Query metadata, XML, and full-text indexes.

· Use programming objects for data retrieval.

· Use advanced querying techniques.


Prerequisites
This course requires that students meet the following prerequisites:

· An understanding of basic relational database concepts, including:

· Logical database design.

· Physical database design.

· How data is stored in tables (rows and columns).

· Data integrity concepts.

· Relationships between tables and columns (primary key and foreign key, one-to-one, one-to-many, and many-to-many).

· Basic knowledge of the Microsoft Windows operating system and its core functionality. For example, how to use Windows Explorer, open and save files, and what a client/server application interaction means.


Microsoft Certified Professional Exams
This course will help the student prepare for the following Microsoft Certified Professional exam:

· Exam 70-431: TS: Microsoft SQL Server 2005-Implementation and Maintenance.:


Course Materials
The student kit includes a comprehensive workbook and a Student Materials compact disk for this class.

Course Outline
Module 1: Getting Started with Databases and Transact-SQL in Microsoft SQL Server 2005
After completing this module, students will be able to describe the basics of the Transact-SQL language.

Lessons

· Overview of SQL Server 2005

· Overview of SQL Server Databases

· Overview of the SQL Language

· Syntax Elements of T-SQL

· Working with T-SQL Scripts

· Using T-SQL Querying Tools


Lab: Getting Started with Databases and T-SQL

· Using SQL Server Management Studio


After completing this module, students will be able to:

· Describe the architecture and components of SQL Server 2005.

· Describe the structure of a SQL Server database.

· Explain the basics of the SQL language.

· Describe the syntax elements of T-SQL.

· Explain how to manage T-SQL scripts.

· Use T-SQL querying tools to query SQL Server 2005 databases.


Module 2: Performing Basic Queries in Microsoft SQL Server 2005
After completing this module, students will be able write basic queries.

Lessons

· Using the SELECT Statement

· Filtering Data

· Working with NULL Values

· Formatting Result Sets

· Performance Considerations for Writing Queries


Lab: Performing Basic Queries

· Retrieving data from tables

· Formatting the result set

· Using efficient search arguments


After completing this module, students will be able to:

· Retrieve data by using the SELECT statement.

· Filter data by using different search conditions.

· Explain how to work with NULL values.

· Format result sets.

· Describe the performance considerations that affect data retrieval.


Module 3: Grouping and Summarizing Data in Microsoft SQL Server 2005
After completing this module, students will be able to generate summary reports.

Lessons

· Summarizing Data by Using Aggregate Functions

· Summarizing Grouped Data

· Ranking Grouped Data

· Creating Crosstab Queries


Lab: Grouping and Summarizing Data

· Using aggregate functions

· Summarizing grouped data

· Ranking grouped data

· Pivoting data


After completing this module, students will be able to:

· Summarize data by using aggregate functions.

· Summarize grouped data by using the GROUP BY and COMPUTE clauses.

· Rank grouped data.

· Create cross-tabulation queries by using the PIVOT and UNPIVOT clauses.


Module 4: Joining Data from Multiple Tables in Microsoft SQL Server 2005
After completing this module, students will be able to write joins and combine result sets.

Lessons

· Querying Multiple Tables by Using Joins

· Applying Joins for Typical Reporting Needs

· Combining and Limiting Result Sets


Lab: Joining Data from Multiple Tables

· Joining data from multiple tables

· Combining result sets from multiple queries


After completing this module, students will be able to:

· Query multiple tables by using joins.

· Apply joins for typical reporting needs.

· Combine and limit result sets.


Module 5: Working with Subqueries in Microsoft SQL Server 2005
After completing this module, students will be able to write subqueries.

Lessons

· Writing Basic Subqueries

· Writing Correlated Subqueries

· Comparing Subqueries with Joins and Temporary Tables

· Using Common Table Expressions


Lab: Working with Subqueries

· Performing subqueries

· Using temporary tables

· Using Common Table Expressions


After completing this module, students will be able to:

· Write basic subqueries.

· Write correlated subqueries.

· Compare subqueries with joins and temporary tables.

· Use common table expressions in queries.


Module 6: Modifying Data in Microsoft SQL Server 2005
After completing this module, students will be able to modify data.

Lessons

· Overview of Transactions

· Inserting Data into Tables

· Deleting Data from Tables

· Updating Data in Tables


Lab: Modifying Data in Tables

· Inserting data

· Deleting data

· Updating data


After completing this module, students will be able to:

· Implement client access servers.

· Implement client access features.

· Implement Outlook Web Access.

· Implement Mobile Messaging.


Module 7: Querying Metadata, XML, and Full-Text Indexes in Microsoft SQL Server 2005
After completing this module, students will be able to query semi-structured and unstructured data.

Lessons

· Querying Metadata

· Overview of XML

· Querying XML Data

· Overview of Full-Text Indexes

· Querying Full-Text Indexes Implementing Message Transport


Lab: Querying Metadata, XML, and Full-Text Indexes

· Querying metadata

· Querying XML data

· Query Full-Text indexes


After completing this module, students will be able to:

· Query metadata.

· Describe the functionality of XML.

· Query XML data.

· Describe the functionality of full-text indexes.

· Query full-text indexes.


Module 8: Using Programming Objects for Data Retrieval in Microsoft SQL Server 2005
After completing this module, students will be able to use programming objects.

Lessons

· Encapsulating Expressions by Using User-Defined Functions

· Encapsulating Queries by Using Views

· Overview of Stored Procedures

· Writing Distributed Queries


Lab: Using Programming Objects for Data Retrieval in Microsoft SQL Server 2005

· Using User-Defined Functions

· Using Views

· Querying distributed data


After completing this module, students will be able to:

· Encapsulate expressions by using user-defined functions.

· Encapsulate queries by using views.

· Explain how stored procedures encapsulate T-SQL logic.

· Write distributed queries.


Module 9: Using Advanced Querying Techniques in Microsoft SQL Server 2005
After completing this module, students will be able to apply advanced querying techniques to solve complex reporting requirements.

Lessons

· Recommendations for Querying Complex Data

· Querying Complex Table Structures

· Writing Efficient Queries

· Explain the recommendations for querying complex data.

· Using Different Techniques When Working with Complex Queries

· Maintaining Query Files


Lab: Using Advanced Querying Techniques

· Writing efficient queries

· Solving complex reporting requirements


After completing this module, students will be able to:

· Explain the recommendations for querying complex data.

· Query complex table structures.

· Write efficient queries.

· Use various techniques when working with complex queries.

• Maintain query files.