Got it!
Thanks for all the help @plog
Couldn't have done it without you. :cool:(y)
TRANSFORM Sum(Nz(g.secs1,0)+Nz(h.secs2,0)) AS task_secs
SELECT g.stat_id, g.pcd_id
FROM (SELECT c.stat_id, c.mdtl_id, c.pcd_id, f.secs1
FROM
(
SELECT a.stat_id, b.mdtl_id, a.pcd_id
FROM
(SELECT DISTINCT...