why query processing