11. The view matching system of claim 10 , further comprising generating a new query that is the union of the intersection query and difference query.
10. A view matching method comprising: employing a processor to execute computer executable instructions stored on a computer readable medium to perform the following acts: receiving a query and a materialized view, wherein the materialized view only partially intersects with the query; generating an intersection query by rewriting an intersection between the query and materialized view in terms of the materialized view; generating a difference query representing the difference between the query and materialized view; and simplifying the query difference based on functional dependencies, comprising: renaming variables in queries in accordance with functional dependencies such that if V k functionally determines v, then all occurrences of v are renamed using the same variable; and generating new bound variables V Q d ⊂ V Q f , where for each v∈V Q d , there exists a set of variables V K ⊂ V that functionally determines v.