Added
A reporting analyst needs a saved search showing every customer, including customers with no transactions, alongside the date and amount of the most recent sales transaction. The result must contain one row per customer, rather than one row per transaction, and users will open customer records from the results. Which search design is best?
A customer-based search preserves customers with no matching transactions, and transaction joins let the search summarize related activity per customer. The latest date can be obtained with a maximum summary, with the transaction detail selected using a suitable latest-transaction method rather than assuming that the maximum amount belongs to the latest transaction. A transaction-based search omits customers with no transactions. Merely adding maximum date and maximum amount can combine values from different transactions and does not reliably represent the latest transaction's amount.