I\'m trying to create a relation where any of four different parts may be included, but any collection of the same parts should be handled as unique.
Example: An ass
In MySQL NULL != NULL, or anything. So that is what the UNIQUE doesn't work. You should use another default value for blanks, like zero