this kind of query returns an array