SQL expressions now in Public Preview
Grafana SQL Expressions, Grafana’s solution for manipulating and transforming the results of data source queries using SQL (MySQL dialect) syntax, is now available in Public Preview.
We’ve improved the general experience by providing a more intuitive editor that supports better formatting, quick copying, easy expansion, and a shortcut to instantly run your queries.
We’ve also implemented support for autocomplete. We’ve additionally added column/field autocomplete, available after enabling the sqlExpressionsColumnAutoComplete feature toggle, which is provided on an experimental basis.
Lastly, we know the real challenge isn’t just writing SQL — it’s asking the right questions and understanding complex queries. That’s why we’ve integrated Grafana’s LLM directly into the editor. You can now generate SQL queries from natural language and get instant explanations of existing queries, helping you move from idea to insight faster than ever.

Give it a try and let us know how you like it!