Adding query functions to JobRegisterDAO.