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
相關文章
相關標籤/搜索