You can inject an SQL statement into a string literal (see Using Language Injections) and then run that statement:
- In the editor, place the cursor within the corresponding string literal.
-
Do one of the following:
- Press ⌘⏎ or ⌘⏎⌘⏎ or ⌘⏎⌘⏎ or ⌘⏎^ Enter, ⌃⏎ or ⌃⏎^ Enter, ⌃⏎ or ⌃⏎.
- Press ⌥⏎ or ⌥⏎⌥⏎ or ⌥⏎⌘1 or ⌘1⌥ Enter, ⌥⏎ or ⌥⏎⌥ Enter, ⌥⏎ or ⌥⏎ and select Run query in console.
-
Click
and
select Run query in console.
- If asked, select the database console to be used.
- If the statement contains parameters, specify the parameter values.