mysql 的一些用法

1,显示所有的表名称 命令: show tables from tmail; 结果: (这是Tmail系统中的 数据库 tmail的表一览) +---------------------+ | Tables_in_tmail | +---------------------+ | T_SpamMaillist | | T_SpamMv | | T_SpamUserlist | | T_TMSLOG | | T_TMSLOG2 | | address | | admin | | card | | lastauth | | logs | | message | | personal | | scheduler | | stow | | tmail_access | | tmail_alias | | tmail_autobbc | | tmail_bwlist | | tmail_company | | tmail_domaininfo | | tmail_group_name | | tmail_monitor | | tmail_pop | | tmail_relay_domains | | tmail_relocated | | tmail_spamd | | tmail_transport | | tmail_userpersonal | | tmail_users | | tmail_virtual | | vpopmail | +---------------------+ 31 rows in set (0.00 sec)

你可能感兴趣的:(mysql 的一些用法)