

Let us consider simple example for the same: – If we check the list of all users the columns defined in the user table are mostly defined as a ENUM data type. Let us see where the ENUM usually defined in the MySQL.


Let us see the syntax of how we create the column of ENUM datatype: –Ĭolumn_name1 ENUM(value1, value2.),/ * - ENUM Data type column - * /Ĭolumn_name2 ENUM(value1, value2.),/ * - ENUM Data type column - * / Hadoop, Data Science, Statistics & others
