Can you add RowNumber to the Query like this:
select *,(select COUNT(0) from humanresources.department e2 where e2.Id <= Dep.Id) as 'RowNum' from humanresources.department As Dep
And use the filter, you sent me, on this field.
Can you add RowNumber to the Query like this:
select *,(select COUNT(0) from humanresources.department e2 where e2.Id <= Dep.Id) as 'RowNum' from humanresources.department As Dep
And use the filter, you sent me, on this field.