CombineUnion combines the nonempty unionClause with the provided sql string.
The unionClause is expected to be the result of BuildUnion.
If the unionClause is an empty string it returns the sql argument unmodified.
This method exists as a workaround to minimize breaking changes
and to allow different SQL builders to specify for example whether
they support parenthesis around the UNION SQL queries
(SQLite for example will throw a SyntaxError if the UNION parts are wrapped in parenthesis).
BaseQueryBuilder provides a basic implementation of QueryBuilder.