我想查看個別字段的評論。通常我期望從「描述」參數。如何從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 | |
+-------+---------------------+------+-----+---------+----------------+
你需要搜索DB ** ** TABLE_SCHEMA,一個例子:'在表格名= 'MY_TABLE' 和TABLE_SCHEMA =「my_db'' – KingRider
@KingRider:你說得對,謝謝。那會更完整。我已經更新了答案。 –