To remove a Query from database and the list of Queries, go to the Query Manager, select the Query, and click the icon.
Query will be deleted from the database and from the list of Queries.