I have below data table and need to accomplish the result for Student count as per availability and per department
Note: Different Department may come in later.
Want to have result as below: (Student count as per availability and per department)
答案 0 :(得分:0)
Maybe this could work,
SELECT Department,
CONCAT(Studavailability,', ',
COUNT(*))
as "Stud Count as per availability per department"
FROM Table
Group By Department, Studavailability