function testExec_ThrowsInvalidProjectionList() {
  var e = db.getSchema().getEmployee();
  var query = new lf.query.SelectBuilder(
      hr.db.getGlobal(), [e.email, lf.fn.avg(e.salary)]);

  // 526: Invalid projection list: mixing aggregated with non-aggregated.
  return lf.testing.util.assertPromiseReject(526, query.from(e).exec());
}
Tests that constructing a query fails if an invalid projection list is
requested.
@return {!IThenable}