To return the number of orders per priority in an Aggregate, you would?

Get more with Examzify Plus

Remove ads, unlock favorites, save progress, and access premium tools across devices.

FavoritesSave progressAd-free
From $9.99Learn more

Prepare for the OutSystems Associate Exam with quizzes that include flashcards and multiple-choice questions, complete with hints and explanations. Ace your exam confidently!

To return the number of orders per priority in an Aggregate, creating a Group By over the Priority.Id attribute and a Count over the Order.Id attribute is a sound approach.

When using grouping in data retrieval, the Group By clause allows you to categorize data based on the values of specified attributes. In this case, by grouping on Priority.Id, you are effectively creating distinct categories for each priority level. This enables the Aggregate to categorize the orders according to their associated priority.

Subsequently, using the Count function on Order.Id will provide the total number of orders that fall into each distinct priority group. This means that for every priority type, the operation counts how many orders are linked to that priority, resulting in the number of orders per each priority level.

This method is the most appropriate for achieving the desired output effectively, as it aligns directly with the requirement to summarize order counts based on priority distinctions.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy