Can fish can remember that a predator attacked a nearby fish and avoid that location?
This wiki describes many kinds of fish intelligence that surprised me, although they only describe fish remembering harm to self, not others.
"Individual carp captured by anglers have been shown to become less catchable thereafter. This suggests that fish use their memory of negative experiences to associate capture with stress and therefore become less easy to catch. This type of associative learning has also been shown in paradise fish which avoid places where they have experienced a single attack by a predator and continue to avoid for many months." https://en.m.wikipedia.org/wiki/Fish_intelligence
The rest of the wiki is very interesting.