mysql查询表字所有字段1、查看所有表名:show tables [from db_name];2、查看字段信息SHOW FULL COLUMNS FROM table_name获取以下信息Field:字段名Type:字段类型Collation:字符集(mysql5.0以上有)Null:是否可以为NULLKey:索引(PR
mysql数据库去除重复数据的方法:1、查询需要删除的记录,会保留一条记录。select a.id,a.subject,a.RECEIVER from test1 a left join (select c.subject,c.RECEIVER ,max(c.id) as bid from test1 c