如何查看mysql客户端的字段注释?
我想看到个别领域的评论。通常是我期望从“描述”参数中得到的东西。
mysql> describe metrics;
+-------+---------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------+---------------------+------+-----+---------+----------------+
| id | int(10) unsigned | NO | PRI | NULL | auto_increment |
| ty | int(10) unsigned | NO | | NULL | |
| t | bigint(20) unsigned | NO | | NULL | |
| s | int(10) unsigned | NO | | 60000 | |
| e | int(10) unsigned | NO | | NULL | |
| c | int(10) unsigned | NO | | NULL | |
+-------+---------------------+------+-----+---------+----------------+
I would like to see individual fields comments. Typically something I would expect from "describe" parameters.
mysql> describe metrics;
+-------+---------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------+---------------------+------+-----+---------+----------------+
| id | int(10) unsigned | NO | PRI | NULL | auto_increment |
| ty | int(10) unsigned | NO | | NULL | |
| t | bigint(20) unsigned | NO | | NULL | |
| s | int(10) unsigned | NO | | 60000 | |
| e | int(10) unsigned | NO | | NULL | |
| c | int(10) unsigned | NO | | NULL | |
+-------+---------------------+------+-----+---------+----------------+
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这是输出:
我希望这对您有用
This is the output:
I hope this is useful for you
此查询将为您提供比
describe
语句更多的信息:This query will give you much more information than the
describe
statement:总是你可以使用:
always You could use: