Hi,
I have a left join quert that's not working as it should
The query is like this:
SELECT tblProsesstider.CID, tblProsesstyper.PTID, tblProsesstyper.PBESKRIVELSE, tblProsesstider.CID
FROM tblProsesstyper LEFT JOIN tblProsesstider ON tblProsesstyper.PTID = tblProsesstider.PID;
The problem is that I don't get listed every record in tblProsesstyper unless the join fields has the same value, just as it was an inner join.
I want listed all records in tblProsesstyper even if it do not exist in tblProsesstider. This should have shown Null fields from the tblProsesstider
This should be simple to do but this is not working. Anyone that knows how to solve this?
Thanks in advance
I have a left join quert that's not working as it should
The query is like this:
SELECT tblProsesstider.CID, tblProsesstyper.PTID, tblProsesstyper.PBESKRIVELSE, tblProsesstider.CID
FROM tblProsesstyper LEFT JOIN tblProsesstider ON tblProsesstyper.PTID = tblProsesstider.PID;
The problem is that I don't get listed every record in tblProsesstyper unless the join fields has the same value, just as it was an inner join.
I want listed all records in tblProsesstyper even if it do not exist in tblProsesstider. This should have shown Null fields from the tblProsesstider
This should be simple to do but this is not working. Anyone that knows how to solve this?
Thanks in advance