I want to store information from a form where there are multiple yes/No question. For those how should I create table fields? I have experienced mysql doesn't support multiple columns to have same ENUM values. So I can't assign 'yes','no'
for more than one column.
If I use boolean? how should I do it? Is it mandatory to have default values for boolean type field?
Best Answer
I don't like the enum datatype for various reasons.
Boolean in MySQL is actually a tinyint with 0 being false and 1 being true, or no and yes respectively.
Source.
FYI, this can be very useful for various other things. An example you can see in this answer I recently gave.