L'alias "numerocitazioni" non puoi usarlo direttamente, ma riesci a usarlo
nella query esterna a quello in cui l'hai creato.
Poi nel where devi usare 'in' e non >= perchè il risultato del max credo
sia visto come una lista.
Giusto per correttezza il nome dell'arco "cites" è piu corretto metterlo
dentro "in()" e non nel size.
The alias "times cited" can not use it directly, but you can use it in the
outer query to the one in which you created it.
Then in where you have to use 'in' and not> = max because the result I
think is seen as a list.
Just to correct the arc name "cites" it is more correct to put it in "in()"
and not in size.
Questa dovrebbe funzionare come query:
select from (Select nome, in("cites").size() as numerocitazioni from
Articolo) where numerocitazioni in (SELECT max(in("cites").size()) FROM
Articolo)
--
---
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.