mysql datatype for boolean variable code example Example: boolean mysql SELECT true, false, TRUE, FALSE, True, False; -- 1 0 1 0 1 0