articleProceedings of the VLDB EndowmentJan 1, 2024Closed access

Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluation

Alibaba Group (United States)

Indexed incrossref

Abstract

Large language models (LLMs) have emerged as a new paradigm for Text-to-SQL task. However, the absence of a systematical benchmark inhibits the development of designing effective, efficient and economic LLM-based Text-to-SQL solutions. To address this challenge, in this paper, we first conduct a systematical and extensive comparison over existing prompt engineering methods, including question representation, example selection and example organization, and with these experimental results, we elaborate their pros and cons. Based on these findings, we propose a new integrated solution, named DAIL-SQL, which refreshes the Spider leaderboard with 86.6% execution accuracy and sets a new bar. To explore the potential…

Citation impact

205
total citations
FWCI
64.24
Percentile
100%
References
18
Citations per year

Authors

7

Topics & keywords

Keywords
  • Computer science
  • Benchmark (surveying)
  • SQL
  • Programming language
  • Data definition language
  • Natural language processing
  • Database
  • Artificial intelligence
No related works found for this paper.