New course! Every coder should learn Generative AI!
Try a free lesson+ 2
Why don't you create a view with the two columns and the calculated value
and use this instead of the table ?
For example
CREATE TABLE TEST(
A int,
B int
);
CREATE VIEW V_TEST AS
select A,
B,
A+B AS SUM
FROM TEST;