Consulta de datos con Microsoft Transact-SQL (DP 080T00)
¡Quiero saber más sobre el curso de Consulta de datos con Microsoft Transact-SQL (DP 080T00)!
A quien va dirigido
Este curso puede ser valioso para cualquier persona que necesite escribir consultas básicas de SQL o Transact-SQL. Esto incluye a cualquier persona que trabaje con datos como analista de datos, ingeniero de datos, científico de datos, administrador de bases de datos o desarrollador de bases de datos. También puede ser útil para otras personas involucradas periféricamente con datos o que deseen aprender más sobre cómo trabajar con datos, como arquitectos de soluciones, estudiantes y gerentes de tecnología.
Rol de trabajo: Administrador de base de datos
Caracteristicas: ninguno
Descripción
A quien va dirigido
Este curso puede ser valioso para cualquier persona que necesite escribir consultas básicas de SQL o Transact-SQL. Esto incluye a cualquier persona que trabaje con datos como analista de datos, ingeniero de datos, científico de datos, administrador de bases de datos o desarrollador de bases de datos. También puede ser útil para otras personas involucradas periféricamente con datos o que deseen aprender más sobre cómo trabajar con datos, como arquitectos de soluciones, estudiantes y gerentes de tecnología.
Rol de trabajo: Administrador de base de datos
Caracteristicas: ninguno
Descripción
Este curso enseñará los conceptos básicos del dialecto de Microsoft del lenguaje SQL estándar: Transact-SQL. Los temas incluyen tanto la consulta como la modificación de datos en bases de datos relacionales alojadas en sistemas de bases de datos basados en Microsoft SQL Server, que incluyen: Microsoft SQL Server, Azure SQL Database y Azure Synapse Analytics.
- Utilice las herramientas de consulta de SQL Server
- Escriba declaraciones SELECT para recuperar columnas de una o más tablas
- Ordenar y filtrar los datos seleccionados
- Utilice funciones integradas para devolver valores de datos
- Cree grupos de datos y agregue los resultados
- Modifique datos con Transact-SQL usando INSERT, UPDATE, DELETE y MERGE
In this module you will learn about the basics of the Transact-SQL (T-SQL) language, as well as general properties and terminology of relational databases. This module will also introduce the basic SELECT statement for retrieving data from a table.
- Introduction to Transact-SQL
- Using the SELECT statement
- Using a query tool to write and execute queries in Transact-SQL
- Understand the basic concepts of relational database and the T-SQL language
- Write SELECT statements to retrieve data from a relational database table
- Understand basic datatypes and how they are used
- Understand the basics of NULL values
In the module you will learn how to control what data is returned, the order in which it is returned. You will use the ORDER BY clause, with and without paging. You will learn about various kinds of filters that can be used in the WHERE clause to control which data rows are returned. You will also learn how to manage the results by removing duplicates with DISTINCT.
- Sorting query results
- Filtering the data
After completing this module, students will be able to:
- Use ORDER BY to sort results from a T-SQL SELECT statement
- Add a TOP clause to limit the ordered rows returned
- Page the sorted data with OFFSET-FET
- Write WHERE clauses to filter the rows returned
- Use DISTINCT to eliminate duplicate rows in the results
In this module, you will explore T-SQL queries which access data from multiple tables with various kinds of JOIN operations and simple subqueries.
- Using JOIN operations
- Using subqueries
- Write queries accessing data from multiple tables using JOIN operations
- Understand the differences between type of JOIN operations: INNER JOIN, OUTER JOIN, CROSS JOIN
- Understand how to join a table to itself with a self-join
- Write subqueries within a SELECT statement
- Understand the difference between scalar and multi-valued subqueries
- Understand the difference between correlated and self-contained subqueries
In the module you will explore the use of built-in functions for returning computed or special values in the SELECT list or in the WHERE clause. Functions include math functions, string functions and system functions. There are other types of functions that will be mentioned, but not discussed in detail. You will also learn how to combine rows of data into a single group, providing summary information for the group such as SUM, MIN or MAX.
- Getting started with scalar functions
- Grouping aggregated results
- Write queries using scalar functions
- Write queries using aggregate functions
- Use GROUP BY to combine data into groups based on a common column value
- Understand how HAVING is used to filter groups of rows
In this module, you will learn the T-SQL statements for modifying table data including UPDATE, DELETE and MERGE as well as various options for INSERT including creating a new table with data from an existing table. You will also look at how to have the system automatically supply values for columns as the data is inserted.
- Inserting data into tables
- Modifying and deleting data
- Insert data into an existing table
- Specify that a column should be automatically populating with an IDENTITY or a SEQUENCE value
- Modify data using the UPDATE statement
- Delete data using the DELETE statement
- Modify data using MERGE to synchronize two tables
Get Started Querying with Transact SQL
Write advanced Transact SQL queries
Program with Transact SQL