hi there,
I am confused here, please help me out.
1. I have table with Date of birth, Occupational level etc. i need to calculate the age as it today.
2. i have calculated the age now i need to group by occupational level, and for each age mybe 5 people have 57 years. i need to calculate the percentage for that number of employees within that age.
here is my query:
SELECT Age_Anaylsis.OccpLvl, (Age_Anaylsis.Age) As Age, Count(Age_Anaylsis.Age) AS Number_Of_Employees
FROM Age_Anaylsis
GROUP BY Age_Anaylsis.OccpLvl, Age_Anaylsis.Age;