It is impossible to answer your question without knowing what tables are used for.
For this “step”, it may happen that you need to have an equal amount of “something”, and this will lead to a list of elements that will be displayed in some interface, where it is not.
Example: Let's forget the “Steps” for a moment and assume that it was a table of students, and that the “Step” was instead of the “Groups” in which the students participated. The requirement of the group is that there is an even number of students, because the students will work in pairs. For an administrative tool, you can write such a query to see a list of groups where this is not true.
Group: Count A, 10 B, 9 C, 17 D, 8 E, 4 F, 5
And the request will return groups B, C, F
Christian v
source share