Question: What is the total in the case when there are more than 4 associate professors, 5 lecturers and fewer professors than 40?
SQL: SELECT COUNT Total FROM table WHERE Associate professors > 4 AND Lecturers = 5 AND Professors < 40