2014年12月24日
摘要: 1、查询去重数据select *, count(distinct name) from table group by name2.避免重复数据如果是用主键primary或者唯一索引unique区分了记录的唯一性,避免重复插入记录可以使用:insertignoreinto table_name(ema... 阅读全文
posted @ 2014-12-24 12:55 大招无限 阅读(387) 评论(0) 推荐(0)