select UserId,IsPopular,DisplayName,IsAgent,AgentId,ParentPath from [dbo].[C_User_Register] where IsAgent=0 and AgentId is not null and AgentId <>''