HR-SQL Revising the Select Query II