I want to display information of employee as per selected category. (also calculate no employees of that category).
At a time
only one category will be selected from dropdown list .on selecting category , the corresponding categoryid will be recieved.
On the basis of that categoryid i want to count no of empl0yees and fetch list of employees belong to that selected category only.
Four categories are there
DRDS
DRTC
ADMIN
ALLIED
there are three tables
Category master (category will be selected from here) [CategoryId]
designationmaster [DesignationId] [Category]
employee master [Designation]
CategoryId = Category
DesignationId = Designation
CategoryId of category master should be matched with Category field of designationmaster.
DesignationId of designationmaster should be matched with Designation field of employeemaster
RESULT OF MY QUERY SHOULD BE NUMBER OF EMPLOYEES CALCULATED FOR SELECTED CATEGORY (category is selected through dropdown list and categoryid is received through post method in next submitted page
Screenshots of tables are attached.
![emp.PNG]()
![designation_master.PNG]()
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Most Valuable Expert award recognizes technology experts who passionately share their knowledge with the community, demonstrate the core values of this platform, and go the extra mile in all aspects of their contributions. This award is based off of nominations by EE users and experts. Multiple MVEs may be awarded each year.
This award recognizes a member of Experts Exchange who has made outstanding contributions to the community within their first year as an expert. The Rookie of the Year is awarded to a new expert who has the highest number of quality contributions.