On this page
SHOW QUERY
Core command
SH QU
SHQU
Shows the last SQL query of the session, the one that / runs again.
Syntax
SHOW QUERY
Examples
SELECT * FROM CUSTOMER WHERE COUNTRY = 'FR';
SHOW QUERY;
//
Details
The query is printed on a single line, convenient for reading and copying even when it was typed or pasted over several lines. When no query has run yet, the command prints No query in memory.
It is the statement that / runs again, and that / <environment> runs once against another Environment of the current Database Group. // is a shortcut for SHOW QUERY.
Related
Last modified in release 5.5.0.
BroadSQL