Querying Data with Transact-SQL
Denna utbildning ger dig en god förståelse för språket Transact-SQL (T-SQL), som är en viktig grund oavsett om din inriktning är databasadministration, databasutveckling eller Business Intelligence.
Om utbildningen
Du lär dig bland annat att skapa SQL-frågor för att filtrera, sortera och gruppera data, hur du ställer frågor mot multipla tabeller och hur du använder de inbyggda funktionerna i SQL Server.
Denna kurs är lämplig oavsett om man har SQL Server on-premise eller som en molntjänst (såsom Azure SQL Database eller Azure SQL Managed Instance).
Målgrupp och förkunskaper
Den här kursen vänder sig till alla som behöver kunna skriva frågor med T-SQL. Det inkluderar SQL Server-administratörer, databasutvecklare, samt BI-proffs. Den lämpar sig även för den som behöver förstå sig på SQL Server för att sedan lära sig skapa rapporter, analysera data eller utveckla klientapplikationer.
Du behöver en grundläggande förståelse för relationsdatabaser sedan tidigare.
För att alltid hålla en hög kvalitet på våra teknikkurser använder vi både engelsk- och svensktalande experter som kursledare.
Detaljerad information
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
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
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
- Understand the difference between correlated and self-contained subqueries
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
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
Relaterade kurser
Developing Tabular SQL Data Models
Azure SQL Database - Develop data-driven applications
Microsoft SQL Server – upgrade and sharpen your DBA and developer skills
Building and Managing High Availability Solutions with SQL Server with Herbert Albert
Accelerated SQL Server Integration Services with Dejan Sarka
Mer än en kurs
Vilken kompetens behöver ni om två år — och har ni den idag? Vi hjälper er planera för framtidens kompetensbehov innan luckorna blir ett problem.
Vet ni vilka kompetensgap som finns i er organisation idag? Vi hjälper er kartlägga nuläget och identifiera vad ni behöver bygga för att möta morgondagens krav.
Ladda kortet med utbildningsdagar i förväg och säkra budgeten innan behovet uppstår. Ni får rabatterade priser, flexibel användning och enklare administration — för hela teamet.
Relaterat innehåll