AI and Gambling: Probabilities Aren't in Your Favor
Quick Answer
LLMs generate plausible SQL, but not always the correct business answer. Probabilistic systems predict likely queries, which can join wrong tables or misinterpret business terms like 'revenue.'
A semantic layer captures how the business defines itself, not just data. It ensures every AI assistant, dashboard, and analyst interprets business metrics consistently and correctly every time.
Deterministic SQL engines and AI models solve fundamentally different problems. AI excels at understanding language and intent; deterministic systems ensure governed, reproducible, trusted data retrieval.
Walk into any casino and you'll find games built on probabilities. Some odds are better than others, but in the long run the house always wins.
I've been thinking about that a lot as I watch the explosion of AI in the enterprise.
LLMs are, at their core, probabilistic systems. Every word they generate is based on the statistical likelihood that it should come next. It's why they can write compelling prose, summarize documents, explain complex ideas, and carry on conversations that feel remarkably natural.
But when the conversation turns from generating language to retrieving business data, that same probabilistic system can lead you astray.
Suppose I ask, "What were our gross margins in Europe last quarter?" Suddenly, I’m not looking for a plausible answer. I’m looking for the right answer.
LLMs are remarkable at understanding intent. In fact, translating natural language into something that resembles SQL has become surprisingly easy. Most modern models do it well enough that it's easy to conclude the problem has been solved.
But it hasn't. The hard part was never generating SQL syntax. The hard part has always been generating the right SQL.
When someone asks for "revenue," what exactly do they mean? Gross revenue? Net revenue? Recognized revenue? Bookings? Revenue after returns? Different organizations use the same words to mean different things.
An LLM doesn't inherently know any of that. It sees tables, columns, relationships, and documentation if you're lucky enough to have it. From there it predicts the SQL that is most likely to answer the question.
Most of the time, the LLM generated SQL will fetch the wrong answer. It may join the wrong table, aggregate at the wrong level, interpret a business term incorrectly, or omit a security filter that should always be applied.
In a casino, you're expecting uncertainty. In an enterprise, you shouldn't have to gamble every time you ask for your quarterly revenue.

Over the course of my career, I've worked on semantic technologies at SAP, Business Objects, and now Strategy. Across all those companies, spanning multiple generations of analytics, the underlying problem has remained consistent. Enterprises don't struggle because they can't write SQL. They struggle because they need every application, dashboard, analyst, and now every AI assistant to interpret the business the same way.
A semantic layer isn't just metadata describing tables and columns. It's a representation of how the business defines itself. Importantly, a good semantic layer must also generate the SQL deterministically, not probabilistically.
The request should be handed to a deterministic engine that understands the business semantics, applies the correct security policies, generates the appropriate SQL, and executes it the same way every single time.
At Strategy, that's exactly what we've been building for more than three decades. Our SQL engine wasn't designed because SQL is difficult to write. It was designed because businesses need deterministic answers. The semantic layer captures the organization's business definitions, while the SQL engine deterministically translates those definitions into optimized queries. The result is an architecture that's been trusted by some of the most regulated and risk-averse organizations in the world.
Let AI do what it's exceptional at: understanding language, interpreting intent, explaining results, surfacing insights, and making analytics accessible to everyone.
Then let deterministic systems do what they've always done best: retrieve trusted, governed, reproducible business data.
For decades we've talked about systems of record for transactions and systems of record for data. I think the AI era introduces a new requirement: a system of record for meaning.
That's what a semantic layer provides.
The future of enterprise AI isn't choosing between probabilistic models and deterministic systems. It's recognizing that they solve fundamentally different problems. One is best for reasoning. The other is best for calculating.
And when the question is about your company's numbers, probabilities simply aren't in your favor.








.jpeg&w=750&q=75)