I’m baffled as to what this SQL statement means:
SELECT exhibitor_categories+0 from exhibitor_registry
What is exhibitor_categories+0 ? It returns a number for each row returned.
exhibitor_categories is defined as:
set('contemporary', 'classical impression / transitional', 'outdoor', 'home accessories')
Thanks for your time 🙂
It implicity converts the set value to an
INTEGER.A set is treated as a bitmap, so the first value sets bit
0, the second value sets bit1etc.