I've had some issues with group by in custom query resources. Try it with out the max and group by in the inner sub select to see if it works. Might need to group by both fields.
Thanks,
Christian
I've had some issues with group by in custom query resources. Try it with out the max and group by in the inner sub select to see if it works. Might need to group by both fields.
Thanks,
Christian