sql统计
摘要:
SELECT TOP 1000 a.[Title]as 第一级,b.[Title] as 第二级 ,c.[Title] as 第三级, s.总数 as 总数 FROM [MyAli].[dbo].[AL_Charpt] as c inner join AL_Book as b on c.bookid=b.id inner join AL_Category as a on b.[ParentID]= a.id inner join AL_Article as art on art.ChartpID=c.id inner join (select count(*) as 总数, Articl... 阅读全文
posted @ 2013-06-21 17:53 水行者 阅读(316) 评论(0) 推荐(0)
浙公网安备 33010602011771号