Using a query drill