I have a question about SHOW COLUMNS FROM table like \'column name\'\"
.
I have already tried some tests for some times, it seems be similar like \"where colu
SHOW ... LIKE behaves like the use of the LIKE operator in the WHERE
clause of a common query:
SHOW COLUMNS Syntax
SHOW [FULL] COLUMNS {FROM | IN} tbl_name [{FROM | IN} db_name] [LIKE 'pattern' | WHERE expr]
SHOW COLUMNS displays information about the columns in a given table. It also works for views. The LIKE clause, if present, indicates which column names to match. The WHERE clause can be given to select rows using more general conditions, as discussed in Section 21.32, “Extensions to SHOW Statements”.
Emphasis by me.