//SELECT id,name, ISNULL(CAST(amount_paid AS SIGNED),0) + ISNULL(CAST(amount_paid2 AS SIGNED),0) as total_paid from users