group之前可加where

select sum(Score) as sum_Score, name from StuScore 
where name <> '张三'
group by name
order by sum_Score desc

posted @ 2011-01-23 21:24  庚武  Views(155)  Comments(0)    收藏  举报