MYSQL - not equal joins not working properly -


I'm having trouble finding a query to work properly, I think it should be easy, but for some reason I can not find this right.

I have two tables added to the ID field. I have all the records which are in t1 and are not visible in T2.

It currently works: AID = b.template on joining a left at AT_ templates, select