Skip to content

Module 2: Shaping and Transforming Data

Data in its raw form is rarely ready for reporting or analysis. In this module, you will learn how to use SQL’s powerful built-in functions to transform, clean, and reshape your data directly within your queries.

In this module, you will:

  • Implement “If-Then” logic in SQL using the CASE statement.
  • Clean and manipulate text data using string functions.
  • Master date and time arithmetic and extraction.
  • Convert data between types (e.g., String to Integer) using CAST.
  • Effectively manage missing data using COALESCE and NULLIF.