I have following data in my table.
Running below query through script and giving me different results every time when I execute. For example rptind for id 2,