|
select ROW_NUMBER()over(partition by channelid order by time desc)as row, channelid,time,count,isnull(fadjustcount,0)as fadjustcount from tlive_usercount where fadjustcount is not null
|
|
select ROW_NUMBER()over(partition by channelid order by time desc)as row, channelid,time,count,isnull(fadjustcount,0)as fadjustcount from tlive_usercount where fadjustcount is not null
|
|
|
|
+ and channelid in $channelid$ and CONVERT(varchar(10),time,120)=CONVERT(varchar(10),getdate(),120)
|