Braj Kishore
JourneyVaultML FoundationsAI PM GuideAgenticNewsWork With MeMentorshipPulseNow
Say hi

Hiring · Building · Investing

Have a system — or a team —that needs to scale?

info@avyxon.ai

Usually replies within a day · track record here

JourneyVaultML FoundationsAI PM GuideAgenticNewsWork With MeMentorshipPulseNow
LinkedInXYouTubeSubstackInstagramThreadsFacebookDiscordGitHubTopmate
© 2026 Braj Kishore · Bengaluru, INThink Big · Start Small · Scale Fast
The Guide
14Phase 5 · The PM half

Data & SQL for AI PMs

Pull your own numbers. Distrust a metric that looks too clean. Job descriptions ask for this by name.

8-min read~1–2 weeks with the practice + a short course
The analogy

SQL is asking the warehouse a precise question and getting exactly the right boxes back. Not knowing it means you wait for someone else to fetch — and can't tell a real number from a flattering one.

Unlearn this

That an AI PM doesn't need data skills because 'the model does the analysis'. JDs name SQL and stats explicitly (KORE1: 'SQL or a BI tool, and skeptical of a metric that looks too clean'). You don't need to be a data scientist — you need to pull a number and question it.

The lesson, in five answers

01

What is it?

You need enough SQL to answer your own questions. That means SELECT and WHERE, COUNT and GROUP BY, AVG and SUM, a JOIN across two tables, and date filters. You also need the eval statistics AI interviews cite. Precision: of the ones you flagged, how many were right. Recall: of the ones you should have flagged, how many you caught. Accuracy. AUC (how well the model ranks good above bad) and calibration. Plus the ideas of distributions and sampling. This is reading and reasoning about data, not building the model.

02

Why it matters to a PM

You'll face a SQL and metrics screen. Day to day, you set eval bars and read A/B results. Picture a PM who can pull deflection rate by channel. Or one who spots that a 99% accuracy hides a class imbalance, where one answer is far more common than the other. That PM gets trusted. The one who waits for an analyst doesn't.

03

When would I reach for it?

Use it whenever you need a number to make or defend a decision. That covers sizing an opportunity, reading an eval, diagnosing a KPI drop, or sanity-checking a win that looks too clean.

04

Trade-offs & failure modes

Accuracy misleads when one answer is far more common than the other (class imbalance). You score 99% on fraud just by always guessing 'not fraud'. Precision and recall trade off against each other. And a metric averaged over segments can hide one broken segment. So know the shape of the data before you trust the number.

05

Say this in an interview

"Say a support-bot dashboard showed 98% resolution. I'd query resolution by channel, and by whether the user came back within 24h. Averages hide failures. For the AI's auto-answers I'd read precision: of the ones it answered, how many were right. And recall: of the ones it could have answered, how many it took. A single accuracy number, when one answer is far more common than the other, is exactly the too-clean metric to distrust."

Key terms

SELECT / WHERE / GROUP BY

Pick columns, filter rows, aggregate by a category — 80% of a PM's SQL.

JOIN

Combine two tables on a shared key (e.g. tickets × agents).

Precision vs recall

Of what it flagged, how much was right (precision) vs. of what it should flag, how much it caught (recall).

Accuracy trap

When one answer is far more common than the other, accuracy looks great while the model misses the rare, important cases.

AUC / calibration

How well a model ranks (AUC) and whether its 80% confidence is right 80% of the time (calibration).

The stack — tools you'll hear about

You don't need to use or master these. Recognising the names — and which box each sits in — is the tech-stack awareness a PM needs. No deep dive.

  • PostgreSQL · BigQuery · SnowflakePlatformsWhere the data you'll query lives.
  • Metabase · Looker · ModeEval & tracingBI tools — SQL + dashboards for PMs.
  • Amplitude / MixpanelEval & tracingEvent analytics without writing SQL.
  • Hex · JupyterPlatformsNotebooks for a quick analysis.

Try it

SQL for AI PMs

Run preset queries against a mock table, then read precision/recall off the counts.

SQL for PMs (05)

Pull your own number. Then distrust it.

You don’t need to be an analyst — you need enough SQL to pull a number without filing a ticket and enough skepticism to question one. Click a query to see the SQL and its result.

support_tickets
idchannelresolved_by_aicorrectcsatagent_idcreated_at
agents
idnameteam
Preset queries
filter
SELECT id, channel, csat
FROM support_tickets
WHERE resolved_by_ai = true
  AND correct = false;
Result · 4 rows
idchannelcsat
4471email2
4488chat1
4502chat2
4530email3

What a PM learns: Pull the exact tickets the AI answered wrong — the ones to actually go read.

Read the metrics · AI auto-answers

One eval run, four counts. Everything else is arithmetic you can do in your head.

TP
812
answered · right
FP
63
answered · WRONG
FN
141
missed · should have
TN
984
escalated · right
Precision
92.8%
TP / (TP + FP)
Of the tickets the AI answered, how many it got right — the cost of a confident wrong reply.
Recall
85.2%
TP / (TP + FN)
Of the tickets it could have answered, how many it actually caught — its reach.
Accuracy
89.8%
(TP + TN) / all
Share of all decisions that were right — misleading when classes are lopsided.

Be suspicious of a metric that looks too clean. 99% accuracy sounds great until you notice most tickets should be escalated anyway — a model that answers nothing would score nearly as high. Ask what the number hides before you celebrate it.

Why it matters to a PM

Sooner or later you’ll be handed a SQL console or a metrics screen. Being able to pull a number yourself — and to question one someone hands you — is table stakes. You don’t need a deep dive; you need to never be blocked on a basic count and never take a suspiciously clean metric at face value.

Test yourself

Recall beats re-reading. Answer before you flip.

Data & SQL for AI PMs · self-test
2 cards
Card 1 / 2 · box 1
Do this

Do a free interactive SQL lesson (SELECT/WHERE/GROUP BY/JOIN) end to end, then write — in plain SQL — the query you'd run to get 'AI auto-resolution rate by channel, last 30 days'. Then read precision/recall off a confusion matrix until it's automatic.

This is where the hours go — reading is the warm-up, doing is the learning.

Go deeper
  • SQL Tutorial (interactive)Mode
  • Precision & recallGoogle ML Crash Course

External resources open in a new tab. Course prices and links change — verify before paying.

Marked this one off? Your progress saves on this device.

PreviousPM Fundamentals, Refreshed for AINextExperimentation & A/B Testing for AI