This question already has an answer here:
Do companies, as a general rule, make information available to employees about what each job position pays?
I always thought that revealing such info can motivate people, but what is the standard practice?
Update 1: the information does not have to be about specific individuals, but all the possible salaries per position, without going into who exactly gets what.
Update 2: To those who voted to close: my question is about companies' rationale behind this, and it is not the same question as your linked posts.
Update 3: Let me rephrase the question after reading the comments.
In my experience, companies tend to keep info about compensation for various job roles hidden. I am not talking about John gets X amount while Jim gets Y. I am talking about how much money one could get if one performed as well as possible by the company's standards.
For example, in some cases a company may say Role A pays in the range of $Χ - $Υ, but the company doesn't disclose how many people actually get paid the $Y.
To me this seems demotivating, because there is no way to know if the amounts they say are real. This may cause people to think that it is a trick to keep people longer, and hence have the actual effect of people leaving.