hql for creating tables and running basic queries.