mysql數據庫表及列的相關操作總結:

1、展示表結構:desc或者使用describe describe test_collate; 2、展示表的創建語句:可以看到表的存儲引擎,編碼格式等信息 show create table test_collate; 3、展示數據表的詳細信息:如下 select * from information_schema.columns where table_schema = 'mydatabase
相關文章
相關標籤/搜索