Abstract
This survey focuses on Text-to-SQL, automated translation of natural language queries into SQL queries. Initially, we describe the problem and its main challenges. Then, by following the PRISMA systematic review methodology, we survey the existing Text-to-SQL review papers in the literature. We apply the same method to extract proposed Text-to-SQL models and classify them with respect to used evaluation metrics and benchmarks. We highlight the accuracies achieved by various models on Text-to-SQL datasets and discuss execution-guided evaluation strategies. We present insights into model training times and implementations of different models. We also explore the availability of Text-to-SQL datasets in non-English languages. Additionally, we focus on large language model (LLM) based approaches for the Text-to-SQL task, where we examine LLM-based studies in the literature and subsequently evaluate the LLMs on the cross-domain Spider dataset. Finally, we conclude with a discussion of future directions for Text-to-SQL research, identifying potential areas of improvement and advancements in this field.
Original language | English |
---|---|
Pages (from-to) | 403-419 |
Number of pages | 17 |
Journal | Turkish Journal of Electrical Engineering and Computer Sciences |
Volume | 32 |
Issue number | 3 |
DOIs | |
Publication status | Published - 2024 |
Bibliographical note
Publisher Copyright:© TÜBİTAK.
Keywords
- deep learning
- large language model
- natural language processing
- Text-to-SQL