SQL for Data Science
SBL-Khas Scheme Registered
Registered employers can fully claim the course fee and allowanced through the HRD Corp portal.
Course Description
Course Outline
Introduction to Relational Databases: Understanding Relational Database Management Systems (RDBMS) like PostgreSQL, MySQL, and SQLite.The Basic Query: Master SELECT and FROM syntax to pull columns from data tables.Limiting and Unique Records: Use LIMIT to truncate row counts and DISTINCT to extract unique records.Comment Hygiene: Writing clean code using inline (--) and block (/* */) commentary
Conditional Filtering: Deploying the WHERE clause with comparison operators (=, >, <).Logical Operators: Combining filters using AND, OR, and NOT.Pattern Matching & Ranges: Finding explicit ranges using BETWEEN, testing sets via IN, and string matching with LIKE wildcards.Sorting Output: Utilizing ORDER BY for ascending (ASC) and descending (DESC) organization
Aggregate Functions: Calculating essential metrics via COUNT(), SUM(), AVG(), MIN(), and MAX().Data Segmentation: Grouping categorical subsets using the GROUP BY clause.Filtering Aggregates: Applying the HAVING clause to filter post-aggregated data frames (unlike WHERE).Handling Nulls: Basic data profiling and managing missing data spaces
Primary and Foreign Keys: Understanding the relational bridges that link database schemas together.Inner Joins: Merging rows from multiple tables matching on specified shared entities.Outer Joins: Retaining unmatched records across distinct data sets via LEFT JOIN, RIGHT JOIN, and FULL OUTER JOIN.Set Operations: Stacking query outputs on top of one another using UNION and UNION ALL
Subqueries: Embedding queries inside queries (Nested and Correlated Subqueries).Common Table Expressions (CTEs): Writing cleaner code using WITH statements for temporal isolation.Window Functions: Performing localized metrics (e.g., ROW_NUMBER(), RANK(), LEAD(), LAG()) without collapsing rows.Conditional Logic: Creating dummy features or flags using CASE WHEN ... THEN logic.Data Transformations: Basic manipulation techniques for strings, dates, and geographic timestamps
Connecting SQL to Python/R: Executing active SQL chunks inside interactive environment engines like Jupyter Notebooks.Bridging Databases to Pandas: Querying databases to ingest tables directly into Pandas DataFrames.Performance Tuning: Understanding EXPLAIN syntax to discover query bottlenecks on massive tables.
Registration Details
Individual Fee
RM 2,400.00
Exclusive of 8% SST