To view history of queries that you ran in a console, run a query in a console, and click the Browse Console History button in the Database Console tool window.

View history of run queries