कॉलम बनाएं:
ALTER TABLE yourtable ADD COLUMN combined VARCHAR(50);
वर्तमान मान अपडेट करें:
UPDATE yourtable SET combined = CONCAT(zipcode, ' - ', city, ', ', state);
भविष्य के सभी मान अपने आप अपडेट करें:
CREATE TRIGGER insert_trigger
BEFORE INSERT ON yourtable
FOR EACH ROW
SET new.combined = CONCAT(new.zipcode, ' - ', new.city, ', ', new.state);
CREATE TRIGGER update_trigger
BEFORE UPDATE ON yourtable
FOR EACH ROW
SET new.combined = CONCAT(new.zipcode, ' - ', new.city, ', ', new.state);