1. A method for optimizing a query plan comprising: identifying at least two or more subqueries of said query plan, where each of said subqueries is directed towards the same data set, where a first subquery from among said subqueries requests first data from among said data set, and a second subquery from among said subqueries requests second data from said data set; replacing said subqueries in said query plan with a new subquery, where said new subquery queries said data set for both said first data and said second data.