$B$ is a flat $A$-algebra. For any ideals $I, J \in A$, does $IB \cap JB = (I \cap J)B$ holds? (The answer seems to be YES, how to prove it?)
Furthermore, if $f: A \to B$ is injective (maybe $B$ is not a flat $A$-module), does the equality still holds?