Note
Using SHOW commands without an IN
clause in a database context can result in fewer than expected results.
Objects with the same name are only displayed once if no IN
clause is used. For example, if you have table t1
in
schema1
and table t1
in schema2
, and they are both in scope of the database context you’ve specified (that is, the database
you’ve selected is the parent of schema1
and schema2
), then SHOW TABLES only displays one of the t1
tables.