MRI
MRI India Journals Vol. 14 No. 1 (2025)

Large Language Model – Based Query Generation

Authors

  • Prof.Vinay.S. Nalawade
  • Shubham Kolase
  • Shital Devkar
  • Dnyaneshwari Patil

DOI:

https://doi.org/10.65521/ijacte.v14i1.795

Keywords:

Natural Language Processing SQL Generation Large Language Models Query Automation Database Accessibility

Abstract

The proposed to is designed to Retrieving information from relational databases typically requires proficiency in Structured Query Language (SQL). However, non-technical users often lack the necessary expertise to construct accurate SQL queries, creating a barrier to effective data access. To address this challenge, this paper proposes an LLM-based Query Generation System that translates natural language prompts into executable SQL queries. The system leverages pretrained large language models (LLMs), such as those developed by OpenAI, enhanced with schema-aware prompt engineering to ensure the generated queries align with the underlying database schema. Unlike traditional methods based on keyword matching, template filling, or handcrafted rules, the proposed system adapts flexibly across diverse domains and query structures.

A prototype implementation demonstrates how non-technical users can interact with databases by formulating requests in plain English. The system will automatically generate the corresponding SQL query with correct joins, filtering, and ordering clauses. This approach reduces dependency on database experts, enhances accessibility, and improves productivity in organizations where timely data retrieval is essential.

Downloads

Published

2025-11-08

How to Cite

Nalawade, P., Kolase, S., Devkar, S., & Patil, D. (2025). Large Language Model – Based Query Generation. International Journal on Advanced Computer Theory and Engineering, 14(1), 677–680. https://doi.org/10.65521/ijacte.v14i1.795

Issue

Section

Articles

Similar Articles

<< < 19 20 21 22 23 24 25 26 27 28 > >> 

You may also start an advanced similarity search for this article.