What constraint you want to add. You haven't specified that.
"alter table table1 add constraint table1_price_nn (price);" ... This statement doesn't mean anything. Because you are not adding any constraint.
If you want to check a column FLAGE to be T or F ..... then
ALTER TABLE TAB1
ADD ( CONSTRAINT check_upper CHECK (UPPER(FLAG) IN ('T', 'F')) ) ;