Comments - Dynamic Columns
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
COLUMN_CREATE() returns a dynamic column blob, which is suitable for storing in a table, or for use with another function as you did in your first example, but not for SELECTing on its own.