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