Text-to-SQL: A methodical review of challenges and models

Ali Buğra Kanburoğlu*, F. Boray Tek

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

2 Citations (Scopus)

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 languageEnglish
Pages (from-to)403-419
Number of pages17
JournalTurkish Journal of Electrical Engineering and Computer Sciences
Volume32
Issue number3
DOIs
Publication statusPublished - 2024

Bibliographical note

Publisher Copyright:
© TÜBİTAK.

Keywords

  • deep learning
  • large language model
  • natural language processing
  • Text-to-SQL

Fingerprint

Dive into the research topics of 'Text-to-SQL: A methodical review of challenges and models'. Together they form a unique fingerprint.

Cite this