Syntax:
BIT_AND(expr)

Returns the bitwise AND of all bits in expr. The calculation is
performed with 64-bit (BIGINT) precision.

If there are no matching rows, BIT_AND() returns a neutral value (all
bits set to 1).

URL: https://dev.mysql.com/doc/refman/5.7/en/aggregate-functions.html

