Max or Min Join on BAQ subquery?

and here’s a long thread talking about using those functions.

And make sure you read the tools user guide (it’s right in help) on the BAQ section. They give you step by step examples of using aggregate functions.