ITeye博客

temp

Freeze · 2012-01-18 11:40 · 非技术 · Markdown

Select top 5 a.ID,a.Title,a.Link,a.Content,a.AddTime, b.Content AS bContent FROM Content a LEFT JOIN FieldContent b ON a.ID = b.ContentID Where a.ItemIDS = '109' And b.Content <> ''  And a.FSID = -2  And ((a.PubType = 0) OR (a.PubType = 1 And a.PubDate < getdate())) And ((a.DueType = 0) OR (a.DueType = 1 And a.DueDate > getdate())) And a.IsDelete = 0 And a.IsDraft = 0 Order By a.AddTime DESC

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。