Authors: Assistant Prof. Mr. Nalawade Tejas Sambhaji, Miss. Ankita Kumbhar, Miss. Shruti Patil, Miss. Rutuja Shinde, Miss. Vaishnavi Bhosale
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.