I have a query that matches amounts to invoices. So when I run the query there can be 5 of the same invoice but different amounts for each of the same invoice.
Is there a way to make the query only return the largest amount for each invoice?
Is there a way to make the query only return the largest amount for each invoice?