CMS Site Manager > Development > Document types > Document type edit:
Queries tab
Here you can see all available SQL queries added to this document type. You can edit () and/or delete () items from the list.