Automated SQL Query Generation for an Intelligent Sewer Management System Using Large Language Models

The aging U.S. wastewater infrastructure poses significant environmental and public health risks. While municipalities collect data for asset management, handling large datasets can overwhelm decision-makers. Natural language processing (NLP) simplifies data access by enabling users to retrieve information through voice or text commands, reducing reliance on IT support and improving management efficiency. This paper investigates automated SQL query generation from natural language, a critical step in developing an intelligent sewer management system. Large Language Models (LLMs) are employed to achieve it. The proposed method adopts several techniques to improve the performance of SQL query generation, including data augmentation, prompt engineering and fine-tuning. Experimental results are presented to evaluate the proposed method with different settings and compare it with a baseline method.

Authors

Institutions

Publication Details

Published
2025-08-17
DOI
https://doi.org/10.1109/case58245.2025.11163844
Primary Topic
Environmental Monitoring and Data Management
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Automated SQL Query Generation for an Intelligent Sewer Management System Using Large Language Models

Yongwei Shan, Fei Liang, Hossein Khaleghian, Weihua Sheng et al.
Environmental Monitoring and Data Management
article

Automated SQL Query Generation for an Intelligent Sewer Management System Using Large Language Models

Yongwei Shan, Fei Liang, Hossein Khaleghian, Weihua Sheng, Dharmendra Reddy Chitte
article en

Abstract

The aging U.S. wastewater infrastructure poses significant environmental and public health risks. While municipalities collect data for asset management, handling large datasets can overwhelm decision-makers. Natural language processing (NLP) simplifies data access by enabling users to retrieve information through voice or text commands, reducing reliance on IT support and improving management efficiency. This paper investigates automated SQL query generation from natural language, a critical step in developing an intelligent sewer management system. Large Language Models (LLMs) are employed to achieve it. The proposed method adopts several techniques to improve the performance of SQL query generation, including data augmentation, prompt engineering and fine-tuning. Experimental results are presented to evaluate the proposed method with different settings and compare it with a baseline method.

Oklahoma State University (US)
Openalex Percentile: Top 65%
Environmental Monitoring and Data Management
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.

Automated SQL Query Generation for an Intelligent Sewer Management System Using Large Language Models — Yongwei Shan, Fei Liang, et al. · (2025) | TGRS Research Map | TGRS