SELECT
FROM
WHERE
(SELECT COUNT(*)
FROM IncidentTxs subtxs
LEFT OUTER JOIN SupplimentalValueTypes supp ON subtxs.SupplimentalValue=supp.SupplimentalValueTypeID
WHERE subtxs.Deleted = 'N'
AND subtxs.IncidentTxTemplateID = 303
AND subtxs.IncidentID=Incidents.IncidentID
AND (supp.Description IN @Prompt('Select AccountQueue Type(s):','C','AccountQ\AccountQ Type Description',Multi,Free))) > 0