Hi Mihai,
You're right: typo in docs. Fixed now.

Thanks,
Lvc@


On 7 January 2015 at 16:32, Mihai Dinca <[email protected]> wrote:

> 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.
>

-- 

--- 
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.

Reply via email to