查看表信息的sql語句 Mysql怎樣查看某個表的建表語句導(dǎo)出建表sql語句?
Mysql怎樣查看某個表的建表語句導(dǎo)出建表sql語句?假設(shè)表名是mytable,創(chuàng)建表的語句是:MySQL> show create table mytable view table field
Mysql怎樣查看某個表的建表語句導(dǎo)出建表sql語句?
假設(shè)表名是mytable,創(chuàng)建表的語句是:MySQL> show create table mytable view table field definition:Method 1,MySQL> desc mytable Method 2,MySQL> use informationschemamysql> select*from columns where tableuname=“mytable”