What is the usage of ENUMs in MySQL?

ENUM is a string object used to specify set of predefined values and that can be used during table creation.

Create table size(name ENUM('Small', 'Medium','Large')

Leave a Reply

Your email address will not be published. Required fields are marked *