SQL and Large Language Models: A Marriage Made in Heaven?

Papotti, Paolo
DASH 2025, Keynote talk at 6th Workshop on Data Science with Human in the Loop @ VLDB 2025, 5 September 2025, London, UK

With the rise of pre-trained Large Language Models (LLMs), there is now an effective solution to store and use information extracted from massive corpora of documents. However, for data-intensive tasks over structured data, relational DBs and SQL queries are at the core of countless applications. While these two technologies may appear distant, in this talk we will see that they can interact effectively and with promising results. LLMs can help users express SQL queries (Semantic Parsing), but SQL queries can be used to evaluate LLMs (Benchmarking). Their combination can be further advanced, with opportunities to query with a unified SQL interface both LLMs and DBs. We present recent results on these topics and then conclude with an overview of the research challenges in effectively leveraging the combined power of SQL and LLMs.


Type:
Talk
City:
London
Date:
2025-09-05
Department:
Data Science
Eurecom Ref:
8410
Copyright:
© EURECOM. Personal use of this material is permitted. The definitive version of this paper was published in DASH 2025, Keynote talk at 6th Workshop on Data Science with Human in the Loop @ VLDB 2025, 5 September 2025, London, UK and is available at :
See also:

PERMALINK : https://www.eurecom.fr/publication/8410