sql遞歸查找以及給有標識的用戶分層級

WITH D(UserId,ReferralUserId,DistributorGradeId,LevelId,IsEnterprisePartner,UpEnterpriseUserId,UpTwoEnterpriseUserId,UpThreeEnterpriseUserId) AS( SELECT UserId,ReferralUserId,DistributorGradeId,0 as L
相關文章
相關標籤/搜索