This does not belong to any specific language, but logic. I just use SQL as an example: I have 2 clauses:
(1) WHERE A1 AND A2
(2) WHERE A1 OR A2
In the (1) case, would query stop right after checking A1 is false? In the (2) case, would query stop right after checking A1 is true?
Please mark this one as duplicated if someone asked before.
Thank you