PyCharm
 
Get PyCharm
You are viewing the documentation for an earlier version of PyCharm.

Query consoles

Last modified: 05 August 2022

Professional feature: download PyCharm Professional to try.

Query or database consoles are SQL files in which you can compose and execute SQL statements. Unlike scratch files, consoles are attached to a data source. You can use a query console in the same way as you use a terminal. Just type and run your code.

When you create a data source, a query console is created automatically. If necessary, you can create additional consoles. Each console creates a new connection. If you do not want to create new connections, enable single session mode.

Language and Framework-Specific Guidelines