Check out example codes for "plsql add check TWO VALUES". It will help you in understanding the concepts better.

Code Example 1

ALTER TABLE suppliers
ADD CONSTRAINT check_supplier_name
  CHECK (supplier_name IN ('IBM', 'Microsoft', 'NVIDIA'));

Learn ReactJs, React Native from akashmittal.com