Hello Narendra,
If you want to fetch updated data from any database table then we go for query instead of retrieve, as Query will hit the db and will always give the updated value but retrieve will give the data from buffer.
But Query can cause performance issue as well.
Thanks and regards,
Poonam Chandra.