I found the problem. The select specified in documentation is wrong
(http://www.orientechnologies.com/docs/last/orientdb.wiki/SQL.html#having)
It should be
SELECT *FROM* (
SELECT city, SUM(salary) AS salary
FROM Employee
GROUP BY city
) WHERE salary > 1000
Without FROM in first select, nothing will be return, no error is thrown.
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.