Stav dette: On distributed query processing and multiple query optimization