Query pilot: An AI-Powered Text-To-SQL System with Query Clarification, Validation, And Conversational Database Interaction

Relational databases are widely used to store and man-age structured information. However, retrieving information often requires knowledge of Structured Query Language (SQL), creat-ing difficulties for users without SQL programming experience. This paper presents QueryPilot, an AI-powered Text-to-SQL system designed to simplify database interaction through natural-language query generation, clarification, SQL validation, error correction, and conversational assistance. The system integrates a React and Vite frontend, a FastAPI backend, a MySQL database, and a language-model component. Database discovery and schema retrieval provide context for SQL generation. Generated queries are validated before execution, with restrictions intended to limit operations to permitted read-only queries. Preliminary development tests have covered database discovery, schema retrieval, simple SELECT statements, filtering, JOIN oper-ations, and subqueries. These tests indicate initial functional feasi-bility. However, comprehensive quantitative evaluation of execution accuracy, response time, clarification success, and security remains necessary. Therefore, this paper does not claim unmeasured perfor-mance values. QueryPilot provides a foundation for accessible and controlled natural-language interaction with relational databases.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-30
DOI
https://doi.org/10.5281/zenodo.24674165
Primary Topic
Advanced Database Systems and Queries
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Query pilot: An AI-Powered Text-To-SQL System with Query Clarification, Validation, And Conversational Database Interaction

Rutuja Shinde, Vaishnavi Bhosale, Assistant Prof. Mr. Nalawade Tejas Sambhaji, Ankita Kumbhar et al.
Zenodo (CERN European Organization for Nuclear Research)
Advanced Database Systems and Queries
article

Query pilot: An AI-Powered Text-To-SQL System with Query Clarification, Validation, And Conversational Database Interaction

Rutuja Shinde, Vaishnavi Bhosale, Assistant Prof. Mr. Nalawade Tejas Sambhaji, Ankita Kumbhar, Shruti Patil
article en

Abstract

Relational databases are widely used to store and man-age structured information. However, retrieving information often requires knowledge of Structured Query Language (SQL), creat-ing difficulties for users without SQL programming experience. This paper presents QueryPilot, an AI-powered Text-to-SQL system designed to simplify database interaction through natural-language query generation, clarification, SQL validation, error correction, and conversational assistance. The system integrates a React and Vite frontend, a FastAPI backend, a MySQL database, and a language-model component. Database discovery and schema retrieval provide context for SQL generation. Generated queries are validated before execution, with restrictions intended to limit operations to permitted read-only queries. Preliminary development tests have covered database discovery, schema retrieval, simple SELECT statements, filtering, JOIN oper-ations, and subqueries. These tests indicate initial functional feasi-bility. However, comprehensive quantitative evaluation of execution accuracy, response time, clarification success, and security remains necessary. Therefore, this paper does not claim unmeasured perfor-mance values. QueryPilot provides a foundation for accessible and controlled natural-language interaction with relational databases.

Zenodo (CERN European Organization for Nuclear Research)
Advanced Database Systems and Queries
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon