70-461 Session 5: Querying Microsoft SQL Server (T-SQL code)

Learn SQL functions with this course covering analytical functions, ranking, grouping sets, and spatial aggregates in Microsoft SQL Server from 2012 to 2022.

  • Overview
  • Curriculum
  • Instructor
  • Review

Brief Summary

This course dives into the world of SQL, focusing on analytical and ranking functions, grouping techniques, and spatial data. You'll get hands-on with T-SQL and learn essential concepts that will make you a pro at organizing and analyzing your data.

Key Points

  • Learn to create analytical functions using SQL.
  • Understand ranking functions like ROW_NUMBER and RANK.
  • Explore new analytic functions from SQL Server 2012.
  • Use grouping techniques like ROLLUP and CUBE.
  • Get comfy with spatial aggregates and geometry data types.

Learning Outcomes

  • Apply different ranking functions like ROW_NUMBER and NTILE.
  • Master analytic functions such as LAG and LEAD.
  • Use GROUPING techniques for customized data presentation.
  • Understand and use geometry and geography data types.
  • Gain confidence in writing complex T-SQL queries.

About This Course

Using SQL, create analytical functions, grouping sets, ranking functions, spatial aggregates. SQL Server 2012-2022

This course is the foundation for the Microsoft Certificate 70-461: "Querying Microsoft SQL Server 2012". Please note - this certificate is no longer being offered by Microsoft. However, the exam requirements allow you to have a good understanding of T-SQL.

We will now be creating aggregate queries, using the OVER() clause, together with PARTITION BY and ORDER BY. We'll also compare and contrast RANGE and ROWS, and how they work with CURRENT ROW and UNBOUNDED.

We'll be reviewing the ranking functions ROW_NUMBER, RANK, DENSE_RANK and NTILE. We'll look at the 8 analytic functions new to SQL Server 2012, such as LAG, LEAD, FIRST_VALUE and LAST_VALUE.

We'll look at alternative ways of grouping and adding totals, using ROLLUP, CUBE, GROUPING SETS and GROUPING_ID. We'll also look at the geometry and geography data types, plotting locations on a grid, together with functions and aggregates.

No prior knowledge other than what we covered in Sessions 1 to 4 is required. This course builds on the knowledge previously gained in those previous sessions.

There are regular quizzes to help you remember the information.

Once finished, you will know what how to write ranking functions, analytic functions, grouping sets and spatial aggregates, and we'll have expanded on our current knowledge of T-SQL.

  • Apply the ranking functions ROW_NUMBER, RANK, DENSE_RANK and NTILE

  • Use the analytic functions new to SQL Server 2012, such as LAG, LEAD, FIRST_VALUE and LAST_VALUE

  • Use different ways to group, such as ROLLUP, CUBE, GROUPING SETS, and related functions such as GROUPING_ID.

Instructors

Profile photo of Phillip Burton • 800,000+ students so far
Phillip Burton • 800,000+ students so far

Hi. I'm Phillip, and I'm proud to Teach with Udemy as a Udemy Instructor Partner. I have been teaching on Udemy since 2015, and I have over 800,000 students and more than 40 video courses, including over a dozen Bestseller courses.My courses include Power BI, Tableau, SQL Server, Power Platform (Power Apps, Power Automate, etc.), Azure, Microsoft Office, and more....

Instructors

Profile photo of I Do Data Limited
I Do Data Limited

I Do Data is dedicated to creating video courses on Udemy in a variety of computer-related topics, such as SQL in its different dialects and Microsoft Office.Are you wanting to learn a new skill from the beginning? Or are you wanting to build on an existing skill? In either case, welcome.Our courses are available on Udemy at any time, so...

Review
4.9 course rating
4K ratings
ui-avatar of Palanisamy Muthusamy
Palanisamy M.
4.5
7 months ago

good

  • Helpful
  • Not helpful
ui-avatar of Gisela Maria Bernal Avila
Gisela M. B. A.
5.0
1 year ago

I didn't know that functions "Spatial Aggregates" Exist. Great course. Thanks

  • Helpful
  • Not helpful
ui-avatar of Emilija Jovanoska
Emilija J.
5.0
1 year ago

jhbjb

  • Helpful
  • Not helpful
ui-avatar of Duggisetty Kumar
Duggisetty K.
5.0
1 year ago

good

  • Helpful
  • Not helpful
ui-avatar of Winnie Hau
Winnie H.
4.5
1 year ago

Just about my level of understanding. very clear

  • Helpful
  • Not helpful
ui-avatar of Vineeth Kulangara Ramachandran
Vineeth K. R.
5.0
1 year ago

Kudos to Philip!!

  • Helpful
  • Not helpful
ui-avatar of Palle Sahasra
Palle S.
5.0
1 year ago

It was good

  • Helpful
  • Not helpful
ui-avatar of Anonymized User
Anonymized U.
5.0
1 year ago

good course

  • Helpful
  • Not helpful
ui-avatar of Priyanga V
Priyanga V.
4.5
1 year ago

Overall explanation was good with graphical representation

  • Helpful
  • Not helpful
ui-avatar of Ullithula Naveen
Ullithula N.
5.0
1 year ago

it a very good course

  • Helpful
  • Not helpful
Leave A Reply

Your email address will not be published. Required fields are marked *

Ratings

Courses You May Like

Lorem ipsum dolor sit amet elit
Show More Courses