smartyfy.mrindigi.com

Databases & SQL Master Course — Classroom

Smartyfy · Master course

Databases & SQL Master Course

Build your understanding across 200 sequenced lessons, with worked practice, questions, and answer explanations. Selected lessons also include teaching diagrams.

Work through the lessons in order. Each lesson lists its prerequisites and connects to the next step. Use the worked answers to check your reasoning before moving on.

Start lesson 001

Course curriculum

Relational Foundations
  1. From Data to Databases
  2. Tables and Schemas
  3. Rows Values and INSERT
  4. Keys and Relationships
  5. Your First SELECT Queries
  6. Filtering Rows with WHERE
  7. Sorting and Limiting Results
  8. Understanding NULL
  9. Expressions and Column Aliases
  10. Foundations Practice Lab
Conditions and Expressions
  1. Boolean Logic with AND OR and NOT
  2. Ranges with BETWEEN
  3. Membership with IN
  4. Pattern Matching with LIKE
  5. Conditional Results with CASE
  6. COALESCE and NULLIF
  7. DISTINCT and Duplicate Results
  8. CAST and Type Conversion
  9. Text Comparison and Collation
  10. Predicate Debugging Lab
Aggregation and Grouped Reports
  1. COUNT and Row Cardinality
  2. SUM AVG MIN and MAX
  3. GROUP BY Fundamentals
  4. Filtering Groups with HAVING
  5. Conditional Aggregation
  6. Weighted Averages
  7. Ratios Percentages and Denominators
  8. Counting Entities After Joins
  9. Reconciliation and Control Totals
  10. Sales Summary Practice Lab
Joining Relational Data
  1. INNER JOIN with ON
  2. LEFT JOIN and Missing Matches
  3. Outer Join Filter Placement
  4. Joining Three or More Tables
  5. Many to Many Relationships
  6. Self Joins
  7. CROSS JOIN and Combinations
  8. Semi Joins with EXISTS
  9. Anti Joins with NOT EXISTS
  10. Join Investigation Practice Lab
Subqueries CTEs and Set Operations
  1. Scalar Subqueries
  2. Derived Tables
  3. Correlated Subqueries
  4. Nonrecursive Common Table Expressions
  5. Chaining CTE Transformations
  6. UNION and UNION ALL
  7. INTERSECT and EXCEPT
  8. Recursive CTE Fundamentals
  9. Hierarchy Cycles and Path Safety
  10. Query Composition Practice Lab
Changing Data Safely
  1. INSERT from SELECT
  2. Defaults and Generated Identifiers
  3. Targeted UPDATE
  4. Targeted DELETE
  5. SQLite UPSERT
  6. RETURNING Clauses
  7. Transactions with BEGIN COMMIT and ROLLBACK
  8. Savepoints
  9. Idempotent Data Changes
  10. Safe Write Workflow Lab
Schema and Integrity
  1. NOT NULL and Required Values
  2. UNIQUE and Candidate Keys
  3. CHECK Constraints
  4. Composite Primary and Foreign Keys
  5. Referential Actions
  6. SQLite STRICT Tables
  7. Schema Inspection
  8. ALTER TABLE and Migration Planning
  9. Migration Tests and Backfills
  10. Integrity Design Practice Lab
Relational Modeling
  1. Entities Attributes and Business Rules
  2. Choosing Table Grain
  3. Natural and Surrogate Keys
  4. First Normal Form
  5. Functional Dependencies
  6. Second and Third Normal Forms
  7. Boyce Codd Normal Form
  8. Intentional Denormalization
  9. Temporal and Historical Modeling
  10. Model Review Practice Lab
Window Functions and Analytics
  1. Window Function Fundamentals
  2. ROW_NUMBER RANK and DENSE_RANK
  3. Partitioning and Ordering Windows
  4. Window Frames
  5. Running Totals
  6. Moving Averages
  7. LAG and LEAD
  8. Top N per Group
  9. Gaps and Islands
  10. Window Analytics Practice Lab
Text Dates and Semi Structured Data
  1. Text Cleaning Functions
  2. Substring and Concatenation
  3. Dates Times and Storage Choices
  4. SQLite Date and Time Functions
  5. Time Zones and Daylight Saving
  6. Calendar Tables and Date Spines
  7. JSON Values in SQLite
  8. JSON Arrays and Table Valued Functions
  9. Data Validation and Reject Rows
  10. Text Date and JSON Practice Lab
