SHOW COLUMNS
Description
Return the list of columns in a table. If the table does not exist, an exception is thrown.
Syntax
Parameters
table_identifier
-
Specifies the table name of an existing table. The table may be optionally qualified
with a database name.
Syntax:{ IN | FROM } [ database_name . ] table_name
Note: KeywordsIN
andFROM
are interchangeable. database
-
Specifies an optional database name. The table is resolved from this database when it
is specified. Please note that when this parameter is specified then table
name should not be qualified with a different database name.
Syntax:{ IN | FROM } database_name
Note: KeywordsIN
andFROM
are interchangeable.