To delete a query:
Select the Query tab, and choose a query.
From Queries, select Delete.
Note:
If the query is used by another object, you get a prompt with a list of objects that use the query. You can choose to continue with the deletion or cancel it.