PostgreSQL Essentials
  1. From SQLite to PostgreSQL
  2. PostgreSQL Schemas and search_path
  3. PostgreSQL Types and Identity Columns
  4. PostgreSQL Constraints and Foreign Keys
  5. PostgreSQL Dates and Intervals
  6. PostgreSQL Arrays and JSONB
  7. PostgreSQL INSERT ON CONFLICT
  8. PostgreSQL DISTINCT ON and LATERAL
  9. PostgreSQL Catalog and psql Workflow
  10. PostgreSQL Porting Practice Lab
MySQL Essentials
  1. From SQLite to MySQL
  2. MySQL Types and AUTO_INCREMENT
  3. MySQL SQL Modes
  4. MySQL InnoDB Constraints
  5. MySQL Dates and Time Zones
  6. MySQL JSON Queries
  7. MySQL Duplicate Key Handling
  8. MySQL CTEs and Window Functions
  9. MySQL Metadata and Client Workflow
  10. Cross Dialect Practice Lab
Indexes and Query Performance
  1. Measuring Before Tuning
  2. B Tree Index Fundamentals
  3. Single Column Indexes
  4. Composite Indexes
  5. Covering and Included Columns
  6. Partial and Expression Indexes
  7. Reading Query Plans
  8. Statistics and Cardinality Estimates
  9. Sargability and Query Rewrites
  10. Performance Investigation Lab
Transactions and Concurrency
  1. ACID and Transaction Boundaries
  2. Read Phenomena and Isolation
  3. MVCC Concepts
  4. SQLite Locking and WAL
  5. PostgreSQL Isolation Levels
  6. MySQL InnoDB Isolation
  7. Lost Updates and Optimistic Concurrency
  8. Deadlocks and Retries
  9. Idempotency in Concurrent Workflows
  10. Concurrency Practice Lab
Application Access and Security
  1. Database Trust Boundaries
  2. Parameterized Queries
  3. Dynamic SQL and Identifier Allowlists
  4. Roles Privileges and Least Privilege
  5. Secrets and Connection Configuration
  6. Connection Pools and Lifecycles
  7. Pagination and Stable Cursors
  8. Application Transactions and Errors
  9. SQL Testing and Fixtures
  10. Secure Access Practice Lab
Administration Backup and Reliability
  1. Database Inventory and Change Records
  2. Backup Types and Recovery Goals
  3. SQLite Backup and Integrity Checks
  4. PostgreSQL Logical Backup and Restore
  5. MySQL Logical Backup and Restore
  6. Restore Verification
  7. Observability and Slow Queries
  8. Capacity and Retention Planning
  9. Operational Change Runbooks
  10. Recovery Drill Practice Lab
Data Pipelines and Warehousing
  1. OLTP and Analytical Workloads
  2. Staging Tables and Load Contracts
  3. CSV Import and Export
  4. Incremental Loads and Watermarks
  5. Deduplication Strategies
  6. Dimensions and Fact Tables
  7. Slowly Changing Dimensions
  8. Data Quality Assertions
  9. Lineage and Reproducibility
  10. Warehouse Pipeline Practice Lab
Advanced Relational Techniques
  1. Views and Interface Contracts
  2. Materialized Results and Refresh
  3. Triggers and Hidden Side Effects
  4. Generated Columns
  5. Stored Functions and Procedures
  6. Full Text Search
  7. Partitioning Concepts
  8. Relational Division
  9. Temporal Overlap and Scheduling
  10. Advanced SQL Review Lab
Applied SQL Case Studies
  1. Retail Revenue and Returns
  2. Inventory Availability
  3. Subscription Cohorts
  4. Product Funnels
  5. Experiment Metric Preparation
  6. Financial Reconciliation Basics
  7. Support Service Levels
  8. Operational Anomaly Detection
  9. SQL Interview Problem Solving
  10. Case Study Review Portfolio
Master Course Capstone
  1. Capstone Requirements and Scope
  2. Capstone Conceptual Model
  3. Capstone Logical Schema
  4. Capstone Test Data and Edge Cases
  5. Capstone Data Loading
  6. Capstone Operational Queries
  7. Capstone Analytical Reports
  8. Capstone Performance and Security Review
  9. Capstone Recovery and Documentation
  10. Final Assessment and Portfolio Handoff