数据库表去重

distinct 表示其后全部字段合并在一块儿去重,distinct必须放在最前面 如: select distinct name, age from tb; 表示去除名字和年龄都相同的字段web 指定列去重 利用分组和子查询svg 去掉重复记录 select * from student where id in (select Max(id) from student group by scor
相关文章
相关标签/搜索