Join 2 tables with multi criterions equal and not eaquals in where

How about this modified example below?

demo.morph (6.8 KB)