I have email and cellPhone attributes in the table, one of them can be zero and the other should not be zero, how can I make a restriction so that the two values ββare not zero?
Sort of:
CREATE TABLE mytable( email varchar2(100), cellphone varchar2(100), constraint null_check check (email is not null or cellphone is not null) )