Aug 08 2022 08:48 AM
Hi everyone,
I want to compare current row with all the other rows in the table
I have used lead function in case statement,
But while setting an offset value it only takes a certain number , like lead(col name,2) , but I want the offset to be in certain range, becos I need to compare current row with all the other rows in tge table
Is there any way to achieve this?
Thanks & Regards,
Sonam Mathur
Aug 22 2022 04:06 AM