I can use SHOW CREATE TABLE to display the SQL necessary to create the given table:
mysql> SHOW CREATE TABLE acme.User;
CREATE TABLE `User` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
...
Is it possible to get the schema name in the output as well? Like:
CREATE TABLE `acme`.`User` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
...
I tried running the query from another schema, but the output is the same.