We can write comment to create a table:
create database `mytest`;
use `mytest`;
create table `mytest` (
/* mytest mytest */
`code` varchar(15) NOT NULL,
`type` varchar(20) NOT NULL
);
How can show the comment /* mytest mytest */
in create table command?
show create table mytest;
+--------+------------------------------------+
| Table | Create Table |
+--------+------------------------------------+
| mytest | CREATE TABLE `mytest` (
`code` varchar(15) NOT NULL,
`type` varchar(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4
COMMENT
clause when defining a column.