此博客用于个人备份与复习
SELECT u.`id`,u.`user_id`,u.`name` FROM USER u LEFT JOIN user_dept ud ON u.`id`=ud.`user_id` LEFT JOIN dept d ON ud.`dept_id`=d.`id` WHERE d.`id`=1 GROUP BY u.`id`
posted on 2017-09-24 15:43 lusufei 阅读(157) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2025 lusufei Powered by .NET 9.0 on Kubernetes