# Which LLM writes the best analytical SQL?

DevFeed: [Which LLM writes the best analytical SQL?](<https://devfeed.tech/articles/which-llm-writes-the-best-analytical-sql-18769.md>)

Original publisher: [Read original article](<https://www.tinybird.co/blog/which-llm-writes-the-best-sql>)

Author: Víctor Ramírez, Alberto Romeu

Published: 2025-05-08T00:00:00Z

Content type: comparison

Language: en

Sources: [Tinybird](<https://devfeed.tech/sources/tinybird.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [SQL](<https://devfeed.tech/topics/sql.md>)

Tags: [ai-x-data](<https://devfeed.tech/tags/ai-x-data.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llms](<https://devfeed.tech/tags/llms.md>), [sql](<https://devfeed.tech/tags/sql.md>), [writing](<https://devfeed.tech/tags/writing.md>)

## AI overview

The article benchmarks the SQL-writing ability of 19 leading large language models to assess whether natural language can replace SQL.

## Source excerpt

Can natural language replace SQL? We benchmarked the SQL-writing ability of the top 19 LLMs to find out.