数据库里 有重复行数据 需要消除 详细的问题 要看到的结果是 解决的方法是: select * from hx_msgcenter(表名) where id in (select max(id) from hx_msgcenter group by MsgID)