I have got a requirement that I have to display the monthly total basic salary distributed to all the employees company code-wise. Can anyone help me with the select query?