MDL-44725 dml: added sql_intersect() and sql_union()