In 3.2 it is possible to store SQL queries. The query history is available into the SQL Window tab of the DB Manager plugin.
This feature was developed by Salvatore Larosa
This application was created by Kartoza (Pty) Ltd. Available on GitHub! Version: 2.3.1