Optimize SQL Query with AI
Published 09 October 2025
If you are dealing with a slow SQL query that needs to be optimized you can ask Prompt AI to do it for you. First, highlight a portion of SQL that you would like to optimize. Then, right-click the selection and press the "Optimize Selected SQL with AI" menu item. Alternatively, you can use the Ctrl+Alt+Z shortcut.
Wait for the AI assistant to finish.
Get you query optimized with appropriate comments.


