百分比=cast(cast(count(ProvinceName)*100./
(select count(Id) from
dbo.TopicCurrent
where boardId=316 and Status=1
)as decimal(10,2)) as varchar)+‘%‘
时间: 2024-12-28 02:07:48
百分比=cast(cast(count(ProvinceName)*100./
(select count(Id) from
dbo.TopicCurrent
where boardId=316 and Status=1
)as decimal(10,2)) as varchar)+‘%‘