SELECT DISTINCT su.user_id, sur.role_id, sr.role_name, su.user_source FROM `fgbp-sca`.`sys_user` su JOIN `fgbp-sca`.sys_user_role sur ON sur.user_id = su.user_id JOIN `fgbp-sca`.sys_role sr ON sr.role_id = sur.role_id AND sur.role_id IS NOT NULL |
最佳回答 |
||||
0
|
|