課程簡介
Recap: SQL Functions and Expressions
- Character, numeric, DateTime functions
- Explicit and implicit conversion
- Conversion functions
- Nested functions
- Getting current date and time with different functions
- CASE expression
Aggregate data using aggregate functions
- Aggregate functions
- Aggregate functions vs NULL value
- GROUP BY clause
- Grouping using different columns
- Filtering aggregated data - HAVING clause
- Multidimensional data grouping - ROLLUP and CUBE operators
- Identifying summaries - GROUPING
- GROUPING SETS operator
- Crosstabs using PIVOT
Retrieving data from multiple tables
- Different types of joints
- Table aliases
- INNER JOIN
- LEFT, RIGHT, FULL OUTER JOINS
Set operators
- UNION
- UNION ALL
- INTERSECT
- EXCEPT
Subqueries
- When and where subquery can be done
- Single-row and multi-row subqueries
- Single-row subquery operators
- Aggregate functions in subqueries
- Multi-row subquery operators - IN, ALL, ANY
- Recursive subqueries
Analytic functions
- Use of
- Window functions, types of windows
- Partitions
- Ranking functions
- LAG/LEAD functions
- FIRST_VALUE/LAST_VALUE functions
- STRING_AGG function
- Statistical functions
最低要求
Participants should have a good working knowledge of basic SQL and Microsoft SQL Server, including the ability to:
- Write basic
SELECTqueries to retrieve data from one or more tables. - Use
WHEREclauses and basic filtering conditions. - Work with common SQL functions, such as character, numeric and date functions.
- Understand basic data types and conversions.
- Use basic
JOINoperations. - Apply aggregate functions such as
COUNT,SUM,AVG,MINandMAX. - Understand and use
GROUP BYandHAVING. - Have some practical experience working with databases, data analysis or reporting.
This is an advanced-level course, so participants are expected to already be comfortable with fundamental SQL concepts before progressing to more complex topics such as subqueries, advanced aggregation, set operators and analytic/window functions.
Audience
This course is designed for data analysts and reporting application developers.
客戶評論 (4)
數據已根據我們組織進行了個性化處理
Vincent Long - ASSMANG PTY LTD
課程 - T-SQL Fundamentals with SQL Server Training Course
機器翻譯
根據我們的理解和數據進行個性化定製
Vincent Long - ASSMANG PTY LTD
課程 - Business Intelligence with SSAS
機器翻譯
講師再次展現了他的最佳狀態,他以出色的時間掌控、專業知識、支持以及與我的員工的良好互動,帶領他們完成了定製化培訓。
James - Shawnee Mission School District
課程 - Administering in Microsoft SQL Server
機器翻譯
關於cte的講座
Glyssa Mae - Metropolitan Bank and Trust Company
課程 - Transact SQL Advanced
機器翻譯