1. A method for processing data, comprising: receiving to computer memory a plurality of queries to a database; employing at least one query processor to process the received queries, the processing actions of the query processor including: transforming the plurality of queries into a plurality of query trees; selecting one of the plurality of query trees as a master query tree; combining each of the plurality of query trees into the master query tree, wherein a portion of the master query tree and a portion of the each of the plurality of query trees are determined as children of a split node in the master query tree, and wherein the split node is added as a new node based in part on a match of a path in the master query tree and another path in the at least one of the plurality of query trees and the split node is unfound previously in any of the plurality of query trees including the master query tree; and applying the master query tree to at least one portion of one table from the database to provide a plurality of results, wherein each of the plurality of results is associated with one of the plurality of received queries.
1. A method for processing data, comprising: receiving to computer memory a plurality of queries to a database; employing at least one query processor to process the received queries, the processing actions of the query processor including: transforming the plurality of queries into a plurality of query trees; selecting one of the plurality of query trees as a master query tree; combining each of the plurality of query trees into the master query tree, wherein a portion of the master query tree and a portion of the each of the plurality of query trees are determined as children of a split node in the master query tree, and wherein the split node is added as a new node based in part on a match of a path in the master query tree and another path in the at least one of the plurality of query trees and the split node is unfound previously in any of the plurality of query trees including the master query tree; and applying the master query tree to at least one portion of one table from the database to provide a plurality of results, wherein each of the plurality of results is associated with one of the plurality of received queries. 5. The method of claim 1 , further comprising query-optimizing the plurality of query trees based on pattern matching a canonical version of at least one of the plurality of query trees before combining.