CREATE TABLE professor (dept_code VARCHAR)
CREATE TABLE department (dept_code VARCHAR)

Find the number of professors in accounting department.
SELECT COUNT(*) FROM professor AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code WHERE DEPT_NAME = "Accounting"
SELECT COUNT(*) FROM "professor" AS "T1" JOIN "department" AS "T2" ON "T1"."dept_code" = "T2"."dept_code" WHERE "Accounting" = "DEPT_NAME"