Why does your agent's revenue number differ from finance's?
One question about Q3 revenue gets three answers from the same tables. Run the query that gets the first one and see what it counted.
Sample page. Your Maestro, an AI, answers your free questions about this page.
Before you start, one quick question. It doesn't count for anything: it's your starting point, and you'll see the same question again at the end of the course.
Ridgeline Coffee Roasters is a small US roaster (made up, like everything in this course) that sells beans and gear online and to cafes. Its shop app exports six tables to the warehouse every night. Finance asks one question: what was net revenue by region in Q3 2026?
The same tables give three different answers, depending on who asks and what they know:
| Who answered | Q3 net revenue |
|---|---|
| A query that joins everything and sums it | $88,435.40 |
| Claude Code, given the raw tables | $76,137.00 |
| Finance, using the model you build in this course | $75,638.50 |
The second row is a real run: Claude Code (Sonnet 5.5) answered this question on these tables on October 31, 2026, and you'll read its whole session on the next page. Nobody made a math error. Each answer counted different rows.
Try it
The query below is the first answer: it joins orders to their lines and adds up every line plus the shipping on the order. Run it and you get $88,435.40. Then fix the two problems you can see in the data itself: keep only completed orders, and count only what the customer paid for the items (shipping is not revenue). You're done when the total reads 78,132.00.
At 78,132.00 you've done what any careful analyst does with a new table: looked at the columns and used what they say. Subtract the $1,995.00 in refunds on those orders and you reach $76,137.00, which is exactly where Claude Code landed.
It's still $498.50 too high. The difference comes from something no column tells you, and that's the subject of this course: the rules your company runs on are not in the data, so an agent can't follow them until you put them where it reads. Where does the other $498.50 come from?