Home >> MySql >> Difference between enum and set in MySql

Difference between enum and set in MySql

1)-ENUM('A','B','C') but SET('A','B','C').

2)-ENUM allows one value to be selected but SET allows must values to be selected.

3)-ENUM radio fields but SET checkbox fields.

Post Your Comment

Next Questions
Difference between signed and unsigned
What is key
What is super key
What is candidate key
What is primary key
What is unique key
What is foreign key
What is join
What is cross join
What is natural join
What is outer join
What is self join
What is aggregate function
COUNT(*) aggregate function
AVG() aggregate function
MIN() aggregate function
MAX() aggregate function
SUM() aggregate function
STDED() aggregate function
CONCAT() function
GROUP_CONCAT() function
CONCAT_WS() function
CHECKSUM_AGG() aggregate function
ABS(n) aggregate function
POWER(m,n) aggregate function

Copyright ©2022 coderraj.com. All Rights Reserved.