UPDATE vn.sale SET price = 0 WHERE price IS NULL; ALTER TABLE vn.sale MODIFY COLUMN price decimal(10,2) DEFAULT 0 NOT NULL;