销售业绩的英文:急求一条mysql查询语句..

来源:百度文库 编辑:中科新闻网 时间:2024/05/16 00:07:26
怎样去除表中某一列中的重复值
如表 a
a(列) b(列) c(列)
1 123 789
2 234 678
3 123 333
要求返回结果为
b c
123 789
234 678
小弟新手,恳请指点

select distinct a,b from tablename

select * from tablename where 1 group by a