MySQL error code
MySQL error 3767
MySQL server error 3767 is ER_DEFAULT_VAL_GENERATED_NON_PRIOR, reported with SQLSTATE HY000.
Default value expression of column '%s' cannot refer to a column defined after it if that column is a generated column or has an expression as default value.
| Error | 3767 |
|---|---|
| Name | ER_DEFAULT_VAL_GENERATED_NON_PRIOR |
| SQLSTATE | HY000 |
| Group | Server errors |
Source: MySQL 8.4 Error Reference