Viewing post 1 (of 1 total)
Try this:
SELECT ContactID
FROM tblContact
GROUP by ContactID
HAVING SUM(CASE WHEN City='Toronto' THEN 1 ELSE 0 END) > 0 AND
SUM(CASE WHEN City='Vancouver'...
November 22, 2010 at 11:33 pm
#1254194