Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
38 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

A Survey on Employing Large Language Models for Text-to-SQL Tasks (2407.15186v4)

Published 21 Jul 2024 in cs.CL

Abstract: The increasing volume of data in relational databases and the expertise needed for writing SQL queries pose challenges for users to access and analyze data. Text-to-SQL (Text2SQL) solves the issues by utilizing NLP techniques to convert natural language into SQL queries. With the development of LLMs, a range of LLM-based Text2SQL methods have emerged. This survey provides a comprehensive review of LLMs in Text2SQL tasks. We review benchmark datasets, prompt engineering methods, fine-tuning methods, and base models in LLM-based Text2SQL methods. We provide insights in each part and discuss future directions in this field.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (5)
  1. Liang Shi (45 papers)
  2. Zhengju Tang (2 papers)
  3. Zhi Yang (188 papers)
  4. Nan Zhang (144 papers)
  5. Xiaotong Zhang (28 papers)
Citations (6)