I have a table which has 2 columns , Branch and role. Basically I want 3rd column which will say 1) if a branch has all the three role (President,Treasurer,Secretary) then 1. 2) If a branch has 2 roles (President,Treasure/secretary) then 2 3) if a branch has 1 role (President/treasurer/secretary) then 3.
How m i going to achieve this. Below is my table structure.
