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: http://dev.mysql.com/doc/refman/5.5/en/group-by-functions.html

