LMpad
Coding

Natural language to SQL

SQL prompts from schema + question with plain-English explanations.

SQL prompts need schema context—without it, models hallucinate column names.

Try the prompt

Why use LMpad for this

  • Copy-ready templates with {{variables}} you fill per use case
  • Run instantly in LMpad with your OpenRouter API key
  • Save favorites to your personal pad and remix over time

Ready-to-run prompts

Copy, fill in {{variables}}, and run with your preferred model.

Frequently asked questions

How do I write a good SQL prompt?+

Include table definitions, sample rows, and the business question in plain English.

Is this sql query prompt free to use?+

Yes—browse, copy, and run prompts on LMpad at no cost. You bring your own model API key via OpenRouter.

Can I customize the prompt?+

Every prompt supports variables and can be saved to your pad for editing before you run it.

Save prompts to your pad

LMpad is a local-first prompt notebook. Browse community templates, remix them, and run with OpenRouter.