SQL Azure is the new cloud based database service from Microsoft whcih provides cost-effective scalability, high availability, and reduced management overhead. In this class, you’ll learn some of the core concepts of SQL Azure,Â some distinctions between SQL Azure and on-premises SQL Server.
This class covers the following topics:
Introduction to SQL Azure (Microsoft’s premier database service in the cloud)
This class introduces Transact SQL as the primary querying language of SQL Server. It discusses the basic structure of T-SQL queries, the logical flow of a SELECT statement, and introduces concepts such as predicates and set-based operations.
This class explains how to write queries which combine data from multiple sources in SQL Server. The module introduces the use of JOINs in T-SQL queries as a mechanism for retrieving data from multiple tables.
This class covers 4 lessons that include:
Understanding and working with Joins
Understanding and working with Inner Joins
Understanding and working with Outer joins
Understanding and working with Cross joins and Self Joins
This class explains how to enhance queries to limit the rows they return, and to control the order in which the rows are displayed. The module also discusses how to resolve missing and unknown results.
This class explains the data types SQL Server uses to store data. It introduces the many types of numeric and special-use data types. It also explains conversions between data types, and the importance of type precedence.
This class introduces methods for grouping data within a query, aggregating the grouped data and filtering groups with HAVING. The module is designed to help the student grasp why a SELECT clause has restrictions placed upon column naming in the GROUP BY clause as well as which columns may be listed in the SELECT clause.
This class introduces T-SQL expressions which return a valid relational table, typically for further use in the query. The module discusses views, derived tables, common table expressions and inline table-valued functions.
In this class, you’ll learn how to use the SET operators like UNION, INTERSECT, EXCEPT to compare rows between two input sets. You will also learn how to use forms of APPLY operator to manipulate the rows in one table based on the output of the second table which may be a derived table or a table-valued function.
This class introduces window functions including ranking, aggregate and offset functions. Much of this functionality is new to SQL Server 2012. It will cover the use of T-SQL functions such as ROW_NUMBER, RANK, DENSE_RANK, NTILE, LAG, LEAD, FIRST_VALUE and LAST_VALUE to perform calculations against a set, or window, of rows.
This class discusses techniques for pivoting data in T-SQL as well to introduce the fundamentals of the GROUPING SETS clause. It will also cover the use of GROUP BY ROLLUP and GROUP BY CUBE syntax in SQL Server.
Whether you plan to write reports or queries or adminiter SQL Server, you’ll find querying SQL Server metadata very useful. In this module, you will learn how to write queries to return system metadata using various functions and dmv’s.
This module will show you how basic stored procedures are created with a goal of better understanding what happens on the SQL Server when you execute one. This module also shows you how to generate dynamic SQL statements which are often required when stored procedures are not used.
This class provides a basic introduction to T-SQL programming concepts and objects. It discusses batches, variables, control of flow elements such as loops and conditionals, how to create and execute dynamic SQL statements, and how to use synonyms.
This class introduces the use of error handlers in T-SQL code. It will introduce the difference between compile errors and run-time errors, and will cover how errors affect batches. The module will also cover how to control error handling using TRY/CATCH blocks, the use of the ERROR class of functions, and the use of the new THROW statements.
This module introduces the concepts of transaction management in SQL Server. It will provide a high-level overview of transaction properties, cover the basics of marking transactions with BEGIN, COMMIT and ROLLBACK.