I need to create a pie chart to show the percentage of employees who have completed a course.
I have 3 tables
Employees (PK_Employeeid, Employee)
Courses (PK_Courseid, Course)
Courses_Completed (PK_Completedid, FK_Employeeid, FK_Courseid)
For example, if there are 100 employees and only 25 have completed the course, i would like the Pie chart to show 25% etc.
I am a bit lost on how to create such a query
I have 3 tables
Employees (PK_Employeeid, Employee)
Courses (PK_Courseid, Course)
Courses_Completed (PK_Completedid, FK_Employeeid, FK_Courseid)
For example, if there are 100 employees and only 25 have completed the course, i would like the Pie chart to show 25% etc.
I am a bit lost on how to create such a query