Oracle Solution for Error ora-22817

Solution for Oracle Error ORA-22817

ORA-22817: subquery not allowed in the default clause

What triggered the Error:

attempt was made to use a subquery in the column default clause expression.

What should we do to fix it:

move the subquery from the default clause.