富士康ackh最高主管:过滤数据表中某个数据项内容相同的记录

来源:百度文库 编辑:中科新闻网 时间:2024/05/12 20:18:52
在我的数据表中定义了一个这样的表,数据项分别是id,content,link,remark,keyword。我想过滤掉content中内容相同的记录,使用sql语句中的distinct发现,如果用select distinct content from tablename。得到的表中只有content数据项,但是,使用select distinct content,link,remark,keyword from tablename语句发现,不能实现content中相同内容全部被过滤。请各位帮帮忙!先在这谢过了!