The Lighthouse · Signature Series

Advanced SQL and Query Practice in Depth

Signature Course No. 591 — A Signature AI Socratic Coaching Course.

Built on the SQL you already write — your coach starts where you are.

Try a Free Preview

AI-built course structure. Socratic coaching that builds mastery, not just completion.

An agentic, mastery-based AI learning platform.

A New Kind of Learning

Socratic coaching, delivered by an agentic AI coach.

Not a course you watch. An AI coach you work with.

The Lighthouse Coach begins by discovering how you think about the subject, teaches what is missing, and gives you realistic practice before asking you to prove that you can use it. You may test out of concepts you already understand, while capstones turn the learning into a practical plan, decision, conversation, or other real-world result.

The curriculum is deliberately authored; the AI delivers it through coaching. It is not an AI randomly generating lessons.

Meet The Lighthouse Coach

A coach that teaches by asking — not by lecturing

The Lighthouse Coach is an AI Socratic coach built on Cognosco Learning's Advanced SQL and Query Practice in Depth course, in the Personal Effectiveness & Well-Being category. It does not play videos at you. It holds a conversation: it asks you a question, listens to your answer, names the misconception it hears, affirms what you got right, and asks the next question — the way a great coach works in the room.

Advanced SQL is not a longer list of keywords. It is a change in what you trust. The analyst who has learned the foundations trusts the query that runs without error and returns a number that looks reasonable. The practitioner this course builds trusts nothing of the kind: they know the logical order in which clauses are evaluated, so they can predict a result before running it; they count rows before and after every join, so a total cannot inflate in silence; they treat every nullable column as a design decision with consequences; they read the plan before they blame the hardware; and they can state, for any query they ship, what would make it wrong and how they checked that it is not.

It runs on one small estate you can check with a pencil. The Norfield Estate lets three holiday cottages, runs gardens and a small shop, and employs eight people: a staff table of eight rows, nine bookings worth £2,110 confirmed, five shop sales, four invoices, five maintenance tickets. The same tables are queried, ranked, joined, grouped, and audited across all eighteen concepts and both capstones, so when a total moves you can always find out why — every worked result in the course was recomputed by hand against the data printed beside it.

It starts with the language at depth. The Logical Order — how the engine actually runs your query; Joins at Depth, and the fanout that silently inflates totals; Nothing and Unknown — living correctly with NULL; Grouping with Precision, at a declared grain; Subqueries and Common Table Expressions — questions inside questions, and naming the steps of an argument; Set Operations, combining results honestly; and the two Window Functions concepts — ranking without collapsing rows, and frames, running totals, and neighbors.

It works in two movements. First, Module 1 — The Language at Depth: Asking Exactly What You Mean — work through Concepts 1–9, finishing with The Norfield Booking Audit; then, Module 2 — Speed, Proof, and Craft: Making Queries Fast and Trustworthy — work through Concepts 10–18, finishing with The Norfield Year-End Query Review.

Both capstones produce real artifacts — a booking audit in which every finding cites the query that proves it: the headline figures rebuilt from the raw tables, the fanout and grain corruptions reproduced and corrected, every missing value accounted for, and the confirmed bookings ranked and annotated within their cottages; and a year-end query review of a whole reporting suite: intakes reconstructed, plans read, slow queries rewritten and proven equivalent, duplicate and determinism defects repaired under stated rules, and every query handed over with its evidence.

The honesty standard is part of the course. This is a course about the language, not about any one platform: every query is written in standard SQL that runs, with at most trivial spelling differences, on any serious relational engine, and where engines genuinely differ the course teaches the underlying idea, which does not differ. Nothing here teaches administering a server or tuning a platform — that is a different course's ground. And no query is presented as fast because it looks clever: speed claims are made only in the language of query plans — rows examined, work avoided, estimates checked against actuals — and every rewrite must prove the answer did not change before it may celebrate returning it sooner.

The course is self-paced and always on — roughly 30 minutes per concept, about 9 hours in full, taken in as many sittings as you like. You can type your answers, or talk out loud: the Voice Coach speaks its questions and listens to your spoken replies. Learners who already know the material can test out concept by concept.

