Skip to content
Aabha AI Academy

Local course preview

SQL for Data Analysis and AI

Practise analytical PostgreSQL queries on fictional retail data. The supplied local PGlite runner is the author-tested route; no embedded SQL editor or native PostgreSQL learner trial is claimed.

Preparation: Comfort with tables, rows, columns and basic arithmetic. No prior SQL or Python is required.

Read all 13 modules as a guest, in any order. An optional account saves your place and reading marks. Practice rubrics are for self-review; they do not unlock reading or award a certificate.

Planning estimate: 14–18 hours plus 2–3 hours for the capstone. Timing and learner outcomes have not been piloted.

Start course Download original course materials (includes reference answers).

Reading progress

13 lessons remain open to guests. Marking a lesson read records reading only; it does not award assessment credit or a certificate.

Device reading marks require browser storage. Reading is always available.

Course contents

  1. Start with a question and a safe lab

    Separate answers and explanations

  2. Select only the evidence you need

    Separate answers and explanations

  3. Filter rows without losing the unknowns

    Separate answers and explanations

  4. Calculate amounts and time periods

    Separate answers and explanations

  5. Summarise at a declared grain

    Separate answers and explanations

  6. Join relationships and preserve missing matches

    Separate answers and explanations

  7. Prevent join multiplication and reconcile money

    Separate answers and explanations

  8. Build readable analysis with subqueries and CTEs

    Separate answers and explanations

  9. Compare rows with window functions

    Separate answers and explanations

  10. Audit quality before trusting the result

    Separate answers and explanations

  11. Prepare AI features without future leakage

    Separate answers and explanations

  12. Use AI as a checked SQL assistant

    Separate answers and explanations

  13. Deliver a checked analysis capstone

    Separate answers and explanations

Practice and references