The SQL having clause is supported only on queries that have either aggregate fields or a group by clause from non-InMemory ...