---
title: "Text-to-SQL with Claude"
description: "Learn how to generate complex SQL queries from natural language using prompting techniques, self-improvement, and RAG."
type: skill
canonical_url: https://claudary.paisolsolutions.com/skills/readme-42
source: "Claudary"
difficulty: intermediate
author: "Claude Code Knowledge Pack"
date: 2026-07-10T11:36:31.089Z
license: CC-BY-4.0
attribution: "Text-to-SQL with Claude — Claudary (https://claudary.paisolsolutions.com/skills/readme-42)"
---

# Text-to-SQL with Claude
Learn how to generate complex SQL queries from natural language using prompting techniques, self-improvement, and RAG.

## Overview

# Text-to-SQL with Claude

Learn how to generate complex SQL queries from natural language using prompting techniques, self-improvement, and RAG.

## Contents

- `guide.ipynb`: Main tutorial notebook
- `data/`: Data files for examples and testing
- `evaluation/`: Evaluation scripts using Promptfoo

For evaluation instructions, see `evaluation/README.md`.

---

Source: [Claudary](https://claudary.paisolsolutions.com/skills/readme-42) · https://claudary.paisolsolutions.com
