I am using Studio 3T and I have query like this, how would be write a lead and lag for a given column and
select [Dashbo],lead([Dashbo]) over(order by [Entered Date]) from ATest_prevback;
This is giving me and error. How to perform this in MongoDB? Can someone give me an example?