Possible Duplicate:
BIGINT Out-of-range Error since MySQL 5.5
Anyone has any ideas why the following produces a 1690 error: BIGINT UNSIGNED value is out or range?
SELECT CAST(IF(trades.`buyer` = 63, -1, 1) * trades.`price` * trades.`amount` AS SIGNED) AS priceTotal
FROM trades
WHERE (trades.`buyer` = 63 OR trades.`seller`= 63);
What I'm trying to do is make the priceTotal negative when the user is the buyer.