select case when count(*) >0 then ‘true’ else ‘false’ end from TB_CERTIFICATE ce where ce.TEAM_ID = 0