created generateQuery.html