大家好,我是考100分的小小码 ,祝大家学习进步,加薪顺利呀。今天说一说mysql 二级_mysql和sql server,希望您对编程的造诣更进一步.
#获取会员的上二级 drop view if exists vwMemberL2Parent; create view vwMemberL2Parent as select m.id, m.parent_id, m.nickname, m.realname, m.avatar, m.mobile, m.invite_merch_id, L2.nickname as L2nickname, L2.realname as L2realname, L2.avatar as L2avatar, L2.mobile as L2mobile from `ims_tycb_xyl_member` as m LEFT JOIN `ims_tycb_xyl_member` as L1 on m.parent_id = L1.id LEFT JOIN `ims_tycb_xyl_member` as L2 on L1.parent_id = L2.id
代码100分
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
转载请注明出处: https://daima100.com/8366.html