• Post category:StudyBullet-3
  • Reading time:5 mins read


Learn the fundamental principles that defines the Transact-SQL language and write better, solid queries

What you will learn

Understand the foundation on which the Transact-SQL language is based

Understand the relationship between the Relational Model, standard SQL, and Transact-SQL

Understand how Microsoft implemented T-SQL as a dialect of the standard SQL

Understand the simple treatment of Set theory and Predicate Logic that forms the foundation of standard SQL and hence Transact-SQL

Understand the difference between the physical processing and logical processing of queries

Examine the six logical query processing phases with examples

Description


Get Instant Notification of New Courses on our Telegram channel.


Transact-SQL is the main language used to manage and manipulate data in Microsoft SQL Server. This course lays the foundation for querying data by using T-SQL. The course describes the roots of the language, terminology, and the mindset you need to adopt when writing T-SQL code. It then moves on to describe one of the most important concepts you need to know about the language: logical query processing This course introduces you to the core mathematical concepts (sets and predicate logic) and relational model on which the standard SQL language is built and hence that also defines the Microsoft Transact-SQL language. You will learn the difference between the logical and physical processing of Transact-SQL. You will get an understanding of the logical processing phases of queries. To receive the most from this course you need the following pre-requisites:

1. An understanding of basic database concepts

2. Experience working with SQL Server Management Studio (SSMS)

3. Some experience writing T-SQL code

4. Access to SQL Server instance (2016 and above) with the sample database AcotexDB installed.

We begin with a look at the evolution of T-SQL and discuss the relationship between the mathematical concepts that control the standard SQL language and how thse affect the T-SQL language and the deviation of the T-SQL from the standard SQL and how Microsoft provides the tools in the language to handle these deviations.

English
language

Content

Understanding the foundation of Transact-SQL (T-SQL)
Getting Ready
Evolution of T-SQL and introduction to the Data Model
Using T-SQL in a relational way Part One
Using T-SQL in a relational way Part Two
Understanding the Logical Query Processing
T-SQL as a Declarative English-Like Language
The Logical Query processing phases : Phase 1 (FROM) and Phase 2 (WHERE)
Examine the GROUP BY and the HAVING (phases 3 and 4) of the logical query phases
Process the SELECT clause and handle presentation ordering (phases 5 and 6)