Go to menu
Command History back | 1 2 3 4 5 6 7 8 | next
To display the last 50 command executions in a worksheet, click the Command History button.

You can then select a SQL statement from the Command History dialog box and press the Get button. The selected statement then replaces the contents of the Input pane.

Additionally shortcuts (Ctrl-P and Ctrl-N) can be used to get statements from the SQL history buffer. Press F5 to execute the command.