[2603.25568] Are LLMs Overkill for Databases?: A Study on the Finiteness of SQL

[2603.25568] Are LLMs Overkill for Databases?: A Study on the Finiteness of SQL

arXiv - AI 3 min read

About this article

Abstract page for arXiv paper 2603.25568: Are LLMs Overkill for Databases?: A Study on the Finiteness of SQL

Computer Science > Databases arXiv:2603.25568 (cs) [Submitted on 26 Mar 2026] Title:Are LLMs Overkill for Databases?: A Study on the Finiteness of SQL Authors:Yue Li, David Mimno, Unso Eun Seo Jo View a PDF of the paper titled Are LLMs Overkill for Databases?: A Study on the Finiteness of SQL, by Yue Li and 2 other authors View PDF HTML (experimental) Abstract:Translating natural language to SQL for data retrieval has become more accessible thanks to code generation LLMs. But how hard is it to generate SQL code? While databases can become unbounded in complexity, the complexity of queries is bounded by real life utility and human needs. With a sample of 376 databases, we show that SQL queries, as translations of natural language questions are finite in practical complexity. There is no clear monotonic relationship between increases in database table count and increases in complexity of SQL queries. In their template forms, SQL queries follow a Power Law-like distribution of frequency where 70% of our tested queries can be covered with just 13% of all template types, indicating that the high majority of SQL queries are predictable. This suggests that while LLMs for code generation can be useful, in the domain of database access, they may be operating in a narrow, highly formulaic space where templates could be safer, cheaper, and auditable. Comments: Subjects: Databases (cs.DB); Artificial Intelligence (cs.AI) Cite as: arXiv:2603.25568 [cs.DB]   (or arXiv:2603.25568v1 [cs.D...

Originally published on March 27, 2026. Curated by AI News.

Related Articles

I Asked ChatGPT 500 Questions. Here Are the Ads I Saw Most Often | WIRED
Llms

I Asked ChatGPT 500 Questions. Here Are the Ads I Saw Most Often | WIRED

Ads are rolling out across the US on ChatGPT’s free tier. I asked OpenAI's bot 500 questions to see what these ads were like and how they...

Wired - AI · 9 min ·
Llms

Abacus.Ai Claw LLM consumes an incredible amount of credit without any usage :(

Three days ago, I clicked the "Deploy OpenClaw In Seconds" button to get an overview of the new service, but I didn't build any automatio...

Reddit - Artificial Intelligence · 1 min ·
Google’s Gemini AI app debuts in Hong Kong
Llms

Google’s Gemini AI app debuts in Hong Kong

Tech giant’s chatbot service tops Apple’s app store chart in the city.

AI Tools & Products · 2 min ·
Google Launches Gemini Import Tools to Poach Users From Rival AI Apps
Llms

Google Launches Gemini Import Tools to Poach Users From Rival AI Apps

Anyone looking to switch their AI assistant will find it surprisingly easy, as it only takes a few steps to move from A to B. This is not...

AI Tools & Products · 4 min ·
More in Llms: This Week Guide Trending

No comments

No comments yet. Be the first to comment!

Stay updated with AI News

Get the latest news, tools, and insights delivered to your inbox.

Daily or weekly digest • Unsubscribe anytime