SELECT AccountNumber FROM AccountMain WHERE ID in ( SELECT AccountID FROM AccountComment WHERE CommentType = 'B' and CommentBeginDate = '1980-01-01 00:00:00' and Comment != '') and AccountNumber NOT LIKE '~%-%-%'
SELECT AccountNumber FROM AccountMain WHERE ID in ( SELECT AccountID FROM AccountComment WHERE CommentType = 'B' and CommentBeginDate = '1980-01-01 00:00:00' and Comment != '') and AccountNumber NOT LIKE '~%-%-%'
Thank you! Your comment has been submitted for approval.