how to add virtual column in oracle code example
Example: oracle virtual column
CREATE TABLE T1 (
ID NUMBER,
PRODUCT VARCHAR2(50),
PRICE NUMBER(10, 2),
TAXED_PRICE NUMBER(10, 2) GENERATED ALWAYS AS (round(PRICE * 1.2, 2)) VIRTUAL
);