This document provides an overview of topics that will be covered in a course on querying Microsoft SQL Server with Transact SQL (T-SQL). The course will consist of 14 modules covering topics such as the SELECT statement, filtering and sorting data, joins, stored procedures, triggers, and performance tuning. Each module is divided into lessons that provide more specific explanations and examples related to the module topic. The course is designed for an audience with basic to intermediate knowledge of MS SQL Server who are interested in taking the Microsoft certification exam 70-461.
"Using Indexes in SQL Server 2008" by Alexander Korotkiy, part 1 Andriy Krayniy
Speakers Corner Event at Ciklum Dnepropetrovsk Office. Alexander Korotkiy, Senior .NET Developer talking Indexes in MS SQL Server.Speakers Corner Event at Ciklum Dnepropetrovsk Office. Alexander Korotkiy, Senior .NET Developer talking Indexes in MS SQL Server.
How the query planner in PostgreSQL works? Index access methods, join execution types, aggregation & pipelining. Optimizing queries with WHERE conditions, ORDER BY and GROUP BY. Composite indexes, partial and expression indexes. Exploiting assumptions about data and denormalization.
SAP has released a number of updates to their LMS Admin UI. In this slideshare, we will cover what is new and how you can prepare.
Interested in learning more? Watch this on-demand webinar. https://www.gpstrategies.com/archived-webinar/discovering-the-new-successfactors-lms-admin-features/
"Using Indexes in SQL Server 2008" by Alexander Korotkiy, part 1 Andriy Krayniy
Speakers Corner Event at Ciklum Dnepropetrovsk Office. Alexander Korotkiy, Senior .NET Developer talking Indexes in MS SQL Server.Speakers Corner Event at Ciklum Dnepropetrovsk Office. Alexander Korotkiy, Senior .NET Developer talking Indexes in MS SQL Server.
How the query planner in PostgreSQL works? Index access methods, join execution types, aggregation & pipelining. Optimizing queries with WHERE conditions, ORDER BY and GROUP BY. Composite indexes, partial and expression indexes. Exploiting assumptions about data and denormalization.
SAP has released a number of updates to their LMS Admin UI. In this slideshare, we will cover what is new and how you can prepare.
Interested in learning more? Watch this on-demand webinar. https://www.gpstrategies.com/archived-webinar/discovering-the-new-successfactors-lms-admin-features/
How to select and deploy your Learning Management System (LMS)Kumar Kaneswaran
This Slideshare is aimed at providing a basic foundation to those who are selecting and deploying a Learning Management System. *Note that a thorough training needs analysis is required with key stakeholders prior to choosing a learning management system.
Lucene/Solr Revolution 2015: Where Search Meets Machine LearningJoaquin Delgado PhD.
Search engines have focused on solving the document retrieval problem, so their scoring functions do not handle naturally non-traditional IR data types, such as numerical or categorical. Therefore, on domains beyond traditional search, scores representing strengths of associations or matches may vary widely. As such, the original model doesn’t suffice, so relevance ranking is performed as a two-phase approach with 1) regular search 2) external model to re-rank the filtered items. Metrics such as click-through and conversion rates are associated with the users’ response to items served. The predicted selection rates that arise in real-time can be critical for optimal matching. For example, in recommender systems, predicted performance of a recommended item in a given context, also called response prediction, is often used in determining a set of recommendations to serve in relation to a given serving opportunity. Similar techniques are used in the advertising domain. To address this issue the authors have created ML-Scoring, an open source framework that tightly integrates machine learning models into a popular search engine (SOLR/Elasticsearch), replacing the default IR-based ranking function. A custom model is trained through either Weka or Spark and it is loaded as a plugin used at query time to compute custom scores.
Lucene/Solr Revolution 2015: Where Search Meets Machine LearningS. Diana Hu
Search engines have focused on solving the document retrieval problem, so their scoring functions do not handle naturally non-traditional IR data types, such as numerical or categorical. Therefore, on domains beyond traditional search, scores representing strengths of associations or matches may vary widely. As such, the original model doesn’t suffice, so relevance ranking is performed as a two-phase approach with 1) regular search 2) external model to re-rank the filtered items. Metrics such as click-through and conversion rates are associated with the users’ response to items served. The predicted selection rates that arise in real-time can be critical for optimal matching. For example, in recommender systems, predicted performance of a recommended item in a given context, also called response prediction, is often used in determining a set of recommendations to serve in relation to a given serving opportunity. Similar techniques are used in the advertising domain. To address this issue the authors have created ML-Scoring, an open source framework that tightly integrates machine learning models into a popular search engine (SOLR/Elasticsearch), replacing the default IR-based ranking function. A custom model is trained through either Weka or Spark and it is loaded as a plugin used at query time to compute custom scores.
Real World – Rapid prototyping with Logic AppsBizTalk360
This integration Monday session will be a show and tell style session where Mike will present a short topic covering rapid prototyping using Logic Apps. We all know that integration projects tend to be challenging, a lot of time is spent on analysis and trying to understand how things will work. In the real world we still find that no matter how much analysis we do we never really know the full story until we try to wedge the square peg into the round hole. In this session Mike will talk about how he used Logic apps to help him elaborate the requirements for a project using a prototype built with Logic Apps and how some of the learnings from this prototype will save plenty of time later in the project.
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 3. In this session, we will cover desktop automation along with UI automation.
Topics covered:
UI automation Introduction,
UI automation Sample
Desktop automation flow
Pradeep Chinnala, Senior Consultant Automation Developer @WonderBotz and UiPath MVP
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
JMeter webinar - integration with InfluxDB and GrafanaRTTS
Watch this recorded webinar about real-time monitoring of application performance. See how to integrate Apache JMeter, the open-source leader in performance testing, with InfluxDB, the open-source time-series database, and Grafana, the open-source analytics and visualization application.
In this webinar, we will review the benefits of leveraging InfluxDB and Grafana when executing load tests and demonstrate how these tools are used to visualize performance metrics.
Length: 30 minutes
Session Overview
-------------------------------------------
During this webinar, we will cover the following topics while demonstrating the integrations of JMeter, InfluxDB and Grafana:
- What out-of-the-box solutions are available for real-time monitoring JMeter tests?
- What are the benefits of integrating InfluxDB and Grafana into the load testing stack?
- Which features are provided by Grafana?
- Demonstration of InfluxDB and Grafana using a practice web application
To view the webinar recording, go to:
https://www.rttsweb.com/jmeter-integration-webinar
JMeter webinar - integration with InfluxDB and Grafana
Consultas en MS SQL Server 2012
1.
2.
3. Ven Señor, sobre nuestros pensamientos, palabras y obras, a fin
de que nuestro dia se agradable ante tus ojos.
Querido Dios abre sus ojos para que se salven y dejen la
ignorancia y las ensenñanzas que han recibido.
Beshir Estefanos Kamel
4. El verdadero tesoro
La lámpara del cuerpo es el ojo; por eso, si tu ojo está sano, todo
tu cuerpo estará lleno de luz.
Pero si tu ojo está malo, todo tu cuerpo estará lleno de oscuridad.
Así que, si la luz que hay en ti es oscuridad, ¡cuán grande será la
oscuridad!
Mateo 6:22
5. Profesor de POO y Bases de Datos.
Carlos.Flores.Roman@gmail.com
Carlos.Flores@dae.una.edu.ni
7. Expectativas
• Audiencia
– Con conocimientos básico e intermedio en MS SQL Server
– Personas que estan considerando tomar el examen 70-461;
• Material Adicional
– Microsoft Official Course 20461
• Querying Microsoft SQL Server
• Charla preparatoria para la certificación de Microsoft: Examen 461
8. • Microsoft Virtual Academy
– Cursos en linea dirigidos por profesionales
– Actualmente se encuentran registrados mas de 3M de usuarios
– Información actualizada y con una variedad de productos MS
– Cursos relacionados
• Querying with Transact-SQL
• Database Fundamentals
Unete a la comunidad MVA
9. Otras fuentes 1/2
• Sitios que venden el servicio de entrenamiento
– Learn on line
– Pluralsight
– Lynda
10. • Edx, Coursera, Udacity,
• Future Learn, EducaLab,
• Miriadax, Canvas,
• European MOOCs
• Harvard; Stanford; MIT;
• U de Granada
• Books
– T-SQL Querying
Otras fuentes 2/2
11. Course Topics
1. Querying Microsoft SQL server 2012 with transact sql
01 | Foundations of Querying 07 | Querying and Managing XML Data
02 | Getting Started with the SELECT
Statement
08 | Creating Tables and Enforcing Data
Integrity
03 | Filtering and Sorting Data
09 | Designing and Creating Views, Inline
Functions, and Synonyms
04 | Combining Sets 10 | Inserting, Updating, and Deleting Data
05 | Grouping and Windowing 11 | Other Data Modification Aspects
06 | Querying Full-Text Data
12 | Implementing Transactions, Error
Handling, and Dynamic SQL
12. 01 | Foundations of Querying
Carlos.Flores.Roman@gmail.com | Instructor
13. Module Overview
01 | Foundations of Querying
• Lesson 1: Understanding the Foundations of T-SQL
– Evolution of T-SQL
– Using T-SQL in a Relational Way
– Using Correct Terminology
• Lesson 2: Understanding Logical Query Processing
– T-SQL As a Declarative English-Like Language
– Logical Query Processing Phases
14. 02 | Getting Started with the SELECT
Statement
Carlos.Flores.Roman@gmail.com | Instructor
15. Module Overview
02 | Getting Started with the SELECT Statement
• Lesson 1: Using the FROM and SELECT Clauses
– The FROM Clause
– The SELECT Clause
– Delimiting Identifiers
• Lesson 2: Working with Data Types and Built-in Functions
– Choosing the Appropriate Data Type
– Choosing a Data Type for Keys
– Date and Time Functions
– Character Functions
– CASE Expression and Related Functions
16. 03 | Filtering and Sorting Data
Carlos.Flores.Roman@gmail.com | Instructor
17. Module Overview
03 | Filtering and Sorting Data
• Lesson 1: Filtering Data with Predicates
– Predicates, Three-Valued Logic, and Search Arguments
– Combining Predicates
– Filtering Character Data
– Filtering Date and Time Data
• Lesson 2: Sorting Data
– Understanding When Order Is Guaranteed
– Using the ORDER BY Clause to Sort Data
• Lesson 3: Filtering Data with TOP and OFFSET-FETCH
– Filtering Data with TOP
– Filtering Data with OFFSET-FETCH
19. Module Overview
04 | Combining Sets
• Lesson 1: Using Joins
– Cross Joins
– Inner Joins
– Outer Joins
– Multi-Join Queries
• Lesson 2: Using Subqueries, Table Expressions, and the APPLY
– Operator
– Subqueries
– Table Expressions
– APPLY
– Lesson 3: Using Set Operators
– UNION and UNION ALL
– INTERSECT
– EXCEPT
20. 05 | Grouping and Windowing
Carlos.Flores.Roman@gmail.com | Instructor
21. Module Overview
05 | Grouping and Windowing
• Lesson 1: Writing Grouped Queries
– Working with a Single Grouping Set
– Working with Multiple Grouping Sets
• Lesson 2: Pivoting and Unpivoting Data
– Pivoting Data
– Unpivoting Data
• Lesson 3: Using Window Functions
– Window Aggregate Functions
– Window Ranking Functions
– Window Offset Functions
22. 06 | Querying Full-Text Data
Carlos.Flores.Roman@gmail.com | Instructor
23. Module Overview
06 | Querying Full-Text Data
• Lesson 1: Creating Full-Text Catalogs and Indexes
– Full-Text Search Components
– Creating and Managing Full-Text Catalogs and Indexes
• Lesson 2: Using the CONTAINS and FREETEXT Predicates
– The CONTAINS Predicate
– The FREETEXT Predicate
• Lesson 3: Using the Full-Text and Semantic Search
– Table-Valued Functions
– Using the Full-Text Search Functions
– Using the Semantic Search Functions
24. 07 | Querying and Managing XML Data
Carlos.Flores.Roman@gmail.com | Instructor
25. Module Overview
07 | Querying and Managing XML Data
• Lesson 1: Returning Results As XML with FOR XML
– Introduction to XML
– Producing XML from Relational Data
– Shredding XML to Tables
• Lesson 2: Querying XML Data with XQuery
– XQuery Basics
– Navigation
– FLWOR Expressions
• Lesson 3: Using the XML Data Type
– When to Use the XML Data Type
– XML Data Type Methods
– Using the XML Data Type for Dynamic Schema
26. 08 | Creating Tables and Enforcing Data
Integrity
Carlos.Flores.Roman@gmail.com | Instructor
27. Module Overview
08 | Creating Tables and Enforcing Data Integrity
• Lesson 1: Creating and Altering Tables
– Introduction
– Creating a Table
– Altering a Table
– Choosing Table Indexes
• Lesson 2: Enforcing Data Integrity
– Using Constraints
– Primary Key Constraints
– Unique Constraints
– Foreign Key Constraints
– Check Constraints
– Default Constraints
28. 09 | Designing and Creating Views, Inline
Functions, and Synonyms
Carlos.Flores.Roman@gmail.com | Instructor
29. Module Overview
09 | …Views, Inline Functions, and Synonyms
• Lesson 1: Designing and Implementing Views and Inline Functions
– Introduction
– Views
– Inline Functions
• Lesson 2: Using Synonyms
– Creating a Synonym
– Comparing Synonyms with Other Database Objects
30. 10 | Inserting, Updating, and Deleting
Data
Carlos.Flores.Roman@gmail.com | Instructor
31. • Lesson 1: Inserting Data
– Sample Data
– INSERT VALUES
– INSERT SELECT
– INSERT EXEC
– SELECT INTO
• Lesson 2: Updating Data
– Sample Data
– UPDATE Statement
– UPDATE Based on Join
– Nondeterministic UPDATE
– UPDATE and Table Expressions
– UPDATE Based on a Variable
– UPDATE All-at-Once
• Lesson 3: Deleting Data
– Sample Data
– DELETE Statement
– TRUNCATE Statement
– DELETE Based on a Join
– DELETE Using Table Expressions
Module Overview
10 | Inserting, Updating, and Deleting Data
32. 11 | Other Data Modification Aspects
Carlos.Flores.Roman@gmail.com | Instructor
33. Module Overview
11 | Other Data Modification Aspects
• Lesson 1: Using the Sequence Object and IDENTITY Column Property.
– Using the IDENTITY Column Property
– Using the Sequence Object
• Lesson 2: Merging Data
– Using the MERGE Statement
• Lesson 3: Using the OUTPUT Option
– Working with the OUTPUT Clause
– INSERT with OUTPUT
– DELETE with OUTPUT
– UPDATE with OUTPUT
– MERGE with OUTPUT
– Composable DML
41. Module Overview
16 | … Cursors, Sets, and Temporary Tables
• Lesson 1: Evaluating the Use of Cursor/Iterative Solutions vs. Set-Based Solutions
– The Meaning of "Set-Based"
– Iterations for Operations That Must Be Done Per Row
– Cursor vs. Set-Based Solutions for Data Manipulation Tasks
• Lesson 2: Using Temporary Tables vs. Table Variables
– Scope
– DDL and Indexes
– Physical Representation in tempdb
– Transactions
– Statistics
https://www.microsoft.com/learning/es-mx/exam-70-461.aspx
https://www.microsoft.com/learning/en-us/exam-70-461.aspx
Course 20461C: Querying Microsoft SQL Server
https://www.microsoft.com/learning/en-us/course.aspx?id=20461c
01 | Foundations of Querying
02 | Getting Started with the SELECT Statement
03 | Filtering and Sorting Data
04 | Combining Sets
05 | Grouping and Windowing
06 | Querying Full-Text Data
07 | Querying and Managing XML Data
08 | Creating Tables and Enforcing Data Integrity
09 | Designing and Creating Views, Inline Functions, and Synonyms
10 | Inserting, Updating, and Deleting Data
11 | Other Data Modification Aspects
12 | Implementing Transactions, Error Handling, and Dynamic SQL
13 | Designing and Implementing T-SQL Routines
14 | Using Tools to Analyze Query Performance
15 | Implementing Indexes and Statistics
16 | Understanding Cursors, Sets, and Temporary Tables
17 | Understanding Further Optimization Aspects
Chapter 1 Foundations of Querying
Lesson 1: Understanding the Foundations of T-SQL
Evolution of T-SQL
Using T-SQL in a Relational Way
Using Correct Terminology
Lesson 2: Understanding Logical Query Processing
T-SQL As a Declarative English-Like Language
Logical Query Processing Phases
Chapter 2 Getting Started with the SELECT Statement
Lesson 1: Using the FROM and SELECT Clauses
The FROM Clause
The SELECT Clause
Delimiting Identifiers
Lesson 2: Working with Data Types and Built-in Functions
Choosing the Appropriate Data Type
Choosing a Data Type for Keys
Date and Time Functions
Character Functions
CASE Expression and Related Functions
Chapter 3 Filtering and Sorting Data
Lesson 1: Filtering Data with Predicates
Predicates, Three-Valued Logic, and Search Arguments
Combining Predicates
Filtering Character Data
Filtering Date and Time Data
Lesson 2: Sorting Data
Understanding When Order Is Guaranteed
Using the ORDER BY Clause to Sort Data
Lesson 3: Filtering Data with TOP and OFFSET-FETCH
Filtering Data with TOP
Filtering Data with OFFSET-FETCH
Chapter 4 Combining Sets
Lesson 1: Using Joins
Cross Joins
Inner Joins
Outer Joins
Multi-Join Queries
Lesson 2: Using Subqueries, Table Expressions, and the APPLY
Operator
Subqueries
Table Expressions
APPLY
Lesson 3: Using Set Operator
UNION and UNION ALL
INTERSECT
EXCEPT
Chapter 5 Grouping and Windowing
Lesson 1: Writing Grouped Queries
Working with a Single Grouping Set
Working with Multiple Grouping Sets
Lesson 2: Pivoting and Unpivoting Data
Pivoting Data
Unpivoting Data
Lesson 3: Using Window Functions
Window Aggregate Functions
Window Ranking Functions
Window Offset Functions
Chapter 6 Querying Full-Text Data
Lesson 1: Creating Full-Text Catalogs and Indexes
Full-Text Search Components
Creating and Managing Full-Text Catalogs and Indexes
Lesson 2: Using the CONTAINS and FREETEXT Predicate
The CONTAINS Predicate
The FREETEXT Predicate
Lesson 3: Using the Full-Text and Semantic Search
Table-Valued Function
Using the Full-Text Search Functions
Using the Semantic Search Functions
Chapter 7 Querying and Managing XML Data
Lesson 1: Returning Results As XML with FOR XML
Introduction to XML
Producing XML from Relational Data
Shredding XML to Tables
Lesson 2: Querying XML Data with XQuery
XQuery Basics
Navigation
FLWOR Expressions
Lesson 3: Using the XML Data Type
When to Use the XML Data Type
XML Data Type Methods
Using the XML Data Type for Dynamic Schema
Chapter 8 Creating Tables and Enforcing Data Integrity
Lesson 1: Creating and Altering Tables
Introduction
Creating a Table
Altering a Table
Choosing Table Indexes
Lesson 2: Enforcing Data Integrity
Using Constraints
Primary Key Constraints
Unique Constraints
Foreign Key Constraints
Check Constraints
Default Constraints
Chapter 9 Designing and Creating Views, Inline Functions, and Synonyms
Lesson 1: Designing and Implementing Views and Inline Functions
Introduction
Views
Inline Functions
Lesson 2: Using Synonyms
Creating a Synonym
Comparing Synonyms with Other Database Objects
Chapter 10 Inserting, Updating, and Deleting Data
Lesson 1: Inserting Data
Sample Data
INSERT VALUES
INSERT SELECT
INSERT EXEC
SELECT INTO
Lesson 2: Updating Data
Sample Data
UPDATE Statement
UPDATE Based on Join
Nondeterministic UPDATE
UPDATE and Table Expressions
UPDATE Based on a Variable
UPDATE All-at-Once
Lesson 3: Deleting Data
Sample Data
DELETE Statement
TRUNCATE Statement
DELETE Based on a Join
DELETE Using Table Expressions
Chapter 11 Other Data Modification Aspects
Lesson 1: Using the Sequence Object and IDENTITY Column Property.
Using the IDENTITY Column Property
Using the Sequence Object
Lesson 2: Merging Data
Using the MERGE Statement
Lesson 3: Using the OUTPUT Option
Working with the OUTPUT Clause
INSERT with OUTPUT
DELETE with OUTPUT
UPDATE with OUTPUT
MERGE with OUTPUT
Composable DML
Chapter 12 Implementing Transactions, Error Handling, and Dynamic SQL
Lesson 1: Managing Transactions and Concurrency
Understanding Transactions
Types of Transactions
Basic Locking
Transaction Isolation Levels
Lesson 2: Implementing Error Handling
Detecting and Raising Errors
Handling Errors After Detection
Lesson 3: Using Dynamic SQL
Dynamic SQL Overview
SQL Injection
Using sp_executesql
Chapter 13 Designing and Implementing T-SQL Routines
Lesson 1: Designing and Implementing Stored Procedures
Understanding Stored Procedures
Executing Stored Procedures
Branching Logic
Developing Stored Procedures
Lesson 2: Implementing Triggers
DML Triggers
AFTER Triggers
INSTEAD OF Triggers
DML Trigger Functions
Lesson 3: Implementing User-Defined Functions
Understanding User-Defined Functions
Scalar UDFs
Table-Valued UDFs
Limitations on UDFs
UDF Options
UDF Performance Considerations
Chapter 14 Using Tools to Analyze Query Performance
Lesson 1: Getting Started with Query Optimization
Query Optimization Problems and the Query Optimizer
SQL Server Extended Events, SQL Trace, and SQL Server Profiler
Lesson 2: Using SET Session Options and Analyzing Query Plans
SET Session Options
Execution Plans
Lesson 3: Using Dynamic Management Objects
Introduction to Dynamic Management Objects
The Most Important DMOs for Query Tuning
Chapter 15 Implementing Indexes and Statistics
Lesson 1: Implementing Indexes
Heaps and Balanced Trees
Implementing Nonclustered Indexes
Implementing Indexed Views
Lesson 2: Using Search Arguments
Supporting Queries with Indexes
Search Arguments
Lesson 3: Understanding Statistics
Auto-Created Statistics
Manually Maintaining Statistics
Chapter 16 Understanding Cursors, Sets, and Temporary Tables
Lesson 1: Evaluating the Use of Cursor/Iterative Solutions vs. Set-Based Solutions
The Meaning of “Set-Based”
Iterations for Operations That Must Be Done Per Row
Cursor vs. Set-Based Solutions for Data Manipulation Tasks
Lesson 2: Using Temporary Tables vs. Table Variables
Scope
DDL and Indexes
Physical Representation in tempdb
Transactions
Statistics
Chapter 17 Understanding Further Optimization Aspects
Lesson 1: Understanding Plan Iterator
Access Methods
Join Algorithms
Other Plan Iterators
Lesson 2: Using Parameterized Queries and Batch Operations
Parameterized Queries
Batch Processing
Lesson 3: Using Optimizer Hints and Plan Guides
Optimizer Hints
Plan Guides