2 Ways to Get the Definition of a Generated Column in MySQL

A generated column is one whose value is derived from an expression, as opposed to a fixed value. The expression typically uses other columns in the same table to compute the derived value.

We can create a generated column in MySQL very easily. But what if we want to go back later and see its definition?

Here are two options for returning the definition of a generated column in MySQL.

Continue reading