webindiasolutions Posted October 31, 2013 Share Posted October 31, 2013 (edited) Suppose there is annual salary information provided by emp table. How to fetch monthly salary of each and every employee? Edited November 1, 2013 by webindiasolutions Link to comment Share on other sites More sharing options...
Ingolme Posted October 31, 2013 Share Posted October 31, 2013 That depends on the structure of the table. I guess you could divide the annual salary by 12, assuming there's a field named "salary": SELECT (salary / 12) AS monthly_salary FROM emp Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now