Stored
A stored generated column is computed on write and kept on disk. It cannot be written directly.
task
Add total_cents to order_items as a stored generated column qty*unit_cents.
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
A stored generated column is computed on write and kept on disk. It cannot be written directly.
Add total_cents to order_items as a stored generated column qty*unit_cents.