display of a query