34,870
社区成员




sql = 'select top 5 b.id,b.cpmc,b.dateandtime,b.gsid,b.zsbz
from spzs b
left join hot_top c on b.gsid=c.gsid
order by case when c.gsid is not null then 0 when b.zsbz like ''%02% '' then 1 else 2 end, b.dateandtime desc'
sql = 'select top 5 b.id,b.cpmc,b.dateandtime,b.gsid,b.zsbz from spzs b
left join hot_top c on b.gsid=c.gsid
order by case when c.gsid is not null then 0 when b.zsbz like '%02% ' then 1 else 2 end, b.dateandtime desc'