Navicat provides a useful tool called Query Editor for creating
and executing queries. It allows you to create and edit SQL
text for a query, prepare and execute selected queries.
To open a query in the query editor (see Edit Query for details).
Hint: Query text will be automatically generated while you build in Query Builder.
You are allowed to run selected portion of query, just simply right-click the highlighted query and select Run Selected.
You can define multiple SQL statements in one Editor window, and the editor let you run the current statement your cursor is on (place your cursor in the front of the desired statement). Just simply select Run a statement from here or press F7.
Note: Select Run a statement from here or press F7, the next statement will be continue to run.