Several SHOW statements have been extended to allow a WHERE clause:
- SHOW CHARACTER SET
- SHOW COLLATION
- SHOW COLUMNS
- SHOW DATABASES
- SHOW FUNCTION STATUS
- SHOW KEYS
- SHOW OPEN TABLES
- SHOW PROCEDURE STATUS
- SHOW STATUS
- SHOW TABLE STATUS
- SHOW TABLES
- SHOW VARIABLES
The WHERE clause is evaluated against the column names displayed by the SHOW statement.
SHOW CHARACTER SET;
SHOW CHARACTER SET WHERE `Default collation` LIKE '%japanese%';
This statement displays the multi-byte character sets:
SHOW CHARACTER SET WHERE Maxlen > 1;