15. A network device for processing data over a network, comprising: a transceiver for sending or receiving data; a database query interface in communication with the transceiver, wherein the database query interface sends and receives relational database queries; a processor that performs actions comprising: receiving a plurality of queries of a database; transforming each of the plurality of queries into a plurality of query trees; selecting at least one of the plurality of query trees as a master query tree; combining another one of the plurality of query trees into the master query tree, wherein a portion of the master query tree and a portion of the other one 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 other one of the 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 received plurality of queries.
15. A network device for processing data over a network, comprising: a transceiver for sending or receiving data; a database query interface in communication with the transceiver, wherein the database query interface sends and receives relational database queries; a processor that performs actions comprising: receiving a plurality of queries of a database; transforming each of the plurality of queries into a plurality of query trees; selecting at least one of the plurality of query trees as a master query tree; combining another one of the plurality of query trees into the master query tree, wherein a portion of the master query tree and a portion of the other one 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 other one of the 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 received plurality of queries. 18. The network device of claim 15 , wherein database query interface is at least one of an XmlHTTPRequest (XHR), interface, an Open Database Connectivity (ODBC) interface, or a command line interface.