Use case

AI help for analyst interviews: SQL, metrics and product cases - the reasoning at hand

An analyst interview means SQL in a shared editor, questions about metrics and A/B tests, and a product case along the lines of “how would you measure this?”. Vizir listens to the call and grabs the problem off your screen with ⌥C; press ⌥↩ and the Solution tab holds the query or the shape of the answer. The hints sit on an overlay that's invisible during browser screen sharing (exceptions are on the visibility map) - and the reasoning and the typing are still yours.

What it looks like

A play-by-play example

A screening call for a product analyst role, a retention problem - here's how it goes, line by line.

InterviewerWrite a query: the share of users who came back on day 7 after signing up.
VizirSolution → “A CTE with the cohort by sign-up date, join it to login events, keep rows where the date difference is exactly 7 days, then count(distinct returners) / count(distinct cohort). No window function needed - grouping by sign-up date is enough.”
YouI take the sign-up cohort, join the logins, and divide day-7 returners by the cohort size - plain grouping, no window functions.
InterviewerAnd if I want retention for every day from 1 to 30?
VizirExplanation → “Then join the cohort to events across all days, use day_diff as the axis and group by it - that's your retention curve. One aggregation instead of thirty separate queries.”
YouI'd compute day_diff and group by it - one aggregation gives the whole retention curve from day 1 to day 30.

What Vizir does in this scenario

SQL from the screen

From the editor to a query

A problem in a shared SQL editor or a screenshot of the tables - press ⌥C: Vizir reads the schema and builds a query with logic you can walk the interviewer through.

Metrics and definitions

Asked about DAU, retention, LTV

Vizir hears the question word for word and, on ⌥↩, lays out the metric's definition and how to calculate it - no cramming formulas the night before. In Auto mode, hints arrive on their own.

Product case

“How would you measure…” - step by step

A case question gets a structure: hypothesis, success metric, segments, how to measure it. You carry the reasoning from there, leaning on the frame.

Off the share

Invisible during browser screen sharing

Share a tab or a window in Meet or web Zoom and the overlay isn't in it; on Windows it's hidden from native clients too (no guarantee for every capture method). On a native Zoom or Teams client on macOS 15+? The hints move to your companion phone. Where it's hidden and where it isn't: the visibility map.

Format

How this interview works

Data analyst, product analyst, BI analyst - the technical part differs from track to track. What they share: nobody is grading syntax. They're checking whether you can turn a fuzzy business question into a metric, a query and a clear conclusion.

Stages

Screen, technical round, take-home, final

First a recruiter call, 20-30 minutes: experience, stack, expectations. Then a technical round with a lead or senior analyst, an hour to an hour and a half: live SQL in a shared editor, metrics, A/B tests and statistics. Often there's a take-home: a dataset, metrics to compute, a dashboard and a write-up. The final round is with the hiring manager: working with the business and setting priorities.

Where people slip

Silent SQL and metrics without a definition

They write the query in silence, so the interviewer can't follow the logic. They lose rows by putting a filter on the right-hand table in WHERE instead of the join condition. They start computing retention or conversion without asking how the company defines it. In A/B questions they skip the hypothesis, effect size and test length - and want to stop the moment the result turns green.

What they ask and what the hint sounds like

SQL: window functions

“Return each customer's second-largest order”

The hint comes as a skeleton: number the orders within each customer with ROW_NUMBER, ordered by amount, then filter on that number in the outer query. Plus a caveat worth saying out loud: with tied amounts, DENSE_RANK is the better fit.

SQL: joins

“How is a LEFT JOIN different from an INNER JOIN?”

Vizir gives you ready phrasing and the trap inside the question: LEFT keeps every row from the left table, but a condition on the right table in WHERE drops the NULL rows and quietly turns it into an inner join. Say that such a filter belongs in ON.

A/B and statistics

“Conversion is up 2%, p-value 0.07 - do we ship?”

The hint maps the answer: ask whether the sample size was calculated up front, then say that at the agreed significance level the result isn't confirmed. Then the options - extend the test to the planned sample size, or accept that the effect is too small to matter.

