In reply to tpan:
https://verificationacademy.com/forums/systemverilog/sum-query-multi-d-array#reply-78273