select * from ( select a.ID,title,'1' typeValue,(select count(*) from click_detail b where type_value=1 and
select * from ( select a.ID,title,'1' typeValue,'文章统计' typeName,(select count(*) from click_detail b where type_value=1 and
b.c_id=a.Id) countNum,
releasedate inputDate,CONVERT(varchar(100),releasedate,120) inputDateStr,directpath jumpPath ,editor , updatedate from news a where ((classid between 5 and 8) or