Could you use the UNION example, but with an IN on the YEAR? i.e. WHERE year IN ["2014", "2015", "2016"]
Scott -- --- 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 orient-database+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.