Teknologisk Institut

Querying Data with Microsoft Transact-SQL [DP-080T00]
0%
Querying Data with Microsoft Transact-SQL [DP-080T00]

Querying Data with Microsoft Transact-SQL [DP-080T00]

Beskrivelse


Lær at skrive grundlæggende Transact-SQL forespørgsler på Microsoft SQL Server. Dette kursus danner grundlaget for alle SQL Server-relaterede discipliner, som databaseadministration, databaseudvikling og Business Intelligence.

Forudsætninger
Du forventes at have kendskab til relationelle databaser.

Deltagerprofil
Kurset er rettet mod alle, som arbejder med SQL-databaser og giver dig den grundlæggende viden om Transact-SQL forespørgsler.

Indhold

Module 1: Introduction to Microsoft SQL Server

The Basic Architecture of SQL Server
SQL Server Editions and Versions
Getting Started with SQL Server Management Studio


Module 2: Introduction to T-SQL Querying

Introducing T-SQL
Understanding Sets
Understanding Predicate Logic
Understanding the Logical Order of Operations in SELECT statements


Module 3: Writing SELECT Queries

Writing Simple SELECT Statements
Eliminating Duplicates with DISTINCT
Using Column and Table Aliases
Writing Simple CASE Expressions


Module 4: Querying Multiple Tables

Understanding Joins
Querying with Inner Joins
Querying with Outer Joins
Querying with Cross Joins and Self Joins


Module 5: Sorting and Filtering Data

Sorting Data
Filtering Data with Predicates
Filtering with the TOP and OFFSET-FETCH Options
Working with Unknown Values
...%%%

...

Module 6: Working with SQL Server Data Types

Introducing SQL Server Data Types
Working with Character Data
Working with Date and Time Data


Module 7: Using DML to Modify Data

Inserting Data
Modifying and DRemoving Data
Generating automatic column values


Module 8: Using Built-In Functions

Writing Queries with Built-In Functions
Using Conversion Functions
Using Logical Functions
Using Functions to Work with NULL


Module 9: Grouping and Aggregating Data

Using Aggregate Functions
Using the GROUP BY Clause
Filtering Groups with HAVING


Module 10: Using Subqueries

Writing Self-Contained Subqueries
Writing Correlated Subqueries
Using the EXISTS Predicate with Subqueries


Module 11 Using Table Expressions

Using Views
Using Inline Table-Valued Functions
Using Derived Tables
Using Common Table Expressions


Module 12: Using Set Operators

Writing Queries with the UNION Operator
Using EXCEPT and INTERSECT
Using APPLY


Module 13: Using Windows Ranking, Offset, and Aggregate Functions

Creating Windows with OVER
Exploring Window Functions


Module 14: Pivoting and Grouping Sets

Writing Queries with PIVOT and UNPIVOT
Working with Grouping Sets


Module 15: Executing Stored Procedures

Querying Data with Stored Procedures
Passing Parameters to Stored procedures
Creating Simple Stored Procedures
Working with Dynamic SQL


Module 16: Programming with T-SQL

T-SQL Programming Elements
Controlling Program Flow


Module 17: Implementing Error Handling

Implementing T-SQL error handling
Implementing structured exception handling


Module 18: Implementing Transactions

Transactions and the database engines
Controlling transactions


Microsoft Software Assurance Vouchere
Kurset kan betales med 5 SA Vouchere

Underviser
Undervisningen varetages af en erfaren underviser fra Teknologisk Instituts netværk bestående af branchens dygtigste undervisere.

Deltagerprofil
Kurset er relevant for dig, som gerne vil lærer at skrive grundlæggende SQL eller Transact-SQL-forespørgsler. Du arbejder typisk med data som dataanalytiker, dataengineer, datascientist, databaseadministrator eller databaseudvikler.

Forudsætninger
Du forventes at have kendskab til relationelle databaser.


Lær om standard SQL-sproget Transact-SQL. På kurset får du indblik i forespørgsel og ændring af data i relationsdatabaser, der hostes i Microsoft-baserede databasesystemer herunder Microsoft SQL Server, Azure SQL Database og Azure Synapse Analytics.


Lær, hvordan du laver SQL Server forespørgsler
Lær at skrive SELECT sætninger foir at hente kolonner fra en eller flere tabeller
Lær, hvordan du sorterer og filtrer
Lær at bruge built-in funktioner til dataværdier
Lær, hvordan du opretter grupper af data og hvordan du samler resultaterne
Lær at redigere data med Transact-SQL ved hjælp af INSERT, UPDATE, DELETE and MERGE


Indhold
Modul 1: Getting started with Transact-SQL

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


Module 2: Sorting and Filtering Query Results

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


Module 3: Using Joins and Subqueries

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


Module 4: Using Built-in Functions

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


Module 5: Modifying Data

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


Overvejer du et kursus i SQL Server?
Microsofts SQL server kommer med mange fordele, som for eksempel stor sikkerhed og skalerbarhed. I denne artikel kan du læse mere om, hvorfor du skal tage et kursus i SQL Server.


Få 5 fordele ved SQL Server



Querying Data with Microsoft Transact-SQL [DP-080T00]

9.499,00 kr

+45 23 33 30 30

npk@kursuszonen.dk