show databases;use 数据库名;show tables;desc 表名; 查看表结构select * from 表名; 查看该表所有数据select distinct * from 表名; 查看该表所有字段不重复的数据drop table 表名; 删除数据表