![SuperUsers billede](https://www.datocms-assets.com/85988/1684334816-databaser-bi-sql.jpg?auto=compress&fit=crop&fm=webp&w=1900)
Transact-SQL Querying
Beskrivelse
Lær om Microsoft's SQL-dialekt: Transact-SQL. Emnerne omfatter både forespørgsler og ændring af data i relationelle databaser, der er hostet på databasesystemer baseret på Microsoft SQL Server, herunder: Microsoft SQL Server, Azure SQL Database og Azure Synapse Analytics.
Du lærer at:
- Use SQL Server query tools
- Write SELECT statements to retrieve columns from one or more tables
- Sort and filter selected data
- Use built-in functions to returned data values
- Create groups of data and aggregate the results
- Modify data with Transact-SQL using INSERT, UPDATE, DELETE and MERGE
Gennem mange år er det vores erfaring, at IT-professionelle uden større erfaring med SQL har stort udbytte af at deltage på kurser med mange øvelser og eksempler, hvor teori løbende omdannes til praksis. Herunder at blive fortrolig med grundtankegangen bag at læse og skrive SQL, uafhængigt af ’dialekter’ såsom Microsoft Transact-SQL.
Kursus DP-080 er ikke skrevet med henblik på at præsentere tankegangen i SQL. Kendskab til tankegangen bag SQL er central for hurtigere at lære SQL, læse eksisterende kode samt efterfølgende at huske stoffet fra kurset i sin dagligdag.
Dette er grunden til at SuperUsers over tid har udviklet egne SQL-kurser.
Kurserne SU-240, SU-241 og SU-245 præsenterer tankegangen og de vigtigste kommandoer i SQL. Til sammen formidler de særdeles gedigen viden og knowhow om SQL. Da kursernes indhold er tæt på SQL-standarden, kan indholdet i kurserne anvendes på de allerfleste eksisterende relationelle databaseservere.
Dertil kan man supplere med kurset SU-242, som beskriver Microsofts vigtigste tillæg til standarden for SQL. Dette kursus henvender sig således kun til SQL-udviklere, som vil i dybden med Microsoft Transact-SQL.
Ring til os for en uddybende snak eller læs mere om vores SQL-kurser her:
Moduloversigt
- Modul 1Getting 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.
Lessons
Introduction to Transact-SQL
Using the SELECT statement
Lab : Get started with SQL Server query tools and writing queries in T-SQL
- Modul 2Sorting 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.
Lessons
Sorting query results
Filtering the data
Lab : Sort and filter data returned by SELECT queries
- Modul 3Using 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.
Lessons
Using JOIN operations
Using subqueries
Lab : Write queries with JOIN operations
Lab : Write SELECT statements using subqueries
- Modul 4Using 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.
Lessons
Getting started with scalar functions
Grouping aggregated results
Lab : Built-in functions
- Modul 5Modifying 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.
Lessons
Inserting data into tables
Modifying and deleting data
Lab : Modify data
Er du i tvivl?
Det ligger os meget på sinde, at du finder det kursusforløb, der skaber størst værdi for dig og din arbejdsplads. Tag fat i vores kursusrådgivere, de sidder klar til at hjælpe dig!
![SuperUsers](https://www.datocms-assets.com/85988/1710444188-nanna_reception.jpg?auto=compress&fit=crop&fm=webp&w=400&h=400)