34,594
社区成员
发帖
与我相关
我的任务
分享
SELECT TOP 5
NewsID,ClassID,
(select ClassName from CMS_ClassNode where ClassID=View_News.ClassID)
as ClassName,NewsTitle,isnull(NewsShortTitle,NewsTitle) as NewsShortTitle,
NewsAuthor,NewsUrlFrom,NewsPic,
NewsCss,NewsDes,NewsHit,NewsTJ,
NewsCheck,NewsIsToHtml,AddTime,ModTime,ModAdminName
from View_News where ClassID IN('13') order by AddTime DESC
select case when NewsShortTitle is not null then NewsShortTitle else NewsTitle end from tb