Can't execute select count(*) as NUM from stufac.student where psid = and farm4=1