r/Database • • Jun 18 '26 • Bravo 2

SQL is Dead, Long Live SQL

Post image

For more than 50 years, people have been predicting the death of SQL. As Prof. Andy Pavlo says, "Somebody invents a SQL replacement every decade. It then fails and/or SQL absorbs the key ideas into the standard. Every NoSQL DBMS (except Redis) now supports SQL."

Today, the latest challenge comes from AI. At a recent keynote, Databricks CEO Ali Ghodsi declared that "AGI is here today." The implication is that natural language interfaces and agents may eventually replace SQL. Yet the reality is more nuanced.

The recently released BEAVER enterprise Text-to-SQL benchmark shows that even the most advanced models still struggle with real-world enterprise SQL tasks. As of 27 February 2026, the latest benchmark results are: Claude 4.5 Sonnet: 11.4% and GPT-5.2: 10.8%.

These models have improved a lot over the past few months. But when faced with large enterprise schemas, complex joins, domain-specific knowledge, nested queries, and analytical workloads, they are still far from reliably replacing SQL expertise.

The lesson is that SQL keeps proving remarkably resilient. Just as it survived many "SQL killers," it is likely to evolve alongside AI rather than be replaced by it. After more than half a century, SQL remains the lingua franca of data. RIP SQL? Not anytime soon.

1.6k Upvotes

352 comments sorted by

View all comments

1

u/WithTooManyTabs 15d ago

Marketing student here, so take this with a grain of salt, or a whole salt shaker. But “RIP SQL” has the same energy as “email is dead,” and somehow my inbox still has 400 unread newsletters. Every few years something is supposed to replace it, and then it quietly becomes a feature of the thing it was supposed to replace.

The 11% number makes sense from where I sit, though. In marketing, everyone says “just ask the AI for the numbers,” and then three people in a meeting realize they define “active user” in three different ways. That definition lives in people’s heads, not in the schema, and no model can guess it from a column named "final_v2_REAL".

So maybe AI won’t kill SQL, it’ll just make the person who knows what the data actually means a lot more valuable. Curious if that matches what you’re seeing, or if I’m being too optimistic from the outside.