Added department (gender) column in table. Now able to query by gender