RB-SQL: A Retrieval-based LLM Framework for Text-to-SQL
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) with in-context learning have significantly improved the performance of text-to-SQL task. Previous works generally focus on using exclusive SQL generation prompt to improve the LLMs' reasoning ability. However, they are mostly hard to handle large databases with numerous tables and columns, and usually ignore the significance of pre-processing database and extracting valuable information for more efficient prompt engineering. Based on above analysis, we propose RB-SQL, a novel retrieval-based LLM framework for in-context prompt engineering, which consists of three modules that retrieve concise tables and columns as schema, and targeted examples for in-context learning. Experiment results demonstrate that our model achieves better performance than several competitive baselines on public datasets BIRD and Spider.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). First posted on arXiv 11 Jul 2024.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2024: 1; 2025: 2.
3 papers.
- 2025nvAgent: Automated Data Visualization from Natural Language via Collaborative Agent Workflowcited by 21
- 2024Leveraging Prior Experience: An Expandable Auxiliary Knowledge Base for Text-to-SQLcited by 5
- 2025TableZoomer: A Collaborative Agent Framework for Large-scale Table Question Answeringcited by 3
- 2025TableZoomer: A Collaborative Agent Framework for Large-scale Table Question Answering1 Sep 2025
- 2025nvAgent: Automated Data Visualization from Natural Language via Collaborative Agent Workflow7 Feb 2025
- 2024Leveraging Prior Experience: An Expandable Auxiliary Knowledge Base for Text-to-SQL20 Nov 2024
Similar, not cited
Close in wording, no citation either way
- 2023How to Prompt LLMs for Text-to-SQL: A Study in Zero-shot, Single-domain, and Cross-domain Settings
- 2023ACT-SQL: In-Context Learning for Text-to-SQL with Automatically-Generated Chain-of-Thought
- 2023Retrieval-augmented GPT-3.5-based Text-to-SQL Framework with Sample-aware Prompting and Dynamic Revision Chain
- 2024PET-SQL: A Prompt-Enhanced Two-Round Refinement of Text-to-SQL with Cross-consistency
- 2024CoE-SQL: In-Context Learning for Multi-Turn Text-to-SQL with Chain-of-Editions
- 2024From Natural Language to SQL: Review of LLM-based Text-to-SQL Systems
- 2024Decomposition for Enhancing Attention: Improving LLM-based Text-to-SQL through Workflow Paradigm
- 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction