Working with SQL files

Double-click an SQL file to open it in the IDE. To run a query from this file, call intention actions (Option+Enter for macOS, Alt+Enter for Windows and Linux) and select Run query in console. In the Sessions list, select existed console or create a new one.

Note that a new query console means a new connection to a data source.

Intention action to run a query in a query console