mql sql pipeline