Understanding the querying process