* added $query->*operation*Query() methods to get SQL statements in Database extension.