文章分类 -  DB

摘要:一、查询字段不重复的数据1、distinctselect distinct name from table;select distinct name, id from table; #作用于两个字段 distinct (name, id)select id, distinct name from t... 阅读全文
posted @ 2014-04-22 09:03 岂曰无衣 阅读(85) 评论(0) 推荐(0)