может както так:
SELECT
g.Code,
g.GoodsName,
t.Operation,
c.Number,
c.Model,
c.CashName
FROM
TransferCmd t LEFT JOIN
Goods4 g on t.DataId = g.Code LEFT JOIN
TransferTargets tt ON tt.id = t.TargetId JOIN
Cashes c on c.Number = tt.Targetid
WHERE
t.TransferType = 100