如何取得表中无重复的前10条记录
yk001 2006-09-21 05:41:23 select top 10 bc.title,bc.Author,bc.DynamicUrl,bc.StaticUrl,bc.CategoryID,bl.title as Description from blog_content bc inner join blog_linkcategories bl on bc.categoryid=bl.categoryid where posttype=1
我想取一个文章表的前10条记录 但是这10条作者不能重复 ,也就是说一个人只能有1篇文章在TOP10中 ,上面句子取到的会有重复 搞了我一下午了 头疼啊 请高手指点