basic use of hql