$ 0 0 Because you have not added it in SELECT part. What you want to do with RANK_ID in result set? Even if you add it then all values will be 1.
Because you have not added it in SELECT part. What you want to do with RANK_ID in result set? Even if you add it then all values will be 1.