您的位置:首页 > 数据库

sql server 排除名字重复数据,获取最新的数据

2011-08-29 10:56 375 查看
获取学生最高的分数信息

select * from scores a where

not exists(select * from scores b where and a.score>v_b.score and a.name=b.name)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: