Naslovnica

DP-080: Querying Data with Microsoft Transact-SQL

Naučite osnove jezika Transact-SQL - Microsoftovog dijalekta standardnog SQL jezika.

Sadržaj uključuju upite i modificiranje podataka u relacijskim bazama podataka koje su smještene u Microsoft SQL Server baziranim sustavima baza uključujući Microsoft SQL Server, Azure SQL i Azure Synapse Analytics.

Što ćete naučiti

  • Koristiti SQL Server query alate.
  • Pisati izraz SELECT za dohvaćanje stupaca iz jedne ili više tablica.
  • Sortirati i filtrirati odabrane podatke.
  • Koristite ugrađene funkcije za vraćene vrijednosti podataka.
  • Stvorite grupe podataka i agregirajte rezultate.
  • Izmijeniti podatke pomoću Transact-SQL-a uz uporabu izraza INSERT, UPDATE, DELETE i MERGE

Kome je namijenjeno

  • Svima koji trebaju ili žele postavljati osnovne SQL ili Transact-SQL upite, a to uključuje sve koji rade s podacima kao analitičari podataka, podatkovni inženjeri, podatkovni znanstvenici te administratori ili programeri baza podataka. Također trening je koristan i onima koji su periferno uključeni u rad s podacima ili žele naučiti više o radu s podacima.

Preduvjeti

  • Iskustvo rada s relacijskim bazama podataka.
  • Poznavanje operacijskih sustava Windows i njihovih glavnih funkcija.

Nastavni plan

Pregledaj
Module 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.
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.
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.
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.
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.