Concept Flow - GENERATED columns (stored and virtual)
Create Table
Define Columns
Define Regular Columns
Define GENERATED Column
Specify Expression
Choose STORED or VIRTUAL
Insert Data
GENERATED Column Value Computed
Query Table
See Computed Values
When creating a table, you define normal columns and GENERATED columns with expressions. The GENERATED column computes its value automatically, either stored physically or computed on the fly.