MySQL supports invisible columns (from MySQL 8.0.23), which means we can control whether a column is considered visible or invisible.
Invisible columns are hidden from queries that use the asterisk wildcard (*
) in their SELECT
list, but can be selected by explicitly naming the column.
We can create invisible columns when creating a table. We can also add invisible columns to existing tables. And we can modify existing columns to be invisible (and vice-versa).
Continue reading