select  accountname
from 表单如图 a
where not exists (select 1 from 表单如图 where find_in_set(accountname,parent))

解决方案 »

  1.   

    用不出來耶~ 一直顯示沒有找到符合的條件
    select   accountname
    from asd
    where not exists (select 1 from asd where find_in_set(accountname,parent))
      

  2.   

    select  accountname
     from TT a
     where exists (select 1 from TT where A .PHONE=PHONE AND find_in_set(accountname,parent)=0)
      

  3.   

    select   accountname
    from asd t
    where not exists (select 1 from asd where find_in_set(t.accountname,parent))