I have two tables I'm joining with a left join:table1:id1 name11 n12 n2table2:id2 fkid1 name21 1 nn12 2 nn2
fkid1 is fk to table1.id1The left join:select * from join1 t1left join join2 t2on t1.id1 = t2.fkid1
gives this result:id1 name1 id2 fkid1 name21 n1 1 1 nn12 n2 2 2 nn2
and when I try to filter it like this:select * from join1 t1left join join2 t2on t1.id1 = t2.fkid1 and t2.id2 = 1
gives this result:id1 name1 id2 fkid1 name21 n1 1 1 nn12 n2 NULL NULL NULL
but I want this as result:id1 name1 id2 fkid1 name21 n1 1 1 nn1
Is it possible to do this, using on condition and not where condition? I'm actually trying to join multiple tables with a more complex left join and my conclusion was that I need to use on condition and not where thus my problem..I'd appreciate any help with this.