Odd Query (Part 2)

Continuing the discussion from Odd Query (Part 1) - #10254.

Previous discussions: