📌 Topics Covered:

  • The Big Three: Mastering SELECT (specifying columns), FROM (choosing the table), and DISTINCT (removing duplicate rows from your results).
  • Advanced Filtering (WHERE):
    • IN: Selecting values that match any item in a specified list.
    • BETWEEN: Filtering for data within a specific numerical or date range.
    • LIKE: Using “wildcards” (%) to search for patterns (e.g., finding all product names starting with “Denim”).
  • Result Control: Using ORDER BY to sort data (ASC/DESC) and LIMIT to specify the exact number of rows to return.
  • Data Presentation:
    • Alias (AS): Renaming columns or tables temporarily for better readability.
    • Calculated Columns: Performing math directly in the query (e.g., Price * Quantity).
    • Round: Limiting the decimal places of numerical outputs for cleaner reporting.

📝 Class Summary: This module focuses on the “Querying Essentials,” teaching students how to write clean, efficient code to extract specific subsets of data and present them in a professional, human-readable format.

What You Will Learn:

  • How to eliminate noise from your analysis by using DISTINCT to see only unique categories.
  • The methodology for Pattern Matching with LIKE, essential for cleaning messy text data.
  • How to create Calculated Columns to generate real-time KPIs without modifying the underlying database.
  • Techniques for Sorting and Capping results to identify top-performing products or recent transactions.

 

Watch the Video

Download the Practice File

Click “Mark as Complete” button.

 

Thanks and Good Luck

Exercise Files
Video-2-SQL-Basics (pdf)
341.59 KB
Sales Dataset – class 1,2,3,4,5,6,7 (csv)
115.32 KB