AI SQL Tutor AI skill by KissMySkills, cover
What's inside the AI SQL Tutor AI skill: Explains as you go, Checked code, Practice set
How the AI SQL Tutor AI skill works in three steps: download, drop it into your AI chat, done
The AI SQL Tutor AI skill works with Claude, ChatGPT, Gemini and any AI chat, 30-day money-back guarantee
Prompt setAI Coding Tutors

AI SQL Tutor

Your AI works as a Socratic SQL tutor who asks the learner to predict a row count before running anything…

$19· one file, yours to keep

Yours to keep · instant download

Subscribe · $12/mo

7 days free, then $12/mo · cancel anytime

  • Visa
  • Mastercard
  • American Express
  • Apple Pay

30-day money-back · secure checkout by Stripe

Read the opening lines
# AI SQL Tutor
KissMySkills.com | Install: paste this whole file into Claude Projects (Project instructions), a custom GPT (Instructions), a Gemini Gem, or your AI's system prompt. Then tell it what you want to learn.

## Who you are
You are a Socratic SQL tutor. Your job is to make the learner able to write a query against an unfamiliar schema and defend its row count. You are not a query generator.

Tone: plain, calm, specific. Short sentences. One idea per turn.

The one rule: you never write the finished query for a task you have set. You can show the same clause on another table, ask a question, or name the concept. You cannot hand over the answer.

## What you know about SQL
- The learnable order: SELECT and WHERE, logical execution order, filtering and NULL, aggregates with GROUP BY, INNER JOIN, LEFT JOIN, join fan out, subqueries and CTEs, window functions, then indexes and safe writes.

Prompt set · 121 lines · the first 12 shown

How it works

  1. Buy or subscribeAdd it to your cart for $19 and the file is yours to keep. Or subscribe: every file in the store, $12/mo.
  2. Open in your AIOpen the file, copy a prompt and paste it into Claude, ChatGPT or any AI chat. Subscribers connect their AI once instead:

    Claude

    Anthropic's AI chat, on the web, desktop and phone · about 3 minutes

    Works on every Claude plan, Free included.

    • Team or Enterprise plan: the workspace owner adds it once in Organization settings, then everyone clicks Connect.
    • Nothing happens when you click Connect? Allow pop-ups for claude.ai and try again.

    On a phone? Set it up once on a computer. It then shows up in the Claude phone app by itself. Email me the link

    After you buy a file
    1. Download your .skill file from the order email or your account.

    2. In Claude, turn on code execution in Settings › Capabilities, then go to Customize › Skills › + › Create skill › Upload a skill.

    3. Start a new chat and ask for the specialist by name.

    Open full guide

  3. Ask by nameAsk your AI for AI SQL Tutor by name, or fill in the parts in brackets and send.

What's inside

  • ai-sql-tutor.txtPrompt set · 121 lines · instant download
  • Clause execution order taught first, because it explains most SQL bugs
  • LEFT JOIN, NULL behaviour and join fan out drilled until they are boring
  • Wrong row counts turned into questions you diagnose yourself
  • Dialect checked up front: Postgres, MySQL, SQL Server, SQLite or BigQuery

What your AI will do

See a real example
You ask

I can do SELECT and WHERE. My joins give me way too many rows and I do not know which ones are wrong.

Your AI answers

You get: a short task, list every customer with the total value of their paid orders, including customers who never ordered → your query uses a LEFT JOIN with WHERE o.status = 'paid' → the count comes back at 210 customers instead of 900 → instead of a rewrite, the question, for a customer with no orders at all, what value does o.status hold on that row → you answer NULL → then the follow up, does NULL equal 'paid' → you see the WHERE deleted the very rows the LEFT JOIN kept → the concept named, a filter on the right table turns a LEFT JOIN into an inner one, and the fix belongs in the ON clause → a progress block for next time.

// faq

Questions before you buy

How does this SQL tutor work if I do not have a database yet?+

It gives you a small schema in text, three or four tables with a few rows each, and you write queries against it in the chat. If you would rather run them for real it tells you how to set up SQLite or a free Postgres instance in a few minutes. Once you have your own tables, you describe them and it teaches on those instead.

Will it just write the query for me?+

No. It is instructed never to write the finished query for a task it set you. When you are stuck it shows the same clause on a different table, or asks how many rows you expected and where the extras came from. Asking it to explain a query someone else wrote is a separate request and it will walk that line by line.

Which dialect does it teach, and does it cover window functions?+

It asks whether you are on PostgreSQL, MySQL, SQL Server, SQLite or BigQuery before it teaches anything with a date function or a string function, because those differ. Window functions are lesson nine: ROW_NUMBER, RANK, running totals and PARTITION BY, which is what most analyst interviews test.

How do I open it?+

Download your .skill file from the order email or your account. In Claude, turn on code execution in Settings › Capabilities, then go to Customize › Skills › + › Create skill › Upload a skill. Start a new chat and ask for the specialist by name.

Using ChatGPT, Gemini or another AI? See How it works