Running summarizing tools on a new article

Check the paper below, then start its synthesis.


NL2SQL-OLM: A Novel Framework for Natural Language to SQL with Schema-Aware LLM Prompting and Zero-Shot Query Generation

Ram Ghadiyaram, Durga Krishnamoorthy, Laxmi Vanam, Jaya Eripilla

IEEE International Conference on Advances in Data-Driven Analytics and Intelligent Systems (ADACIS)
License: not stated (all rights reserved)

Abstract: This paper presents NL2SQL-OLM, a novel framework for converting natural language queries to SQL statements utilizing DeepSeek-Coder large language model, that is integrated with automatic database schema extraction and a schema-aware prompting strategy. While text-to-SQL systems have been extensively studied, the integration of pre-trained open-source LLMs with database schema extraction for zero-shot query generation remains underexplored. We address this research gap by proposing a schema-aware prompting architecture that eliminates the need for manually providing database structural information. Through automatic extraction of database metadata and its strategic incorporation into LLM context windows, our system achieves 87.3% accuracy on simple queries and 74.2% on complex analytical queries across multiple database domains. Quantitative comparison with five state-of-the-art text-to-SQL systems demonstrates our approach outperforms existing solutions by an average of 8.3% on execution accuracy while maintaining schema-independence. We contribute a new text-to-SQL dataset comprising 1,250 natural language queries across 15 different database schemas, alongside a systematic evaluation methodology for comparative benchmarking of text-to-SQL conversion systems.

Published on 20 Nov. 2025