Need help with corecly applyingwhere statment

has already been asked to define business rule