def METHOD_NAME(self):
    """Check that using more than one column in order by with range frame
    returns an error.
    """
    exitcode = 36
    message = "DB::Exception: Received from localhost:9000. DB::Exception: The RANGE OFFSET window frame requires exactly one ORDER BY column, 2 given"
    sql = ("select sum(salary) over (order by enroll_date, salary range between 1 preceding and 2 following) AS sum, "
        "salary, enroll_date from empsalary")
    with When("I execute query", description=sql):
        r = current().context.node.query(sql, exitcode=exitcode, message=message)