Boolean
A BOOLEAN column is one that contains values that are either true or false. A BOOLEAN constant is, therefore, defined as follows.
boolean:
{true | 1} | {false | 0}select * from mytypes where is_smart = true and is_married = 0;