I\'m getting the following error
#1690 - BIGINT UNSIGNED value is out of range in \'(legends.spawns.quantity -
legends
spawns
quantity
Additional way is to use MySQL IF operator. This helped me when both columns were BIGINT and Unsigned.
BIGINT and Unsigned