An intelligent SQL RAG text-to-SQL system that converts natural language questions into optimized SQL queries, executes them against a PostgreSQL database, and returns human-readable insights.