Does the query work if you omit the MAX? Is there an error code being returned?
_________________________
There are two types of vessels, submarines and targets.