SELECT authorId FROM author A, article B WHERE A.authorID = B.authorId and B.articleId = 5