Loved by learners at thousands of companies
A majority of data is stored in databases and knowing the necessary tools needed to analyze and clean data directly in databases is indispensable. This course focuses on T-SQL, the version of SQL used in Microsoft SQL Server, needed for data analysis. You will learn several concepts in this course such as dealing with missing data, working with dates, and calculating summary statistics using advanced queries. After completing this course, you will have the skills needed to analyze data and provide insights quickly and easily.
One of the first steps in data analysis is examining data through aggregations. This chapter explores how to create aggregations in SQL Server, a common first step in data exploration. You will also clean missing data and categorize data into bins with CASE statements.Data analysis with aggregations50 xpCreating aggregations100 xpCreating grouped aggregations100 xpDealing with missing data50 xpRemoving missing values100 xpImputing missing values (I)100 xpImputing missing values (II)100 xpBinning data with CASE50 xpUsing CASE statements100 xpCreating several groups with CASE100 xp
This chapter explores essential math operations such as rounding numbers, calculating squares and square roots, and counting records. You will also work with dates in this chapter!Counting and totals50 xpCalculating the total100 xpCounting the number of rows100 xpDates50 xpWhich date function should you use?50 xpCounting the number of days between dates100 xpAdding days to a date100 xpRounding and truncating50 xpRounding numbers100 xpTruncating numbers100 xpMore math functions50 xpCalculating the absolute value100 xpCalculating squares and square roots100 xp
Processing Data in SQL Server
In this chapter, you will create variables and write while loops to process data. You will also write complex queries by using derived tables and common table expressions.
In the final chapter of this course, you will work with partitions of data and window functions to calculate several summary stats and see how easy it is to create running totals and compute the mode of numeric columns.Window functions in T-SQL50 xpWindow functions with aggregations (I)100 xpWindow functions with aggregations (II)100 xpCommon window functions50 xpDo you know window functions?50 xpFirst value in a window100 xpPrevious and next values100 xpIncreasing window complexity50 xpCreating running totals100 xpAssigning row numbers100 xpUsing windows for statistical functions50 xpCalculating standard deviation100 xpCalculating mode (I)100 xpCalculating mode (II)100 xp
PrerequisitesIntroduction to SQL Server
Principal Consultant, Desert Isle Group
Ginger is a Data Platform MVP and Microsoft Certified Trainer who shares what she has learned working with data technology with clients by providing training and talks to people around the world. Recently she became an author on the book Exam Ref 70-774 Perform Cloud Data Science with Azure Machine Learning. She runs her own data consultancy practice to help clients analyze data using many different techniques.