Schema annotation layer
Cryptic columns and coded values (e.g. 1=Customer, 2=Supplier) are scanned, suggested to you, and taught to the model upon your approval. On legacy schemas this is the main driver of accuracy.
ACCURACY & METHODOLOGY
A generated query isn't correct just because it ran. Our tests compare the DATA a query returns against a reference answer — a query that runs without errors but returns the wrong answer counts as a failure.
94%
Result accuracy
Measured across four database engines (PostgreSQL, SQL Server, MySQL, Oracle) on a test set of hundreds of real questions. The score measures whether the returned data matches the reference answer — not SQL text similarity: even a query that runs without errors counts as a failure if the data is wrong.
We use a test set of hundreds of Turkish questions over realistic schemas from different business domains (sales, healthcare, manufacturing, legacy ERP), run across four database engines. Part of the set deliberately uses cryptic, undocumented 'bad' schemas — because that's what the real world looks like.
The most insidious failure of natural-language query tools is the query that runs cleanly but returns the wrong answer. Its main cause is not language understanding — it is schema misinterpretation. PerSight approaches this with four layers:
Cryptic columns and coded values (e.g. 1=Customer, 2=Supplier) are scanned, suggested to you, and taught to the model upon your approval. On legacy schemas this is the main driver of accuracy.
Tables are only joined through relationships defined in the schema; speculative joins based on name similarity are blocked by rules.
A query that fails at runtime is sent back to the model together with the error message and repaired once — most transient failures never reach the user.
If a question can't be answered from your schema, PerSight says what's missing instead of fabricating a plausible-looking query. An honest 'I can't answer' beats a wrong answer.
This score is measured on our own test set; it is not an independent benchmark. Real-world accuracy depends on your schema quality and how much you use the annotation layer. We gladly share the methodology and the test set with enterprise teams who want to scrutinize it.
94 percent of the generated queries returned exactly the same data as the reference answer. The criterion is result equality: even a query that runs without errors counts as a failure if the data is wrong.
The remaining questions mostly fail on the hardest analytical scenarios and on schemas we deliberately keep cryptic. Our criterion is strict: every query that runs but returns wrong data is a failure. We measure progress by hardening the set, not by inflating the score.
It depends on your schema quality. On schemas with descriptive table and column names the rate can exceed our test score; on cryptic schemas it rises significantly as you approve the annotation layer. Our tests measure both kinds.
The generated SQL is always visible on screen with a plain-language explanation; you can edit and approve it before it runs. If a question can't be answered from your schema, PerSight says so instead of fabricating a query. And every query is read-only — even a wrong one can't touch your data.
The best test is your own schema. Join the beta queue and ask your first question against your own database.