Oracle Solution for Error ora-02334

Solution for Oracle Error ORA-02334

ORA-02334: cannot infer type for column

What triggered the Error:

A datatype was not declared for this column (in the CREATE TABLE) and an attempt was made to create a constraint on an attribute of this column.

What should we do to fix it:

Declare a datatype for the column.