java—面试题简答题答案及详解(后50道)

51. 一个用户具备多个角色,请查询出该表中具备该用户的全部角色的其余用户。备注:用户表:tb,角色字段为role,主键为id。请写出sql语句。javascript select count(*) as num,tb.id css     from  tb,(select role from tb where id=xxx) as t1html        where t1.role and
相关文章
相关标签/搜索