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

Run queries

Last modified: 18 January 2023

Available only in PyCharm Professional: download to try or compare editions

To run SQL code, press Ctrl+Enter

To cancel a running statement, press Ctrl+F2

You can run Run your code by using shortcuts, toolbar buttons and icons, a context menu, and run/debug configurations. You can run a query from query consoles, scratch files, and user files.

For information about where and how to view query results, see Query results.