select sr.Name, srj.Name as ParentSR from Role sr
left join Role srj
on sr.id= srj.ParentRoleId
where sr.isDeleted= 0 and srj.isDeleted= 0
now I have 190 records and among which only 40 have ParentRoleId but when I run this query it returns me only 40 the same which have only parentID but not the ones with ParentRoleID = NULL. I want it to return every row from the Role sr but it’s not happening.