Advanced SQL and Query Practice in Depth is part of The Lighthouse Signature Series — the online counterpart to the one-day, in-person learning Cognosco Learning delivers.

Course Facts

Concepts18 · 2 modules
Capstones2
Time per concept≈ 30 minutes
Full course≈ 9 hours, self-paced
FormatOnline · AI voice coach
CertificateOn completion
VerificationVerifiable online
Introductory price$99

One full concept, coached end to end — free: verify your email and we’ll send you a link to start.

Already enrolled? Enter the course →

The Method

Diagnose → Learn & Practice → Prove → Capstone

Every learner moves through the same discipline a Cognosco instructor would insist on in the room.

1

Diagnose

The Coach starts where the course starts: with the order the engine actually runs your query. Take a query you wrote recently that surprised you — which clause produced the surprise, and what had the clauses before it already done to the rows by then? Where in your current reports do you filter on something computed in the select list — and what wrapping or restructuring does the logical order force on you there? Which of your queries use LIMIT or its equivalent without an ORDER BY — and do you actually know which rows they return? Every concept opens with three questions that locate where you actually stand, and your answers shape how deeply the Coach works the concept with you. Everyone begins with Module 1 — no skipping the foundations you only think you have.

2

Learn & Practice

Work each concept in conversation with the Coach — spoken or written — then practice it against realistic situations until it holds up.

3

Prove

Every concept ends in proof: answer the check cold and demonstrate the skill. Know it already? Test out and take credit immediately.

4

Capstone

Finish with two capstones — The Norfield Booking Audit for Module 1 and The Norfield Year-End Query Review for Module 2 — that pull the whole course together, and earn the certificate.

The Course Content

What You'll Learn

You predict the result before you run it. Meaning first, cost second, each in its own vocabulary: the logical order tells you what a query means, the plan tells you what it will cost, and confusing the two is a category error in both directions. This course teaches you to simulate a query clause by clause, count what every join does to your rows, and state — for any query you ship — what would make it wrong and how you checked that it is not.

Module 1 is the language at depth. The Logical Order; Joins at Depth — multiplicity, fanout, and the row you did not expect; Nothing and Unknown — living correctly with NULL; Grouping with Precision; Subqueries — questions inside questions; Common Table Expressions — naming the steps of an argument; Set Operations — combining results honestly; Window Functions I — ranking without collapsing rows; and Window Functions II — frames, running totals, and neighbors.

Module 2 is speed, proof, and craft. Conditional Aggregation — many answers in one pass; Recursive Queries — walking a hierarchy; Dates and Overlaps — time as data; Text and Patterns — matching what people actually typed; Reading a Query Plan — what the engine says it will do; Rewriting for Speed — making the same answer cheaper; Duplicates and Greatest-per-Group — choosing one row, deliberately; Determinism and Testing — proving a query still answers the same question; and The Professional Practice — your query craft, assembled.

And it holds its boundary throughout. The course teaches the language, in standard SQL, at the depth where correctness is decided — not the administration of any one platform. The running case never changes, every worked result can be recomputed by hand from the printed tables, and proof travels with the query: expected results written in advance, rewrites proven equivalent, reviews documented.

What you will learn

  • Predict a query's result from its text and the data before you run it — the logical order of evaluation, and what each clause may and may not see
  • Join tables without silently multiplying rows: count multiplicity before and after every join, pre-aggregate the many side, and keep totals honest
  • Handle missing values deliberately — three-valued logic in filters, joins, and aggregates, with the unknown rows counted, not lost
  • Group at exactly the grain the question asks for, filter groups with HAVING for group reasons only, and never select a value no group owns
  • Ask questions inside questions, and structure long queries as named, checkable steps — subqueries in their four forms, and common table expressions
  • Combine, intersect, and subtract result sets honestly, ruling on duplicates explicitly with UNION, UNION ALL, INTERSECT, and EXCEPT
  • Rank, number, and annotate rows with window functions — running totals and neighbor comparisons over an explicitly stated frame, without collapsing detail
  • Walk a hierarchy of any depth in one recursive query, reason correctly about dates, overlaps, and ages, and match text as people actually typed it
  • Read a query plan, rewrite a slow query while proving the answer is unchanged, choose one row per group on a stated rule, and test, review, and hand over queries to a professional standard
