https://royfactory.net/posts/ai/202512/text2sql-llm-sql-generation-rag/
Text2SQL: How LLMs Convert Natural Language Into SQL Queries