Changing values in rows
UPDATE sources
SET rmag = rmag / 10, bmag = bmag * 10
WHERE name IS NOT NULL;