TeamSQL is an application that lets you keep, organize, and share your queries in your private cloud storage. It's easy to collaborate with your colleagues using saved queries. You can see all you query execution history in the tab history pane. When you click on any history record, you can see a preview of the executed query. If you are looking for a query whose tab does not exist anymore or just remember only part of the query, you can easily make a keyword search in all your history records. You never need to worry about losing an unsaved query again.