added the following features: subquery, restrict/cascade/exists statements,outer/union statements, transactions