What's Included

Everything in the course

  • All 18 concepts of Advanced SQL and Query Practice in Depth, in 2 modules
  • A starting-point check first — the Coach finds where you actually stand before teaching
  • Learn, Practice, Prove for every concept — no passive video watching
  • A test-out on every concept: prove you know it and move on
  • The Voice Coach: talk with the Coach out loud — it speaks, listens, and replies
  • A personal Learner Record of your work across the course
  • Two capstone exercises: The Norfield Booking Audit and The Norfield Year-End Query Review
  • A printable session summary whenever you pause
  • The Lighthouse Coach completion certificate (Signature Series)
  • Your progress is saved as you go — stop anytime, resume where you left off
Who It's For

Built for people whose totals get quoted in meetings

Analysts and reporting specialists who already write SQL daily and keep meeting the queries that almost work — the total that is close but not right, the ranking that ties in the wrong place, the report that slows down every month; developers and engineers who write queries inside applications and need them correct under duplicates, missing values, and growth; and data professionals preparing to go deeper — toward data engineering, analytics engineering, or database work — who need the language itself solid before they specialize in any platform built on it.

The course assumes you can already write a competent query — select, filter, join two tables, group, and sort — and it does not re-teach those foundations. It is also not a platform course: it will not configure, administer, or tune any particular database product. Anyone who reviews other people's queries will find a standard to review against: grain declared, multiplicity counted, missing values handled, plan read, answer proven.

Prefer to learn live and in person? The same material anchors Cognosco's one-day programs — browse the in-person catalog.

Enroll

Start with The Logical Order

$99 — introductory price. One payment. No subscription, no password to manage.

Here is exactly what happens when you enroll:

  • Pay securely with Stripe — you are taken straight into the course
  • Create your learner profile and begin the Module 1 starting-point check
  • Save the access key you are given — it restores your enrollment on any device
  • Learn at your pace; your progress is stored in your browser on your device

For the full voice experience, use Chrome and allow the microphone when asked. Typing your answers works everywhere, all the time. Questions before you enroll? Email hello@cognoscolearning.com.

The Lighthouse Coach — Advanced SQL and Query Practice in Depth$99.00
Total · introductory price, one-time$99.00

Secure checkout by Stripe. The moment your payment completes, you are taken straight into the course to create your learner profile and begin — no account password to manage. You will receive an access key to save; it restores your enrollment on any device.

Good Questions

Before you enroll

What is a Socratic coaching session?

A conversation, not a video. Your coach asks a question; you answer — out loud by voice, or by typing — and the coach responds to what you said: naming the misconception it hears, affirming what you got right, and asking the next question. You advance only when you have mastered each concept, so a finished course means the learning held.

How long does it take — and how long do I have?

About 30 minutes per concept. Learn in sittings of any length; your progress is saved as you go. You have a full year from purchase to finish, and you can revisit and retake within that year.

What does the certificate verify?

That you completed every concept and both capstones of this course. Anyone can confirm a Cognosco certificate online — enter its certificate ID on our verification page.

What if it isn't for me — what are the refunds?

If you have not started, cancel for a full refund within seven days of purchase. Once you have started, there is no cash refund — stop before finishing and we credit the full amount you paid toward any other course in the library (credit valid one year from your original purchase). Once you complete the course, no refund or credit applies.

Independently verified before publication — structure, claims, and sources checked; tested end to end as a learner takes it.

The Signature Series Continues

More Signature Courses are coming

Advanced SQL and Query Practice in Depth is Signature Course No. 591. Leave your email and we'll send you news of future Signature Courses and Lighthouse updates as they are announced — nothing else.