use StudentManageDB go ,,) ,,) ,,) select * from ScoreList order by StudentId --在知道那个字段重复的情况 --查询所有重复的记录 select * from ScoreList ) order by StudentId --其他方法 select * from ScoreList order by StudentId --过滤掉重复数据 select distinct StudentId,CSharp from Sc