mysql alter table data type is boolean 0 or 1 code example Example: boolean mysql SELECT true, false, TRUE, FALSE, True, False; -- 1 0 1 0 1 0