Metrics

“Revenue is growing but average order value is falling - why?”

A ready decomposition: revenue is the number of orders times average order value, so orders went up. Vizir suggests finding the source in the cuts: a new low-spend segment, a promo, a channel shift. The answer gets stronger with a cohort check.

Data quality

“How would you check a table you're seeing for the first time?”

The hint lists the usual checks: grain and duplicates on the key, share of empty values, date ranges, reconciling totals against a second source. It also matters to say what you do once you find a discrepancy.

InterviewerMarketing is sure their channel brings the best users. The data says otherwise. How would you explain it?
VizirAnswer → “Start by agreeing on the metric you're judging by - say, revenue per acquired user over 90 days. Put the channel next to the others and point out that it really does bring more sign-ups, but fewer of them reach a payment. End with a proposal to test, not a verdict on the channel.”
YouFirst I'd agree on the metric - revenue per acquired user over 90 days. Then I'd show the channel next to the rest: lots of sign-ups, few payments. And I'd suggest not switching it off, but testing the traffic-quality hypothesis.
InterviewerGood that you started with the metric, not with “the channel is bad”.
Statistics

Statistics questions: phrasing you can say out loud

The technical round for an analyst almost always includes statistics: A/B tests, p-values, confidence intervals, choosing a metric, distributions. They're testing whether you can explain the idea in plain words, not whether you remember the formula. Vizir hears the question and gives you a short line to say out loud. A problem on the screen - SQL or a calculation on test numbers - you grab with a screenshot, ⌥C (Alt+C on Windows), press ⌥↩, and the breakdown lands in the Solution tab.

p-value

“Explain a p-value without formulas”

The hint gives you a definition you can say with a straight face: the probability of seeing a difference this large or larger if there's actually no effect. And the caveat the interviewer is waiting for: a p-value is not the probability that the hypothesis is true.

Confidence interval

“What does a 95% confidence interval mean?”

The phrasing: if you repeated the experiment many times, intervals built this way would cover the true value 95 times out of 100. Next to it, the business version: “the effect is somewhere between plus half a percent and plus three, and zero isn't in the interval”.

A/B test

“How long do you run a test, and when can you stop it?”

The frame: the sample size is calculated up front from the smallest effect that matters to the business, the significance level and the power. Run the test in full weeks to catch the weekday-weekend difference. Stopping at the first green result is the fastest way to a false win.

Choosing a metric

“Which metric would you use to test a new checkout?”

The hint separates one primary metric that reflects the goal - say, conversion to payment - from guardrail metrics: average order value, cancellations, support tickets. Plus why not clicks: they're easy to push up with no benefit to the business.

Distributions

“Why compare average order value differently from conversion?”

A ready line of reasoning: conversion is a proportion, a yes-or-no outcome, while order value is a number with a long tail of rare large purchases. So for order value you look at outliers, the median or a bootstrap instead of just comparing means.

Problem on screen

Test numbers or SQL - take a screenshot

They show you test results and ask for significance, or hand you a query in an editor - press ⌥C, several screenshots in a row if needed, then ⌥↩. The solution path lands in the Solution tab; doing the math out loud and explaining the conclusion is on you.

Quick questions

Which SQL dialects does it handle?
PostgreSQL, MySQL, ClickHouse, MS SQL, plus window functions and CTEs. Vizir works out the dialect from the problem statement and the syntax on your screen.
Does it help with product cases, not just SQL?
Yes. A question like “how would you measure the success of a feature?” gets the structure of an answer - metric, segments, how to measure. You carry the reasoning from there.
What if the data and the problem are read out loud?
The transcript catches the problem by ear: press ⌥↩ and Vizir builds the solution path from what was said. You only need a screenshot when the tables or the query are on screen.

Walk into your analyst interview with the reasoning at hand

3 days and 30 minutes of speech free - no credit card required. Install Vizir ahead of time, switch the hint language to English in Settings → Hints (it's Russian by default) and run a practice question through it - before the interview, not during it.

More use cases