select  * from groups where WParentGroup2ID in(
select  wGroupid from groups where WGroupTypeId = 26 and (WParentGroup2ID =0 or WParentGroup2ID is null))