SELECT RestrictionDefinition_ID FROM RestrictionDispProps2 RDP2 left join RestrictionDispProps RDP on RDP2.Parent_ID = RDP.ID left join restrictiondefinitions RD on RDP2.restrictiondefinition_id = RD.ID WHERE ((RDP.User_ID = 'SUPER00000') or (RDP.User_ID is Null)) and (RDP.Site = '01') and (RD.visibilitykind <> 2)
Generated by ABRA Software a.s. 27.10.2021 16:34:11