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

Difference between enum and set in SQL

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
Operators
Arithmetic Operators
Comparison Operators
Logical Operators
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

Copyright ©2022 coderraj.com. All Rights Reserved.